<?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 to find the xmin ymin xmax ymax in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324631#M29907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Anthony!&amp;nbsp; That was excellent!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Equally impressive John!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 18:09:30 GMT</pubDate>
    <dc:creator>JimBuehler</dc:creator>
    <dc:date>2013-02-13T18:09:30Z</dc:date>
    <item>
      <title>how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324623#M29899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am using the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; var startExtent = new esri.geometry.Extent(xmin, ymin, xmax, ymax, new esri.SpatialReference({ wkid: 4326 }));&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;&amp;nbsp;&amp;nbsp; omap.map.setExtent(startExtent);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But how to find the xmin, ymin, xmax and ymax &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the spatial reference 4326 need to change?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 05:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324623#M29899</guid>
      <dc:creator>Sophialim</dc:creator>
      <dc:date>2011-04-25T05:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324624#M29900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you explain why you are trying to get pre-defined x/y values? Are you trying to get the x/y values of the extent when the map resource loads? Or are you trying to get the coordinates for some other location?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally, when you add a layer (ArcGISTiledMapServiceLayer, ArcGISDynamicMapServiceLayer, etc) to your map object, the map's extent object automatically inherits the extent defined in your Map Service Layer. You can get the x/y values from this object by querying the map.extent x/y attributes (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi_start.htm"&gt;http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi_start.htm&lt;/A&gt;&lt;SPAN&gt; extent is under the geometry category on the right hand side).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also create an extent object and set its x/y values to the extent of another geometry object, such as a polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general, you shouldn't have to change the spatial reference unless you are dealing with data in mulitple spatial references.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 17:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324624#M29900</guid>
      <dc:creator>PeterKobylarz</dc:creator>
      <dc:date>2011-05-04T17:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324625#M29901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can define the xmin, ymin, xmax, ymax directly if you want to zoom to a specific location different than your default extent. 4326 appears to be the projection id for WGS 84, so I'm assuming it uses decimal degrees for the units. If you wanted to zoom to Los Angeles by default you could declare it like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var startExtent = new esri.geometry.Extent(-119.5, 32.5, -116.5, 35.5, new esri.SpatialReference({ wkid: 4326 }));&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 22:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324625#M29901</guid>
      <dc:creator>MatthewLawton</dc:creator>
      <dc:date>2011-05-04T22:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324626#M29902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see this has been a long time since posted, but I was hoping to see the answer in how to exactly find those coordinates as the example shows for finding Los Angles? I need a refresher on how those coordinates were found. I do not have access to google earth and I know that would be a good source in finding these coordinates. Would anything else help? Please let me know. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 18:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324626#M29902</guid>
      <dc:creator>melissaGomez</dc:creator>
      <dc:date>2012-11-06T18:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324627#M29903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Melissa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This extent finder application for flex displays a lat/long read out that you can use to gather the coords you need,&lt;/SPAN&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;Its a shame that the extent is only shown in web mercator and not geographics&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 19:05:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324627#M29903</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2012-11-06T19:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324628#M29904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is perfect!! Thank you so much!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 19:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324628#M29904</guid>
      <dc:creator>melissaGomez</dc:creator>
      <dc:date>2012-11-06T19:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324629#M29905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Melissa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please do not forget to mark the post as answered by doing the following on the post that best answered your question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19078[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 22:17:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324629#M29905</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2012-11-06T22:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324630#M29906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;our st. louis regional office put together a &lt;/SPAN&gt;&lt;A href="http://psstl.esri.com/apps/extenthelper/"&gt;sample application&lt;/A&gt;&lt;SPAN&gt; for helping streamline the task of identifying extents in both web mercator and wgs84 as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 14:54:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324630#M29906</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-11-07T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324631#M29907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Anthony!&amp;nbsp; That was excellent!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Equally impressive John!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 18:09:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324631#M29907</guid>
      <dc:creator>JimBuehler</dc:creator>
      <dc:date>2013-02-13T18:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324632#M29908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;new map constructor options in version &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/#whats_new"&gt;3.3&lt;/A&gt;&lt;SPAN&gt; of our API have simplified the process of controlling the initial extent of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i put together a simple &lt;/SPAN&gt;&lt;A href="http://htmlpreview.github.com/?https://github.com/johng-esri/johng-repository/blob/master/CenterZoomHelper.html"&gt;app&lt;/A&gt;&lt;SPAN&gt; to display map center and zoom level to try and make the process even easier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 19:13:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324632#M29908</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-02-13T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324633#M29909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once you have zoomed to your area of interest in Firefox, use the console window in Firebug and type the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.toJson(map.extent.toJson());
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is assuming the the esri.map object is called map&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324633#M29909</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2021-12-11T15:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to find the xmin ymin xmax ymax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324634#M29910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@Diana-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for posting that! I've been looking for that reference for the last week and couldn't remember where I had originally read that. You just saved me a whole lot of headache trying to find it again. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 19:46:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-xmin-ymin-xmax-ymax/m-p/324634#M29910</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2013-02-13T19:46:15Z</dc:date>
    </item>
  </channel>
</rss>

