mirror of
https://github.com/maplibre/martin.git
synced 2024-12-25 07:55:12 +03:00
a9cb0c972f
Fixes #1245 Large book and README refactoring, adding quick started section, list of available features to the README, and moving most of the content from README to the book. --------- Co-authored-by: Yuri Astrakhan <YuriAstrakhan@gmail.com>
718 B
718 B
Composite Sources
Composite Sources allows combining multiple sources into one. Composite Source consists of multiple sources separated by
comma {source1},...,{sourceN}
Each source in a composite source can be accessed with its {source_name}
as a source-layer
property.
Composite source TileJSON endpoint is available
at /{source1},...,{sourceN}
, and tiles are available at /{source1},...,{sourceN}/{z}/{x}/{y}
.
For example, composite source combining points
and lines
sources will be available at /points,lines/{z}/{x}/{y}
# TileJSON
curl localhost:3000/points,lines
# Whole world as a single tile
curl localhost:3000/points,lines/0/0/0