<LayerPanelActionExport />

Constructor

# <LayerPanelActionExport onExportFeatures handleMenuClose layers translations />

PropTypes:
Name Type Required Description Default
onExportFeatures func No A callback function that returns the file type and the features that are being exported function()
handleMenuClose func No A function that closes the LayerPanelMenu () => {}
layers array No An array of openlayers layers
translations object No An object of translation key/value pairs
Since:
  • 0.5.0

View Source LayerPanel/LayerPanelActionExport/index.js, line 13