added fetch example to docs
This commit is contained in:
parent
9c978d4a48
commit
924a840f84
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue