Composite MLT
Combines the layers of MapLibre Tiles (MLT) from multiple providers into one tile.
MLT
Description
If given one child provider that returns an MLT with layer "a" and another that returns an MLT with layer "b", this provider will return an MLT with layers "a" and "b". The contents of the MLTs are not changed in any way.
| This is the MLT equivalent of the compositemvt provider. MVT and MLT can’t be mixed in one tile, so a child known to produce MVT, such as postgismvt, is rejected when the configuration is loaded. |
Example
-
YAML
-
JSON
provider:
name: compositemlt
providers:
- name: pmtiles
file: /data/basemap.pmtiles
- name: proxy
url: https://tiles.example.com/overlay/{z}/{x}/{y}.mlt
{
"provider": {
"name": "compositemlt",
"providers": [
{
"name": "pmtiles",
"file": "/data/basemap.pmtiles"
},
{
"name": "proxy",
"url": "https://tiles.example.com/overlay/{z}/{x}/{y}.mlt"
}
]
}
}