Difference between revisions of "Test"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
var map = L.map('map').setView([47.7541, -107.05078], 3); | var map = L.map('map').setView([47.7541, -107.05078], 3); | ||
− | var | + | var topo=new L.tileLayer('http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',{ |
attribution: '© <a href="http://osm.org/copyright">OpenTopoMap</a> contributors'}).addTo(map); | attribution: '© <a href="http://osm.org/copyright">OpenTopoMap</a> contributors'}).addTo(map); | ||
var osm=new L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',{ | var osm=new L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',{ | ||
Line 78: | Line 78: | ||
var baseMaps = { | var baseMaps = { | ||
"Open Street Map": osm, | "Open Street Map": osm, | ||
+ | "Open Topo Map": topo, | ||
}; | }; | ||
Revision as of 16:36, 23 February 2022