Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Layer
    • LSomeLayerWithFloor

Implemented by

Index

Properties

Protected _map

_map: Map

Methods

addEventListener

  • addEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "baselayerchange" | "overlayadd" | "overlayremove", fn: LayersControlEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "layeradd" | "layerremove", fn: LayerEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "zoomlevelschange" | "unload" | "viewreset" | "load" | "zoomstart" | "movestart" | "zoom" | "move" | "zoomend" | "moveend" | "autopanstart" | "dragstart" | "drag" | "add" | "remove" | "loading" | "error" | "update" | "down" | "predrag", fn: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "resize", fn: ResizeEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "popupopen" | "popupclose", fn: PopupEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "tooltipopen" | "tooltipclose", fn: TooltipEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "locationerror", fn: ErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "locationfound", fn: LocationEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn: LeafletMouseEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "keypress" | "keydown" | "keyup", fn: LeafletKeyboardEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "zoomanim", fn: ZoomAnimEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "dragend", fn: DragEndEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "tileunload" | "tileloadstart" | "tileload", fn: TileEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(type: "tileerror", fn: TileErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addEventListener(eventMap: LeafletEventHandlerFnMap): LSomeLayerWithFloor
  • 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: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "resize"
    • fn: ResizeEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationerror"
    • fn: ErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationfound"
    • fn: LocationEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "keypress" | "keydown" | "keyup"
    • fn: LeafletKeyboardEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "zoomanim"
    • fn: ZoomAnimEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "dragend"
    • fn: DragEndEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "tileerror"
    • fn: TileErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Alias for on(...)

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

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns LSomeLayerWithFloor

addEventParent

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

    Parameters

    • obj: Evented

    Returns LSomeLayerWithFloor

addOneTimeEventListener

  • addOneTimeEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "baselayerchange" | "overlayadd" | "overlayremove", fn: LayersControlEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "layeradd" | "layerremove", fn: LayerEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "zoomlevelschange" | "unload" | "viewreset" | "load" | "zoomstart" | "movestart" | "zoom" | "move" | "zoomend" | "moveend" | "autopanstart" | "dragstart" | "drag" | "add" | "remove" | "loading" | "error" | "update" | "down" | "predrag", fn: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "resize", fn: ResizeEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "popupopen" | "popupclose", fn: PopupEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "tooltipopen" | "tooltipclose", fn: TooltipEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "locationerror", fn: ErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "locationfound", fn: LocationEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn: LeafletMouseEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "keypress" | "keydown" | "keyup", fn: LeafletKeyboardEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "zoomanim", fn: ZoomAnimEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "dragend", fn: DragEndEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "tileunload" | "tileloadstart" | "tileload", fn: TileEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(type: "tileerror", fn: TileErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • addOneTimeEventListener(eventMap: LeafletEventHandlerFnMap): LSomeLayerWithFloor
  • Alias for once(...)

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

    Parameters

    • type: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "resize"
    • fn: ResizeEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationerror"
    • fn: ErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationfound"
    • fn: LocationEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "keypress" | "keydown" | "keyup"
    • fn: LeafletKeyboardEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "zoomanim"
    • fn: ZoomAnimEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "dragend"
    • fn: DragEndEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "tileerror"
    • fn: TileErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Alias for once(...)

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

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns LSomeLayerWithFloor

addTo

  • Parameters

    • map: Map | LayerGroup<any>

    Returns LSomeLayerWithFloor

Optional beforeAdd

  • Parameters

    • map: Map

    Returns LSomeLayerWithFloor

bindPopup

  • bindPopup(content: Popup | ((layer: Layer) => Content) | Content, options?: PopupOptions): LSomeLayerWithFloor
  • Parameters

    • content: Popup | ((layer: Layer) => Content) | Content
    • Optional options: PopupOptions

    Returns LSomeLayerWithFloor

bindTooltip

  • bindTooltip(content: Content | ((layer: Layer) => Content) | Tooltip, options?: TooltipOptions): LSomeLayerWithFloor
  • Parameters

    • content: Content | ((layer: Layer) => Content) | Tooltip
    • Optional options: TooltipOptions

    Returns LSomeLayerWithFloor

clearAllEventListeners

  • Alias for off()

    Removes all listeners to all events on the object.

    Returns LSomeLayerWithFloor

closePopup

  • Returns LSomeLayerWithFloor

closeTooltip

  • Returns LSomeLayerWithFloor

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 LSomeLayerWithFloor

fireEvent

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

Optional getAttribution

  • getAttribution(): null | string
  • Returns null | string

Optional getEvents

  • getEvents(): {}
  • Returns {}

    • [name: string]: LeafletEventHandlerFn

getFloorNumber

  • getFloorNumber(): string
  • Returns string

getPane

  • getPane(name?: string): undefined | HTMLElement
  • Parameters

    • Optional name: string

    Returns undefined | HTMLElement

getPopup

  • getPopup(): undefined | Popup
  • Returns undefined | Popup

getTooltip

  • getTooltip(): undefined | Tooltip
  • Returns undefined | Tooltip

hasEventListeners

  • hasEventListeners(type: string): boolean
  • Alias for listens(...)

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

    Parameters

    • type: string

    Returns boolean

isPopupOpen

  • isPopupOpen(): boolean
  • Returns boolean

isTooltipOpen

  • isTooltipOpen(): boolean
  • Returns boolean

listens

  • listens(type: string): boolean
  • Returns true if a particular event type has any listeners attached to it.

    Parameters

    • type: string

    Returns boolean

off

  • off(type: string, fn?: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "baselayerchange" | "overlayadd" | "overlayremove", fn?: LayersControlEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "layeradd" | "layerremove", fn?: LayerEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "zoomlevelschange" | "unload" | "viewreset" | "load" | "zoomstart" | "movestart" | "zoom" | "move" | "zoomend" | "moveend" | "autopanstart" | "dragstart" | "drag" | "add" | "remove" | "loading" | "error" | "update" | "down" | "predrag", fn?: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "resize", fn?: ResizeEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "popupopen" | "popupclose", fn?: PopupEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "tooltipopen" | "tooltipclose", fn?: TooltipEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "locationerror", fn?: ErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "locationfound", fn?: LocationEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn?: LeafletMouseEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "keypress" | "keydown" | "keyup", fn?: LeafletKeyboardEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "zoomanim", fn?: ZoomAnimEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "dragend", fn?: DragEndEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "tileunload" | "tileloadstart" | "tileload", fn?: TileEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(type: "tileerror", fn?: TileErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • off(eventMap: LeafletEventHandlerFnMap): LSomeLayerWithFloor
  • off(): LSomeLayerWithFloor
  • 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: string
    • Optional fn: LeafletEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "resize"
    • Optional fn: ResizeEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationerror"
    • Optional fn: ErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationfound"
    • Optional fn: LocationEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "keypress" | "keydown" | "keyup"
    • Optional fn: LeafletKeyboardEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "zoomanim"
    • Optional fn: ZoomAnimEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "dragend"
    • Optional fn: DragEndEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "tileerror"
    • Optional fn: TileErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Removes a set of type/listener pairs.

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns LSomeLayerWithFloor

  • Removes all listeners to all events on the object.

    Returns LSomeLayerWithFloor

on

  • on(type: string, fn: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "baselayerchange" | "overlayadd" | "overlayremove", fn: LayersControlEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "layeradd" | "layerremove", fn: LayerEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "zoomlevelschange" | "unload" | "viewreset" | "load" | "zoomstart" | "movestart" | "zoom" | "move" | "zoomend" | "moveend" | "autopanstart" | "dragstart" | "drag" | "add" | "remove" | "loading" | "error" | "update" | "down" | "predrag", fn: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "resize", fn: ResizeEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "popupopen" | "popupclose", fn: PopupEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "tooltipopen" | "tooltipclose", fn: TooltipEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "locationerror", fn: ErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "locationfound", fn: LocationEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn: LeafletMouseEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "keypress" | "keydown" | "keyup", fn: LeafletKeyboardEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "zoomanim", fn: ZoomAnimEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "dragend", fn: DragEndEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "tileunload" | "tileloadstart" | "tileload", fn: TileEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(type: "tileerror", fn: TileErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • on(eventMap: LeafletEventHandlerFnMap): LSomeLayerWithFloor
  • 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: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "resize"
    • fn: ResizeEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationerror"
    • fn: ErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationfound"
    • fn: LocationEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "keypress" | "keydown" | "keyup"
    • fn: LeafletKeyboardEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "zoomanim"
    • fn: ZoomAnimEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "dragend"
    • fn: DragEndEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "tileerror"
    • fn: TileErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

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

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns LSomeLayerWithFloor

onAdd

  • Parameters

    • map: Map

    Returns LSomeLayerWithFloor

onRemove

  • Parameters

    • map: Map

    Returns LSomeLayerWithFloor

once

  • once(type: string, fn: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "baselayerchange" | "overlayadd" | "overlayremove", fn: LayersControlEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "layeradd" | "layerremove", fn: LayerEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "zoomlevelschange" | "unload" | "viewreset" | "load" | "zoomstart" | "movestart" | "zoom" | "move" | "zoomend" | "moveend" | "autopanstart" | "dragstart" | "drag" | "add" | "remove" | "loading" | "error" | "update" | "down" | "predrag", fn: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "resize", fn: ResizeEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "popupopen" | "popupclose", fn: PopupEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "tooltipopen" | "tooltipclose", fn: TooltipEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "locationerror", fn: ErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "locationfound", fn: LocationEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn: LeafletMouseEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "keypress" | "keydown" | "keyup", fn: LeafletKeyboardEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "zoomanim", fn: ZoomAnimEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "dragend", fn: DragEndEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "tileunload" | "tileloadstart" | "tileload", fn: TileEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(type: "tileerror", fn: TileEventHandlerFn, context?: any): LSomeLayerWithFloor
  • once(eventMap: LeafletEventHandlerFnMap): LSomeLayerWithFloor
  • Behaves as on(...), except the listener will only get fired once and then removed.

    Parameters

    • type: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "resize"
    • fn: ResizeEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationerror"
    • fn: ErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationfound"
    • fn: LocationEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "keypress" | "keydown" | "keyup"
    • fn: LeafletKeyboardEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "zoomanim"
    • fn: ZoomAnimEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "dragend"
    • fn: DragEndEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "tileerror"
    • fn: TileEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

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

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns LSomeLayerWithFloor

openPopup

  • Parameters

    • Optional latlng: LatLngExpression

    Returns LSomeLayerWithFloor

openTooltip

  • Parameters

    • Optional latlng: LatLngExpression

    Returns LSomeLayerWithFloor

remove

  • Returns LSomeLayerWithFloor

removeEventListener

  • removeEventListener(type: string, fn?: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "baselayerchange" | "overlayadd" | "overlayremove", fn?: LayersControlEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "layeradd" | "layerremove", fn?: LayerEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "zoomlevelschange" | "unload" | "viewreset" | "load" | "zoomstart" | "movestart" | "zoom" | "move" | "zoomend" | "moveend" | "autopanstart" | "dragstart" | "drag" | "add" | "remove" | "loading" | "error" | "update" | "down" | "predrag", fn?: LeafletEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "resize", fn?: ResizeEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "popupopen" | "popupclose", fn?: PopupEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "tooltipopen" | "tooltipclose", fn?: TooltipEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "locationerror", fn?: ErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "locationfound", fn?: LocationEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn?: LeafletMouseEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "keypress" | "keydown" | "keyup", fn?: LeafletKeyboardEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "zoomanim", fn?: ZoomAnimEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "dragend", fn?: DragEndEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "tileunload" | "tileloadstart" | "tileload", fn?: TileEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(type: "tileerror", fn?: TileErrorEventHandlerFn, context?: any): LSomeLayerWithFloor
  • removeEventListener(eventMap: LeafletEventHandlerFnMap): LSomeLayerWithFloor
  • 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: string
    • Optional fn: LeafletEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "resize"
    • Optional fn: ResizeEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationerror"
    • Optional fn: ErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "locationfound"
    • Optional fn: LocationEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "keypress" | "keydown" | "keyup"
    • Optional fn: LeafletKeyboardEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "zoomanim"
    • Optional fn: ZoomAnimEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "dragend"
    • Optional fn: DragEndEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Parameters

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

    Returns LSomeLayerWithFloor

  • Parameters

    • type: "tileerror"
    • Optional fn: TileErrorEventHandlerFn
    • Optional context: any

    Returns LSomeLayerWithFloor

  • Alias for off(...)

    Removes a set of type/listener pairs.

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns LSomeLayerWithFloor

removeEventParent

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

    Parameters

    • obj: Evented

    Returns LSomeLayerWithFloor

removeFrom

  • Parameters

    • map: Map

    Returns LSomeLayerWithFloor

setPopupContent

  • Parameters

    • content: Popup | Content

    Returns LSomeLayerWithFloor

setTooltipContent

  • Parameters

    • content: Content | Tooltip

    Returns LSomeLayerWithFloor

togglePopup

  • Returns LSomeLayerWithFloor

toggleTooltip

  • Returns LSomeLayerWithFloor

unbindPopup

  • Returns LSomeLayerWithFloor

unbindTooltip

  • Returns LSomeLayerWithFloor

Generated using TypeDoc