<?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: Map extent and screen size in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-extent-and-screen-size/m-p/608959#M56980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you resize the map to make room for your side panel then the map dimensions change (in this case the width). This will trigger a resize and a change to the map extent. If the side panel is showing when you apply your default extent using map.setExtent(), the map is forced to zoom out a little to fit the default extent within the map frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using a tiled base map you could get around this issue by using a default map center and zoom level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Owen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 10:22:59 GMT</pubDate>
    <dc:creator>OwenEarley</dc:creator>
    <dc:date>2014-08-04T10:22:59Z</dc:date>
    <item>
      <title>Map extent and screen size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-extent-and-screen-size/m-p/608958#M56979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know if map extent and screen size are related.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My observation:&lt;/P&gt;&lt;P&gt;I have developed a JavaScript web application. This application has side panel. When panel opens I shift the map rather than adding a overlay. I have defined extent (WKID 102100)&amp;nbsp; in application configuration file. When I run the application on iPad in landscape and portrait mode and click on the default extent (this is nothing but I read the extent from config file and call map.setExtent(extent_from_Config) ) i observe that map zooms out a little. Hence i think extent and scree size are related. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this is expected behavior. Also any material you can provide to clear related concept would be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 10:03:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-extent-and-screen-size/m-p/608958#M56979</guid>
      <dc:creator>RahulMetangale2</dc:creator>
      <dc:date>2014-08-04T10:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Map extent and screen size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-extent-and-screen-size/m-p/608959#M56980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you resize the map to make room for your side panel then the map dimensions change (in this case the width). This will trigger a resize and a change to the map extent. If the side panel is showing when you apply your default extent using map.setExtent(), the map is forced to zoom out a little to fit the default extent within the map frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using a tiled base map you could get around this issue by using a default map center and zoom level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Owen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 10:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-extent-and-screen-size/m-p/608959#M56980</guid>
      <dc:creator>OwenEarley</dc:creator>
      <dc:date>2014-08-04T10:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Map extent and screen size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-extent-and-screen-size/m-p/608960#M56981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Owen!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 07:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-extent-and-screen-size/m-p/608960#M56981</guid>
      <dc:creator>RahulMetangale2</dc:creator>
      <dc:date>2014-08-06T07:38:51Z</dc:date>
    </item>
  </channel>
</rss>

