<?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 Using JavaScript Maps SDK to Optimize User Interactions with Large Related Datasets in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-javascript-maps-sdk-to-optimize-user/m-p/1578791#M86429</link>
    <description>&lt;P&gt;&lt;STRONG&gt;We're looking for guidance on how to extend the functionality of ArcGIS Dashboards and/or Experience Builder using the JavaScript Maps SDK.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The map in our app visualizes a many-to-many relationship between points and polygons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Each polygon is affected by multiple points.&lt;/LI&gt;&lt;LI&gt;Each point affects multiple polygons.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We’ve used a join to simplify this into a 1-many relationship, but the underlying data still reflects a many-to-many relationship.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The goal:&amp;nbsp;&lt;/STRONG&gt;create an interactive experience where the user can click a polygon to display the points affecting it. Currently we envision representing points as a multipoint feature but are open to alternatives.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The challenge&lt;/STRONG&gt;: These interactions are currently very slow. We suspect the bottleneck stems from the size of the data being queried and/or the process of rendering it on the map.&lt;/P&gt;&lt;P&gt;Therefore we’re interested in exploring how the JavaScript Maps SDK can operate within or alongside Dashboards or ExB to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Improve query efficiency for interacting with large datasets.&amp;nbsp;&lt;UL&gt;&lt;LI&gt;While the current approach simplifies the many-to-many relationship into a &lt;SPAN&gt;1-M &lt;/SPAN&gt;relationship via data joins, we are considering alternative methods. For instance, one suggestion was to use a querying table to work more directly with the many-to-many relationship, rather than relying on the 1&lt;SPAN&gt;-M&lt;/SPAN&gt; data structure in the map. If this approach is feasible, &lt;SPAN&gt;we wonder whether it could &lt;/SPAN&gt;reduce the amount of data being processed at once and improve performance.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Optimize rendering of geometries, especially for large or complex datasets.&lt;/LI&gt;&lt;LI&gt;Potentially precompute or cache results to speed up filtering actions&lt;BR /&gt;(e.g., clicking a polygon to view the points that affect it)&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;We’ve encountered challenges with getting a vector tile layer (with feature enabled) to cache in AGOL and consistently fails without explanation&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;We’d appreciate guidance on:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Best practices or patterns for using the JavaScript SDK in similar scenarios.&lt;/LI&gt;&lt;LI&gt;Resources or examples of using the SDK to enhance ArcGIS Dashboard or Experience Builder performance.&lt;/LI&gt;&lt;LI&gt;Tips for leveraging SDK features (e.g., FeatureLayers, custom widgets, or client-side processing).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you’ve tackled similar performance or querying challenges using the JavaScript Maps SDK, we’d love to hear your insights! If there is a more appropriate question board on which to post this inquiry, that would also be helpful to know.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2025 18:25:24 GMT</pubDate>
    <dc:creator>rwrenner_abtglobal</dc:creator>
    <dc:date>2025-01-24T18:25:24Z</dc:date>
    <item>
      <title>Using JavaScript Maps SDK to Optimize User Interactions with Large Related Datasets</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-javascript-maps-sdk-to-optimize-user/m-p/1578791#M86429</link>
      <description>&lt;P&gt;&lt;STRONG&gt;We're looking for guidance on how to extend the functionality of ArcGIS Dashboards and/or Experience Builder using the JavaScript Maps SDK.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The map in our app visualizes a many-to-many relationship between points and polygons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Each polygon is affected by multiple points.&lt;/LI&gt;&lt;LI&gt;Each point affects multiple polygons.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We’ve used a join to simplify this into a 1-many relationship, but the underlying data still reflects a many-to-many relationship.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The goal:&amp;nbsp;&lt;/STRONG&gt;create an interactive experience where the user can click a polygon to display the points affecting it. Currently we envision representing points as a multipoint feature but are open to alternatives.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The challenge&lt;/STRONG&gt;: These interactions are currently very slow. We suspect the bottleneck stems from the size of the data being queried and/or the process of rendering it on the map.&lt;/P&gt;&lt;P&gt;Therefore we’re interested in exploring how the JavaScript Maps SDK can operate within or alongside Dashboards or ExB to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Improve query efficiency for interacting with large datasets.&amp;nbsp;&lt;UL&gt;&lt;LI&gt;While the current approach simplifies the many-to-many relationship into a &lt;SPAN&gt;1-M &lt;/SPAN&gt;relationship via data joins, we are considering alternative methods. For instance, one suggestion was to use a querying table to work more directly with the many-to-many relationship, rather than relying on the 1&lt;SPAN&gt;-M&lt;/SPAN&gt; data structure in the map. If this approach is feasible, &lt;SPAN&gt;we wonder whether it could &lt;/SPAN&gt;reduce the amount of data being processed at once and improve performance.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Optimize rendering of geometries, especially for large or complex datasets.&lt;/LI&gt;&lt;LI&gt;Potentially precompute or cache results to speed up filtering actions&lt;BR /&gt;(e.g., clicking a polygon to view the points that affect it)&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;We’ve encountered challenges with getting a vector tile layer (with feature enabled) to cache in AGOL and consistently fails without explanation&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;We’d appreciate guidance on:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Best practices or patterns for using the JavaScript SDK in similar scenarios.&lt;/LI&gt;&lt;LI&gt;Resources or examples of using the SDK to enhance ArcGIS Dashboard or Experience Builder performance.&lt;/LI&gt;&lt;LI&gt;Tips for leveraging SDK features (e.g., FeatureLayers, custom widgets, or client-side processing).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you’ve tackled similar performance or querying challenges using the JavaScript Maps SDK, we’d love to hear your insights! If there is a more appropriate question board on which to post this inquiry, that would also be helpful to know.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 18:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-javascript-maps-sdk-to-optimize-user/m-p/1578791#M86429</guid>
      <dc:creator>rwrenner_abtglobal</dc:creator>
      <dc:date>2025-01-24T18:25:24Z</dc:date>
    </item>
  </channel>
</rss>

