<ContextMenu />

A context menu component useful for contextual geospatial actions


# <ContextMenu map children keepDefaults />

Name Type Required Description Default
map object Yes A map which is used to compute the click location
children node No A set of components (like `ContextMenuCoords` or custom items made with `ContextMenuListItem`) which perform actions when clicked
keepDefaults bool No A boolean to indicate if the default context menu items should be left and custom items appended only false
  • 0.16.0

View Source ContextMenu/ContextMenu.js, line 16