enableTracking method
Future<void>
enableTracking({
- bool enableStopFollow = false,
- bool disableMarkerRotation = false,
- Anchor anchor = Anchor.center,
- bool useDirectionMarker = false,
inherited
Implementation
Future<void> enableTracking({
bool enableStopFollow = false,
bool disableMarkerRotation = false,
Anchor anchor = Anchor.center,
bool useDirectionMarker = false,
}) async {
await interop
.enableTracking(
mapIdMixin.toJS,
enableStopFollow.toJS,
useDirectionMarker.toJS,
IconAnchorJS(
x: anchor.value.$1,
y: anchor.value.$2,
),
//anchor.toPlatformMap(),
)
.toDart;
}