HTTP
With this tile provider, the tiles are obtained via HTTP, e.g. from a TileServer-GL instance.
Configuration
Name | Default | Description | Type | Since |
---|---|---|---|---|
id | Unique identifier of the entity, has to match the filename. Allowed characters are (A-Z, a-z), numbers (0-9), underscore and hyphen. | string | v2.0 | |
enabled | true | Option to disable the entity, which means it will not be available to other entities and background tasks will not be running. | boolean | v2.0 |
providerType | Always TILE . | string | v2.0 | |
providerSubType | Always HTTP . | string | v2.0 | |
tilesetDefaults | Defaults for all tilesets , see Tileset Defaults. | object | v3.4 | |
tilesets | {} | Definition of tilesets, see Tileset. | object | v3.4 |
Tileset Defaults
Defaults that are applied to each Tileset.
Name | Default | Description | Type | Since |
---|---|---|---|---|
center | { lon: 0.0, lat: 0.0 } | Longitude and latitude that a map with the tiles should be centered on by default. | object | v3.4 |
encodings | {} | Supported tile encodings. Keys have to be one of MVT , PNG , WebP and JPEG , values are provided as {{fileExtension}} in urlTemplate . | object | v3.4 |
levels | { "WebMercatorQuad" : { "min": 0, "max": 23 } } | Controls the zoom levels available for each active tiling scheme as well as which zoom level to use as default. | object | v3.4 |
Tileset
All options from Tileset Defaults are also available and can be overriden here.
Name | Default | Description | Type | Since |
---|---|---|---|---|
id | The tileset id. | string | v3.4 | |
urlTemplate | URL template for accessing tiles. Parameters to use are {{tileMatrix}} , {{tileRow}} , {{tileCol}} and {{fileExtension}} . Single curly braces are also allowed. | string | v3.4 |
Example
id: earthatnight-tiles
providerType: TILE
providerSubType: HTTP
tilesets:
__all__:
id: __all__
urlTemplate: https://demo.ldproxy.net/earthatnight/tiles/{{tileMatrixSet}}/{{tileMatrix}}/{{tileRow}}/{{tileCol}}?f={{fileExtension}}
levels:
WebMercatorQuad:
min: 0
max: 6
encodings:
JPEG: jpeg