Switch map tiles to keyless Esri World Street Map

This commit is contained in:
zyphlar committed 2026-10-09 23:08:56 -07:00
1 parent 66859d30ac
commit d1cde506d8
1 file changed
+3 -4
+3 -4
View File
@@ -312,10 +312,9 @@
var map = L.map('map').on({
click: loadMapCoords
}).setView([0, 0], 10);
L.tileLayer('https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png', {
subdomains: 'abcd',
maxZoom: 20,
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>'
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}', {
maxZoom: 19,
attribution: 'Tiles &copy; Esri &mdash; Source: Esri, HERE, Garmin, USGS, NGA, EPA, USDA, NPS'
}).addTo(map);
const latForm = document.querySelector("#lat");
const longForm = document.querySelector("#long");