<?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 XY to Extent? 4.x in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/xy-to-extent-4-x/m-p/843605#M546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an app that allows the user to draw a shape (on a div above the map) then converts that shape into an ersi shape. I want to zoom to the bounds of the shape. I see that I can use extent on the map view, but I'm not sure how to convert my xy points into what the extent expects. I know that you can convert xy to lat/lon with&amp;nbsp;webMercatorUtils, but the extent is obviously using a different spatial reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just trying to wrap my head around this issue, any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2017 16:00:07 GMT</pubDate>
    <dc:creator>JasonBaddley</dc:creator>
    <dc:date>2017-06-06T16:00:07Z</dc:date>
    <item>
      <title>XY to Extent? 4.x</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/xy-to-extent-4-x/m-p/843605#M546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an app that allows the user to draw a shape (on a div above the map) then converts that shape into an ersi shape. I want to zoom to the bounds of the shape. I see that I can use extent on the map view, but I'm not sure how to convert my xy points into what the extent expects. I know that you can convert xy to lat/lon with&amp;nbsp;webMercatorUtils, but the extent is obviously using a different spatial reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just trying to wrap my head around this issue, any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 16:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/xy-to-extent-4-x/m-p/843605#M546</guid>
      <dc:creator>JasonBaddley</dc:creator>
      <dc:date>2017-06-06T16:00:07Z</dc:date>
    </item>
  </channel>
</rss>

