src/sidebar/tools/Intersect.js
// Sends call to Sidebar to run Intersect.
Sends call to Sidebar to run Intersect.
Sends call to Sidebar to run Intersect .
executeIntersect(){
      var intersect_select1 = document.getElementById("intersect_select_geojson1");
      var geojson1 = intersect_select1.options[intersect_select1.selectedIndex].value;
      var intersect_select2 = document.getElementById("intersect_select_geojson2");
      var geojson2 = intersect_select2.options[intersect_select2.selectedIndex].value;
      callIntersect(geojson1, geojson2)
    }
executeIntersect ( ) { var intersect_select1 = document . getElementById ( "intersect_select_geojson1" ) ; var geojson1 = intersect_select1 . options [ intersect_select1 . selectedIndex ] . value ; var intersect_select2 = document . getElementById ( "intersect_select_geojson2" ) ; var geojson2 = intersect_select2 . options [ intersect_select2 . selectedIndex ] . value ; callIntersect ( geojson1 , geojson2 ) }
Sends call to Sidebar to run Intersect.
Sends call to Sidebar to run Intersect .
// Collects chosen layers from select list.