Hi Pil,

yes, until now I alway took the latlng as the coordinate, where the 
mouse hits the map. This works for me in various scenarios. What I don't 
catch is, why I cannot take this coordinate and center the map around 
it? At least not with my webserver. No problems here if hosted locally...

I have updated the script, it now doesn't make any attempt to zoom or 
center, it just shows the coordinate, where the mouse touches down. And 
this coordinate is wrong in any case, that drives me crazy...

Regards


Pil (Trustworthy from experience) schrieb:
> 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
>>     
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to