Hi Folks,
I am exploring the options of consumption of the ArcGIS JS API 4.11 and trying to create HeatMaps. However, I was able to achieve it using a CSVLayer based on the tutorials provided. So if I have a custom CSV file having all the lat/lon values and host it somewhere, I am able to pull it and render the CSVLayer as a HeatMap.
However, I want to explore the option of using a GeoJSON layer and render it as a heatmap.
Requirement: If I am going to store spatial data (lat/lon) values in a DB or say get it as a like stream using Websockets, I can expose it as a JSON data which I believe I can convert to GeoJSON using some API and display it as a layer on the ArcGIS basemap and render as a heatmap - but I need some code samples or insights to see how to get this done.
Solved! Go to Solution.
George,
There are already two good samples for GeoJSON Layer and another one for HeatMap rendering a CSV layer:
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=layers-geojson
George,
There are already two good samples for GeoJSON Layer and another one for HeatMap rendering a CSV layer:
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=layers-geojson