Skip to content

Commit

Permalink
[MY_COMMIT] use jp tile service
Browse files Browse the repository at this point in the history
  • Loading branch information
senmizu committed Nov 25, 2024
1 parent c7c1583 commit f8d945e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/js/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand Down
2 changes: 1 addition & 1 deletion grafana/dashboards/charging-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion grafana/dashboards/internal/charge-details.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion grafana/dashboards/internal/drive-details.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion grafana/dashboards/trip.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion grafana/dashboards/visited.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f8d945e

Please sign in to comment.