if(heat&&((data.addtoheatmap!== "false")||(!data.hasOwnProperty("addtoheatmap")))){// Added to give ability to control if points from active layer contribute to heatmap
if(heat&&((data.addtoheatmap!=false)||(!data.hasOwnProperty("addtoheatmap")))){// Added to give ability to control if points from active layer contribute to heatmap