Type alias FeatureExtrusionOffsetCallback

FeatureExtrusionOffsetCallback: ((feature) => number | number[])

Type declaration

    • (feature): number | number[]
    • Callback used to generate extrusion to ol.Feature.

      If one number is returned, it will be used for all vertices. If an array is returned, its cardinality must match the number of vertices and each value will be used for each vertex in order.

      Parameters

      • feature: Feature

      Returns number | number[]

Generated using TypeDoc