User interface to edit the plan for a route (an ordered list of waypoints). Implements Layer.

Hierarchy

Constructors

Properties

options: PlanOptions

Methods

  • Parameters

    • Optional startIndex: number
    • Optional deleteCount: number
    • Rest ...newWaypoints: Waypoint[]

    Returns void

  • Parameters

    • index: number

    Returns void

  • Parameters

    • marker: Marker<any>
    • waypointIndex: number
    • trackMouseMove: boolean = false

    Returns void

  • Returns true if the plan is ready to be routed, meaning it has at least a start and end waypoint, and both have coordinates

    Returns boolean

  • Returns void

  • Allows adding, removing or replacing the plan’s waypoints. Syntax is the same as in Array#splice

    Parameters

    • startIndex: number
    • deleteCount: number = 0
    • Rest ...newWaypoints: Waypoint[]

    Returns void

  • Returns void

  • Returns void

Generated using TypeDoc