SciGaP / simccs-maptool

Online maptool that provides novel decision-support capabilities for evaluating carbon capture, utilization and storage technologies (CCUS).
5 stars 0 forks source link

Selecting sources/sinks by drawing polygon only works correctly the first time #140

Closed machristie closed 3 years ago

machristie commented 3 years ago

Steps to reproduce:

  1. Select sources and saline sinks, then setup a working area with both
  2. Click the "Select sources by drawing" button. Draw a polygon to select some sources.
  3. Click the "Select sinks by drawing" button. Draw a polygon that encompasses some sources and some saline sinks.

Expected behavior:

Some additional sinks are selected that are in the polygon drawn in step 3

Actual behavior:

The sinks in the polygon drawn in step 3 are selected, but also the sources in that polygon. Also, the sources selected in the polygon drawn in step 2 are deselected.

machristie commented 3 years ago

Fixed now on https://beta.simccs.scigap.org/maptool/