Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Marker
    • FlooredMarker

Implements

Index

Constructors

constructor

  • Parameters

    Returns FlooredMarker

Properties

Protected _map

_map: Map

Protected _shadow

_shadow: undefined | HTMLElement

Optional dragging

dragging: Handler

Optional feature

feature: Feature<Point, any>

Private floorNumber

floorNumber: string

options

options: MarkerOptions

Methods

addEventListener

  • addEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "baselayerchange" | "overlayadd" | "overlayremove", fn: LayersControlEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "layeradd" | "layerremove", fn: LayerEventHandlerFn, context?: any): FlooredMarker
  • 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): FlooredMarker
  • addEventListener(type: "resize", fn: ResizeEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "popupopen" | "popupclose", fn: PopupEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "tooltipopen" | "tooltipclose", fn: TooltipEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "locationerror", fn: ErrorEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "locationfound", fn: LocationEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn: LeafletMouseEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "keypress" | "keydown" | "keyup", fn: LeafletKeyboardEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "zoomanim", fn: ZoomAnimEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "dragend", fn: DragEndEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "tileunload" | "tileloadstart" | "tileload", fn: TileEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(type: "tileerror", fn: TileErrorEventHandlerFn, context?: any): FlooredMarker
  • addEventListener(eventMap: LeafletEventHandlerFnMap): FlooredMarker
  • 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 FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

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

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Alias for on(...)

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

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns FlooredMarker

addEventParent

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

    Parameters

    • obj: Evented

    Returns FlooredMarker

addOneTimeEventListener

  • addOneTimeEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "baselayerchange" | "overlayadd" | "overlayremove", fn: LayersControlEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "layeradd" | "layerremove", fn: LayerEventHandlerFn, context?: any): FlooredMarker
  • 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): FlooredMarker
  • addOneTimeEventListener(type: "resize", fn: ResizeEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "popupopen" | "popupclose", fn: PopupEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "tooltipopen" | "tooltipclose", fn: TooltipEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "locationerror", fn: ErrorEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "locationfound", fn: LocationEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn: LeafletMouseEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "keypress" | "keydown" | "keyup", fn: LeafletKeyboardEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "zoomanim", fn: ZoomAnimEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "dragend", fn: DragEndEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "tileunload" | "tileloadstart" | "tileload", fn: TileEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(type: "tileerror", fn: TileErrorEventHandlerFn, context?: any): FlooredMarker
  • addOneTimeEventListener(eventMap: LeafletEventHandlerFnMap): FlooredMarker
  • 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 FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

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

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Alias for once(...)

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

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns FlooredMarker

addTo

  • Parameters

    • map: Map | LayerGroup<any>

    Returns FlooredMarker

Optional beforeAdd

bindPopup

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

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

    Returns FlooredMarker

bindTooltip

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

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

    Returns FlooredMarker

clearAllEventListeners

closePopup

closeTooltip

fire

  • fire(type: string, data?: any, propagate?: boolean): FlooredMarker
  • 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 FlooredMarker

fireEvent

  • fireEvent(type: string, data?: any, propagate?: boolean): FlooredMarker
  • 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 FlooredMarker

Optional getAttribution

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

getElement

  • getElement(): undefined | HTMLElement
  • Returns undefined | HTMLElement

Optional getEvents

  • getEvents(): {}
  • Returns {}

    • [name: string]: LeafletEventHandlerFn

getFloorNumber

  • getFloorNumber(): string

getIcon

  • getIcon(): Icon<IconOptions> | DivIcon
  • Returns Icon<IconOptions> | DivIcon

getLatLng

  • getLatLng(): LatLng
  • Returns LatLng

getLocation

  • Returns BuildingLocation

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

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): FlooredMarker
  • off(type: "baselayerchange" | "overlayadd" | "overlayremove", fn?: LayersControlEventHandlerFn, context?: any): FlooredMarker
  • off(type: "layeradd" | "layerremove", fn?: LayerEventHandlerFn, context?: any): FlooredMarker
  • 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): FlooredMarker
  • off(type: "resize", fn?: ResizeEventHandlerFn, context?: any): FlooredMarker
  • off(type: "popupopen" | "popupclose", fn?: PopupEventHandlerFn, context?: any): FlooredMarker
  • off(type: "tooltipopen" | "tooltipclose", fn?: TooltipEventHandlerFn, context?: any): FlooredMarker
  • off(type: "locationerror", fn?: ErrorEventHandlerFn, context?: any): FlooredMarker
  • off(type: "locationfound", fn?: LocationEventHandlerFn, context?: any): FlooredMarker
  • off(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn?: LeafletMouseEventHandlerFn, context?: any): FlooredMarker
  • off(type: "keypress" | "keydown" | "keyup", fn?: LeafletKeyboardEventHandlerFn, context?: any): FlooredMarker
  • off(type: "zoomanim", fn?: ZoomAnimEventHandlerFn, context?: any): FlooredMarker
  • off(type: "dragend", fn?: DragEndEventHandlerFn, context?: any): FlooredMarker
  • off(type: "tileunload" | "tileloadstart" | "tileload", fn?: TileEventHandlerFn, context?: any): FlooredMarker
  • off(type: "tileerror", fn?: TileErrorEventHandlerFn, context?: any): FlooredMarker
  • off(eventMap: LeafletEventHandlerFnMap): FlooredMarker
  • off(): FlooredMarker
  • 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 FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

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

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Removes a set of type/listener pairs.

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns FlooredMarker

  • Removes all listeners to all events on the object.

    Returns FlooredMarker

on

  • on(type: string, fn: LeafletEventHandlerFn, context?: any): FlooredMarker
  • on(type: "baselayerchange" | "overlayadd" | "overlayremove", fn: LayersControlEventHandlerFn, context?: any): FlooredMarker
  • on(type: "layeradd" | "layerremove", fn: LayerEventHandlerFn, context?: any): FlooredMarker
  • 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): FlooredMarker
  • on(type: "resize", fn: ResizeEventHandlerFn, context?: any): FlooredMarker
  • on(type: "popupopen" | "popupclose", fn: PopupEventHandlerFn, context?: any): FlooredMarker
  • on(type: "tooltipopen" | "tooltipclose", fn: TooltipEventHandlerFn, context?: any): FlooredMarker
  • on(type: "locationerror", fn: ErrorEventHandlerFn, context?: any): FlooredMarker
  • on(type: "locationfound", fn: LocationEventHandlerFn, context?: any): FlooredMarker
  • on(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn: LeafletMouseEventHandlerFn, context?: any): FlooredMarker
  • on(type: "keypress" | "keydown" | "keyup", fn: LeafletKeyboardEventHandlerFn, context?: any): FlooredMarker
  • on(type: "zoomanim", fn: ZoomAnimEventHandlerFn, context?: any): FlooredMarker
  • on(type: "dragend", fn: DragEndEventHandlerFn, context?: any): FlooredMarker
  • on(type: "tileunload" | "tileloadstart" | "tileload", fn: TileEventHandlerFn, context?: any): FlooredMarker
  • on(type: "tileerror", fn: TileErrorEventHandlerFn, context?: any): FlooredMarker
  • on(eventMap: LeafletEventHandlerFnMap): FlooredMarker
  • 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 FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

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

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

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

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns FlooredMarker

onAdd

onRemove

once

  • once(type: string, fn: LeafletEventHandlerFn, context?: any): FlooredMarker
  • once(type: "baselayerchange" | "overlayadd" | "overlayremove", fn: LayersControlEventHandlerFn, context?: any): FlooredMarker
  • once(type: "layeradd" | "layerremove", fn: LayerEventHandlerFn, context?: any): FlooredMarker
  • 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): FlooredMarker
  • once(type: "resize", fn: ResizeEventHandlerFn, context?: any): FlooredMarker
  • once(type: "popupopen" | "popupclose", fn: PopupEventHandlerFn, context?: any): FlooredMarker
  • once(type: "tooltipopen" | "tooltipclose", fn: TooltipEventHandlerFn, context?: any): FlooredMarker
  • once(type: "locationerror", fn: ErrorEventHandlerFn, context?: any): FlooredMarker
  • once(type: "locationfound", fn: LocationEventHandlerFn, context?: any): FlooredMarker
  • once(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn: LeafletMouseEventHandlerFn, context?: any): FlooredMarker
  • once(type: "keypress" | "keydown" | "keyup", fn: LeafletKeyboardEventHandlerFn, context?: any): FlooredMarker
  • once(type: "zoomanim", fn: ZoomAnimEventHandlerFn, context?: any): FlooredMarker
  • once(type: "dragend", fn: DragEndEventHandlerFn, context?: any): FlooredMarker
  • once(type: "tileunload" | "tileloadstart" | "tileload", fn: TileEventHandlerFn, context?: any): FlooredMarker
  • once(type: "tileerror", fn: TileEventHandlerFn, context?: any): FlooredMarker
  • once(eventMap: LeafletEventHandlerFnMap): FlooredMarker
  • Behaves as on(...), except the listener will only get fired once and then removed.

    Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

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

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

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

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns FlooredMarker

openPopup

openTooltip

remove

removeEventListener

  • removeEventListener(type: string, fn?: LeafletEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "baselayerchange" | "overlayadd" | "overlayremove", fn?: LayersControlEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "layeradd" | "layerremove", fn?: LayerEventHandlerFn, context?: any): FlooredMarker
  • 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): FlooredMarker
  • removeEventListener(type: "resize", fn?: ResizeEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "popupopen" | "popupclose", fn?: PopupEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "tooltipopen" | "tooltipclose", fn?: TooltipEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "locationerror", fn?: ErrorEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "locationfound", fn?: LocationEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "click" | "dblclick" | "mousedown" | "mouseup" | "mouseover" | "mouseout" | "mousemove" | "contextmenu" | "preclick", fn?: LeafletMouseEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "keypress" | "keydown" | "keyup", fn?: LeafletKeyboardEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "zoomanim", fn?: ZoomAnimEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "dragend", fn?: DragEndEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "tileunload" | "tileloadstart" | "tileload", fn?: TileEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(type: "tileerror", fn?: TileErrorEventHandlerFn, context?: any): FlooredMarker
  • removeEventListener(eventMap: LeafletEventHandlerFnMap): FlooredMarker
  • 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 FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

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

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Parameters

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

    Returns FlooredMarker

  • Alias for off(...)

    Removes a set of type/listener pairs.

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns FlooredMarker

removeEventParent

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

    Parameters

    • obj: Evented

    Returns FlooredMarker

removeFrom

setIcon

  • Parameters

    • icon: Icon<IconOptions> | DivIcon

    Returns FlooredMarker

setLatLng

  • Parameters

    • latlng: LatLngExpression

    Returns FlooredMarker

setLocation

  • Parameters

    Returns void

setOpacity

  • Parameters

    • opacity: number

    Returns FlooredMarker

setPopupContent

setTooltipContent

setZIndexOffset

  • Parameters

    • offset: number

    Returns FlooredMarker

toGeoJSON

  • toGeoJSON(precision?: number): Feature<Point, any>
  • Parameters

    • Optional precision: number

    Returns Feature<Point, any>

togglePopup

toggleTooltip

unbindPopup

unbindTooltip

Static addInitHook

  • addInitHook(initHookFn: () => void): any
  • addInitHook(methodName: string, ...args: any[]): any
  • Parameters

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

    Returns any

  • Parameters

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

    Returns any

Static extend

  • extend(props: any): new (...args: any[]) => any & typeof Class
  • Parameters

    • props: any

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

Static include

  • include(props: any): any
  • Parameters

    • props: any

    Returns any

Static mergeOptions

  • mergeOptions(props: any): any
  • Parameters

    • props: any

    Returns any

Generated using TypeDoc