Description of the limitation and why it is relevant to address
Currently, the layout of the MapSelectInteraction cannot be customized. As a result, when I choose a specific layout for my MapPoints, especially one with colours like those used by the MapSelectInteraction, the hover and selection states can become difficult to distinguish from the rest.
Introducing layout customizability for MapSelectInteraction is relevant for the VIKTOR platform, because right now, the overall map styling is constrained by the fixed appearance of the interaction component. I think the primary map design should take priority, since it is always visible and should remain immediately clear to the user.
In addition, the default message shown by MapSelectInteraction (β0 objecten geselecteerd (min=1, max=1)β) is very generic. It would be helpful if this message could be customized to better describe what the user is expected to select. This would improve the communication to the user and make the interface nicer to look at.
Finally, when MapSelectInteraction is active, I find the pixelated appearance of a βpinβ MapPoint during hover distracting. This visual effect is inconsistent with how MapPoint elements appear in all other cases, making it feel out of place.
Submitter proposed design (optional)
Add 3 new parameters to MapSelectInteraction:
color_hover: VIKTOR Color object to set the colour when hovering on an object.color_select: VIKTOR Color object to set the colour of a selected object.message: String to set a custom message in the popup window.
Current workarounds
By not applying colours like the ones used by MapSelectInteraction, it is possible to make a clear map and be able to use the hover and select functions of MapSelectInteraction. For the message and the pixelated MapPoint is currently no workaround.