/** * @module ol/style/Style */ import {assert} from '../asserts.js'; import GeometryType from '../geom/GeometryType.js'; import CircleStyle from './Circle.js'; import Fill from './Fill.js'; import Stroke from './Stroke.js'; /** * A function that takes an {@link module:ol/Feature} and a `{number}` * representing the view's resolution. The function should return a * {@link module:ol/style/Style} or an array of them. This way e.g. a * vector layer can be styled. * * @typedef {function(import("../Feature.js").FeatureLike, number):(Style|Array