Difference between revisions of "Range test"

From A.P.E.S. wiki
Jump to navigation Jump to search
Line 19: Line 19:
 
     <script>
 
     <script>
 
       // GEOJSON FILES  
 
       // GEOJSON FILES  
       var hoolockhoolock = 'files/Hoolock_hoolock.geojson';  
+
       var hoolockhoolock = 'files/gibbon/Hoolock_hoolock.geojson';  
       var hoolockleuconedys = 'files/Hoolock_leuconedys.geojson';
+
       var hoolockleuconedys = 'files/gibbon/Hoolock_leuconedys.geojson';
 
        
 
        
 
       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: '&copy; <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: '&copy; <a  
+
       var osm=new L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',{attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map);
          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: '&copy; <a  
 
          href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map);
 
  
 
   
 
   
Line 38: Line 34:
 
       // Set style function that sets fill color property
 
       // Set style function that sets fill color property
  
function stylehoolockhoolock(feature) {
+
      function stylehoolockhoolock(feature) {
 
         return {
 
         return {
 
           fillColor: 'purple',  
 
           fillColor: 'purple',  
Line 45: Line 41:
 
           opacity: 0.7,
 
           opacity: 0.7,
 
           color: 'purple',
 
           color: 'purple',
           dashArray: '3'
+
           dashArray: '3',
 
         };
 
         };
 
       }
 
       }
  
function stylehoolockleuconedys(feature) {
+
      function stylehoolockleuconedys(feature) {
 
         return {
 
         return {
 
           fillColor: 'purple',  
 
           fillColor: 'purple',  
Line 56: Line 52:
 
           opacity: 0.7,
 
           opacity: 0.7,
 
           color: 'purple',
 
           color: 'purple',
           dashArray: '3'
+
           dashArray: '3',
 
         };
 
         };
 
       }
 
       }
Line 87: Line 83:
 
   </body>
 
   </body>
 
</html>
 
</html>
 
 
{|border="1" cellpadding="5" cellspacing="0" <!-- align="right" --> class="gibbon_ranges" !style="background-color:#ccffcc;"
 
|+'''Download available layers'''
 
!Species
 
!Shapefile
 
!GeoJSON
 
!Source
 
|-
 
|Hoolock hoolock
 
|[https://iucnapesportal.org/wiki/files/Hoolock_hoolock.zip ''Hoolock hoolock shapefile''] (ZIP; 110&nbsp;kB)]
 
|
 
|
 
|}
 

Revision as of 08:33, 7 March 2022