summaryrefslogtreecommitdiff
path: root/views/pages/global-map.html
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <145215889+SayaAndy@users.noreply.github.com> 2026-05-04 02:40:45 +0700
committerGravatar GitHub <noreply@github.com> 2026-05-04 02:40:45 +0700
commit90463bdad7e1df4036c407c7055474adb1e70ba8 (patch)
tree36ddbe74c45157439238d6295c599a1af493e562 /views/pages/global-map.html
parent696bbd751b172fa157b70699674c374a0ff54fc1 (diff)
parent4bb41ea116703b7962197048f38e324d0a4ba6f2 (diff)
downloadweb-90463bdad7e1df4036c407c7055474adb1e70ba8.tar.gz
web-90463bdad7e1df4036c407c7055474adb1e70ba8.zip
v0.15.2 (#32)v0.15.2
- [feat: migrate from cyclosm to stadia maps outdoors (due to cyclosm denial of service)](https://github.com/SayaAndy/saya-today-web/commit/4bb41ea116703b7962197048f38e324d0a4ba6f2)
Diffstat (limited to 'views/pages/global-map.html')
-rw-r--r--views/pages/global-map.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/pages/global-map.html b/views/pages/global-map.html
index 248d0b9..fe7d747 100644
--- a/views/pages/global-map.html
+++ b/views/pages/global-map.html
@@ -389,9 +389,9 @@
function initLocationMap() {
map = L.map('map-container').setView([{{ .MapLocationLat }}, {{ .MapLocationLong }}], 4);
- L.tileLayer('https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', {
+ L.tileLayer('https://tiles.stadiamaps.com/tiles/outdoors/{z}/{x}/{y}{r}.png', {
maxZoom: 20,
- attribution: '<a href="https://github.com/cyclosm/cyclosm-cartocss-style/releases" title="CyclOSM - Open Bicycle render">CyclOSM</a> | Map data: &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
+ attribution: '&copy; <a href="https://stadiamaps.com/" target="_blank">Stadia Maps</a>, &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>',
zoomControl: false
}).addTo(map);