Track symbol.

Hierarchy

Constructors

Properties

_map: Map
options: PathOptions
DEFAULT_HEADING_SHAPE_POINTS: Points = ...

Default 'withHeading' shape points.

DEFAULT_NOHEADING_SHAPE_POINTS: Points = ...

Default 'withoutHeading' shape points.

Methods

  • Alias for on(...)

    Adds a listener function (fn) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. 'click dblclick').

    Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "add" | "error" | "remove" | "move" | "loading" | "drag" | "dragstart" | "load" | "unload" | "update" | "zoom" | "zoomlevelschange" | "viewreset" | "zoomstart" | "movestart" | "zoomend" | "moveend" | "autopanstart" | "down" | "predrag"
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "click" | "contextmenu" | "dblclick" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "preclick"
    • fn: LeafletMouseEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
    • fn: TileEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Alias for on(...)

    Adds a set of type/listener pairs, e.g. {click: onClick, mousemove: onMouseMove}

    Parameters

    Returns TrackSymbol

  • Adds an event parent - an Evented that will receive propagated events

    Parameters

    Returns TrackSymbol

  • Alias for off()

    Removes all listeners to all events on the object.

    Returns TrackSymbol

  • Fires an event of the specified type. You can optionally provide a data object — the first argument of the listener function will contain its properties. The event might can optionally be propagated to event parents.

    Parameters

    • type: string
    • Optional data: any
    • Optional propagate: boolean

    Returns TrackSymbol

  • Alias for fire(...)

    Fires an event of the specified type. You can optionally provide a data object — the first argument of the listener function will contain its properties. The event might can optionally be propagated to event parents.

    Parameters

    • type: string
    • Optional data: any
    • Optional propagate: boolean

    Returns TrackSymbol

  • Returns string

  • Returns the course.

    Returns number

    The course (radians, from north, clockwise).

  • Returns Element

  • Returns the heading.

    Returns number

    The heading (radians, from north, clockwise).

  • Parameters

    • Optional name: string

    Returns HTMLElement

  • Returns Popup

  • Returns Tooltip

  • Alias for listens(...)

    Returns true if a particular event type has any listeners attached to it.

    Parameters

    • type: string

    Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns true if a particular event type has any listeners attached to it.

    Parameters

    • type: "add" | "error" | "remove" | "resize" | "move" | "loading" | "click" | "contextmenu" | "dblclick" | "drag" | "dragend" | "dragstart" | "keydown" | "keypress" | "keyup" | "load" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "unload" | "update" | "zoom" | "baselayerchange" | "overlayadd" | "overlayremove" | "layeradd" | "layerremove" | "zoomlevelschange" | "viewreset" | "zoomstart" | "movestart" | "zoomend" | "moveend" | "autopanstart" | "down" | "predrag" | "popupopen" | "tooltipopen" | "tooltipclose" | "locationerror" | "locationfound" | "preclick" | "zoomanim" | "tileunload" | "tileloadstart" | "tileload" | "tileabort" | "tileerror"
    • Optional propagate: boolean

    Returns boolean

  • Parameters

    • type: "baselayerchange" | "overlayadd" | "overlayremove"
    • fn: LayersControlEventHandlerFn
    • Optional context: any
    • Optional propagate: boolean

    Returns boolean

  • Parameters

    • type: "layeradd" | "layerremove"
    • fn: LayerEventHandlerFn
    • Optional context: any
    • Optional propagate: boolean

    Returns boolean

  • Parameters

    • type: "add" | "error" | "remove" | "move" | "loading" | "drag" | "dragstart" | "load" | "unload" | "update" | "zoom" | "zoomlevelschange" | "viewreset" | "zoomstart" | "movestart" | "zoomend" | "moveend" | "autopanstart" | "down" | "predrag"
    • fn: LeafletEventHandlerFn
    • Optional context: any
    • Optional propagate: boolean

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • type: "popupopen" | "popupclose"
    • fn: PopupEventHandlerFn
    • Optional context: any
    • Optional propagate: boolean

    Returns boolean

  • Parameters

    • type: "tooltipopen" | "tooltipclose"
    • fn: TooltipEventHandlerFn
    • Optional context: any
    • Optional propagate: boolean

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • type: "click" | "contextmenu" | "dblclick" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "preclick"
    • fn: LeafletMouseEventHandlerFn
    • Optional context: any
    • Optional propagate: boolean

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
    • fn: TileEventHandlerFn
    • Optional context: any
    • Optional propagate: boolean

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to on, you must pass the same context to off in order to remove the listener.

    Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "add" | "error" | "remove" | "move" | "loading" | "drag" | "dragstart" | "load" | "unload" | "update" | "zoom" | "zoomlevelschange" | "viewreset" | "zoomstart" | "movestart" | "zoomend" | "moveend" | "autopanstart" | "down" | "predrag"
    • Optional fn: LeafletEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "click" | "contextmenu" | "dblclick" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "preclick"
    • Optional fn: LeafletMouseEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
    • Optional fn: TileEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Removes a set of type/listener pairs.

    Parameters

    Returns TrackSymbol

  • Removes all listeners to all events on the object.

    Returns TrackSymbol

  • Adds a listener function (fn) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. 'click dblclick').

    Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "add" | "error" | "remove" | "move" | "loading" | "drag" | "dragstart" | "load" | "unload" | "update" | "zoom" | "zoomlevelschange" | "viewreset" | "zoomstart" | "movestart" | "zoomend" | "moveend" | "autopanstart" | "down" | "predrag"
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "click" | "contextmenu" | "dblclick" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "preclick"
    • fn: LeafletMouseEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
    • fn: TileEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Adds a set of type/listener pairs, e.g. {click: onClick, mousemove: onMouseMove}

    Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Behaves as on(...), except the listener will only get fired once and then removed.

    Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "add" | "error" | "remove" | "move" | "loading" | "drag" | "dragstart" | "load" | "unload" | "update" | "zoom" | "zoomlevelschange" | "viewreset" | "zoomstart" | "movestart" | "zoomend" | "moveend" | "autopanstart" | "down" | "predrag"
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "click" | "contextmenu" | "dblclick" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "preclick"
    • fn: LeafletMouseEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
    • fn: TileEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Behaves as on(...), except the listener will only get fired once and then removed.

    Parameters

    Returns TrackSymbol

  • Returns TrackSymbol

  • Returns TrackSymbol

  • Alias for off(...)

    Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to on, you must pass the same context to off in order to remove the listener.

    Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "add" | "error" | "remove" | "move" | "loading" | "drag" | "dragstart" | "load" | "unload" | "update" | "zoom" | "zoomlevelschange" | "viewreset" | "zoomstart" | "movestart" | "zoomend" | "moveend" | "autopanstart" | "down" | "predrag"
    • Optional fn: LeafletEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "click" | "contextmenu" | "dblclick" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "preclick"
    • Optional fn: LeafletMouseEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
    • Optional fn: TileEventHandlerFn
    • Optional context: any

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Parameters

    Returns TrackSymbol

  • Alias for off(...)

    Removes a set of type/listener pairs.

    Parameters

    Returns TrackSymbol

  • Removes an event parent, so it will stop receiving propagated events

    Parameters

    Returns TrackSymbol

  • Parameters

    • initHookFn: (() => void)
        • (): void
        • Returns void

    Returns any

  • Parameters

    • methodName: string
    • Rest ...args: any[]

    Returns any

  • Returns void

  • Parameters

    • props: any

    Returns (new (...args) => any) & typeof Class

  • Parameters

    • props: any

    Returns any

  • Parameters

    • props: any

    Returns any

Generated using TypeDoc