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.
I whould to use HeatmapRenderer and GraphicLayer together, it's not possible?