I'm using the new Arcgis js api 4.8, and try to use the new feature of the Heatmap layer.
I try it both on feature layer from url, and feature layer created from graphics array source.
All others renderers work on those feature layers (uniqueValue, classBreaks, simple..) and only the Heatmap renderer does not work.
I try use with with custom values on the renderer and without any custom options and both ways does not work for me.
Any ideas why ? In the examples of the heatmap, there is only use in CSVlayer.