<LayerPanelActionMerge />

Constructor

# <LayerPanelActionMerge handleMenuClose layers map onMergeLayers translations />

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

View Source LayerPanel/LayerPanelActionMerge/index.js, line 14