<?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: setting the map extent in javascript in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/setting-the-map-extent-in-javascript/m-p/829959#M482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake,&lt;/P&gt;&lt;P&gt;Thanks alot that's absolutely right. suppose I add my basecustom base map to the basemap array in the basemapgallery. Then how do I set this base map as the default basemap that should appear instead of setting someting like&lt;/P&gt;&lt;P&gt;map.basemap = 'topt' etc. I wouyld like to set my custom basemap when the map loads?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nigel. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2015 04:07:09 GMT</pubDate>
    <dc:creator>NigelDsouza</dc:creator>
    <dc:date>2015-07-29T04:07:09Z</dc:date>
    <item>
      <title>setting the map extent in javascript</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/setting-the-map-extent-in-javascript/m-p/829957#M480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I am initializing a map without giving an extent or a center in the map constructor.&lt;/P&gt;&lt;P&gt;After this I am using the basemap gallery dijit and loading custom basemaps into it.&lt;/P&gt;&lt;P&gt;Post this, I am then adding&amp;nbsp; my operational layers to the map.&lt;/P&gt;&lt;P&gt;I want to then set the extent to the map but how do I know what co-ordinates to pass in? &lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nigel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 10:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/setting-the-map-extent-in-javascript/m-p/829957#M480</guid>
      <dc:creator>NigelDsouza</dc:creator>
      <dc:date>2015-06-18T10:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: setting the map extent in javascript</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/setting-the-map-extent-in-javascript/m-p/829958#M481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nigel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The spatial reference of the map with be that of the first layer you add.&amp;nbsp; When setting the extent, you should use the coordinates of this spatial reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 11:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/setting-the-map-extent-in-javascript/m-p/829958#M481</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-06-18T11:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: setting the map extent in javascript</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/setting-the-map-extent-in-javascript/m-p/829959#M482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake,&lt;/P&gt;&lt;P&gt;Thanks alot that's absolutely right. suppose I add my basecustom base map to the basemap array in the basemapgallery. Then how do I set this base map as the default basemap that should appear instead of setting someting like&lt;/P&gt;&lt;P&gt;map.basemap = 'topt' etc. I wouyld like to set my custom basemap when the map loads?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nigel. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 04:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/setting-the-map-extent-in-javascript/m-p/829959#M482</guid>
      <dc:creator>NigelDsouza</dc:creator>
      <dc:date>2015-07-29T04:07:09Z</dc:date>
    </item>
  </channel>
</rss>

