Closed hsosik closed 2 months ago
This one should be working properly now. The prior logic was attempting to reuse the selected marker (the one that shows in a different color) when putting it back in the original list. However, in doing so, when subsequent code cleared the select marker (to replace it with another one), it appeared to still have a handle to that marker, and would delete it. The net result is that the marker for the last bin would be removed, and never appear on the map.
The new logic takes the select marker, and copies it, rather than reusing the old one. It will then not get caught in any garbage collection, for lack of a better term, and will show on the map properly
Updated Files https://github.com/WHOIGit/ifcbdb/pull/402
There seems to be a display problem on the map if the user navigates between samples with the next/previous bin buttons. Any bin markers that have already been viewed this way no longer show up on the map.
You can see this behavior by following these steps: