From 4f382819fdac740892fdc6b7e8a9617b10a43533 Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Sun, 28 Nov 2021 14:18:32 +0100 Subject: [PATCH] Change basemap URL again --- frontend/src/mapstyles/bright.json | 6 ++---- frontend/src/mapstyles/positron.json | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/frontend/src/mapstyles/bright.json b/frontend/src/mapstyles/bright.json index 5c6d16d..8f9f110 100644 --- a/frontend/src/mapstyles/bright.json +++ b/frontend/src/mapstyles/bright.json @@ -8,13 +8,11 @@ "sources": { "openmaptiles": { "type": "vector", - "tiles": ["https://portal.openbikesensor.org/basemap/data/basemap/{z}/{x}/{y}.pbf"], - "minzoom": 0, - "maxzoom": 14 + "url": "https://tiles.openbikesensor.org/data/basemap.json" } }, "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": [ { "id": "background", diff --git a/frontend/src/mapstyles/positron.json b/frontend/src/mapstyles/positron.json index dba42c3..b00625d 100644 --- a/frontend/src/mapstyles/positron.json +++ b/frontend/src/mapstyles/positron.json @@ -4,13 +4,11 @@ "sources": { "openmaptiles": { "type": "vector", - "tiles": ["https://portal.openbikesensor.org/basemap/data/basemap/{z}/{x}/{y}.pbf"], - "minzoom": 0, - "maxzoom": 14 + "url": "https://tiles.openbikesensor.org/data/basemap.json" } }, "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": [ { "id": "background",