ArcGIS API is providing a way to generate heat map based on ArcGIS Services like this one at This Example.
Is there any way to generate the heat map based on actual point values on the fly instead of using a service URL. I mean if I have a data like
var data = [
{
x: -13625078.0408
y: 4548494.332400002
},
{
x: -13625078.0408
y: 4548494.332400002
},
.....
];
is there any way to pass it as Service URL at `heatmapFeatureLayerOptions` like
var heatmapFeatureLayerOptions = {
mode: data.MODE_SNAPSHOT,
Thanks