src/sidebar/tools/Difference.js
// Sends call to Sidebar to run Intersect.
Sends call to Sidebar to run Intersect.
Sends call to Sidebar to run Intersect .
executeDifference(){
      var difference_select1 = document.getElementById("difference_select_geojson1");
      var geojson1 = difference_select1.options[difference_select1.selectedIndex].value;
      var difference_select2 = document.getElementById("difference_select_geojson2");
      var geojson2 = difference_select2.options[difference_select2.selectedIndex].value;
      callDifference(geojson1, geojson2)
    }
executeDifference ( ) { var difference_select1 = document . getElementById ( "difference_select_geojson1" ) ; var geojson1 = difference_select1 . options [ difference_select1 . selectedIndex ] . value ; var difference_select2 = document . getElementById ( "difference_select_geojson2" ) ; var geojson2 = difference_select2 . options [ difference_select2 . selectedIndex ] . value ; callDifference ( geojson1 , geojson2 ) }
Sends call to Sidebar to run Intersect.
Sends call to Sidebar to run Intersect .
// Collects chosen layers from select list.