mirror of
https://github.com/zyphlar/roman-time.git
synced 2026-12-01 21:19:07 +00:00
Switch map tiles to keyless Esri World Street Map
This commit is contained in:
1 parent
66859d30ac
commit
d1cde506d8
1 file changed
+3
-4
+3
-4
@@ -312,10 +312,9 @@
|
|||||||
var map = L.map('map').on({
|
var map = L.map('map').on({
|
||||||
click: loadMapCoords
|
click: loadMapCoords
|
||||||
}).setView([0, 0], 10);
|
}).setView([0, 0], 10);
|
||||||
L.tileLayer('https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png', {
|
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}', {
|
||||||
subdomains: 'abcd',
|
maxZoom: 19,
|
||||||
maxZoom: 20,
|
attribution: 'Tiles © Esri — Source: Esri, HERE, Garmin, USGS, NGA, EPA, USDA, NPS'
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
|
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
const latForm = document.querySelector("#lat");
|
const latForm = document.querySelector("#lat");
|
||||||
const longForm = document.querySelector("#long");
|
const longForm = document.querySelector("#long");
|
||||||
|
|||||||
Reference in new issue
Block a user