From f8d945ed8d7f9500c282884ac4b77f8a9b952c0a Mon Sep 17 00:00:00 2001 From: senmizu Date: Mon, 25 Nov 2024 11:29:28 +0800 Subject: [PATCH] [MY_COMMIT] use jp tile service --- assets/js/hooks.js | 2 +- grafana/dashboards/charging-stats.json | 2 +- grafana/dashboards/internal/charge-details.json | 2 +- grafana/dashboards/internal/drive-details.json | 2 +- grafana/dashboards/trip.json | 2 +- grafana/dashboards/visited.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/js/hooks.js b/assets/js/hooks.js index f8505b0c0c..c58d97d820 100644 --- a/assets/js/hooks.js +++ b/assets/js/hooks.js @@ -141,7 +141,7 @@ const DirectionArrow = CircleMarker.extend({ function createMap(opts) { const map = new M(opts.elId != null ? `map_${opts.elId}` : "map", opts); - const osm = new TileLayer("https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png", { + const osm = new TileLayer("https://tile.openstreetmap.jp/styles/openmaptiles/512/{z}/{x}/{y}.png", { maxZoom: 19, }); diff --git a/grafana/dashboards/charging-stats.json b/grafana/dashboards/charging-stats.json index dea941fe18..182c2877cc 100644 --- a/grafana/dashboards/charging-stats.json +++ b/grafana/dashboards/charging-stats.json @@ -1415,7 +1415,7 @@ "options": { "basemap": { "config": { - "url": "https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png" + "url": "https://tile.openstreetmap.jp/styles/openmaptiles/512/{z}/{x}/{y}.png" }, "name": "Layer 0", "tooltip": true, diff --git a/grafana/dashboards/internal/charge-details.json b/grafana/dashboards/internal/charge-details.json index 79bc910ec0..fa6bd97de2 100644 --- a/grafana/dashboards/internal/charge-details.json +++ b/grafana/dashboards/internal/charge-details.json @@ -888,7 +888,7 @@ "options": { "basemap": { "config": { - "url": "https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png" + "url": "https://tile.openstreetmap.jp/styles/openmaptiles/512/{z}/{x}/{y}.png" }, "name": "Layer 0", "type": "xyz" diff --git a/grafana/dashboards/internal/drive-details.json b/grafana/dashboards/internal/drive-details.json index 3f15ac62a9..9d1905dc1f 100644 --- a/grafana/dashboards/internal/drive-details.json +++ b/grafana/dashboards/internal/drive-details.json @@ -606,7 +606,7 @@ "options": { "basemap": { "config": { - "url": "https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png" + "url": "https://tile.openstreetmap.jp/styles/openmaptiles/512/{z}/{x}/{y}.png" }, "name": "Layer 0", "type": "xyz" diff --git a/grafana/dashboards/trip.json b/grafana/dashboards/trip.json index 927c105035..da07ce8261 100644 --- a/grafana/dashboards/trip.json +++ b/grafana/dashboards/trip.json @@ -165,7 +165,7 @@ "options": { "basemap": { "config": { - "url": "https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png" + "url": "https://tile.openstreetmap.jp/styles/openmaptiles/512/{z}/{x}/{y}.png" }, "name": "Layer 0", "type": "xyz" diff --git a/grafana/dashboards/visited.json b/grafana/dashboards/visited.json index 98b43c5166..1a3b610696 100644 --- a/grafana/dashboards/visited.json +++ b/grafana/dashboards/visited.json @@ -130,7 +130,7 @@ "options": { "basemap": { "config": { - "url": "https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png" + "url": "https://tile.openstreetmap.jp/styles/openmaptiles/512/{z}/{x}/{y}.png" }, "name": "Layer 0", "type": "xyz"