Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventHelper

Index

Properties

listenerKeys_: any

Methods

  • addListenerKey(uid: string | number, key: EventsKey): void
  • Utility method to add a listener key bound to a unique id. The key has to come from ol.events.

    Parameters

    • uid: string | number

      Unique id.

    • key: EventsKey

      Key.

    Returns void

  • clearListenerKey(uid: string | number): void
  • Clear all listener keys from the given unique id.

    Parameters

    • uid: string | number

      Unique id.

    Returns void

  • initListenerKey_(uid: string | number): void
  • Utility method that does 2 things:

    • initialize the listener keys of a given uid with an array (if that key has not array set yet)
    • unlisten any events if the array already exists for the given uid and empty the array.

    Parameters

    • uid: string | number

      Unique id.

    Returns void

Generated using TypeDoc