Namespace: feature

ol. feature

Type Definitions

experimental ol.feature.FeatureStyleFunction()

A function that takes a {number} representing the view's resolution. It returns an Array of ol.style.Style. This way individual features can be styled. The this keyword inside the function references the ol.Feature to be styled.

experimental ol.feature.StyleFunction()

A function that takes an ol.Feature and a {number} representing the view's resolution. The function should return an array of ol.style.Style. This way e.g. a vector layer can be styled.