I use FeatureTable, and the rows I select show highlighted on the map, so far so good.
I would like to zoom/have a visual indicator/popup when I click on one of the selected rows. I cannot find a hook that will do this for me.
Thank you for you answer, but unfortunately, it is not the answer that I am looking for.
I have made a select by attributes, show only the selected features in the FeatureTable widget and zoom in to them. Here I would like to have an extra highlight on the feature (like in ArcGIS Pro) when I visually select a row that already has a selection box ticked, to indicate which of the selected items I am pointing at.
We have found a work around by using deselect items from the menu and then selecting the item that we are interested in. But this is not super intuitive.
// Robert
Hi there,
You can watch FeatureTable.highlightIds and zoom to features or display popup as it is changes. In this codepen, we are zooming to the selected features: https://codepen.io/U_B_U/pen/QWoYBrR?editors=100
You can use MapView.openPopup() to display popups.
Hope this helps,
-Undral
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.