I made a change to how the switching between visible services is done. I was using map.removeAllLayers(); and changed to map.destroy(); and the popUp (sorry about saying infoWindow) now uses the top left of the cursor. The problem then is that i then have call the init(); function which in turn sets the extent to the initial extent. another issue i just noticed with using the map.destroy(); is that i seem to get overlaying scalebars? using the map.removeAllLayers(); doesn't give this issue??
... View more