Difference between revisions of "Range layers"

From A.P.E.S. wiki
Jump to navigation Jump to search
Line 80: Line 80:
 
|
 
|
 
|}
 
|}
 +
 +
Test
  
 
<html>
 
<html>
Line 127: Line 129:
 
       }
 
       }
 
   
 
   
    function stylehoolockleuconedys(feature) {
+
function stylehoolockleuconedys(feature) {
 
         return {
 
         return {
 
           fillColor: 'green',  
 
           fillColor: 'green',  
Line 137: Line 139:
 
         };
 
         };
 
}
 
}
      // Null variable that will hold layer
+
   
      var hoolockhoolockLayer = L.geoJson(null, {onEachFeature: forEachFeature, style: stylehoolockhoolock});
+
  // Null variable that will hold layer
var hoolockleuconedysLayer = L.geoJson(null, {style: stylehoolockleuconedys});
+
 
 +
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);});
 
       hoolockhoolockLayer.addTo(map);
 
       hoolockhoolockLayer.addTo(map);
  
Line 155: Line 159:
 
       var overlayMaps = {
 
       var overlayMaps = {
 
       "Hoolock hoolock range": hoolockhoolockLayer,
 
       "Hoolock hoolock range": hoolockhoolockLayer,
  "Hoolock leuconedys" : hoolockleuconedysLayer,
+
      "Hoolock leuconedys" : hoolockleuconedysLayer,
 
       };
 
       };
 
   
 
   

Revision as of 05:27, 6 March 2022


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

Test