Type alias FeatureElevationCallback

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

This callback can be used to generate elevation for a given ol.Feature from eg its properties.

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