Select to view content in your preferred language

Attachment Viewer zooms to full extent when layer selection changes

405
2
03-29-2023 09:10 AM
Labels (1)
HollyTorpey_LSA
Occasional Contributor III

Greetings! Does anyone know how to make the Attachment Viewer maintain the current view extent when switching to a different attachment layer?

We have an Attacment Viewer app that includes multiple layers with attachments. Our users tend to zoom into their project area and then switch to the layer they need to see. Doing that triggers the map to zoom out to the full extent of the newly selected layer.
HollyTorpey_LSA_0-1680105911112.png

I'm not sure if there is a setting somewhere that will disable that behavior... if not, I'll submit it as an idea because it's annoying and time-consuming to have to locate a project site (not always easy since many don't have addresses) every time a new attachment layer is selected.

Thanks in advance!

 

 

- Holly
2 Replies
ZacharyUhlmann1
Occasional Contributor III

Wondering the same thing...Let me know if you ever find a solution.  Seems there should be a setting or at least a default to the map extent saved in the feature layer used in the app.

HollyTorpey_LSA
Occasional Contributor III

Thanks for reminding me that I needed to post an idea for this. Here it is in case you want to upvote it: https://community.esri.com/t5/arcgis-instant-apps-ideas/maintain-current-map-extent-when-switching-l... 

- Holly
0 Kudos