Hi. I'd like to configure my app to display the feature info when user clicks a feature on the map. Not seeing how I can configure that. I have it so the feature is selected in the list, but then a user needs to click the button to show the feature info. I'd like to make that widget show immediately instead.
Is this feasible?
Currently, the feature info widget is always rendered. The way to hide it is through another page or a section similar to what you're doing in your list..
It sounds like the workflow you're trying to accomplish is when a feature is clicked on the map the feature info will show in a panel on the page. When the feature is deselected the panel will collapse. Is this correct?
Yes, exactly. Here is how the page is set up (from one of the templates). If you click 'more details' the feature info widget is displayed. So that's one way to see the feature details. The second way is via clicking the feature on the map. I assumed this would be configured via adding a trigger to the map for selection changed, but I'm not seeing an option to specify displaying the widget. Thanks.
Thanks for sharing your feedback. The selection of a feature on the map will update the record selection in the feature info by default, however, the feature info is always rendered. I will add an issue for us to look into how we can make this more dynamic by perhaps using the sidebar panel. Someone else posted a similar question about how to achieve this and I can see how this would very useful.
Ok, so the behavior I want is already happening, but it's just not apparent because the widget is hidden in the interface, right? It sounds like I could solve this if I put the feature info in its own container, someplace that is always visible. I'm not sure that would work that well, especially on handheld devices.
Yes, good to consider this for future functionality. Thanks.
You will have to think about how many widgets you need on the mobile device? This layout could be different than the other two (desktop, tablet). Do you only need to show the map with the feature info on mobile? If yes, you could get away with just the map and feature info. How much information do you need to show in the feature info? Also, how many features do you have?