enableTracking method
Future<void>
enableTracking(
- int idOSM, {
- bool stopFollowInDrag = false,
- bool disableMarkerRotation = false,
- Anchor anchor = Anchor.center,
override
Implementation
@override
Future<void> enableTracking(
int idOSM, {
bool stopFollowInDrag = false,
bool disableMarkerRotation = false,
Anchor anchor = Anchor.center,
}) async {
final args = <dynamic>[
stopFollowInDrag,
disableMarkerRotation,
];
args.add(anchor.toPlatformMap());
await _channels[idOSM]?.invokeMethod(
'trackMe',
args,
);
}