The legend shows that it is getting renderer data and heatmap is added as renderer. But no heatmap is getting shown.
But when I click on the map where I am expecting the heatmap, I can see the PopupTemplate showing my data. An image is given below:
When I zoom into my CSV layer, I can see the points on the map which I have created by replacing heatmaprenderer with simplerenderer on scale event. Screenshots are given below:
After Zooming in on CSV Layer (Top one):
Also, I converted an example from the ArcGIS Website to an Angular component and tried to show it on the website. But it is also not showing up any data.
I used 'Create a scale-dependent visualization text' example from here.
My code is on GitHub. (https://github.com/SiddharthMishraPersonal/arcgis-csvlayer-example)
In the above images, you can see that the second map is not showing any heat map.