Hierarchy

  • EventHelper

Properties

listenerKeys_: any

Methods

  • 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

  • Clear all listener keys from the given unique id.

    Parameters

    • uid: string | number

      Unique id.

    Returns 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