setPositionProvider method

  1. @override
void setPositionProvider(
  1. MPPositionProviderInterface? provider
)
override

Implementation

@override
void setPositionProvider(MPPositionProviderInterface? provider) {
  _positionProvider = provider;
  _positionProvider?.addOnPositionUpdateListener(onPositionUpdate);
  mapsIndoorsMethodChannel.invokeMethod("MIN_setPositionProvider",
      {"remove": provider == null, "name": provider?.name});
}