I have a set of data held in a backend database that I wish to render into a heatmap using esri. The data is dynamic based on users search and filters.

I'm creating the feature layer and applying the heatmap renderer but getting no luck with this, one thing I notice is that when I log the layer to the console the graphics geometry's are null whether this is the issue I'm not sure.

I've created a jsfiddle of where I am currently.


1 Answer 1


try this

featureSet.geometryType = "esriGeometryPoint"

check this sample, your code and sample different only featureSet.geometryType variable not implemented. so i check this code its run.



  • 1
    Without any context this answer is meaningless
    – nmtoken
    Oct 10, 2016 at 17:32
  • Please edit your answer to provide more information about where/how to use your suggestion. A brief explanation about why it's the answer would be useful too.
    – Midavalo
    Oct 10, 2016 at 17:48
  • Just tried this within my jsfiddle and this did work. Thank you @emredelioglu! (Added the forked jsfiddle with this working into your answer!) Oct 11, 2016 at 8:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.