AnsweredAssumed Answered

HeatmapRenderer on GraphicsLayer?

Question asked by fscardua on Oct 27, 2015
Latest reply on Feb 1, 2016 by fscardua

Is it possible assign a HeatmapRenderer to GraphicsLayer?

 

Like this:

 

 

var graphicLayer = new GraphicsLayer();

var heatmapRenderer = new HeatmapRenderer({
    colors
: ["rgba(0, 0, 255, 0)","rgb(0, 0, 255)","rgb(255, 0, 255)", "rgb(255, 0, 0)"],
    blurRadius
: 12,
    maxPixelIntensity
: 250,
    minPixelIntensity
: 10
});

 

 

graphicLayer.setRenderer(heatmapRenderer);

 

map.addLayer(graphicLayer);

 

 

This code does not work properly.

Outcomes