Taos API Reference
    Preparing search index...

    Interface GeoJsonLayerStyle

    Per-geometry-kind styling for a baked layer. A heightAt set here (or on each sub-option) drapes geometry onto streamed terrain.

    interface GeoJsonLayerStyle {
        polygon?: PolygonBakeOptions;
        line?: LineBakeOptions;
        point?: PointBakeOptions;
        heightAt?: HeightSampler;
        pickable?: boolean;
        polygonLabelLift?: number;
    }
    Index

    Properties

    Polygon fill / extrusion options.

    Polyline ribbon options.

    Point anchor options (height / draping).

    heightAt?: HeightSampler

    A terrain height sampler applied to every kind that doesn't set its own heightAt.

    pickable?: boolean

    Retain a CPU triangle soup + per-vertex feature ids for the polygons, so GeoJsonLayer.pick / GeoJsonLayer.setFeatureColor work. Default false.

    polygonLabelLift?: number

    Meters above a polygon's roof / ground to float its centroid label. Default 8.