Function mapLockToRoute

  • Lock the map to the Route position.

    Setting this value to true has the same effect as clicking on the "Lock button" above adjacent to the timeline. The center of the map becomes locked to the calculated position along the route.

    Parameters

    • json: {
          lockMapToRoute: boolean;
      } = ...
      • lockMapToRoute: boolean

        either true or false

    Returns void

    Example

    {"lockMapToRoute": true}