/utils/olStyle
The olStyle utility module exports the default olStyle method.
- Source
Methods
(inner) olStyle(style) → {Object}
The olStyle method takes a mapp-style JSON representation to create an Openlayers style object for rendering Openlayers features in the Openlayers mapview.Map.
Parameters:
Name | Type | Description |
---|---|---|
style | feature-style | A JSON mapp-style object. |
- Source
Returns:
An Openlayers feature style object.
- Type:
- Object