Show a simple context menu when clicking on the map

Constructors

Accessors

Methods

  • Parameters

    • evt: MouseEvent
    • mouseTrigger: (evt: MouseEvent) => boolean
    • openCondition: (evt: MouseEvent, mapCoordinate: Coordinate) => boolean

    Returns void

  • Parameters

    • evt: MouseEvent
    • callback: (e: MouseEvent, mapCoordinate: Coordinate) => void

    Returns void