bfisher

Displaying an info window for a selected graphic without click event to get anchor pt

Discussion created by bfisher on Aug 16, 2010
Latest reply on Aug 25, 2010 by scastlen
Hi,

This is probably staring me in the face but can't seem to determine from the API how you would go about doing this. 

I have a datagrid that list my feature class attributes, enables me to select the record of interest & highlight on the map.  From here, i want an infowindow to automatically open (nil user interaction with the map); While i can get this to work for a point feature class (via the infoWindow.show()), i cannot get it to work for a polygon as infoWindow.show() is expecting a point for its anchor. Appreciate any tips on how to implement this type of behaviour.. Using JS API 1.6.

Regards

Brad

Outcomes