<?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 Create geometry that covers entire layerview extent in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-geometry-that-covers-entire-layerview/m-p/1231118#M79307</link>
    <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to query the user's viewable extent on the layerview.&lt;BR /&gt;&lt;BR /&gt;So I want to query all features available on the layerview.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For that, I need to create a geometry but how do I set a rectangle that covers the entire extent?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 01:33:13 GMT</pubDate>
    <dc:creator>AnAlien</dc:creator>
    <dc:date>2022-11-14T01:33:13Z</dc:date>
    <item>
      <title>Create geometry that covers entire layerview extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-geometry-that-covers-entire-layerview/m-p/1231118#M79307</link>
      <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to query the user's viewable extent on the layerview.&lt;BR /&gt;&lt;BR /&gt;So I want to query all features available on the layerview.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For that, I need to create a geometry but how do I set a rectangle that covers the entire extent?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 01:33:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-geometry-that-covers-entire-layerview/m-p/1231118#M79307</guid>
      <dc:creator>AnAlien</dc:creator>
      <dc:date>2022-11-14T01:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create geometry that covers entire layerview extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-geometry-that-covers-entire-layerview/m-p/1231261#M79311</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/632395"&gt;@AnAlien&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Is there a reason why a non-spatial query wouldn't work?&amp;nbsp; If you used the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-GeoJSONLayerView.html#queryFeatures" target="_blank" rel="noopener"&gt;queryFeatures&lt;/A&gt;&amp;nbsp;method without query parameters all the current features in the LayerView will be returned.&amp;nbsp; If a spatial query is truly needed, you could use the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-GeoJSONLayerView.html#queryExtent" target="_blank" rel="noopener"&gt;queryExtent&lt;/A&gt;&amp;nbsp;method to obtain the extent for the current features in the LayerView, but then you would need to do another query based on that extent to return the features.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-geometry-that-covers-entire-layerview/m-p/1231261#M79311</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2022-11-14T15:31:07Z</dc:date>
    </item>
  </channel>
</rss>

