Difference between revisions of "Range layers"
Jump to navigation
Jump to search
Line 96: | Line 96: | ||
max-height: 100%; | max-height: 100%; | ||
} | } | ||
− | + | </style> | |
</head> | </head> | ||
<body> | <body> | ||
Line 365: | Line 365: | ||
// Null variable that will hold layer | // Null variable that will hold layer | ||
var hoolockhoolockLayer = L.geoJson(null, {style: stylehoolockhoolock}); | var hoolockhoolockLayer = L.geoJson(null, {style: stylehoolockhoolock}); | ||
+ | var hoolockleuconedysLayer = L.geoJson(null, {style: stylehoolockleuconedys}); | ||
+ | var hoolocktianxingLayer = L.geoJson(null, {style: stylehoolocktianxing}); | ||
+ | var hyloabbottiLayer = L.geoJson(null, {style: stylehyloabbotti}); | ||
+ | var hyloalbibarisLayer = L.geoJson(null, {style: stylehyloalbibaris}); | ||
+ | var hyloagilisLayer = L.geoJson(null, {style: stylehyloagilis}); | ||
+ | var hylofunereusLayer = L.geoJson(null, {style: stylehylofunereus}); | ||
+ | var hylolarLayer = L.geoJson(null, {style: stylehylolar}); | ||
+ | var hylolarcarpLayer = L.geoJson(null, {style: stylehylolarcarp}); | ||
+ | var hylolarvestLayer = L.geoJson(null, {style: stylehylolarvest}); | ||
+ | var hylomolochLayer = L.geoJson(null, {style: stylehylomoloch}); | ||
+ | var hylomuellLayer = L.geoJson(null, {style: stylehylomuell}); | ||
+ | var hylopileatusLayer = L.geoJson(null, {style: stylehylopileatus}); | ||
+ | var nomasannamensisLayer = L.geoJson(null, {style: stylenomasannamensis}); | ||
+ | var nomasconcolorLayer = L.geoJson(null, {style: stylenomasconcolor}); | ||
+ | var nomasgabriellaeLayer = L.geoJson(null, {style: stylenomasgabriellae}); | ||
+ | var nomashainanusLayer = L.geoJson(null, {style: stylenomashainanus}); | ||
+ | var nomasleucoLayer = L.geoJson(null, {style: stylenomasleuco}); | ||
+ | var nomasnasutusLayer = L.geoJson(null, {style: stylenomasnasutus}); | ||
+ | var nomassikiLayer = L.geoJson(null, {style: stylenomassiki}); | ||
+ | var symphasyndactLayer = L.geoJson(null, {style: stylesymphasyndact}); | ||
+ | var hyloklosiiLayer = L.geoJson(null, {style: stylehyloklosii}); | ||
− | $.getJSON(hoolockhoolock, function(data) { hoolockhoolockLayer.addData(data);}); | + | $.getJSON(hyloklosii, function(data) { hyloklosiiLayer.addData(data);}); |
+ | hyloklosiiLayer.addTo(map); | ||
+ | |||
+ | $.getJSON(hoolockhoolock, function(data) { hoolockhoolockLayer.addData(data);}); | ||
hoolockhoolockLayer.addTo(map); | hoolockhoolockLayer.addTo(map); | ||
− | + | ||
− | + | $.getJSON(symphasyndact, function(data) { symphasyndactLayer.addData(data);}); | |
+ | symphasyndactLayer.addTo(map); | ||
− | + | $.getJSON(nomassiki, function(data) { nomassikiLayer.addData(data);}); | |
− | + | nomassikiLayer.addTo(map); | |
− | + | $.getJSON(nomasnasutus, function(data) { nomasnasutusLayer.addData(data);}); | |
− | + | nomasnasutusLayer.addTo(map); | |
− | |||
− | |||
− | + | $.getJSON(nomasleuco, function(data) { nomasleucoLayer.addData(data);}); | |
− | + | nomasleucoLayer.addTo(map); | |
− | |||
− | |||
− | + | $.getJSON(nomashainanus, function(data) { nomashainanusLayer.addData(data);}); | |
− | + | nomashainanusLayer.addTo(map); | |
− | $.getJSON( | + | |
− | + | $.getJSON(nomasgabriellae, function(data) { nomasgabriellaeLayer.addData(data);}); | |
+ | nomasgabriellaeLayer.addTo(map); | ||
+ | |||
+ | $.getJSON(nomasconcolor, function(data) { nomasconcolorLayer.addData(data);}); | ||
+ | nomasconcolorLayer.addTo(map); | ||
+ | |||
+ | $.getJSON(nomasannamensis, function(data) { nomasannamensisLayer.addData(data);}); | ||
+ | nomasannamensisLayer.addTo(map); | ||
− | + | $.getJSON(hylopileatus, function(data) { hylopileatusLayer.addData(data);}); | |
− | + | hylopileatusLayer.addTo(map); | |
− | |||
− | |||
− | + | $.getJSON(hylomuell, function(data) { hylomuellLayer.addData(data);}); | |
+ | hylomuellLayer.addTo(map); | ||
− | + | $.getJSON(hylomoloch, function(data) { hylomolochLayer.addData(data);}); | |
− | + | hylomolochLayer.addTo(map); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | $.getJSON(hylolarvest, function(data) { hylolarvestLayer.addData(data);}); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
hylolarvestLayer.addTo(map); | hylolarvestLayer.addTo(map); | ||
+ | |||
+ | $.getJSON(hylolarcarp, function(data) { hylolarcarpLayer.addData(data);}); | ||
+ | hylolarcarpLayer.addTo(map); | ||
− | + | $.getJSON(hylolar, function(data) { hylolarLayer.addData(data);}); | |
− | + | hylolarLayer.addTo(map); | |
− | + | ||
− | + | $.getJSON(hylofunereus, function(data) { hylofunereusLayer.addData(data);}); | |
+ | hylofunereusLayer.addTo(map); | ||
− | + | $.getJSON(hyloagilis, function(data) { hyloagilisLayer.addData(data);}); | |
− | + | hyloagilisLayer.addTo(map); | |
− | + | ||
− | + | $.getJSON(hyloalbibaris, function(data) { hyloalbibarisLayer.addData(data);}); | |
+ | hyloalbibarisLayer.addTo(map); | ||
+ | |||
+ | $.getJSON(hyloabbotti, function(data) { hyloabbottiLayer.addData(data);}); | ||
+ | hyloabbottiLayer.addTo(map); | ||
− | + | $.getJSON(hoolocktianxing, function(data) { hoolocktianxingLayer.addData(data);}); | |
− | + | hoolocktianxingLayer.addTo(map); | |
− | |||
− | |||
− | + | $.getJSON(hoolockleuconedys, function(data) { hoolockleuconedysLayer.addData(data);}); | |
− | + | hoolockleuconedysLayer.addTo(map); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// for Layer Control | // for Layer Control | ||
var baseMaps = { | var baseMaps = { | ||
Line 502: | Line 481: | ||
"Nomascus siki" : nomassikiLayer, | "Nomascus siki" : nomassikiLayer, | ||
"Symphalangus syndactylus" : symphasyndactLayer, | "Symphalangus syndactylus" : symphasyndactLayer, | ||
− | "Hylobates klosii" : hyloklosiiLayer | + | "Hylobates klosii" : hyloklosiiLayer, |
}; | }; | ||
Revision as of 15:14, 4 March 2022
Species | Shapefile | GeoJSON | Source |
---|---|---|---|
Hoolock hoolock | Hoolock hoolock shapefile (ZIP; 110 kB)] |