XYZ Maps Documentation
    Preparing search index...

    Class TerrainTileFeature

    This Feature represents a Terrain Tile.

    Hierarchy (View Summary)

    • Feature<"Polygon">
      • TerrainTileFeature
    Index
    bbox?: [number, number, number, number]

    Bounding box of the feature. The value of the bbox member is an array of length 4, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The "bbox" values define shapes with edges that follow lines of constant longitude and latitude.

    geometry: { coordinates: GeoJSONCoordinate[][]; type: "Polygon" }

    The geometry of a cluster feature is of type 'Polygon', where the coordinates represent the geographical bounding box of the tile.

    id: string | number

    id of the feature.

    properties: {
        edgeIndices?: {
            bottom: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
            left: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
            right: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
            top: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
        };
        indices: Uint16Array<ArrayBufferLike>
        | Uint32Array<ArrayBufferLike>;
        normals?:
            | Float32Array<ArrayBufferLike>
            | Int8Array<ArrayBufferLike>
            | Int16Array<ArrayBufferLike>;
        vertices:
            | Float32Array<ArrayBufferLike>
            | Uint16Array<ArrayBufferLike>
            | Uint32Array<ArrayBufferLike>;
    } & { isTerrain: true; [name: string]: any }

    The Properties of the Terrain Tile feature.

    Type Declaration

    • OptionaledgeIndices?: {
          bottom: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
          left: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
          right: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
          top: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
      }
    • indices: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>
    • Optionalnormals?:
          | Float32Array<ArrayBufferLike>
          | Int8Array<ArrayBufferLike>
          | Int16Array<ArrayBufferLike>
    • vertices:
          | Float32Array<ArrayBufferLike>
          | Uint16Array<ArrayBufferLike>
          | Uint32Array<ArrayBufferLike>
    • [name: string]: any

      Additional custom properties of the terrain feature.

    • ReadonlyisTerrain: true

      Indicates if the feature is a terrain tile.

    type: string

    The type of the feature is a string with 'Feature' as its value.