<?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 3.16 apply HeatMap renderer to GraphicLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-16-apply-heatmap-renderer-to-graphiclayer/m-p/325470#M29990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it in 3.16 possible to apply a HeatmapRenderer to a GraphicLayer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the discussion forum and only found that this was not working a while back (&lt;A href="https://community.esri.com/thread/167595"&gt;HeatmapRenderer on GraphicsLayer?&lt;/A&gt;) and a workaround using a &lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;custom DynamicMapServiceLayer for Heatmap.js (&lt;A href="https://community.esri.com/thread/59186"&gt;Heatmap layer as Graphics Layer?&lt;/A&gt; &lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new GraphicLayer and set a HeatmapRenderer ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;var heatmapLayer = new GraphicsLayer({&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: "heatmap"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;heatmapLayer.setRenderer(HeatmapRenderer)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;map.addLayer(heatmapLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... then added graphics (Points) to it with the symbol = null ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;var graphic = new Graphic(aggregation&lt;I&gt;.geometry, null, aggregation&lt;I&gt;.attributes, null);&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;heatmapLayer.add(graphic)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;[...]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;heatmapLayer.refresh();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... but the layer won't render this as a HeatMap. Any suggestions how this can work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2016 15:04:07 GMT</pubDate>
    <dc:creator>ThomasPaschke</dc:creator>
    <dc:date>2016-05-12T15:04:07Z</dc:date>
    <item>
      <title>3.16 apply HeatMap renderer to GraphicLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-16-apply-heatmap-renderer-to-graphiclayer/m-p/325470#M29990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it in 3.16 possible to apply a HeatmapRenderer to a GraphicLayer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the discussion forum and only found that this was not working a while back (&lt;A href="https://community.esri.com/thread/167595"&gt;HeatmapRenderer on GraphicsLayer?&lt;/A&gt;) and a workaround using a &lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, sans-serif; font-size: 14px;"&gt;custom DynamicMapServiceLayer for Heatmap.js (&lt;A href="https://community.esri.com/thread/59186"&gt;Heatmap layer as Graphics Layer?&lt;/A&gt; &lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new GraphicLayer and set a HeatmapRenderer ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;var heatmapLayer = new GraphicsLayer({&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: "heatmap"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;heatmapLayer.setRenderer(HeatmapRenderer)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;map.addLayer(heatmapLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... then added graphics (Points) to it with the symbol = null ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;var graphic = new Graphic(aggregation&lt;I&gt;.geometry, null, aggregation&lt;I&gt;.attributes, null);&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;heatmapLayer.add(graphic)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;[...]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;heatmapLayer.refresh();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... but the layer won't render this as a HeatMap. Any suggestions how this can work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 15:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-16-apply-heatmap-renderer-to-graphiclayer/m-p/325470#M29990</guid>
      <dc:creator>ThomasPaschke</dc:creator>
      <dc:date>2016-05-12T15:04:07Z</dc:date>
    </item>
  </channel>
</rss>

