XYZ Maps Documentation
    Preparing search index...

    This Class represents a WebMercator Tile.

    Index
    bounds: GeoJSONBBox

    Geographical Bounding box has the coordinates in order: [minLon, minLat, maxLon, maxLat].

    error?: NetworkError

    Represents an error that occurred during tile processing.

    This property is set when an error is encountered while performing operations on the tile, such as network failures during the loading of remote tile data.

    quadkey: string

    quadkey of the tile.

    type: string

    type of the tile.

    x: number

    x of the tile.

    y: number

    y of the tile.

    z: number

    z (zoonlevel) of the tile.

    • add a feature to the tile.

      Parameters

      • feature: Feature

        the Feature to add

      Returns void

    • Checks if tile expires at given point of time.

      Parameters

      • ts: number

      Returns boolean

      true when tile has expired, otherwise false.

    • get tile bound including margin.

      Returns [minLon: number, minLat: number, maxLon: number, maxLat: number]

      the bounding box with geographical coordinates [minLon, minLat, maxLon, maxLat]

    • check if the tile has been fully loaded

      Returns boolean

    • remove feature to the tile.

      Parameters

      • feature: Feature

        the Feature to remove

      Returns void