Constructor
new 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
Methods
close()
open(coordinate)
Opens the menu at the desited coordinate. Also starts listening for the clickout if autoClose is enabled.
Parameters:
Name | Type | Description |
---|---|---|
coordinate |
ol.Coordinate | Where to open the menu. |
setMap(map)
Parameters:
Name | Type | Description |
---|---|---|
map |
ol.PluggableMap|undefined | Map. |