<?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: Get the current extents of the map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-the-current-extents-of-the-map/m-p/393460#M36292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;view.extent property should give you the current extents of the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#extent"&gt;extent&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html"&gt;Extent&lt;/A&gt;&lt;/TD&gt;&lt;TD class=""&gt;&lt;P&gt;The extent represents the visible portion of a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html"&gt;map&lt;/A&gt; within the view as an instance of &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html"&gt;Extent&lt;/A&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Oct 2016 20:54:01 GMT</pubDate>
    <dc:creator>thejuskambi</dc:creator>
    <dc:date>2016-10-14T20:54:01Z</dc:date>
    <item>
      <title>Get the current extents of the map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-the-current-extents-of-the-map/m-p/393459#M36291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added a map by setting the center and zoom on the mapView like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var view = new MapView({
&amp;nbsp;&amp;nbsp;&amp;nbsp; container: "viewDiv",
&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map,
&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom: 4,
&amp;nbsp;&amp;nbsp;&amp;nbsp; center: [15, 65]
});&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the map loads, we need to determine the current bounds&amp;nbsp;of the map so we&amp;nbsp;can query our database for data within those extents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to determine the current map extent after the map has loaded?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:02:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-the-current-extents-of-the-map/m-p/393459#M36291</guid>
      <dc:creator>MuktaPuri</dc:creator>
      <dc:date>2021-12-11T18:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get the current extents of the map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-the-current-extents-of-the-map/m-p/393460#M36292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;view.extent property should give you the current extents of the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#extent"&gt;extent&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html"&gt;Extent&lt;/A&gt;&lt;/TD&gt;&lt;TD class=""&gt;&lt;P&gt;The extent represents the visible portion of a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html"&gt;map&lt;/A&gt; within the view as an instance of &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html"&gt;Extent&lt;/A&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 20:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-the-current-extents-of-the-map/m-p/393460#M36292</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-10-14T20:54:01Z</dc:date>
    </item>
  </channel>
</rss>

