From 66859d30ac496aad3f6c5b290fa8415a74481f00 Mon Sep 17 00:00:00 2001 From: zyphlar Date: Fri, 9 Oct 2026 23:08:12 -0700 Subject: [PATCH] Switch map tiles from OSM to CARTO Voyager basemap --- index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 7149356..2401c43 100644 --- a/index.html +++ b/index.html @@ -312,9 +312,10 @@ var map = L.map('map').on({ click: loadMapCoords }).setView([0, 0], 10); - L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { - maxZoom: 19, - attribution: '© OpenStreetMap' + L.tileLayer('https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png', { + subdomains: 'abcd', + maxZoom: 20, + attribution: '© OpenStreetMap contributors © CARTO' }).addTo(map); const latForm = document.querySelector("#lat"); const longForm = document.querySelector("#long");