<LayerPanelActionMergeFeatures />

Constructor

# <LayerPanelActionMergeFeatures handleMenuClose layer map onMergeFeatures translations />

PropTypes:
Name Type Required Description Default
handleMenuClose func No A function that closes the LayerPanelMenu () => {}
layer object No An openlayers `ol.layer` object
map object Yes Openlayers map
onMergeFeatures func No Callback fired after merge, called with new feature as argument () => {}
translations object No An object of translation key/value pairs function()
Since:
  • 1.17.0

View Source LayerPanel/LayerPanelActionMergeFeatures/index.js, line 16