<?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>topic Re: Zoom to Feature in Embedded Map in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300137#M15094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I look at the embedded map I don't see any url params that zoom to a location:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 11px;"&gt;https://www.arcgis.com/sharing/tools/bridge?url=https://jsapi.maps.arcgis.com/apps/Embed/index.html?webmap=36398cdf4c6242638568050126a4ada0&amp;amp;extent=-96.7175,41.0222,-95.3613,41.6342&amp;amp;home=true&amp;amp;zoom=true&amp;amp;previewImage=false&amp;amp;scale=true&amp;amp;disable_scroll=true&amp;amp;theme=dark&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; font-size: 11px; "&gt;The above parameters specify the web map, starting extent, add the zoom in and out buttons, disable a preview image, add a scalebar, disable zoom scrolling and set the theme to dark. One thing I did notice is that the app url is jsapi.maps.arcgis.com. Try changing it to &lt;A href="http://www.arcgis.com"&gt;www.arcgis.com &lt;/A&gt;so its not using an organization url. So your new url would look like this:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-size: 11px; "&gt;https://www.arcgis.com/apps/Embed/index.html?webmap=36398cdf4c6242638568050126a4ada0&amp;amp;extent=-96.7175,41.0222,-95.3613,41.6342&amp;amp;home=true&amp;amp;zoom=true&amp;amp;previewImage=false&amp;amp;scale=true&amp;amp;disable_scroll=true&amp;amp;theme=dark&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2019 16:42:04 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2019-08-08T16:42:04Z</dc:date>
    <item>
      <title>Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300128#M15085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am providing a web map to my co-worker (website administrator) for a project.&amp;nbsp; The location of the project is dynamic and I need the embedded map to zoom to a feature instead of a set extent.&amp;nbsp; Has anyone successfully done this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:47:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300128#M15085</guid>
      <dc:creator>JacobDeuel</dc:creator>
      <dc:date>2016-06-20T13:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300129#M15086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My goal is to avoid having to recreate the code every day as the project location is dynamic and the extent is changing daily.&amp;nbsp; Zooming to feature would be awesome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:56:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300129#M15086</guid>
      <dc:creator>JacobDeuel</dc:creator>
      <dc:date>2016-06-20T13:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300130#M15087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can configure the search widget within the web map to search by layer.&amp;nbsp; The user could search by an attribute and it will zoom to this feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-feature-search.htm" title="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-feature-search.htm"&gt;Configure feature search—ArcGIS Online Help | ArcGIS&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 14:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300130#M15087</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2016-06-20T14:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300131#M15088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to use the Minimalist configurable app. The Minimalist app is available in the &lt;A href="http://doc.arcgis.com/en/arcgis-online/create-maps/make-your-first-app.html"&gt;configurable app gallery &lt;/A&gt;and can be configured to zoom to a specific feature via a url parameter.&amp;nbsp; This app uses the same source code as the default ArcGIS Online embed app so it looks and acts the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you choose the Minimalist app from the gallery you can use the 'Custom URL Parameter' portion of the configuration panel to define the layer and field that contains the value you want to search for. In the example below we have a layer that has information about wildlife closures and I want to have the app zoom in automatically to a particular closure id. So I specify a url parameter name (this can be anything you want) and then select the layer (WildlifeClosures) and search field (ClosureID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="208382" alt="Screen Shot 2016-06-20 at 12.50.40 PM.png" class="image-1 jive-image" src="/legacyfs/online/208382_Screen Shot 2016-06-20 at 12.50.40 PM.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here's the resulting test app. Note that when it loads it zooms automatically to the polygon with a closureId of 45.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/apps/Minimalist/index.html?appid=caa4ee44b9f34602a0dfaed8c7642d87&amp;amp;closure=45" title="http://www.arcgis.com/apps/Minimalist/index.html?appid=caa4ee44b9f34602a0dfaed8c7642d87&amp;amp;closure=45"&gt;http://www.arcgis.com/apps/Minimalist/index.html?appid=caa4ee44b9f34602a0dfaed8c7642d87&amp;amp;closure=45&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that if you change the id in the url param and refresh the app it will zoom to the&amp;nbsp; new location on page reload. For example here it zooms to closure # 16.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/apps/Minimalist/index.html?appid=caa4ee44b9f34602a0dfaed8c7642d87&amp;amp;closure=16" title="http://www.arcgis.com/apps/Minimalist/index.html?appid=caa4ee44b9f34602a0dfaed8c7642d87&amp;amp;closure=16"&gt;http://www.arcgis.com/apps/Minimalist/index.html?appid=caa4ee44b9f34602a0dfaed8c7642d87&amp;amp;closure=16&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 19:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300131#M15088</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2016-06-20T19:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300132#M15089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with Minimalist template, and I got the zoom to url parameters set up an it works great. But when I embed my Minimalist app into the Hub Site page, the URL parameter search is not working any more?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a link to my minimalist app:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://dogis.maps.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&amp;amp;site=Blair" title="https://dogis.maps.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&amp;amp;site=Blair"&gt;https://dogis.maps.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&amp;amp;site=Blair&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is what it looks like when embedded:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/456501_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Nataliya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 18:50:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300132#M15089</guid>
      <dc:creator>NataliyaLys</dc:creator>
      <dc:date>2019-08-07T18:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300133#M15090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran a quick test embedding Minimalist (and also another configurable app Media) and the url params still worked. Here's my test:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/kellyhutchins/pen/aeYdWR"&gt;https://codepen.io/kellyhutchins/pen/aeYdWR&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the iframe you are using to embed? Mabye something is missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 23:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300133#M15090</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-08-07T23:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300134#M15091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder in its an issue with the Hub Site Page handles embeded Minimalist app with the url parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my Site Page I just added an Iframe layout item, and them put the url in the Iframe Url field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/456620_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/456621_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nataliya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 13:35:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300134#M15091</guid>
      <dc:creator>NataliyaLys</dc:creator>
      <dc:date>2019-08-08T13:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300135#M15092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if it perhaps strips the url parameters. Is your site public? If so can you share the url and I'll take a look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 15:49:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300135#M15092</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-08-08T15:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300136#M15093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, It is a public site. (below is a link) Something else that I just noticed: I just tried this Page in the&amp;nbsp; "Incognito" window&amp;nbsp;and&amp;nbsp;it works as expected! However if I try it in the regular browser window, when I am still logged in to my AGO, it would not zoom to location. I wonder if it has something to do with me being logged it to AGO? And that was the only why I tested it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://dchd-air-quality-dogis.opendata.arcgis.com/" title="https://dchd-air-quality-dogis.opendata.arcgis.com/"&gt;DCHD Air Quality&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 16:03:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300136#M15093</guid>
      <dc:creator>NataliyaLys</dc:creator>
      <dc:date>2019-08-08T16:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300137#M15094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I look at the embedded map I don't see any url params that zoom to a location:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 11px;"&gt;https://www.arcgis.com/sharing/tools/bridge?url=https://jsapi.maps.arcgis.com/apps/Embed/index.html?webmap=36398cdf4c6242638568050126a4ada0&amp;amp;extent=-96.7175,41.0222,-95.3613,41.6342&amp;amp;home=true&amp;amp;zoom=true&amp;amp;previewImage=false&amp;amp;scale=true&amp;amp;disable_scroll=true&amp;amp;theme=dark&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; font-size: 11px; "&gt;The above parameters specify the web map, starting extent, add the zoom in and out buttons, disable a preview image, add a scalebar, disable zoom scrolling and set the theme to dark. One thing I did notice is that the app url is jsapi.maps.arcgis.com. Try changing it to &lt;A href="http://www.arcgis.com"&gt;www.arcgis.com &lt;/A&gt;so its not using an organization url. So your new url would look like this:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #222222; font-size: 11px; "&gt;https://www.arcgis.com/apps/Embed/index.html?webmap=36398cdf4c6242638568050126a4ada0&amp;amp;extent=-96.7175,41.0222,-95.3613,41.6342&amp;amp;home=true&amp;amp;zoom=true&amp;amp;previewImage=false&amp;amp;scale=true&amp;amp;disable_scroll=true&amp;amp;theme=dark&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 16:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300137#M15094</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-08-08T16:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300138#M15095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry, I gave you&amp;nbsp; a link to my Hub site, instead of specific page in the site where i have the map embedded:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://dchd-air-quality-dogis.opendata.arcgis.com/pages/site-blair" title="https://dchd-air-quality-dogis.opendata.arcgis.com/pages/site-blair"&gt;https://dchd-air-quality-dogis.opendata.arcgis.com/pages/site-blair&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 16:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300138#M15095</guid>
      <dc:creator>NataliyaLys</dc:creator>
      <dc:date>2019-08-08T16:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Feature in Embedded Map</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300139#M15096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 11px;"&gt;Ok I see that the url param is included. But same issue with this url. Instead of using the organization url (&lt;A href="https://jsapi.maps.arcgis.com"&gt;https://jsapi.maps.arcgis.com&lt;/A&gt;) switch to &lt;A href="http://www.arcgis.com"&gt;www.arcgis.com&lt;/A&gt;&amp;nbsp;so it's not using an org specific url.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 11px;"&gt;https://jsapi.maps.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&amp;amp;site=Blair&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&amp;amp;site=Blair"&gt;https://www.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&amp;amp;site=Blair&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if not www at least switch it to your org url which I think is this?&amp;nbsp;&lt;BR /&gt;&lt;A href="https://dogis.maps.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&amp;amp;site=Blair"&gt;https://dogis.maps.arcgis.com/apps/Minimalist/index.html?appid=dfca485ecde1499593c31561d14425c2&amp;amp;site=Blair&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 17:05:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/zoom-to-feature-in-embedded-map/m-p/300139#M15096</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-08-08T17:05:47Z</dc:date>
    </item>
  </channel>
</rss>

