Difference between revisions of "Range layers"
Jump to navigation
Jump to search
Line 45: | Line 45: | ||
// Map | // Map | ||
var map = L.map('map').setView([10, 110], 4); | var map = L.map('map').setView([10, 110], 4); | ||
+ | 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 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); | ||
− | |||
// Popup content | // Popup content | ||
Line 99: | Line 99: | ||
var hyloklosiiLayer = L.geoJson(null, {onEachFeature: forEachFeature,style: stylehyloklosii}); | var hyloklosiiLayer = L.geoJson(null, {onEachFeature: forEachFeature,style: stylehyloklosii}); | ||
− | $.getJSON(hyloklosii, function(data) { hyloklosiiLayer.addData(data);}); hyloklosiiLayer.addTo(map); | + | // $.getJSON(hyloklosii, function(data) { hyloklosiiLayer.addData(data);}); hyloklosiiLayer.addTo(map); |
− | $.getJSON(hoolockhoolock, function(data) { hoolockhoolockLayer.addData(data);}); hoolockhoolockLayer.addTo(map); | + | // $.getJSON(hoolockhoolock, function(data) { hoolockhoolockLayer.addData(data);}); hoolockhoolockLayer.addTo(map); |
− | $.getJSON(symphasyndact, function(data) { symphasyndactLayer.addData(data);}); symphasyndactLayer.addTo(map); | + | // $.getJSON(symphasyndact, function(data) { symphasyndactLayer.addData(data);}); symphasyndactLayer.addTo(map); |
− | $.getJSON(nomassiki, function(data) { nomassikiLayer.addData(data);}); nomassikiLayer.addTo(map); | + | // $.getJSON(nomassiki, function(data) { nomassikiLayer.addData(data);}); nomassikiLayer.addTo(map); |
− | $.getJSON(nomasnasutus, function(data) { nomasnasutusLayer.addData(data);}); nomasnasutusLayer.addTo(map); | + | // $.getJSON(nomasnasutus, function(data) { nomasnasutusLayer.addData(data);}); nomasnasutusLayer.addTo(map); |
− | $.getJSON(nomasleuco, function(data) { nomasleucoLayer.addData(data);}); nomasleucoLayer.addTo(map); | + | // $.getJSON(nomasleuco, function(data) { nomasleucoLayer.addData(data);}); nomasleucoLayer.addTo(map); |
− | $.getJSON(nomashainanus, function(data) { nomashainanusLayer.addData(data);}); nomashainanusLayer.addTo(map); | + | // $.getJSON(nomashainanus, function(data) { nomashainanusLayer.addData(data);}); nomashainanusLayer.addTo(map); |
− | $.getJSON(nomasgabriellae, function(data) { nomasgabriellaeLayer.addData(data);}); nomasgabriellaeLayer.addTo(map); | + | // $.getJSON(nomasgabriellae, function(data) { nomasgabriellaeLayer.addData(data);}); nomasgabriellaeLayer.addTo(map); |
− | $.getJSON(nomasconcolor, function(data) { nomasconcolorLayer.addData(data);}); nomasconcolorLayer.addTo(map); | + | // $.getJSON(nomasconcolor, function(data) { nomasconcolorLayer.addData(data);}); nomasconcolorLayer.addTo(map); |
− | $.getJSON(nomasannamensis, function(data) { nomasannamensisLayer.addData(data);}); nomasannamensisLayer.addTo(map); | + | // $.getJSON(nomasannamensis, function(data) { nomasannamensisLayer.addData(data);}); nomasannamensisLayer.addTo(map); |
− | $.getJSON(hylopileatus, function(data) { hylopileatusLayer.addData(data);}); hylopileatusLayer.addTo(map); | + | // $.getJSON(hylopileatus, function(data) { hylopileatusLayer.addData(data);}); hylopileatusLayer.addTo(map); |
− | $.getJSON(hylomuell, function(data) { hylomuellLayer.addData(data);}); hylomuellLayer.addTo(map); | + | // $.getJSON(hylomuell, function(data) { hylomuellLayer.addData(data);}); hylomuellLayer.addTo(map); |
− | $.getJSON(hylomoloch, function(data) { hylomolochLayer.addData(data);}); hylomolochLayer.addTo(map); | + | // $.getJSON(hylomoloch, function(data) { hylomolochLayer.addData(data);}); hylomolochLayer.addTo(map); |
− | $.getJSON(hylolarvest, function(data) { hylolarvestLayer.addData(data);}); hylolarvestLayer.addTo(map); | + | // $.getJSON(hylolarvest, function(data) { hylolarvestLayer.addData(data);}); hylolarvestLayer.addTo(map); |
− | $.getJSON(hylolarcarp, function(data) { hylolarcarpLayer.addData(data);}); hylolarcarpLayer.addTo(map); | + | // $.getJSON(hylolarcarp, function(data) { hylolarcarpLayer.addData(data);}); hylolarcarpLayer.addTo(map); |
− | $.getJSON(hylolar, function(data) { hylolarLayer.addData(data);}); hylolarLayer.addTo(map); | + | // $.getJSON(hylolar, function(data) { hylolarLayer.addData(data);}); hylolarLayer.addTo(map); |
− | $.getJSON(hylofunereus, function(data) { hylofunereusLayer.addData(data);}); hylofunereusLayer.addTo(map); | + | // $.getJSON(hylofunereus, function(data) { hylofunereusLayer.addData(data);}); hylofunereusLayer.addTo(map); |
− | $.getJSON(hyloagilis, function(data) { hyloagilisLayer.addData(data);}); hyloagilisLayer.addTo(map); | + | // $.getJSON(hyloagilis, function(data) { hyloagilisLayer.addData(data);}); hyloagilisLayer.addTo(map); |
− | $.getJSON(hyloalbibaris, function(data) { hyloalbibarisLayer.addData(data);}); hyloalbibarisLayer.addTo(map); | + | // $.getJSON(hyloalbibaris, function(data) { hyloalbibarisLayer.addData(data);}); hyloalbibarisLayer.addTo(map); |
− | $.getJSON(hyloabbotti, function(data) { hyloabbottiLayer.addData(data);}); hyloabbottiLayer.addTo(map); | + | // $.getJSON(hyloabbotti, function(data) { hyloabbottiLayer.addData(data);}); hyloabbottiLayer.addTo(map); |
− | $.getJSON(hoolocktianxing, function(data) { hoolocktianxingLayer.addData(data);}); hoolocktianxingLayer.addTo(map); | + | // $.getJSON(hoolocktianxing, function(data) { hoolocktianxingLayer.addData(data);}); hoolocktianxingLayer.addTo(map); |
− | $.getJSON(hoolockleuconedys, function(data) { hoolockleuconedysLayer.addData(data);}); hoolockleuconedysLayer.addTo(map); | + | // $.getJSON(hoolockleuconedys, function(data) { hoolockleuconedysLayer.addData(data);}); hoolockleuconedysLayer.addTo(map); |
// for Layer Control | // for Layer Control | ||
Line 129: | Line 129: | ||
var overlayMaps = { | var overlayMaps = { | ||
− | "Hoolock hoolock": hoolockhoolockLayer, | + | // "Hoolock hoolock": hoolockhoolockLayer, |
− | "Hoolock leuconedys": hoolockleuconedysLayer, | + | // "Hoolock leuconedys": hoolockleuconedysLayer, |
− | "Hoolock tianxing": hoolocktianxingLayer, | + | // "Hoolock tianxing": hoolocktianxingLayer, |
− | "Hylobates abbotti": hyloabbottiLayer, | + | // "Hylobates abbotti": hyloabbottiLayer, |
− | "Hylobates albibarbis": hyloalbibarisLayer, | + | // "Hylobates albibarbis": hyloalbibarisLayer, |
− | "Hylobates agilis": hyloagilisLayer, | + | // "Hylobates agilis": hyloagilisLayer, |
− | "Hylobates funereus": hylofunereusLayer, | + | // "Hylobates funereus": hylofunereusLayer, |
− | "Hylobates lar": hylolarLayer, | + | // "Hylobates lar": hylolarLayer, |
− | "Hylobates lar carpenteri": hylolarcarpLayer, | + | // "Hylobates lar carpenteri": hylolarcarpLayer, |
− | "Hylobates lar vestitus": hylolarvestLayer, | + | // "Hylobates lar vestitus": hylolarvestLayer, |
− | "Hylobates moloch": hylomolochLayer, | + | // "Hylobates moloch": hylomolochLayer, |
− | "Hylobates muelleri": hylomuellLayer, | + | // "Hylobates muelleri": hylomuellLayer, |
− | "Hylobates pileatus": hylopileatusLayer, | + | // "Hylobates pileatus": hylopileatusLayer, |
− | "Nomascus annamensis": nomasannamensisLayer, | + | // "Nomascus annamensis": nomasannamensisLayer, |
− | "Nomascus concolor": nomasconcolorLayer, | + | // "Nomascus concolor": nomasconcolorLayer, |
− | "Nomascus gabriellae": nomasgabriellaeLayer, | + | // "Nomascus gabriellae": nomasgabriellaeLayer, |
− | "Nomascus hainanus": nomashainanusLayer, | + | // "Nomascus hainanus": nomashainanusLayer, |
− | "Nomascus leucogenys": nomasleucoLayer, | + | // "Nomascus leucogenys": nomasleucoLayer, |
− | "Nomascus nasutus": nomasnasutusLayer, | + | // "Nomascus nasutus": nomasnasutusLayer, |
− | "Nomascus siki": nomassikiLayer, | + | // "Nomascus siki": nomassikiLayer, |
− | "Symphalangus syndactylus": symphasyndactLayer, | + | // "Symphalangus syndactylus": symphasyndactLayer, |
− | "Hylobates klosii": hyloklosiiLayer, | + | // "Hylobates klosii": hyloklosiiLayer, |
}; | }; | ||
Revision as of 10:27, 7 March 2022
Species | Shapefile | GeoJSON |
---|---|---|
Hoolock hoolock | Hoolock hoolock shapefile (ZIP; 110 kB)] | Hoolock hoolock geojson |
Hoolock leuconedys | ||
Hoolock tianxing | ||
Hoolock tianxing | ||
Hylobates abbotti | ||
Hylobates albibarbis | ||
Hylobates agilis | ||
Hylobates funereus | ||
Hylobates lar | ||
Hylobates lar carpenteri | ||
Hylobates lar vestitus | ||
Hylobates moloch | ||
Hylobates muelleri | ||
Hylobates pileatus | ||
Hylobates klosii | ||
Nomascus annamensis | ||
Nomascus concolor | ||
Nomascus gabriellae | ||
Nomascus hainanus | ||
Nomascus leucogenys | ||
Nomascus nasutus | ||
Nomascus siki | ||
Symphalangus syndactylus |