Select to view content in your preferred language

Issue with Popup Template on HeatMap

885
1
Jump to solution
05-22-2022 09:32 PM
KrishnakanthYachareni
Emerging Contributor

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?

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Esri Frequent Contributor

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>

View solution in original post

1 Reply
ReneRubalcava
Esri Frequent Contributor

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>