Options
All
  • Public
  • Public/Protected
  • All
Menu

Module MouseOver

JMap.Event.MouseOver

Here you can manage all mouseover related event listeners.

List of events are located in *JMap.Event.MouseOver.on*.

Index

Modules

Functions

Functions

activate

  • activate(listenerId: string): void
  • JMap.Event.MouseOver.activate

    Activate the listener.

    If the listener is already active, do nothing.

    If the listener is inactive, it will be reactivated and will be called again ...

    example
    
    // activate the listener "my-mouseover-listener"
    JMap.Event.MouseOver.activate("my-mouseover-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void

deactivate

  • deactivate(listenerId: string): void
  • JMap.Event.MouseOver.deactivate

    Deactivate the listener.

    If the listener id doesn't exists or if the listener is already inactive, do nothing.

    If the listener is active, it will be deactivated and will be ignored ...

    example
    
    // deactivate the listener "my-mouseover-listener"
    JMap.Event.MouseOver.deactivate("my-mouseover-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void

remove

  • remove(listenerId: string): void
  • JMap.Event.MouseOver.remove

    Remove the listener.

    If the listener doesn't exist, do nothing.

    Remove the listener from JMap NG Core library. The listener is deleted and never called again after that.

    example
    
    // remove the listener "my-mouseover-listener"
    JMap.Event.MouseOver.remove("my-mouseover-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void