cliveswan

map.infoWindow.ANCHOR_UPPERRIGHT causing object error??

Discussion created by cliveswan on Mar 15, 2012
Latest reply on Jul 31, 2012 by BViswanathan-esristaff
The map.infoWindow.setFixedAnchor is causing an object error in the addIdentifyResultsToMap function???
The error is addIdentifyResultsToMap error, details: [object error]

I want to set the position that the imageWindow is displayed!!

I have used the same syntex for the show(map.getInfoWindowAnchor) and setFixedAnchor

I do not get an error with show() line.
I get an error with setFixedAnchor() line??

map.infoWindow.show(event.screenPoint, map.getInfoWindowAnchor(event.screenPoint));
/// SET THE POSITION OF THE IMAGEWINDOW - UPPER RIGHT
map.infoWindow.setFixedAnchor(map.infoWindow.ANCHOR_UPPERRIGHT);

I have copied an example and still get the same error??
map.infoWindow.setFixedAnchor(esri.dijit.InfoWindow.ANCHOR_UPPERRIGHT);


Can anyone spot an error??

Outcomes