Open InfoWindow from custom widget

2192
2
Jump to solution
03-11-2016 11:32 AM
WayneBoras
New Contributor III

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

0 Kudos
1 Solution

Accepted Solutions
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Wayne,

  Sure see this thread:

Trigger Layer(s) Popup with Feature.Geometry

WayneBoras
New Contributor III

Hi Robert,

That worked perfectly. Thank you!

Wayne

0 Kudos