AnsweredAssumed Answered

Open InfoWindow from custom widget

Question asked by wboras on Mar 11, 2016
Latest reply on Mar 14, 2016 by wboras

Hello,

 

I'm creating a custom widget which lists a subset of features from the current map. Each listed feature will have a link which, when clicked, will open the InfoWindow for that feature. I'd like to use the existing map.onclick handler code in MapManager.js to display the InfoWindow. Is there a way to manually trigger a map click event, and pass the geometry of the feature whose link was clicked, so that the handler code will open the InfoWindow just as if the feature was clicked in the map?

 

Thanks,
Wayne

Outcomes