On Nov 24, 8:11 pm, rgl <[EMAIL PROTECTED]> wrote:
> but for this (lng=17):
> var map = new GMap2(document.getElementById("map"))
> map.setCenter(new GLatLng(50.339434,017.545416), 9 );
>
> the picture is empty.
> Why?
Probably because 017 is not 17 in decimal, but 17 in octal (or 15 in
decimal). 018 is not a valid octal number. Never use a leading zero
(except for fractions of a magnitude less than 1). I can't reproduce
the problem in Firefox though.
Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---