Taos API Reference
    Preparing search index...

    Interface VectorFeature

    A decoded feature: its geometry as rings of tile-local points + decoded properties.

    interface VectorFeature {
        type: MvtGeomType;
        rings: [number, number][][];
        properties: Record<string, string | number | boolean>;
        id?: number;
    }
    Index

    Properties

    rings: [number, number][][]

    Rings of [x, y] points in tile coordinates (0..extent). For polygons each ring is a closed loop; classify exterior/hole via ringArea.

    properties: Record<string, string | number | boolean>
    id?: number