• Delete one or more route, marker, or track.

    Parameters

    • json: {
          id: string;
          type: string;
      } = ...
      • id: string

        The id to delete. This is either the text name, the internal id, or a regular expression.

      • type: string

        the type of object to delete, route, marker, or track

    Returns void

    See

    id

    Example

    {"type": "route", "id": "Seattle to Port Townsend"}

    {"type": "marker", "id": "K.*"} // delete all private markers beginning with the capital letter `K`