ElevationTileSourceOptions interface

Extends

Properties

encoding

DEM tiles encoding format. Supported: mapbox or terrarium.
"terrarium": Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info.<br /> "mapbox": Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info.
default mapbox

Inherited Properties

bounds

A bounding box that specifies where tiles are available. When specified, no tiles outside of the bounding box will be requested.

isTMS

Specifies is the tile systems y coordinate uses the OSGeo Tile Map Services which reverses the Y coordinate axis. default false

maxZoom

An integer specifying the maximum zoom level to render the layer at. default 22

minZoom

An integer specifying the minimum zoom level to render the layer at. default 0

tiles

An array of one or more tile source URLs. Supported URL parameters:

  • `{x}` - X position of tile. Tile URL usually also needs {y} and {z}.
  • `{y}` - Y position of tile. Tile URL usually also needs {x} and {z}.
  • `{z}` - Zoom level of tile. Tile URL usually also needs {x} and {y}.
  • `{quadkey}` - Tile quadkey id based on the Bing Maps tile system naming convention.
  • `{bbox-epsg-3857}` - A bounding box string with the format "{west},{south},{east},{north}" with coordinates in the EPSG 3857 Spatial Reference System also commonly known as WGS84 Web Mercator. This is useful when working with WMS imagery services.
tileSize

An integer value that specifies the width and height dimensions of the map tiles. For a seamless experience, the tile size must by a multiplier of 2. (i.e. 256, 512, 1024…). default 512

url

A URL to a TileJSON resource. Supported protocols are http: and https:.

Property Details

encoding

DEM tiles encoding format. Supported: mapbox or terrarium.
"terrarium": Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info.<br /> "mapbox": Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info.
default mapbox

encoding?: "terrarium" | "mapbox"

Property Value

"terrarium" | "mapbox"

Inherited Property Details

bounds

A bounding box that specifies where tiles are available. When specified, no tiles outside of the bounding box will be requested.

bounds?: BoundingBox

Property Value

Inherited From VectorTileSourceOptions.bounds

isTMS

Specifies is the tile systems y coordinate uses the OSGeo Tile Map Services which reverses the Y coordinate axis. default false

isTMS?: boolean

Property Value

boolean

Inherited From VectorTileSourceOptions.isTMS

maxZoom

An integer specifying the maximum zoom level to render the layer at. default 22

maxZoom?: number

Property Value

number

Inherited From VectorTileSourceOptions.maxZoom

minZoom

An integer specifying the minimum zoom level to render the layer at. default 0

minZoom?: number

Property Value

number

Inherited From VectorTileSourceOptions.minZoom

tiles

An array of one or more tile source URLs. Supported URL parameters:

  • `{x}` - X position of tile. Tile URL usually also needs {y} and {z}.
  • `{y}` - Y position of tile. Tile URL usually also needs {x} and {z}.
  • `{z}` - Zoom level of tile. Tile URL usually also needs {x} and {y}.
  • `{quadkey}` - Tile quadkey id based on the Bing Maps tile system naming convention.
  • `{bbox-epsg-3857}` - A bounding box string with the format "{west},{south},{east},{north}" with coordinates in the EPSG 3857 Spatial Reference System also commonly known as WGS84 Web Mercator. This is useful when working with WMS imagery services.

tileSize

An integer value that specifies the width and height dimensions of the map tiles. For a seamless experience, the tile size must by a multiplier of 2. (i.e. 256, 512, 1024…). default 512

tileSize?: number

Property Value

number

Inherited From RasterTileSourceOptions.tileSize

url

A URL to a TileJSON resource. Supported protocols are http: and https:.

url?: string

Property Value

string

Inherited From VectorTileSourceOptions.url