Hi,
I have the imageWindow appearing in the UpperLeft window.
I want to move the imageWindow to the UpperRight.
I added the following, does not move the imageWindow to UpperRight??
>>>>>>>>>>>>>>
show: function(location) {
// Is location specified in map coordinates?
if (location.spatialReference) {
location = this.map.toScreen(location);
map.infoWindow.show(location, InfoWindow.ANCHOR_UPPERRIGHT);
}
// Position 10x10 pixels away from the
// requested location
/// dojo.style(this.domNode, {
/// left: (location.x + 10) + "px",
/// top: (location.y + 10) + "px"
/// });
>>>>>>>>>>>>>>
I commented out the Position 10px, imageWindow on the edge did not show fully.
Any suggestions, to get the Anchor working??