<?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 geometry/quantizationParameters vs. cacheHint/resultOffset/resultRecordCount in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-quantizationparameters-vs-cachehint/m-p/1179751#M77583</link>
    <description>&lt;P&gt;Dear ESRI Community&lt;/P&gt;&lt;P&gt;Hope for your help!&lt;/P&gt;&lt;P&gt;Very simple code, something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const featureLayer = new FeatureLayer({
    url: "https://domain.org/arcgis/rest/services/Layer1/FeatureServer/0",
});
map.add(featureLayer);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This generates me automatically requets with payload like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SCS_ANST_0-1654248230145.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42706i602C8815CB7D1EB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SCS_ANST_0-1654248230145.png" alt="SCS_ANST_0-1654248230145.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result is not satisfying.&lt;/P&gt;&lt;P&gt;When I load the same featurelayer within the new Map Viewer Beta it makes requests with a payload like this, so with a geometry parameter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SCS_ANST_1-1654248415548.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42708i06700441BDA363E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SCS_ANST_1-1654248415548.png" alt="SCS_ANST_1-1654248415548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the performance is much better!&lt;/P&gt;&lt;P&gt;If I change with my first sample only from Layer1 to Layer2 it takes the same payload as within the Map Viewer Beta, with the geometry parameter.&lt;/P&gt;&lt;P&gt;So somehow it's not depending to the code and also not to the published layer?! What it depends on and is it possible to force the request with the geometry/quantzationParameters instead of cacheHint/resultOffset somehow?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2022 12:04:32 GMT</pubDate>
    <dc:creator>SCS_ANST</dc:creator>
    <dc:date>2022-06-03T12:04:32Z</dc:date>
    <item>
      <title>geometry/quantizationParameters vs. cacheHint/resultOffset/resultRecordCount</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-quantizationparameters-vs-cachehint/m-p/1179751#M77583</link>
      <description>&lt;P&gt;Dear ESRI Community&lt;/P&gt;&lt;P&gt;Hope for your help!&lt;/P&gt;&lt;P&gt;Very simple code, something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const featureLayer = new FeatureLayer({
    url: "https://domain.org/arcgis/rest/services/Layer1/FeatureServer/0",
});
map.add(featureLayer);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This generates me automatically requets with payload like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SCS_ANST_0-1654248230145.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42706i602C8815CB7D1EB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SCS_ANST_0-1654248230145.png" alt="SCS_ANST_0-1654248230145.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result is not satisfying.&lt;/P&gt;&lt;P&gt;When I load the same featurelayer within the new Map Viewer Beta it makes requests with a payload like this, so with a geometry parameter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SCS_ANST_1-1654248415548.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42708i06700441BDA363E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SCS_ANST_1-1654248415548.png" alt="SCS_ANST_1-1654248415548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the performance is much better!&lt;/P&gt;&lt;P&gt;If I change with my first sample only from Layer1 to Layer2 it takes the same payload as within the Map Viewer Beta, with the geometry parameter.&lt;/P&gt;&lt;P&gt;So somehow it's not depending to the code and also not to the published layer?! What it depends on and is it possible to force the request with the geometry/quantzationParameters instead of cacheHint/resultOffset somehow?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 12:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-quantizationparameters-vs-cachehint/m-p/1179751#M77583</guid>
      <dc:creator>SCS_ANST</dc:creator>
      <dc:date>2022-06-03T12:04:32Z</dc:date>
    </item>
  </channel>
</rss>

