Difference between revisions of "Test"

From A.P.E.S. wiki
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.opentopomap.org/{z}/{x}/{y}.png',{  
+
var osm=new L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',{  
 
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map);
 
attribution: '&copy; <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',{  
+
var top=new L.tileLayer('http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',{  
 
attribution: '&copy; <a href="http://osm.org/copyright">OpenTopoMap</a> contributors'}).addTo(map);
 
attribution: '&copy; <a href="http://osm.org/copyright">OpenTopoMap</a> contributors'}).addTo(map);
 
 

Revision as of 16:25, 23 February 2022