summaryrefslogtreecommitdiffci
path: root/views/pages/global-map.html
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2026-01-08 20:51:47 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2026-01-08 20:51:47 +0700
commita48036d496f0af90ff437c897b77418ca8453e9c (patch)
treeb9b0552b5ea16335828e345e3ffc472dc4b90c30 /views/pages/global-map.html
parente4f6790aab7f1b447892d0ed999dff8af45ac33e (diff)
downloadweb-a48036d496f0af90ff437c897b77418ca8453e9c.tar.gz
web-a48036d496f0af90ff437c897b77418ca8453e9c.zip
feat: switch standard OSM to CyclOSM for maps on site
feat: reduce border size for sidebar buttons from 0.3rem to 0.25rem
Diffstat (limited to 'views/pages/global-map.html')
-rw-r--r--views/pages/global-map.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/pages/global-map.html b/views/pages/global-map.html
index 52ea841..7d788d6 100644
--- a/views/pages/global-map.html
+++ b/views/pages/global-map.html
@@ -230,9 +230,9 @@
function initLocationMap() {
map = L.map('map-container').setView([{{ .MapLocationLat }}, {{ .MapLocationLong }}], 4);
- L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
- maxZoom: 18,
- attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>',
+ L.tileLayer('https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.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',
zoomControl: false
}).addTo(map);