Hi,
PopupTemplate on HeatMap is not working in Javascript API 4. x versions. Here is the sample provided by Esri but the popup is not working there: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=visualization-heatmap
Where in older versions of JS API it is working: https://developers.arcgis.com/javascript/3/jssamples/renderer_heatmap_weighted.html
Could someone help here with how to enable the popup option while using the heatmap in Javascript API 4.x?
Looks like this will be fixed in 4.24, it's currently working in the "next" build. You can test by changing the script tag url.
<script src="https://js.arcgis.com/next/"></script>
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.