<?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 Re: Heatmaps - How to reference all the data, not just the view in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1508184#M85080</link>
    <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply, I ended up calling goTo() to "zoom out", which allows the data to render properly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2024 18:20:28 GMT</pubDate>
    <dc:creator>AndrewMurdoch1</dc:creator>
    <dc:date>2024-07-22T18:20:28Z</dc:date>
    <item>
      <title>Heatmaps - How to reference all the data, not just the view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1505476#M85043</link>
      <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;I have a large network that I want to view as a heatmap.&amp;nbsp;&amp;nbsp; I have the following heatmap render settings:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const heatmapParams = {
    layer: layer,
    view: view,
    field: field,
    colorStops: this.colourStops,
};

heatmapRendererCreator.createRenderer(heatmapParams).then((response) =&amp;gt; {
    this.heatmapRenderSetting = response.renderer.clone();
    r(this.heatmapRenderSetting)
}).catch((error) =&amp;gt; {
    console.log('Error');
    console.log(error);
    j(error);
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I'm zoomed out and view the data, the heatmap looks great, the problem, if I load the map being zoomed in with no data in the view, the heatmap is completely washed out.&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there a way to generate the heat map using the data in the map view, what's in the current view extent?&amp;nbsp; Or, can I set the zoom dynamically before loading the Heatmap, so the data is in the view?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 17:16:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1505476#M85043</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2024-07-15T17:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmaps - How to reference all the data, not just the view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1505497#M85044</link>
      <description>&lt;P&gt;Maybe referenceScale will get you what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-HeatmapRenderer.html#referenceScale" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-HeatmapRenderer.html#referenceScale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sample:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/visualization-heatmap-static/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/visualization-heatmap-static/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 17:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1505497#M85044</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-07-15T17:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmaps - How to reference all the data, not just the view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1505515#M85045</link>
      <description>&lt;P&gt;Good Afternoon&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestion, but I don't think that works with a dynamic renderer.&amp;nbsp; I found a way to get the view to zoom to the layer extent, but now when zooming in everything goes too far the other way and disappears.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 18:28:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1505515#M85045</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2024-07-15T18:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmaps - How to reference all the data, not just the view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1508163#M85078</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;nbsp;Is there a way to generate the heat map using the data in the map view, what's in the current view extent?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is how this method works. It only takes into account what is in the view.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; if I load the map being zoomed in with no data in the view, the heatmap is completely washed out.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;That's because there is no data in the view. You will only see anything meaningful if you zoom to the area where you have data and want to create a heatmap.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Or, can I set the zoom dynamically before loading the Heatmap, so the data is in the view?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes. You can set this with the goTo method or by setting the view extent.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 18:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1508163#M85078</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2024-07-22T18:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmaps - How to reference all the data, not just the view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1508184#M85080</link>
      <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply, I ended up calling goTo() to "zoom out", which allows the data to render properly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 18:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/heatmaps-how-to-reference-all-the-data-not-just/m-p/1508184#M85080</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2024-07-22T18:20:28Z</dc:date>
    </item>
  </channel>
</rss>

