<?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 Refresh of binned layer symbology using SDK in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-of-binned-layer-symbology-using-sdk/m-p/1307133#M81655</link>
    <description>&lt;P&gt;Hi, I have created a bin-enabled point layer using PostGreSQL with server-side dymic binning, no caching and have published it as a map service. I am aware that there are binning options for the client using the SDK, but they are not performant enough for the number of points I am working with. I have gotten to the point of viewing the published service in ArcPro, but have noticed that the documentation for ArcPro says that if a definition query is applied, recalculation of the bin range needs to be triggered by clicking on a UI button. My layer contains observations of many plant species and when I select a different species, I need the symbology and bins to adapt&amp;nbsp; to the new range, some have over 100k observations, otheres only 500.&amp;nbsp; Does anyone know how I would trigger this bin recalculation when accessing the layer using the JS SDK with a query containing a definition query expression? Will a map or layer refresh be enough or is it not possible from the SDK. Many thanks,&lt;/P&gt;&lt;P&gt;Toadfish&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2023 02:53:58 GMT</pubDate>
    <dc:creator>HelenJenny</dc:creator>
    <dc:date>2023-07-11T02:53:58Z</dc:date>
    <item>
      <title>Refresh of binned layer symbology using SDK</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-of-binned-layer-symbology-using-sdk/m-p/1307133#M81655</link>
      <description>&lt;P&gt;Hi, I have created a bin-enabled point layer using PostGreSQL with server-side dymic binning, no caching and have published it as a map service. I am aware that there are binning options for the client using the SDK, but they are not performant enough for the number of points I am working with. I have gotten to the point of viewing the published service in ArcPro, but have noticed that the documentation for ArcPro says that if a definition query is applied, recalculation of the bin range needs to be triggered by clicking on a UI button. My layer contains observations of many plant species and when I select a different species, I need the symbology and bins to adapt&amp;nbsp; to the new range, some have over 100k observations, otheres only 500.&amp;nbsp; Does anyone know how I would trigger this bin recalculation when accessing the layer using the JS SDK with a query containing a definition query expression? Will a map or layer refresh be enough or is it not possible from the SDK. Many thanks,&lt;/P&gt;&lt;P&gt;Toadfish&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 02:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-of-binned-layer-symbology-using-sdk/m-p/1307133#M81655</guid>
      <dc:creator>HelenJenny</dc:creator>
      <dc:date>2023-07-11T02:53:58Z</dc:date>
    </item>
  </channel>
</rss>

