TileJsonMetadata interface

TileJSON metadata describing a tile set according to the TileJSON specification

Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0

Properties

attribution

Attribution text for the data sources

bounds

Bounds

center

Default center point [longitude, latitude, zoom] for the tile set

data

Array of data file URL templates

description

Human-readable description of the tile set

grids

Array of UTFGrid URL templates

legend

URL to legend content for the tile set

maxZoom

Maximum zoom level available in the tile set

minZoom

Minimum zoom level available in the tile set

name

Human-readable name of the tile set

scheme

Tile addressing scheme (xyz or tms)

template

URL template for feature info queries

tileJson

TileJson

tiles

Array of tile URL templates

version

Version

Property Details

attribution

Attribution text for the data sources

attribution?: string

Property Value

string

bounds

Bounds

bounds?: number[]

Property Value

number[]

center

Default center point [longitude, latitude, zoom] for the tile set

center?: number[]

Property Value

number[]

data

Array of data file URL templates

data?: string[]

Property Value

string[]

description

Human-readable description of the tile set

description?: string

Property Value

string

grids

Array of UTFGrid URL templates

grids?: string[]

Property Value

string[]

legend

URL to legend content for the tile set

legend?: string

Property Value

string

maxZoom

Maximum zoom level available in the tile set

maxZoom?: number

Property Value

number

minZoom

Minimum zoom level available in the tile set

minZoom?: number

Property Value

number

name

Human-readable name of the tile set

name?: string

Property Value

string

scheme

Tile addressing scheme (xyz or tms)

scheme?: string

Property Value

string

template

URL template for feature info queries

template?: string

Property Value

string

tileJson

TileJson

tileJson?: string

Property Value

string

tiles

Array of tile URL templates

tiles: string[]

Property Value

string[]

version

Version

version?: string

Property Value

string