AnsweredAssumed Answered

infoWindow.clearFeatures() Not Working

Question asked by LeviCecil on Apr 5, 2018
Latest reply on Apr 10, 2018 by rscheitlin

I'm trying to get a popup to close once a hyperlink is clicked inside the popup. The hyperlink is working, but the popup just changes to display "no information available" after the click and doesn't close. This is part of an event listener in a PhoneGap app. 

 

img.addEventListener("click", function () {window.location = chartPath; map.infoWindow.clearFeatures();});

Outcomes