Describe the bug
In the asset select map you need to zoom in for the assets to appear. When you zoom back out to a level that doesn't show the assets, the assets on the previous zoom level remain visible. Selected state of an asset is not shown correctly in this situation.
To Reproduce
Steps to reproduce the behavior:
- Go to the incident form (for instance, Heerlen demo: https://heerlen.signalen.dev/incident/beschrijf)
- Enter text which would trigger an asset select question in the next step. Depends on deployment configuration. Could be
verlichting for Heerlen demo.
- Klik on
Volgende
- Klik on
Kies op kaart
- Zoom in to the first zoom level where assets will be shown (4 times)
- Pan the map a bit (this seems necessary to trigger the error)
- Zoom out one zoom level
- See assets still displayed on the map
Expected behavior
No assets should be visible when zooming out to a level that displays the message Zoom in om de objecten te zien.
Screenshots

Desktop (please complete the following information):
- OS: MacOS 12.2
- Browser: Firefox
- Version 97.0.1
Describe the bug
In the asset select map you need to zoom in for the assets to appear. When you zoom back out to a level that doesn't show the assets, the assets on the previous zoom level remain visible. Selected state of an asset is not shown correctly in this situation.
To Reproduce
Steps to reproduce the behavior:
verlichtingfor Heerlen demo.VolgendeKies op kaartExpected behavior
No assets should be visible when zooming out to a level that displays the message
Zoom in om de objecten te zien.Screenshots

Desktop (please complete the following information):