new InteractiveMarkerMenu(options)
A menu for an interactive marker. This will be overlayed on the canvas.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
object with following keys:
|
- Source:
- interactivemarkers/InteractiveMarkerMenu.js, line 17
Methods
-
hide(event)
-
Hide the menu DOM element.
Parameters:
Name Type Description event(optional) - the event that caused this
- Source:
- interactivemarkers/InteractiveMarkerMenu.js, line 172
-
show(control, event)
-
Shoe the menu DOM element.
Parameters:
Name Type Description controlthe control for the menu
eventthe event that caused this
- Source:
- interactivemarkers/InteractiveMarkerMenu.js, line 146
-
<inner> makeUl(parentDomElem, parentMenu)
-
Create the HTML UL element for the menu and link it to the parent.
Parameters:
Name Type Description parentDomElemthe parent DOM element
parentMenuthe parent menu
- Source:
- interactivemarkers/InteractiveMarkerMenu.js, line 109