maplibre/martin

Support for merging styles into one, similar to sources

オープン

#1,928 opened on 2025/07/17

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)Rust (377 件のフォーク)auto 404
help wantedserving

Repository metrics

Stars
 (3,761 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド