Change basemap URL

This commit is contained in:
Paul Bienkowski 2021-11-27 23:22:12 +01:00
parent 40f336336b
commit 04add36a5b
2 changed files with 4 additions and 4 deletions

View file

@ -8,13 +8,13 @@
"sources": { "sources": {
"openmaptiles": { "openmaptiles": {
"type": "vector", "type": "vector",
"tiles": ["https://portal.openbikesensor.org/tiles/data/basemap/{z}/{x}/{y}.pbf"], "tiles": ["https://portal.openbikesensor.org/basemap/data/basemap/{z}/{x}/{y}.pbf"],
"minzoom": 0, "minzoom": 0,
"maxzoom": 14 "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/tiles/fonts/{fontstack}/{range}.pbf?key={key}", "glyphs": "https://portal.openbikesensor.org/basemap/fonts/{fontstack}/{range}.pbf?key={key}",
"layers": [ "layers": [
{ {
"id": "background", "id": "background",

View file

@ -4,13 +4,13 @@
"sources": { "sources": {
"openmaptiles": { "openmaptiles": {
"type": "vector", "type": "vector",
"tiles": ["https://portal.openbikesensor.org/tiles/data/basemap/{z}/{x}/{y}.pbf"], "tiles": ["https://portal.openbikesensor.org/basemap/data/basemap/{z}/{x}/{y}.pbf"],
"minzoom": 0, "minzoom": 0,
"maxzoom": 14 "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/tiles/fonts/{fontstack}/{range}.pbf?key={key}", "glyphs": "https://portal.openbikesensor.org/basemap/fonts/{fontstack}/{range}.pbf?key={key}",
"layers": [ "layers": [
{ {
"id": "background", "id": "background",