Change basemap URL again

This commit is contained in:
Paul Bienkowski 2021-11-28 14:18:32 +01:00
parent 1c39476ac5
commit 4f382819fd
2 changed files with 4 additions and 8 deletions

View file

@ -8,13 +8,11 @@
"sources": { "sources": {
"openmaptiles": { "openmaptiles": {
"type": "vector", "type": "vector",
"tiles": ["https://portal.openbikesensor.org/basemap/data/basemap/{z}/{x}/{y}.pbf"], "url": "https://tiles.openbikesensor.org/data/basemap.json"
"minzoom": 0,
"maxzoom": 14
} }
}, },
"sprite": "https://openmaptiles.github.io/osm-bright-gl-style/sprite", "sprite": "https://openmaptiles.github.io/osm-bright-gl-style/sprite",
"glyphs": "https://portal.openbikesensor.org/basemap/fonts/{fontstack}/{range}.pbf?key={key}", "glyphs": "https://tiles.openbikesensor.org/fonts/{fontstack}/{range}.pbf?key={key}",
"layers": [ "layers": [
{ {
"id": "background", "id": "background",

View file

@ -4,13 +4,11 @@
"sources": { "sources": {
"openmaptiles": { "openmaptiles": {
"type": "vector", "type": "vector",
"tiles": ["https://portal.openbikesensor.org/basemap/data/basemap/{z}/{x}/{y}.pbf"], "url": "https://tiles.openbikesensor.org/data/basemap.json"
"minzoom": 0,
"maxzoom": 14
} }
}, },
"sprite": "https://openmaptiles.github.io/osm-bright-gl-style/sprite", "sprite": "https://openmaptiles.github.io/osm-bright-gl-style/sprite",
"glyphs": "https://portal.openbikesensor.org/basemap/fonts/{fontstack}/{range}.pbf?key={key}", "glyphs": "https://tiles.openbikesensor.org/fonts/{fontstack}/{range}.pbf?key={key}",
"layers": [ "layers": [
{ {
"id": "background", "id": "background",