Provider
Composite MLT
Allows you to combine MapLibre Tiles (MLT). If given one child provider that returns an MLT with layer "a" and another that returns an MLT with layer "b", this will return an MLT with layers "a" and "b". The contents of the MLTs are not changed in any way.
MLT
| 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"
}
]
}
}