@arl/leaflet-tracksymbol2
    Preparing search index...

    Class LayerGroup<P>

    Used to group several layers and handle them as one. If you add it to the map, any layers added or removed from the group will be added/removed on the map as well. Extends Layer.

    Type Parameters

    • P = any

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _map: Map
    feature?:
        | Feature<MultiPoint, P>
        | FeatureCollection<Geometry, P>
        | GeometryCollection<Geometry>
    options: LayerOptions

    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 this

    • 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 this

    • 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

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

      Returns this

    • 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 this

    • 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 this

    • 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 this

    • 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 this

    • 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 this

    • 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

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

      Returns this

    • 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 this

    • 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 this

    • 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 this

    • 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

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

      Returns this

    • 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 this

    • 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 this

    • Alias for on(...)

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

      Parameters

      Returns this

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

      Parameters

      Returns this

    • Adds the given layer to the group.

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

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

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

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

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

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

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Alias for once(...)

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

      Parameters

      Returns this

    • Parameters

      Returns this

    • Parameters

      Returns this

    • Alias for off()

      Removes all listeners to all events on the object.

      Returns this

    • Removes all the layers from the group.

      Returns this

    • Returns this

    • Returns this

    • Iterates over the layers of the group, optionally specifying context of the iterator function.

      Parameters

      • fn: (layer: Layer) => void
      • Optionalcontext: any

      Returns this

    • 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
      • Optionaldata: any
      • Optionalpropagate: boolean

      Returns this

    • 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
      • Optionaldata: any
      • Optionalpropagate: boolean

      Returns this

    • Returns string

    • Returns the layer with the given internal ID.

      Parameters

      • id: number

      Returns Layer

    • Returns the internal ID for a layer

      Parameters

      Returns number

    • Returns an array of all the layers added to the group.

      Returns Layer[]

    • Parameters

      • Optionalname: string

      Returns HTMLElement

    • Returns Popup

    • Alias for listens(...)

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

      Parameters

      • type: string

      Returns boolean

    • Returns true if the given layer is currently added to the group.

      Parameters

      Returns boolean

    • Calls methodName on every layer contained in this group, passing any additional parameters. Has no effect if the layers contained do not implement methodName.

      Parameters

      • methodName: string
      • ...params: any[]

      Returns this

    • Returns boolean

    • Returns boolean

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

      Parameters

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

      Returns boolean

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

      Parameters

      Returns boolean

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

      Parameters

      • type: "layeradd" | "layerremove"
      • fn: LayerEventHandlerFn
      • Optionalcontext: any
      • Optionalpropagate: boolean

      Returns boolean

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

      Parameters

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

      Returns boolean

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

      Parameters

      Returns boolean

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

      Parameters

      • type: "popupopen" | "popupclose"
      • fn: PopupEventHandlerFn
      • Optionalcontext: any
      • Optionalpropagate: boolean

      Returns boolean

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

      Parameters

      • type: "tooltipopen" | "tooltipclose"
      • fn: TooltipEventHandlerFn
      • Optionalcontext: any
      • Optionalpropagate: boolean

      Returns boolean

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

      Parameters

      Returns boolean

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

      Parameters

      Returns boolean

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

      Parameters

      • type:
            | "click"
            | "dblclick"
            | "mousedown"
            | "mouseup"
            | "mouseover"
            | "mouseout"
            | "mousemove"
            | "contextmenu"
            | "preclick"
      • fn: LeafletMouseEventHandlerFn
      • Optionalcontext: any
      • Optionalpropagate: boolean

      Returns boolean

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

      Parameters

      Returns boolean

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

      Parameters

      Returns boolean

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

      Parameters

      Returns boolean

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

      Parameters

      • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
      • fn: TileEventHandlerFn
      • Optionalcontext: any
      • Optionalpropagate: boolean

      Returns boolean

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

      Parameters

      Returns boolean

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

      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 this

    • 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 this

    • 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

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

      Returns this

    • 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 this

    • 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 this

    • 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 this

    • 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 this

    • 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 this

    • 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

      • type:
            | "click"
            | "dblclick"
            | "mousedown"
            | "mouseup"
            | "mouseover"
            | "mouseout"
            | "mousemove"
            | "contextmenu"
            | "preclick"
      • Optionalfn: LeafletMouseEventHandlerFn
      • Optionalcontext: any

      Returns this

    • 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 this

    • 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 this

    • 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 this

    • 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

      • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
      • Optionalfn: TileEventHandlerFn
      • Optionalcontext: any

      Returns this

    • 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 this

    • 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 this

    • Removes a set of type/listener pairs.

      Parameters

      Returns this

    • Removes all listeners to all events on the object.

      Returns this

    • 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 this

    • 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 this

    • 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

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

      Returns this

    • 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 this

    • 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 this

    • 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 this

    • 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 this

    • 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 this

    • 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

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

      Returns this

    • 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 this

    • 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 this

    • 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 this

    • 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

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

      Returns this

    • 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 this

    • 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 this

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

      Parameters

      Returns this

    • Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

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

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

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

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

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

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

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

      Parameters

      Returns this

    • Parameters

      Returns this

    • Returns this

    • 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 this

    • 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 this

    • 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

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

      Returns this

    • 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 this

    • 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 this

    • 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 this

    • 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 this

    • 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 this

    • 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

      • type:
            | "click"
            | "dblclick"
            | "mousedown"
            | "mouseup"
            | "mouseover"
            | "mouseout"
            | "mousemove"
            | "contextmenu"
            | "preclick"
      • Optionalfn: LeafletMouseEventHandlerFn
      • Optionalcontext: any

      Returns this

    • 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 this

    • 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 this

    • 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 this

    • 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

      • type: "tileunload" | "tileloadstart" | "tileload" | "tileabort"
      • Optionalfn: TileEventHandlerFn
      • Optionalcontext: any

      Returns this

    • 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 this

    • 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 this

    • Alias for off(...)

      Removes a set of type/listener pairs.

      Parameters

      Returns this

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

      Parameters

      Returns this

    • Parameters

      Returns this

    • Removes the layer with the given internal ID or the given layer from the group.

      Parameters

      Returns this

    • Calls setZIndex on every layer contained in this group, passing the z-index.

      Parameters

      • zIndex: number

      Returns this

    • Returns this

    • Returns this

    • Parameters

      • Optionalprecision: number

      Returns Feature<MultiPoint, P>

    • Returns this

    • Returns this

    • Parameters

      • initHookFn: () => void

      Returns any

    • Parameters

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

      Returns any

    • Returns void

    • Parameters

      • props: any

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

    • Parameters

      • props: any

      Returns any

    • Parameters

      • props: any

      Returns any