/mapview/contextMenu
The module exports the draw and modify context menu methods for the mapview interactions. The context menu is shown in the mapview popup.
- Source
Requires
Methods
(inner) draw(e) → {void}
This is a context menu for the draw interaction. It pushes the save and cancel options to the context menu.
Parameters:
| Name | Type | Description |
|---|---|---|
e | Object | The event object. |
- Source
Returns:
- Type:
- void
(inner) modify(e) → {void}
This is a context menu for the modify interaction. It pushes the save and cancel options to the context menu.
Parameters:
| Name | Type | Description |
|---|---|---|
e | Object | The event object. |
- Source
Returns:
- Type:
- void