Difference between revisions of "Test"

From A.P.E.S. wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
       var url2 = 'files/species_15933.geojson';  // my GeoJSON data source, in same folder as my html page.
 
       var url2 = 'files/species_15933.geojson';  // my GeoJSON data source, in same folder as my html page.
  
       var map = L.map('map').setView([-10, 6], 4);  
+
       var map = L.map('map').setView([0, 16], 4);  
  
 
       var topo=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);
 
       var topo=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);

Revision as of 11:15, 25 February 2022