maplibre/martin
Support for merging styles into one, similar to sources
Aberta
#1.928 aberto em 17 de jul. de 2025
help wantedserving
Métricas do repositório
- Stars
- (3.761 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
It is currently possible to merge multiple tile sources (composite sources), e.g. /{source1},…,{sourceN}/{z}/{x}/{y}. We need to allow the same thing for styles:
/style/{style1},…,{styleN}
When merging:
- combine the list of styling rules in the order provided by the user
- combine the list of sources into a single list, de-duplicating them
- TODO: in case a of a duplicate URL, but different data source name, we may need to update the style to use the new source name
- consider merging tile sources into a single composite source request
- combine fonts and sprites