startTracking method
Future<void>
startTracking(
{ - bool stopFollowOnDrag = false,
- bool disableMarkerRotation = false,
- bool useDirectionMarker = false,
- Anchor anchor = Anchor.center,
})
Implementation
Future<void> startTracking({
bool stopFollowOnDrag = false,
bool disableMarkerRotation = false,
bool useDirectionMarker = false,
Anchor anchor = Anchor.center,
}) async {
final transport = await _controller._locationTransport(
'startLocationTracking',
requestPermission: true,
);
await transport.startLocationTracking(
stopFollowOnDrag: stopFollowOnDrag,
disableMarkerRotation: disableMarkerRotation,
useDirectionMarker: useDirectionMarker,
anchor: anchor,
);
}