<?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 you get &amp;quot;Center&amp;quot; Initial Extent? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-get-amp-amp-quot-center-amp-amp-quot/m-p/85113#M7692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you trying to find the center coordinates to use in your map constructor, similar to how the apps you link show the extent?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been using this to get my map centers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://teczno.com/squares"&gt;http://teczno.com/squares&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could have sworn I saw someone had hosted a modified version of the extenthelper to show the center coordinates, but don't know link. The link above works fine for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 May 2013 21:36:00 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2013-05-30T21:36:00Z</dc:date>
    <item>
      <title>How do you get &amp;amp;quot;Center&amp;amp;quot; Initial Extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-get-amp-amp-quot-center-amp-amp-quot/m-p/85112#M7691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to figure out how to get the "Center" initial extent vs the xy min and max? I have tried a couple of ways using the following sources, but still am unable to figure it out. Any help would be greating appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sources:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://psstl.esri.com/apps/extenthelper/"&gt;http://psstl.esri.com/apps/extenthelper/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/extenthelper/flexviewer_extenthelper.html"&gt;http://help.arcgis.com/en/webapps/flexviewer/extenthelper/flexviewer_extenthelper.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(with this flexviewer/extenthelper, i've tried using the "current mouse coordinates," but not getting the extent.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for the "center" initial extent I've attached below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map = new esri.Map("map", { &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "streets",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: [-98.49946448681641, 29.4205708789947],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom: 10,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoWindow: popup&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help. Thanks..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 17:57:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-get-amp-amp-quot-center-amp-amp-quot/m-p/85112#M7691</guid>
      <dc:creator>melissaGomez</dc:creator>
      <dc:date>2013-05-30T17:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get "Center" Initial Extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-get-amp-amp-quot-center-amp-amp-quot/m-p/85113#M7692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you trying to find the center coordinates to use in your map constructor, similar to how the apps you link show the extent?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been using this to get my map centers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://teczno.com/squares"&gt;http://teczno.com/squares&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could have sworn I saw someone had hosted a modified version of the extenthelper to show the center coordinates, but don't know link. The link above works fine for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 21:36:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-get-amp-amp-quot-center-amp-amp-quot/m-p/85113#M7692</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2013-05-30T21:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get "Center" Initial Extent?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-get-amp-amp-quot-center-amp-amp-quot/m-p/85114#M7693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can try this...once the map is loaded....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// get current scale of map &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var scale = esri.geometry.getScale(map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//Based on scale get the map extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var extent = new esri.geometry.getExtentForScale(map, scale);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 02:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-you-get-amp-amp-quot-center-amp-amp-quot/m-p/85114#M7693</guid>
      <dc:creator>VinayBansal</dc:creator>
      <dc:date>2013-05-31T02:44:39Z</dc:date>
    </item>
  </channel>
</rss>

