<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Maintain current map extent when switching layers in Attachment Viewer in ArcGIS Instant Apps Ideas</title>
    <link>https://community.esri.com/t5/arcgis-instant-apps-ideas/maintain-current-map-extent-when-switching-layers/idi-p/1480500</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Idea:&lt;/STRONG&gt; Don't automatically change the map extent when a new layer is selected in the Attachment Viewer Instant App (or make it a configurable option).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reason:&lt;/STRONG&gt; In the Attachment Viewer Instant App, when a map has multiple layers with attachments and the user switches the active layer, the map zooms to the full extent of the newly selected layer. Perhaps there is some use case where this behavior is desirable, but for our users, it's a big annoyance. They typically zoom into an area of interest, and then want to click through the layers to see what photo attachments are available in that location. However, every time they click on a new layer, the map zooms out to the full extent of the layer and the user has to navigate back to their area of interest.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HollyTorpey_LSA_0-1717010090722.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105689iF0E3123D10AFC0A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HollyTorpey_LSA_0-1717010090722.png" alt="HollyTorpey_LSA_0-1717010090722.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I posted this previously as a question as well:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-zooms-to-full-extent-when-layer/m-p/1273115" target="_self"&gt;https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-zooms-to-full-extent-when-layer/m-p/1273115&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 16:57:07 GMT</pubDate>
    <dc:creator>HollyTorpey_LSA</dc:creator>
    <dc:date>2024-11-14T16:57:07Z</dc:date>
    <item>
      <title>Maintain current map extent when switching layers in Attachment Viewer</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-ideas/maintain-current-map-extent-when-switching-layers/idi-p/1480500</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Idea:&lt;/STRONG&gt; Don't automatically change the map extent when a new layer is selected in the Attachment Viewer Instant App (or make it a configurable option).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reason:&lt;/STRONG&gt; In the Attachment Viewer Instant App, when a map has multiple layers with attachments and the user switches the active layer, the map zooms to the full extent of the newly selected layer. Perhaps there is some use case where this behavior is desirable, but for our users, it's a big annoyance. They typically zoom into an area of interest, and then want to click through the layers to see what photo attachments are available in that location. However, every time they click on a new layer, the map zooms out to the full extent of the layer and the user has to navigate back to their area of interest.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HollyTorpey_LSA_0-1717010090722.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105689iF0E3123D10AFC0A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HollyTorpey_LSA_0-1717010090722.png" alt="HollyTorpey_LSA_0-1717010090722.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I posted this previously as a question as well:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-zooms-to-full-extent-when-layer/m-p/1273115" target="_self"&gt;https://community.esri.com/t5/arcgis-instant-apps-questions/attachment-viewer-zooms-to-full-extent-when-layer/m-p/1273115&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 16:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-ideas/maintain-current-map-extent-when-switching-layers/idi-p/1480500</guid>
      <dc:creator>HollyTorpey_LSA</dc:creator>
      <dc:date>2024-11-14T16:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain current map extent when switching layers in Attachment Viewer</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-ideas/maintain-current-map-extent-when-switching-layers/idc-p/1558086#M393</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/537405"&gt;@HollyTorpey_LSA&lt;/a&gt;&amp;nbsp;, you can mitigate this behaviour by setting the Extents of your Layers.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To do this you need to find the Layers you use in your App. For each one go to View Details &amp;gt; Settings &amp;gt; Manage Indexes section &amp;gt; Rebuild Indexes.&amp;nbsp;This will set the Extents of the Layer to the extents of the data within it, rather than a larger value. Thus when you change Layers in the Attachments Viewer based app, it will zoom to those extents only.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorChrisUnderwood_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisUnderwood_2-1731512920007.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119406i26F75BF1B51D8F62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisUnderwood_2-1731512920007.png" alt="ChrisUnderwood_2-1731512920007.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorChrisUnderwood_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 15:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-ideas/maintain-current-map-extent-when-switching-layers/idc-p/1558086#M393</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2024-11-13T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain current map extent when switching layers in Attachment Viewer</title>
      <link>https://community.esri.com/t5/arcgis-instant-apps-ideas/maintain-current-map-extent-when-switching-layers/idc-p/1558736#M396</link>
      <description>&lt;P&gt;Thanks for the suggestion, Chris. Unfortunately, all the layers in this app are statewide field data collection templates, so the problem still exists since each time a user select a new layer, it zooms to the full extent of the layer.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 17:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-instant-apps-ideas/maintain-current-map-extent-when-switching-layers/idc-p/1558736#M396</guid>
      <dc:creator>HollyTorpey_LSA</dc:creator>
      <dc:date>2024-11-14T17:02:10Z</dc:date>
    </item>
  </channel>
</rss>

