Type alias FeatureStyleFunction

FeatureStyleFunction: ((resolution) => Style | Style[])

Type declaration

    • (resolution): Style | Style[]
    • A function that returns an array of styles given a resolution. The this keyword inside the function references the ol.Feature to be styled.

      Parameters

      • resolution: number

      Returns Style | Style[]

Generated using TypeDoc