Difference between revisions of "Range layers"

From A.P.E.S. wiki
Jump to navigation Jump to search
Line 96: Line 96:
 
       max-height: 100%;
 
       max-height: 100%;
 
       }
 
       }
  </style>
+
</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);
 
+
 
var hoolockleuconedysLayer = L.geoJson(null, {style: stylehoolockleuconedys});
+
$.getJSON(symphasyndact, function(data) { symphasyndactLayer.addData(data);});
 +
      symphasyndactLayer.addTo(map);
  
      $.getJSON(hoolockleuconedys, function(data) { hoolockleuconedysLayer.addData(data);});
+
$.getJSON(nomassiki, function(data) { nomassikiLayer.addData(data);});
       hoolockleuconedysLayer.addTo(map);
+
       nomassikiLayer.addTo(map);
 
   
 
   
var hoolocktianxingLayer = L.geoJson(null, {style: stylehoolocktianxing});
+
$.getJSON(nomasnasutus, function(data) { nomasnasutusLayer.addData(data);});
 
+
       nomasnasutusLayer.addTo(map);
      $.getJSON(hoolocktianxing, function(data) { hoolocktianxingLayer.addData(data);});
 
       hoolocktianxingLayer.addTo(map);
 
 
   
 
   
var hyloabbottiLayer = L.geoJson(null, {style: stylehyloabbotti});
+
$.getJSON(nomasleuco, function(data) { nomasleucoLayer.addData(data);});
 
+
       nomasleucoLayer.addTo(map);
      $.getJSON(hyloabbotti, function(data) { hyloabbottiLayer.addData(data);});
 
       hyloabbottiLayer.addTo(map);
 
 
   
 
   
var hyloalbibarisLayer = L.geoJson(null, {style: stylehyloalbibaris});
+
$.getJSON(nomashainanus, function(data) { nomashainanusLayer.addData(data);});
 
+
      nomashainanusLayer.addTo(map);
       $.getJSON(hyloalbibaris, function(data) { hyloalbibarisLayer.addData(data);});
+
       hyloalbibarisLayer.addTo(map);
+
$.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);
 
   
 
   
var hyloagilisLayer = L.geoJson(null, {style: stylehyloagilis});
+
    $.getJSON(hylopileatus, function(data) { hylopileatusLayer.addData(data);});
 
+
       hylopileatusLayer.addTo(map);
      $.getJSON(hyloagilis, function(data) { hyloagilisLayer.addData(data);});
 
       hyloagilisLayer.addTo(map);
 
 
   
 
   
var hylofunereusLayer = L.geoJson(null, {style: stylehylofunereus});
+
    $.getJSON(hylomuell, function(data) { hylomuellLayer.addData(data);});
 +
      hylomuellLayer.addTo(map);  
  
      $.getJSON(hylofunereus, function(data) { hylofunereusLayer.addData(data);});
+
    $.getJSON(hylomoloch, function(data) { hylomolochLayer.addData(data);});
      hylofunereusLayer.addTo(map);
+
       hylomolochLayer.addTo(map);
 
 
var hylolarLayer = L.geoJson(null, {style: stylehylolar});
 
 
 
      $.getJSON(hylolar, function(data) { hylolarLayer.addData(data);});
 
       hylolarLayer.addTo(map);
 
 
   
 
   
var hylolarcarpLayer = L.geoJson(null, {style: stylehylolarcarp});
+
    $.getJSON(hylolarvest, function(data) { hylolarvestLayer.addData(data);});
 
 
      $.getJSON(hylolarcarp, function(data) { hylolarcarpLayer.addData(data);});
 
      hylolarcarpLayer.addTo(map);
 
 
 
var hylolarvestLayer = L.geoJson(null, {style: stylehylolarvest});
 
 
 
      $.getJSON(hylolarvest, function(data) { hylolarvestLayer.addData(data);});
 
 
       hylolarvestLayer.addTo(map);
 
       hylolarvestLayer.addTo(map);
 +
       
 +
$.getJSON(hylolarcarp, function(data) { hylolarcarpLayer.addData(data);});
 +
      hylolarcarpLayer.addTo(map);
 
   
 
   
var hylomolochLayer = L.geoJson(null, {style: stylehylomoloch});
+
    $.getJSON(hylolar, function(data) { hylolarLayer.addData(data);});
 
+
      hylolarLayer.addTo(map);
      $.getJSON(hylomoloch, function(data) { hylomolochLayer.addData(data);});
+
       hylomolochLayer.addTo(map);
+
$.getJSON(hylofunereus, function(data) { hylofunereusLayer.addData(data);});
 +
       hylofunereusLayer.addTo(map);
 
   
 
   
var hylomuellLayer = L.geoJson(null, {style: stylehylomuell});
+
    $.getJSON(hyloagilis, function(data) { hyloagilisLayer.addData(data);});
 
+
      hyloagilisLayer.addTo(map);
      $.getJSON(hylomuell, function(data) { hylomuellLayer.addData(data);});
+
       
       hylomuellLayer.addTo(map);
+
$.getJSON(hyloalbibaris, function(data) { hyloalbibarisLayer.addData(data);});
 +
      hyloalbibarisLayer.addTo(map);
 +
     
 +
$.getJSON(hyloabbotti, function(data) { hyloabbottiLayer.addData(data);});
 +
       hyloabbottiLayer.addTo(map);
 
   
 
   
var hylopileatusLayer = L.geoJson(null, {style: stylehylopileatus});
+
$.getJSON(hoolocktianxing, function(data) { hoolocktianxingLayer.addData(data);});
 
+
       hoolocktianxingLayer.addTo(map);
      $.getJSON(hylopileatus, function(data) { hylopileatusLayer.addData(data);});
 
       hylopileatusLayer.addTo(map);
 
 
   
 
   
var nomasannamensisLayer = L.geoJson(null, {style: stylenomasannamensis});
+
    $.getJSON(hoolockleuconedys, function(data) { hoolockleuconedysLayer.addData(data);});
 
+
       hoolockleuconedysLayer.addTo(map);
      $.getJSON(nomasannamensis, function(data) { nomasannamensisLayer.addData(data);});
 
      nomasannamensisLayer.addTo(map);
 
 
var nomasconcolorLayer = L.geoJson(null, {style: stylenomasconcolor});
 
 
 
      $.getJSON(nomasconcolor, function(data) { nomasconcolorLayer.addData(data);});
 
      nomasconcolorLayer.addTo(map);
 
 
var nomasgabriellaeLayer = L.geoJson(null, {style: stylenomasgabriellae});
 
 
 
      $.getJSON(nomasgabriellae, function(data) { nomasgabriellaeLayer.addData(data);});
 
      nomasgabriellaeLayer.addTo(map);
 
 
var nomashainanusLayer = L.geoJson(null, {style: stylenomashainanus});
 
 
 
      $.getJSON(nomashainanus, function(data) { nomashainanusLayer.addData(data);});
 
      nomashainanusLayer.addTo(map);
 
 
var nomasleucoLayer = L.geoJson(null, {style: stylenomasleuco});
 
 
 
      $.getJSON(nomasleuco, function(data) { nomasleucoLayer.addData(data);});
 
      nomasleucoLayer.addTo(map);
 
 
var nomasnasutusLayer = L.geoJson(null, {style: stylenomasnasutus});
 
 
 
      $.getJSON(nomasnasutus, function(data) { nomasnasutusLayer.addData(data);});
 
      nomasnasutusLayer.addTo(map);
 
 
var nomassikiLayer = L.geoJson(null, {style: stylenomassiki});
 
 
 
      $.getJSON(nomassiki, function(data) { nomassikiLayer.addData(data);});
 
      nomassikiLayer.addTo(map);
 
 
var symphasyndactLayer = L.geoJson(null, {style: stylesymphasyndact});
 
 
 
      $.getJSON(symphasyndact, function(data) { symphasyndactLayer.addData(data);});
 
       symphasyndactLayer.addTo(map);
 
 
   
 
   
var hyloklosiiLayer = L.geoJson(null, {style: stylehyloklosii});
 
 
      $.getJSON(hyloklosii, function(data) { hyloklosiiLayer.addData(data);});
 
      hyloklosiiLayer.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


Download available layers
Species Shapefile GeoJSON Source
Hoolock hoolock Hoolock hoolock shapefile (ZIP; 110 kB)]