<?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 get full extent of selected features in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-full-extent-of-selected-features/m-p/585675#M54724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; That did the trick.&amp;nbsp; Used map.setExtent(esri.graphicsExtent(features)); after layer.selectFeatures()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 19:25:02 GMT</pubDate>
    <dc:creator>LisaNelson</dc:creator>
    <dc:date>2012-10-23T19:25:02Z</dc:date>
    <item>
      <title>How to get full extent of selected features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-full-extent-of-selected-features/m-p/585673#M54722</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'm probably missing something obvious, but what is the best way to get the full extent of selected features from a layer? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used layer.selectFeatures() to get the featureSet, but can't figure out how to get the entire extent of the featureSet except iterating the set and using something like: features&lt;I&gt;.geometry.getExtent()&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lisa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 16:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-full-extent-of-selected-features/m-p/585673#M54722</guid>
      <dc:creator>LisaNelson</dc:creator>
      <dc:date>2012-10-23T16:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get full extent of selected features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-full-extent-of-selected-features/m-p/585674#M54723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm#esri.graphicsExtent" rel="nofollow" target="_blank"&gt;esri.graphicsExtent&lt;/A&gt;&lt;SPAN&gt; should do the job.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 16:55:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-full-extent-of-selected-features/m-p/585674#M54723</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-10-23T16:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get full extent of selected features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-full-extent-of-selected-features/m-p/585675#M54724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; That did the trick.&amp;nbsp; Used map.setExtent(esri.graphicsExtent(features)); after layer.selectFeatures()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 19:25:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-full-extent-of-selected-features/m-p/585675#M54724</guid>
      <dc:creator>LisaNelson</dc:creator>
      <dc:date>2012-10-23T19:25:02Z</dc:date>
    </item>
  </channel>
</rss>

