• Open / load a previously saved trip. You can optionally merge trips together.

    Parameters

    • json: {
          merge: boolean;
          trip: string;
      } = ...
      • merge: boolean

        boolean: If true, merge the new trip with an existing trip.
        If false, remove all existing routes, markers, and tracks before loading the new trip.

      • trip: string

        string: the id of the trip to open. This can be either a private or a public trip id.

    Returns void

    Example

    // Open "Seattle to Hawaii, 2 routes"
    {"trip":"7k3ykq39","merge":false}