Hello,
I am currently using the ClusterLayer.js file to create clustered points as in the example here. I am very happy with the results within a the JavaScript Api, but I am now trying to use it within a custom widget in the Web AppBuilder. It works almost perfectly except for one problem, the popup window closes on its own within about a second of opening it. I can't find any errors and have done everything I can think of to single out the issue with no luck. Has anyone experienced something similar before?
I was thinking that potentially there was an issue with between the infowindow popup and the PopupTemplate that is used in the demo, but I tried using the InfoWindow popup instead, but that didn't fix it either.
I have posted my code for the widget.js file here, however, I am currently unable to post a link because the firewall set-up that we have in our company.
Thanks,
Nat
did you ever figure this out? i get the same disappearing popup after a second.
This line will stop the hide from the empty WAB popup results, preventing the cluster layer popup from being removed too.
this.map.infoWindow.visibleWhenEmpty = true;