/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.

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:
NameTypeDescription
eObject

The event object.

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:
NameTypeDescription
eObject

The event object.

Returns:
Type: 
void