Type alias FeatureExtrusionOffsetCallback

FeatureExtrusionOffsetCallback: ((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.

Type declaration

    • (feature): number | number[]
    • Parameters

      • feature: Feature

      Returns number | number[]