Difference between revisions of "Range test"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
var map = L.map('map').setView([10, 110], 4); | var map = L.map('map').setView([10, 110], 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 osm=new L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',{attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map); | var osm=new L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',{attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map); | ||
− | |||
Line 58: | Line 58: | ||
// Null variable that will hold layer | // Null variable that will hold layer | ||
var hoolockhoolockLayer = L.geoJson(null, {onEachFeature: forEachFeature, style: stylehoolockhoolock}); | var hoolockhoolockLayer = L.geoJson(null, {onEachFeature: forEachFeature, style: stylehoolockhoolock}); | ||
− | + | var hoolockleuconedysLayer = L.geoJson(null, {onEachFeature: forEachFeature, style: stylehoolockleuconedys}); | |
$.getJSON(hoolockhoolock, function(data) { hoolockhoolockLayer.addData(data);}); | $.getJSON(hoolockhoolock, function(data) { hoolockhoolockLayer.addData(data);}); |
Revision as of 09:36, 7 March 2022
Species | Shapefile | GeoJSON | Source |
---|---|---|---|
Hoolock hoolock | Hoolock hoolock shapefile (ZIP; 110 kB)] |