Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Marker

Hierarchy

Implements

Index

Constructors

constructor

Methods

addEventListener

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

    Parameters

    Returns LeafletMixinEvents

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

    Parameters

    • eventMap: any
    • Optional context: any

    Returns LeafletMixinEvents

addOneTimeEventListener

clearAllEventListeners

disable

  • disable(): void
  • Disables the handler.

    Returns void

enable

  • enable(): void
  • Enables the handler.

    Returns void

enabled

  • enabled(): boolean
  • Returns true if the handler is enabled.

    Returns boolean

fire

fireEvent

  • Fires an event of the specified type. You can optionally provide an data object — the first argument of the listener function will contain its properties.

    Parameters

    • type: string
    • Optional data: any

    Returns LeafletMixinEvents

hasEventListeners

  • hasEventListeners(type: string): boolean

off

on

once

  • Alias to addOneTimeEventListener.

    Parameters

    Returns LeafletMixinEvents

removeEventListener