gis-tools-ts - v0.6.0
    Preparing search index...

    Type Alias OnFeature<M, D, P>

    OnFeature: (
        feature: VectorFeatures<M, D, P>,
    ) => VectorFeatures<M, D, P> | undefined

    Before tiling the data, you can mutate it here. It can also act as a filter if you return undefined

    Type Parameters

    • M = Record<string, unknown>
    • D extends MValue = Properties
    • P extends Properties = Properties

    Type declaration

      • (feature: VectorFeatures<M, D, P>): VectorFeatures<M, D, P> | undefined
      • Parameters

        • feature: VectorFeatures<M, D, P>

        Returns VectorFeatures<M, D, P> | undefined