From a48036d496f0af90ff437c897b77418ca8453e9c Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Thu, 8 Jan 2026 20:51:47 +0700 Subject: feat: switch standard OSM to CyclOSM for maps on site feat: reduce border size for sidebar buttons from 0.3rem to 0.25rem --- views/pages/blog-page.html | 6 +++--- views/pages/global-map.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'views') diff --git a/views/pages/blog-page.html b/views/pages/blog-page.html index f488d64..c81406f 100644 --- a/views/pages/blog-page.html +++ b/views/pages/blog-page.html @@ -21,9 +21,9 @@ function initLocationMap(id, x, y, relativeErrorMeters = 0) { map = L.map(id).setView([x, y], 8); - L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { - maxZoom: 18, - attribution: '© OpenStreetMap' + L.tileLayer('https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', { + maxZoom: 20, + attribution: 'CyclOSM | Map data: © OpenStreetMap contributors' }).addTo(map); if (relativeErrorMeters != 0) { 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: '© OpenStreetMap', + L.tileLayer('https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', { + maxZoom: 20, + attribution: 'CyclOSM | Map data: © OpenStreetMap contributors', zoomControl: false }).addTo(map); -- cgit v1.3.1+13