<?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: My web app's map zooms out automatically when embedded in web in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129394#M6275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark.....Using the &amp;amp;level=7 worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 16:57:10 GMT</pubDate>
    <dc:creator>NinaRihn</dc:creator>
    <dc:date>2018-03-06T16:57:10Z</dc:date>
    <item>
      <title>My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129386#M6267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I embedded my web app on a web page, but for some reason when embedded, its web map automatically zooms way out so the user can't see the points unless&amp;nbsp;they zoom in manually.&amp;nbsp; &amp;nbsp;I tried adjusting the initial map extent in the app, but that didn't work.&amp;nbsp; &amp;nbsp; How can I make it not automatically zoom the map out like that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 16:19:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129386#M6267</guid>
      <dc:creator>NinaRihn</dc:creator>
      <dc:date>2018-02-22T16:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129387#M6268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you open the supporting web map, adjust the visible extent and zoom level to your desired view and save the web map. The embedded map should be using this extent when the map loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't seem to be applying, can you share your web map link?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 00:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129387#M6268</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-02-23T00:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129388#M6269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response, Kelly....&amp;nbsp; that isn't working for me.&amp;nbsp;&amp;nbsp; I can't send you the web link because it is on our development web server, however I&amp;nbsp;below are&amp;nbsp;snapshots of the three initial extents (app, map, and web page).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do I need to maybe update the embed HTML string&amp;nbsp;too or something?&lt;/P&gt;&lt;P&gt;Map:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;App:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Web page&amp;nbsp; (it zooms out beyond the point layer's&amp;nbsp;max extent so one can't even see them without zooming in)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 14:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129388#M6269</guid>
      <dc:creator>NinaRihn</dc:creator>
      <dc:date>2018-02-23T14:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129389#M6270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK my images didn't come through so I am just going to attach them to this post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 14:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129389#M6270</guid>
      <dc:creator>NinaRihn</dc:creator>
      <dc:date>2018-02-23T14:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129390#M6271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually Kelly, while I can't send you the web page link, I can send you the agol web map and web app links... I just misread your question....&amp;nbsp; here you go:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map:&amp;nbsp;&amp;nbsp; &lt;A href="https://wi-dnr.maps.arcgis.com/home/webmap/viewer.html?webmap=4bba703f7c884f02a8c9f01c533de1bb"&gt;https://wi-dnr.maps.arcgis.com/home/webmap/viewer.html?webmap=4bba703f7c884f02a8c9f01c533de1bb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app:&amp;nbsp; &lt;A href="https://wi-dnr.maps.arcgis.com/apps/webappviewer/index.html?id=b7b8ca7ec306401191006e08c7111446"&gt;https://wi-dnr.maps.arcgis.com/apps/webappviewer/index.html?id=b7b8ca7ec306401191006e08c7111446&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions you might have would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 18:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129390#M6271</guid>
      <dc:creator>NinaRihn</dc:creator>
      <dc:date>2018-03-05T18:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129391#M6272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The app and the web map appear to have the extents set correctly. Are you inputting and url parameters to specify the extent when you embed the app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 20:34:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129391#M6272</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-03-05T20:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129392#M6273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, I didn't specify any extents because I figured it was an app I was embedding; not really a "map".....this is what we used to embed it:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;lt;style&amp;gt;.embed-container {position: relative; padding-bottom: 80%; height: 0; max-width: 100%;} .embed-container iframe, .embed-container object, .embed-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} small{position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px;}&amp;lt;/style&amp;gt;&amp;lt;div class="embed-container"&amp;gt;&amp;lt;iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="WDNRLicenseAgents" src="&lt;/SPAN&gt;&lt;A href="https://wi-dnr.maps.arcgis.com/apps/webappviewer/index.html?id=0d603407ff7345ff9a3720841a4f82fe"&gt;&lt;SPAN style="color: #0563c1; text-decoration: underline; font-size: medium; font-family: Calibri;"&gt;https://wi-dnr.maps.arcgis.com/apps/webappviewer/index.html?id=0d603407ff7345ff9a3720841a4f82fe&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;"&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;But now in the map, when I click Embed in website , I get this extra stuff....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&amp;lt;style&amp;gt;.embed-container {position: relative; padding-bottom: 80%; height: 0; max-width: 100%;} .embed-container iframe, .embed-container object, .embed-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} small{position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px;}&amp;lt;/style&amp;gt;&amp;lt;div class="embed-container"&amp;gt;&amp;lt;iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="WDNR License Agents Application - Map" src="//wi-dnr.maps.arcgis.com/apps/Embed/index.html?webmap=4bba703f7c884f02a8c9f01c533de1bb&amp;amp;amp;&lt;STRONG&gt;extent=-95.9926,41.3374,-82.2047,47.6448&amp;amp;zoom=false&amp;amp;previewImage=false&amp;amp;scale=false&amp;amp;disable_scroll=false&amp;amp;theme=light&lt;/STRONG&gt;"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;even though it's an app I am embedding, am I supposed to leave this stuff in there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 20:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129392#M6273</guid>
      <dc:creator>NinaRihn</dc:creator>
      <dc:date>2018-03-05T20:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129393#M6274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you embed your map or app it maintains its extent. The problem is that the Zoom Level is changing. So on a smaller screen to maintain your extent, the zoom level might have to go to level 3. To overcome this you can use the 'level' url parameter when you embed the map or app within an iframe. Your points only start displaying at zoom level 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your app:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;style&amp;gt;.embed-container {position: relative; padding-bottom: 80%; height: 0; max-width: 100%;} .embed-container iframe, .embed-container object, .embed-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} small{position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px;}&amp;lt;/style&amp;gt;&amp;lt;div class="embed-container"&amp;gt;&amp;lt;iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="WDNR License Agents Application - Map" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwi-dnr.maps.arcgis.com%2Fapps%2Fwebappviewer%2Findex.html%3Fid%3Db7b8ca7ec306401191006e08c7111446" rel="nofollow" target="_blank"&gt;https://wi-dnr.maps.arcgis.com/apps/webappviewer/index.html?id=b7b8ca7ec306401191006e08c7111446&lt;/A&gt;&lt;STRONG&gt;&amp;amp;level=7&lt;/STRONG&gt;"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your map:&lt;/P&gt;&lt;P&gt;&amp;lt;style&amp;gt;.embed-container {position: relative; padding-bottom: 80%; height: 0; max-width: 100%;} .embed-container iframe, .embed-container object, .embed-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} small{position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px;}&amp;lt;/style&amp;gt;&amp;lt;div class="embed-container"&amp;gt;&amp;lt;iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="WDNR License Agents Application - Map" src="//wi-dnr.maps.arcgis.com/apps/Embed/index.html?webmap=4bba703f7c884f02a8c9f01c533de1bb&lt;STRONG&gt;&amp;amp;level=7&lt;/STRONG&gt;&amp;amp;scale=true&amp;amp;disable_scroll=false&amp;amp;theme=light"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test them out in&amp;nbsp;&lt;A class="link-titled" href="https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe" title="https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe"&gt;Tryit Editor v3.5&lt;/A&gt;&amp;nbsp;play with some of the settings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 21:41:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129393#M6274</guid>
      <dc:creator>MarkHoyland</dc:creator>
      <dc:date>2018-03-05T21:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: My web app's map zooms out automatically when embedded in web</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129394#M6275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark.....Using the &amp;amp;level=7 worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 16:57:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/my-web-app-s-map-zooms-out-automatically-when/m-p/129394#M6275</guid>
      <dc:creator>NinaRihn</dc:creator>
      <dc:date>2018-03-06T16:57:10Z</dc:date>
    </item>
  </channel>
</rss>

