wasm-spatial-core
    Preparing search index...

    Class MvtFeature

    A decoded MVT feature with geometry, type, and tags.

    Index
    geometry: Float64Array

    Flat tile-space coordinates as Float64Array.

    geometry_type: number

    Geometry type: 0=Unknown, 1=Point, 2=LineString, 3=Polygon.

    id: number

    Feature ID (0 if not set).

    • Get a tag key by index.

      Parameters

      • index: number

      Returns string

    • Get a tag value by index.

      Parameters

      • index: number

      Returns string