/utils/olStyle

The olStyle utility module exports the default olStyle method.

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:
NameTypeDescription
stylefeature-style

A JSON mapp-style object.

Returns:

An Openlayers feature style object.

Type: 
Object