setLocationManager abstract method

void setLocationManager(
  1. LocationManager locationManager
)

Sets single global location manager that is used by every module in MapKit by default. The provided location manager must have async implementation in it. Any location manager created by MapKit has async implementation. To provide your own source of location please use mapkit_location_dummy_location_manager.DummyLocationManager. Application can change location manager at any moment, all MapKit modules will start receiving new location immediately.

Implementation

void setLocationManager(
    mapkit_location_location_manager.LocationManager locationManager);