Use HeatMaps on GeoJSON Layer using JS API 4.11

708
1
Jump to solution
06-14-2019 12:17 AM
GeorgeAbraham1
New Contributor II

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.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor
1 Reply
RobertScheitlin__GISP
MVP Esteemed Contributor