Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unselected polygons visualized on the map #261

Open
damianooldoni opened this issue Sep 14, 2023 · 4 comments
Open

Unselected polygons visualized on the map #261

damianooldoni opened this issue Sep 14, 2023 · 4 comments

Comments

@damianooldoni
Copy link
Collaborator

I am working on adding tags to existing areas and renaming them as the part of the name is now part of the tags.
While checking the results I was playing with area selector and I found such strange behavior: only the area Zenne - Senne is selected, but the polygon of Mark - Marcq are shown as well. See screenshot below. Notice it was not easy to have a reproducible example of such behavior. This happens for example if you do the following:

  1. select Mark and Zenne
  2. Remove Zenne from the selected areas
  3. Add Mark and remove Zenne. Notice that if you first remove Zenne and then add Mark you get the expected behavior

Notice that this behavior:

  1. is common to all polygons. I tried it with Antwerp and Brussels as well. See second screenshot.
  2. occurs with a triplet as well. I tested with Antwerp, Brussels and Dyle. Remove Dyle first and then add it while removing the other two. See third screenshot.

@niconoe: not sure this issue is instance dependent. If not, maybe worth to be moved to https://github.com/riparias/gbif-alert/issues.

Screenshots

Mark and Zenne

image

Antwerp and Brussels

image

Antwerp, Brussels and Dyle

image
@damianooldoni damianooldoni added the bug Something isn't working label Sep 14, 2023
@niconoe
Copy link
Member

niconoe commented Sep 18, 2023

Hi @damianooldoni, I made some tests on my side, and I have the impression this depends on the speed where areas are selected / unselected.

For the second example for example, I get the same behaviour as you had if I select / deselect the areas relatively quickly, but it works as expected if I do it super slowly (between each step, waiting that the map refresh and load observations).

Can you confirm me this is also what you have? That would help to pinpoint the exact issue!

Thanks

@damianooldoni
Copy link
Collaborator Author

Yes, you are right! This issue doesn't occur if the step 3 (seelction and deselection, see above) is done very slowly.

@niconoe niconoe transferred this issue from riparias/early-alert-webapp Sep 20, 2023
@niconoe
Copy link
Member

niconoe commented Sep 20, 2023

Hi @damianooldoni, I had a quick look and this isn't as easy to fix as I had hoped. If that's okay for you, I'll let that issue on hold a bit so I can focus on more urgent features.

@damianooldoni
Copy link
Collaborator Author

Of course! As told in our video call, this issue is not urgent at all as the shown/filtered occurrences are correct, that's the most important thing!

@damianooldoni damianooldoni added Maybe later and removed bug Something isn't working labels Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants