<LayerStyler />

UI to choose color, stroke, fill etc. for styles and labels on layers

Constructor

# <LayerStyler map translations whitelistedLayers />

PropTypes:
Name Type Required Description Default
map object Yes Openlayers map object
translations object Yes Object with key/value pairs for translated strings
whitelistedLayers array No An array of layer typenames that will be used for a whitelist []

View Source LayerStyler/LayerStyler.js, line 22