Pil, although your code isn't working in IE RC1: Is it possible to keep the mouse position while zooming in/out to discrete stages? I mean: zoomIn(point) and zoomOut(point) do keep the current mouse position above the object, currently clicked. Is it also possible somehow to setZoom(whatever) _and_ keep the position? Regards
On Feb 4, 9:35 am, "Pil (Trustworthy from experience)" <[email protected]> wrote: > Maybe you think the map should be centered where the click happened. I > also thought that a while ago... and wrote a script that exacatly does > that > > http://wolfpil.googlepages.com/doubleclickzoom.html > > On Feb 4, 1:13 am, "Neil.Young" <[email protected]> wrote: > > > > > I have a weird problem with a map, running on my webserver. The same map > > behaves fine on localhost. I have stripped down the problem to the > > essentials. > > >http://maps.alphadex.de/maps/testmaptype2.html > > > The map shall zoom between two discrete scales: 6 and 9. A click on the map > > toggles. The strange: The GLog window shows strange positions (e.g. Berlin: > > (52.776185688961704, 23.66455078125), although the real position should be > > something around (52.53627304145948, 13.4033203125)). Therefore the new > > center position is totally wrong. Currently I have no clue, what happens > > here. As I said: Fine with localhost, wrong with my webserver... > > > Does anybody see the problem? > > > Regards and thanks in advance- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
