Commit 922dc492 authored by JOE XMG's avatar JOE XMG
Browse files

update basemap

parent 3a1fdf35
Pipeline #6176 passed with stage
in 6 seconds
......@@ -90,6 +90,10 @@
maxZoom: 20,
attribution: '&copy; <a href="https://stadiamaps.com/">Stadia Maps</a>, &copy; <a href="https://openmaptiles.org/">OpenMapTiles</a> &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors'
});
var Esri_WorldTopoMap = L.tileLayer(
'https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}', {
attribution: 'Tiles &copy; Esri &mdash; Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community'
});
var tmp_layer
var osmUrl = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
osmAttrib = '&copy; <a href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors',
......@@ -98,7 +102,7 @@
attribution: osmAttrib
}),
map = new L.Map('map', {
layers: [Stadia_Outdoors],
layers: [Esri_WorldTopoMap],
center: new L.LatLng(48.7758, 9.1829),
zoom: 15
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment