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:
|
Methods
hide(event)
Hide the menu DOM element.
Parameters:
Name | Type | Description |
---|---|---|
event |
(optional) - the event that caused this |
show(control, event)
Shoe the menu DOM element.
Parameters:
Name | Type | Description |
---|---|---|
control |
the control for the menu |
|
event |
the event that caused this |
(inner) makeUl(parentDomElem, parentMenu)
Create the HTML UL element for the menu and link it to the parent.
Parameters:
Name | Type | Description |
---|---|---|
parentDomElem |
the parent DOM element |
|
parentMenu |
the parent menu |