maplibre/martin

Support for merging styles into one, similar to sources

Aperta

#1928 aperta il 17 lug 2025

 (0 commenti) (1 reazione) (0 assegnatari)Rust (377 fork)auto 404
help wantedserving

Metriche repository

Star
 (3761 stelle)
Metriche merge PR
 (Merge medio 2g 16h) (78 PR mergiate in 30 g)

Descrizione

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

Guida contributor