<?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 extent from server for ArcGISDynamicMapServiceLayer or Feature Layer  after setLayerDefinitions in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104536#M9561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;and for ArcGIS Server 10.3.1 and later. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2016 04:53:31 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-11-17T04:53:31Z</dc:date>
    <item>
      <title>How to get extent from server for ArcGISDynamicMapServiceLayer or Feature Layer  after setLayerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104533#M9558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We apply&amp;nbsp;&lt;SPAN&gt;setLayerDefinitions() to layer and want to get extent of filtered features. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The way we do it - use Query and return geometries and get extent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It works good until big number of result. Let say the result is one million features.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, the question is if we can get somehow the extent of filtered features from the server, or other way?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or ArcGISDynamicMapServiceLayer or FeatureLayer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 03:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104533#M9558</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-17T03:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get extent from server for ArcGISDynamicMapServiceLayer or Feature Layer  after setLayerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104534#M9559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piterson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Sure you can use the QueryTask&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/querytask-amd.html#executeforextent"&gt;&amp;nbsp;executeForExtent&lt;/A&gt;&amp;nbsp;this will return a count and an extent of the features that meet the query criteria.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 04:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104534#M9559</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-17T04:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get extent from server for ArcGISDynamicMapServiceLayer or Feature Layer  after setLayerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104535#M9560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Thank you for response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It says "&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Valid only for &lt;/SPAN&gt;&lt;A href="http://doc.arcgis.com/en/arcgis-online/share-maps/hosted-web-layers.htm" style="color: #00629b;" target="_blank"&gt;hosted features services&lt;/A&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt; on &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/" style="color: #00629b;" target="_blank"&gt;arcgis.com&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d;"&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d;"&gt;We have no such services.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 04:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104535#M9560</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-17T04:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get extent from server for ArcGISDynamicMapServiceLayer or Feature Layer  after setLayerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104536#M9561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;and for ArcGIS Server 10.3.1 and later. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 04:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104536#M9561</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-17T04:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get extent from server for ArcGISDynamicMapServiceLayer or Feature Layer  after setLayerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104537#M9562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We do not use hosted feature servises&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 05:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104537#M9562</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-17T05:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get extent from server for ArcGISDynamicMapServiceLayer or Feature Layer  after setLayerDefinitions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104538#M9563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piterson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If you have ArcGIS Server 10.3,1 or greater then you CAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Valid only for &lt;/SPAN&gt;hosted features services&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt; on &lt;/SPAN&gt;arcgis.com&lt;STRONG style="background-color: #ffffff; color: #4d4d4d;"&gt; and for ArcGIS Server 10.3.1 and later&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 13:06:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-extent-from-server-for/m-p/104538#M9563</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-17T13:06:47Z</dc:date>
    </item>
  </channel>
</rss>

