locationManager property

MLNLocationManager get locationManager

The object that this map view uses to start and stop the delivery of location-related updates.

To receive the current user location, implement the MLNMapViewDelegate/mapView:didUpdateUserLocation: and MLNMapViewDelegate/mapView:didFailToLocateUserWithError: methods.

If setting this property to nil or if no custom manager is provided this property is set to the default location manager.

MLNMapView uses a default location manager. If you want to substitute your own location manager, you should do so by setting this property before setting showsUserLocation to YES. To restore the default location manager, set this property to nil.

Implementation

MLNLocationManager get locationManager {
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_locationManager);
  return MLNLocationManager.castFromPointer(_ret, retain: true, release: true);
}
set locationManager (MLNLocationManager value)

The object that this map view uses to start and stop the delivery of location-related updates.

To receive the current user location, implement the MLNMapViewDelegate/mapView:didUpdateUserLocation: and MLNMapViewDelegate/mapView:didFailToLocateUserWithError: methods.

If setting this property to nil or if no custom manager is provided this property is set to the default location manager.

MLNMapView uses a default location manager. If you want to substitute your own location manager, you should do so by setting this property before setting showsUserLocation to YES. To restore the default location manager, set this property to nil.

Implementation

set locationManager(MLNLocationManager value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setLocationManager_, value.ref.pointer);

}