<?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 I want to get my map setted to specific coordinates Xmin Xmax Ymin Ymax in javascript. Is it possible? How? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-get-my-map-setted-to-specific/m-p/1012380#M71196</link>
    <description />
    <pubDate>Sun, 27 Dec 2020 11:52:13 GMT</pubDate>
    <dc:creator>SSRazvan</dc:creator>
    <dc:date>2020-12-27T11:52:13Z</dc:date>
    <item>
      <title>I want to get my map setted to specific coordinates Xmin Xmax Ymin Ymax in javascript. Is it possible? How?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-get-my-map-setted-to-specific/m-p/1012380#M71196</link>
      <description />
      <pubDate>Sun, 27 Dec 2020 11:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-get-my-map-setted-to-specific/m-p/1012380#M71196</guid>
      <dc:creator>SSRazvan</dc:creator>
      <dc:date>2020-12-27T11:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: I want to get my map setted to specific coordinates Xmin Xmax Ymin Ymax in javascript. Is it possible? How?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-get-my-map-setted-to-specific/m-p/1012383#M71197</link>
      <description>&lt;P&gt;If you are talking about the 4.x API then you use the view.goTo method.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is a sample that shows going to the extent of certain features in a layer:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=featurelayer-queryextent" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=featurelayer-queryextent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2020 13:28:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-get-my-map-setted-to-specific/m-p/1012383#M71197</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-12-27T13:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: I want to get my map setted to specific coordinates Xmin Xmax Ymin Ymax in javascript. Is it possible? How?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-get-my-map-setted-to-specific/m-p/1012388#M71198</link>
      <description>&lt;P&gt;If you are talking about having the map show specific coords based on xmin xmax ymin ymax when it first loads, you can use the `extent` property of the view:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const view = new MapView({
  map,
  extent: {
    xmin,
    xmax,
    ymin,
    ymax,
  }
})&lt;/LI-CODE&gt;&lt;P&gt;The explanation for that is pretty early on in the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html" target="_self"&gt;MapView documentation&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;If you're talking about getting the map to move to a certain extent some time after initialization, then the goTo method is what you need.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2020 16:10:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-get-my-map-setted-to-specific/m-p/1012388#M71198</guid>
      <dc:creator>SethLutske</dc:creator>
      <dc:date>2020-12-27T16:10:39Z</dc:date>
    </item>
  </channel>
</rss>

