src/sidebar/tools/Union.js
// Sends call to Sidebar to run Union code.
Sends call to Sidebar to run Union code.
Sends call to Sidebar to run Union code .
executeUnion(){
      var union_select1 = document.getElementById("union_select_geojson1");
      var geojson1 = union_select1.options[union_select1.selectedIndex].value;
      var union_select2 = document.getElementById("union_select_geojson2");
      var geojson2 = union_select2.options[union_select2.selectedIndex].value;
      callUnion(geojson1, geojson2)
    }
executeUnion ( ) { var union_select1 = document . getElementById ( "union_select_geojson1" ) ; var geojson1 = union_select1 . options [ union_select1 . selectedIndex ] . value ; var union_select2 = document . getElementById ( "union_select_geojson2" ) ; var geojson2 = union_select2 . options [ union_select2 . selectedIndex ] . value ; callUnion ( geojson1 , geojson2 ) }
Sends call to Sidebar to run Union code.
Sends call to Sidebar to run Union code .
// Collects chosen layers from select list.