Andrew,Here's a link to a sample that may help. The sample adds graphics to the map and associates an info window with the graphics - which sounds like the same thing you are trying to do. http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/map_topo_graphics.html
If you use setInfoWindow to associate the window with the graphic everything should be taken care of for you. Do you have a code snippet you can share that shows the problem? Kelly
Kelly, thanks... problem is that my script is on my intranet. My work on my connected machine is working very well. I will try to replicate the error and then post it..Andy
dojo.connect(map, 'onLoad', function(){ dojo.connect(map.graphics, 'onClick', function(evt){ map.infoWindow.show(evt.screenPoint, map.getInfoWindowAnchor(evt.screenPoint)); }); });
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.