Class: module:Menu

ngeo.module:Menu.ngeo.module:Menu

An OpenLayers overlay that shows a contextual menu with configurable actions anchored from its top left to a specific location. An event is fired when any of the action is clicked.

Constructor

new module:Menu([menuOptions]opt, [opt_overlayOptions]opt)

Parameters:
Name Type Attributes Description
[menuOptions] ngeox.MenuOptions= <optional>

Menu options.

[opt_overlayOptions] olx.OverlayOptions= <optional>

Overlay options.

Extends

  • ol.Overlay