Difference between revisions of "Test"
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([-10, 6], 4); |
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); | 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); |
Revision as of 11:15, 25 February 2022