Type Definitions
-
experimental ol.feature.FeatureStyleFunction()
-
A function that takes a
{number}representing the view's resolution. It returns an Array ofol.style.Style. This way individual features can be styled. The this keyword inside the function references theol.Featureto be styled. -
experimental ol.feature.StyleFunction()
-
A function that takes an
ol.Featureand a{number}representing the view's resolution. The function should return an array ofol.style.Style. This way e.g. a vector layer can be styled.
OpenLayers 3