enableTracking method

Future<void> enableTracking({
  1. bool enableStopFollow = false,
  2. bool disableMarkerRotation = false,
  3. Anchor anchor = Anchor.center,
  4. 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;
}