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 osm=new L.tileLayer('http://{s}.tile. | + | var osm=new L.tileLayer('http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',{ |
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map); | attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map); | ||
− | + | var top=new L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',{ | |
+ | attribution: '© <a href="http://osm.org/copyright">OpenTopoMap</a> contributors'}).addTo(map); | ||
+ | |||
// Set style function that sets fill color property | // Set style function that sets fill color property | ||
Line 76: | Line 78: | ||
var baseMaps = { | var baseMaps = { | ||
"Open Street Map": osm | "Open Street Map": osm | ||
+ | "Open Topo Map": top | ||
}; | }; | ||
Revision as of 16:24, 23 February 2022