We are using interaction groups in a MapView to select map elements. However, we can’t get it working anymore. I added a zip file with a simple test app. The app can do the following:
- It adds 3 points to a map.
- Using the dropdown you can select one or more points on the map, these get a color
- The idea is that you can also use the button to graphically select the points. After you confirmed the selection, the dropdown lists needs to get updated (the controller function
select_tegsis_data_points_from_map
is used for that).
What is not working is the graphical selection via the black button. Though the mapFeatures are added to the interaction group, selecting them does nothing. Previously, they turned purple when selected. We did update the code a bit but the principle of the code stayed the same but we don’t understand why it doesn’t work anymore.
We already tried going back a few SDK versions but that didn’t resolve the issue. I also tested it in both a Chromium and Firefox based browser but that also didn’t resolve the issue. Any idea what is going wrong?
System information:
- Windows 10
- Python 3.10
- Viktor UI: v24.08.0
- Viktor SDK: 14.11.0
Sample data
MapViewTest.zip (11.4 KB)