added fetch example to docs

This commit is contained in:
Yoel Ridgway-Lopez 2025-02-10 18:23:24 +01:00
parent 9c978d4a48
commit 924a840f84

View file

@ -57,6 +57,9 @@ Example:
"tilejson": { "tilejson": {
"format": "webp" "format": "webp"
} }
},
"remote": {
"style": "https://demotiles.maplibre.org/style.json"
} }
}, },
"data": { "data": {
@ -209,7 +212,7 @@ Not used by default.
Each item in this object defines one style (map). It can have the following options: Each item in this object defines one style (map). It can have the following options:
* ``style`` -- name of the style json file [required] * ``style`` -- name of the style json file or url of a remote hosted style [required]
* ``serve_rendered`` -- whether to render the raster tiles for this style or not * ``serve_rendered`` -- whether to render the raster tiles for this style or not
* ``serve_data`` -- whether to allow access to the original tiles, sprites and required glyphs * ``serve_data`` -- whether to allow access to the original tiles, sprites and required glyphs
* ``tilejson`` -- properties to add to the TileJSON created for the raster data * ``tilejson`` -- properties to add to the TileJSON created for the raster data