[OpenLayers-Dev] Problems with switching between Google & Yahoo
base layers..
louvy.joseph at gmail.com
louvy.joseph at gmail.com
Fri Aug 3 07:17:10 EDT 2007
Hi all,
I don't have a demonstrable small example but here is what I am
experiencing.
If I have Google Satellite & Yahoo Satellite as base layers and when I
switch from Google to Yahoo by clicking through the Layer Switcher, the
yahoo layer behaves funny. Once the yahoo layer is activated, any clicks
in Yahoo layer keeps moving (or drifting) the layer south west. It
behaves as if I dragged the map even though I just clicked. When I tried
debugging, it seems like it tries to set center on mouseup thinking that
a drag has happened. But why does it think that I dragged to a different
center? It could be the problem with pixel to lat/lon conversion issues.
My knowledge of openlayers internals is limited. Has any body seen this
issue or does anybody have any hypothesis?
The same thing happens with Google Hybrid. Switching from Google
Satellite to Google Hybrid results in the similar behavior; the Google
Hybrid is unusable after the switch with any mouse clicks; it starts
drifting as if I dragged the map for any mouse click.
Thanks in advance..
Louvy Joseph
More information about the Dev
mailing list