Programmatically activate infotemplate window? (Urgent)

631
2
11-26-2013 07:35 PM
EdwardSohn1
New Contributor
Is there way to manually activate from code (Javascript) the infotemplate window for a given feature?
What is desired is for row to be selected from datagrid and the corresponding feature to be zoomed to on the map and at the same time the info window for that feature to be activated (shown) without user click action.
0 Kudos
2 Replies
ManojrajTeli
Occasional Contributor II
Hello Edward,

You might find this example helpful.

https://developers.arcgis.com/en/javascript/jssamples/fl_zoomgrid.html

http://storymaps.esri.com/home/

http://mediamaps.esri.com/nfl-hof/

There is one ready to use example on net that can suite your need.

Thanks
Manojraj
0 Kudos
EdwardSohn1
New Contributor
Resolved:

using http://forums.arcgis.com/threads/547...Features+empty

adding:
map.infoWindow.hide();
map.infoWindow.clearFeatures();

before setFeatures might have done it...
0 Kudos