Hi, I am using ArcGIS Experience Builder to create a web application that displays a total of 30 maps but only focusing on two maps at a time and the corresponding two legends. I am having trouble getting the legends to update dynamically when switching between maps in nested views. My layout includes two map widgets that are side by side for comparison, a table, and a legend that are all within the same sidebar. Outside of the sidebar, I have buttons and a views navigation (see LegendsViewNavigation.png) to switch between the maps and legends. I reviewed How to manage multiple nested Section widget ? but it’s not quite what I’m looking for.

Here is my complete layout: Parent Sidebar> First (child container)> Section> Legends View (one view per race/ethnicity)

Parent Sidebar> Second (child container)> Nested Sidebar> First (child container)> Parent Section 1> Parent View>> Section 1 Race 1> Nested View 1> two map widgets, Nested View 2> two map widgets, Nested View 3> two map widgets >> Section 2 Race 2> View 2> two map widgets >> Section 3 Race 3 …and so on.

MelissaIbarra_0-1777062418332.png

I am having trouble getting the legends to update dynamically when switching between maps in nested views. This layout worked for me previously because I only had one view per set of maps and there were no additional views to navigate. However, I now have nested views within a view to shift between my different map layers. What I have are five buttons representing five race/ethnicity categories, and three views per race/ethnicity representing three age groups. Since I am comparing two topics using the same race/ethnicity and age group categories, I’ve included two map widgets on my canvas.

My goal is to click one button to get to the section for the race/ethnicity of interest by clicking a button, and to then use navigation arrows to switch between the maps and legends of the different age groups. Currently, the maps do change but between overarching views (Section 15 – Asian, View 18, View 19) and not my nested views (View 23, View 24, View 25) – see image Views.png as reference.

I think I could get my legends to update dynamically if they were nested inside the same section and sidebar as the maps but then the legend would shrink or collapse when the table is expanded. I am wondering what is the best way to have the legends update when switching between the nested views for the maps. I even tried creating a new views navigation for my legends and creating nested views for the legends (similar to how I did for the maps) but that also did not work.

Thank you for your help!



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *