From 606a78a95fe977a4b416d7a41b757638bda70f63 Mon Sep 17 00:00:00 2001 From: itskovacs Date: Sat, 19 Jul 2025 12:03:15 +0200 Subject: [PATCH] :lipstick: Switch to CARTO tiles --- src/src/app/shared/map.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/src/app/shared/map.ts b/src/src/app/shared/map.ts index 25e6aaa..c230aaf 100644 --- a/src/src/app/shared/map.ts +++ b/src/src/app/shared/map.ts @@ -33,12 +33,15 @@ export function createMap(contextMenuItems?: ContextMenuItem[]): L.Map { .setZoom(10) .setMaxBounds(bounds); - L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", { - maxZoom: 17, - minZoom: 5, - attribution: - '© OpenStreetMap', - }).addTo(map); + L.tileLayer( + "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png", + { + maxZoom: 17, + minZoom: 5, + attribution: + '© OpenStreetMap, © CARTO', + }, + ).addTo(map); return map; }