<?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: How do i set extent for different screen size/ View Port. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-set-extent-for-different-screen-size-view/m-p/77636#M7056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Guys, &lt;BR /&gt;&lt;BR /&gt;If i move from a big screen to a smaller screen it looks like the actual extent is changed. For eg. if my intial extent is set to point to san francisco for a screen size of ( 1680 X 1050). When i move to a screen size of (800X600). The extent is getting set at San Jose. Is there any way i could set the extent to always point to San Francisco irrespective of screen size. &lt;BR /&gt;&lt;BR /&gt;I am using the &lt;STRONG&gt;ESRI JAVASCRIPT API&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;Pawan&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The geographic extent of san francisco will always be the same no matter what screen size. So i don't understand how the map's initial extend gets changed. However, theoretically you can try this for 800X600. YouInitialExtentFor(1680 X 1050).expand((800*600)/(1680*1050)).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2011 12:09:26 GMT</pubDate>
    <dc:creator>HemingZhu</dc:creator>
    <dc:date>2011-11-16T12:09:26Z</dc:date>
    <item>
      <title>How do i set extent for different screen size/ View Port.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-set-extent-for-different-screen-size-view/m-p/77635#M7055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i move from a big screen to a smaller screen it looks like the actual extent is changed. For eg. if my intial extent is set to point to san francisco for a screen size of ( 1680 X 1050). When i move to a screen size of (800X600). The extent is getting set at San Jose. Is there any way i could set the extent to always point to San Francisco irrespective of screen size. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the &lt;/SPAN&gt;&lt;STRONG&gt;ESRI JAVASCRIPT API&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pawan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 19:06:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-set-extent-for-different-screen-size-view/m-p/77635#M7055</guid>
      <dc:creator>Pawan_KumarVenugopal</dc:creator>
      <dc:date>2011-11-15T19:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set extent for different screen size/ View Port.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-set-extent-for-different-screen-size-view/m-p/77636#M7056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Guys, &lt;BR /&gt;&lt;BR /&gt;If i move from a big screen to a smaller screen it looks like the actual extent is changed. For eg. if my intial extent is set to point to san francisco for a screen size of ( 1680 X 1050). When i move to a screen size of (800X600). The extent is getting set at San Jose. Is there any way i could set the extent to always point to San Francisco irrespective of screen size. &lt;BR /&gt;&lt;BR /&gt;I am using the &lt;STRONG&gt;ESRI JAVASCRIPT API&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;Pawan&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The geographic extent of san francisco will always be the same no matter what screen size. So i don't understand how the map's initial extend gets changed. However, theoretically you can try this for 800X600. YouInitialExtentFor(1680 X 1050).expand((800*600)/(1680*1050)).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 12:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-set-extent-for-different-screen-size-view/m-p/77636#M7056</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-11-16T12:09:26Z</dc:date>
    </item>
  </channel>
</rss>

