Only show the selected result layer on the map (Zone Lookup)

1092
7
07-26-2022 12:21 PM
Status: Open
Labels (1)
MichaelRobles
New Contributor II

With the Zone Lookup Instant App, I like that you can turn on "Hide layers when map loads". Super useful.

To take it one step further, you should also have an option to "Only show layer when result is selected". For instance, if I have 4 results based on the location of my map pin, the layer would only display on the map when the user clicks on the associated result (the other 3 layers would be hidden/not shown on the map). 

My use case is for regional hazards identification. The map is difficult to read if results for wildfire hazard, 100 year floodplain, earthquake shake potential, etc. all display at once. Please only display the layer when I click on a result.

Thanks for reading! 👍

7 Comments
KellyHutchins

Michael,

 

Thanks for the feedback. I want to make sure I understand your situation. It sounds like you have a zone lookup map where there are several hazards in the map area (earthquakes, fires, floods etc) and you only want the actual location to show up on the map when someone clicks the result in the side panel? 

Would setting up filters work for your use case? You could have a filter for each type of hazard and use those to filter the view? 

ArielLow2146

I would also love to see this functionality but for a somewhat different use case. I have an app (https://geo.maps.arcgis.com/apps/instant/lookup/index.html?appid=af20f4fe9f1f4be0b68c668f6ab3ba43) that is showing legislative and congressional districts.

Right now I am showing in the map only the polygons that intersect with the address but my ideal would be to turn on results grouping and show all the congressional districts in the map (with the new map effects) when congressional districts is expanded in the results side panel, then when senate is expanded show all the senate districts and same for house districts. 

Currently this data is in three different layers so filtering wouldn't work. I'd also be concerned that users wouldn't know to filter and that the map view would be too confusing if folks didn't filter.

Happy to provide more information @KellyHutchins if anything about that explanation is unclear.

KellyHutchins

@ArielLow2146  thanks for the additional use case. So I think in both situations if we added an option to show the layer associated with the clicked result and highlight the selected feature that would work for both use cases. 


Just to make sure I've got it right in your congressional app if I clicked on OR Senate District 14 then you'd see the entire senate district layer with district 14 highlighted?

ArielLow2146

@KellyHutchins that would be awesome!

KellyHutchins

@ArielLow2146  and @MichaelRobles  we talked about this and can definitely see the use cases so we are going to look into implementing this workflow. We have a few questions about the behavior you'd expect to see and wondered if you could email so we can continue to discuss how this would look/work in the app. My email address is khutchins@esri.com  please send me an email if you'd like to discuss this in more detail with the team. 

MichaelRobles

@KellyHutchins Ok, will do! That's very much!

ChelseaRozek

Upvoting this idea. I am also trying to make an app showing elected officials and it's disappointing when you have more than one layer in this app. You have to go with no symbology and no labels or else they all overlap each other. I want users to be able to see their neighboring districts at a glance with their selected one highlighted and everything labeled with district numbers.