userTrackingMode property
MLNUserTrackingMode
get
userTrackingMode
The mode used to track the user location. The default value is
MLNUserTrackingMode/MLNUserTrackingModeNone.
Changing the value of this property updates the map view with an animated
transition. If you don’t want to animate the change, use the
-setUserTrackingMode:animated: method instead.
Related examples
- TODO: Customize the user location annotation and learn how to customize the
default user location annotation shown by
MLNUserTrackingMode.
Implementation
MLNUserTrackingMode get userTrackingMode {
final _ret = _objc_msgSend_1swtepj(this.ref.pointer, _sel_userTrackingMode);
return MLNUserTrackingMode.fromValue(_ret);
}
set
userTrackingMode
(MLNUserTrackingMode value)
The mode used to track the user location. The default value is
MLNUserTrackingMode/MLNUserTrackingModeNone.
Changing the value of this property updates the map view with an animated
transition. If you don’t want to animate the change, use the
-setUserTrackingMode:animated: method instead.
Related examples
- TODO: Customize the user location annotation and learn how to customize the
default user location annotation shown by
MLNUserTrackingMode.
Implementation
set userTrackingMode(MLNUserTrackingMode value) {
_objc_msgSend_xoapar(this.ref.pointer, _sel_setUserTrackingMode_, value.value);
}