<?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 Excessive HTTP queries on SketchViewModel: Feature Layer snapping in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/excessive-http-queries-on-sketchviewmodel-feature/m-p/1500123#M84958</link>
    <description>&lt;P&gt;ArcGIS JS API Version: &lt;STRONG&gt;4.29&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Server Version: &lt;STRONG&gt;11.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We have a custom application that has configurable feature layer snapping using the SketchViewModel class. When our drawing tool is configured with feature layer snapping enabled in SnappingOptions, the app will generate at least 100 feature layer http queries on 1 simple click on 1 feature to start sketching.&amp;nbsp;&lt;/P&gt;&lt;P&gt;These http requests are almost all&amp;nbsp;&lt;SPAN&gt;esriSpatialRelIntersects&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;bounding box (envelope) queries against the configured feature layer, and the underlying map service quickly reaches the max instances configured, which is 20 in our case. We would like to reduce the load on our servers when feature layer snapping is enabled in SketchViewModel, and need a solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 00:38:11 GMT</pubDate>
    <dc:creator>GILBERTNG1</dc:creator>
    <dc:date>2024-07-02T00:38:11Z</dc:date>
    <item>
      <title>Excessive HTTP queries on SketchViewModel: Feature Layer snapping</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/excessive-http-queries-on-sketchviewmodel-feature/m-p/1500123#M84958</link>
      <description>&lt;P&gt;ArcGIS JS API Version: &lt;STRONG&gt;4.29&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ArcGIS Server Version: &lt;STRONG&gt;11.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We have a custom application that has configurable feature layer snapping using the SketchViewModel class. When our drawing tool is configured with feature layer snapping enabled in SnappingOptions, the app will generate at least 100 feature layer http queries on 1 simple click on 1 feature to start sketching.&amp;nbsp;&lt;/P&gt;&lt;P&gt;These http requests are almost all&amp;nbsp;&lt;SPAN&gt;esriSpatialRelIntersects&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;bounding box (envelope) queries against the configured feature layer, and the underlying map service quickly reaches the max instances configured, which is 20 in our case. We would like to reduce the load on our servers when feature layer snapping is enabled in SketchViewModel, and need a solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 00:38:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/excessive-http-queries-on-sketchviewmodel-feature/m-p/1500123#M84958</guid>
      <dc:creator>GILBERTNG1</dc:creator>
      <dc:date>2024-07-02T00:38:11Z</dc:date>
    </item>
  </channel>
</rss>

