<?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 Graphic Layer Extent in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606939#M56762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to gather the extent of all graphics added to a graphics layer (so I can set map extent to show all graphics on the layer)?&amp;nbsp; I have some c# code to process xmin/xmax of graphics being added (typically polygons) but its not efficient, just wondering if there is a GraphicsLayer.getExtent type function that I haven't stumbled across yet (or a map.graphicslayer.extent?).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Feb 2011 21:35:13 GMT</pubDate>
    <dc:creator>HeathClark</dc:creator>
    <dc:date>2011-02-18T21:35:13Z</dc:date>
    <item>
      <title>Graphic Layer Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606939#M56762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to gather the extent of all graphics added to a graphics layer (so I can set map extent to show all graphics on the layer)?&amp;nbsp; I have some c# code to process xmin/xmax of graphics being added (typically polygons) but its not efficient, just wondering if there is a GraphicsLayer.getExtent type function that I haven't stumbled across yet (or a map.graphicslayer.extent?).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 21:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606939#M56762</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2011-02-18T21:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606940#M56763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm#esri.graphicsExtent"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm#esri.graphicsExtent&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 21:49:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606940#M56763</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-02-18T21:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606941#M56764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick response, however, the link provided doesn't work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 22:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606941#M56764</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2011-02-18T22:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Layer Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606942#M56765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Really? Works for me...but go to the documentation:&amp;nbsp; &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Click "esri Namespace Methods" then you want to look for esri.graphicsExtent(graphics). It takes an array of graphics as a parameter and returns an extent which you can pass to map.setExtent().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 23:09:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphic-layer-extent/m-p/606942#M56765</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-02-18T23:09:09Z</dc:date>
    </item>
  </channel>
</rss>

