Taos API Reference
    Preparing search index...

    Interface PolygonAnchorOptions

    interface PolygonAnchorOptions {
        baseHeight?: number;
        extrudeHeight?: NumberSpec;
        labelHeightOffset?: number;
        heightAt?: HeightSampler;
    }
    Index

    Properties

    baseHeight?: number

    Base height (m) — matches the polygon fill base. Default 0.

    extrudeHeight?: NumberSpec

    Extrude height — so a building's label floats at its ROOF, not the ground. Same spec as PolygonBakeOptions.extrudeHeight; pass the polygon style's value to stay in sync.

    labelHeightOffset?: number

    Extra meters above the roof / ground to lift the label off the surface. Default 0.

    heightAt?: HeightSampler

    Drape onto streamed terrain.