AbstractAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias 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').
Optionalcontext: anyAlias for on(...)
Adds a set of type/listener pairs, e.g. {click: onClick, mousemove: onMouseMove}
Adds an event parent - an Evented that will receive propagated events
Alias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyAlias for once(...)
Behaves as on(...), except the listener will only get fired once and then removed.
Alias for off()
Removes all listeners to all events on the object.
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.
Optionaldata: anyOptionalpropagate: booleanAlias 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.
Optionaldata: anyOptionalpropagate: booleanAlias for listens(...)
Returns true if a particular event type has any listeners attached to it.
Returns true if a particular event type has any listeners attached to it.
Optionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanReturns true if a particular event type has any listeners attached to it.
Optionalcontext: anyOptionalpropagate: booleanRemoves 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.
Optionalfn: LayersControlEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: LayerEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: LeafletEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: ResizeEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: PopupEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: TooltipEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: ErrorEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: LocationEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: LeafletMouseEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: LeafletKeyboardEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: ZoomAnimEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: DragEndEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: TileEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: TileErrorEventHandlerFnOptionalcontext: anyRemoves 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.
Optionalfn: LeafletEventHandlerFnOptionalcontext: anyRemoves all listeners to all events on the object.
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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds 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').
Optionalcontext: anyAdds a set of type/listener pairs, e.g. {click: onClick, mousemove: onMouseMove}
Behaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
Optionalcontext: anyBehaves as on(...), except the listener will only get fired once and then removed.
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.
Optionalfn: LayersControlEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: LayerEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: LeafletEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: ResizeEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: PopupEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: TooltipEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: ErrorEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: LocationEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: LeafletMouseEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: LeafletKeyboardEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: ZoomAnimEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: DragEndEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: TileEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: TileErrorEventHandlerFnOptionalcontext: anyAlias 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.
Optionalfn: LeafletEventHandlerFnOptionalcontext: anyAlias for off(...)
Removes a set of type/listener pairs.
Removes an event parent, so it will stop receiving propagated events
StaticaddStaticcallStaticextendStaticincludeStaticmerge
Base class of Leaflet classes supporting events