creating a var map inside the initialize takes away the control from
other functions as it isn't a global variable anymore then.
about the code, I'm doing a lot of php code which makes the code a
little less readable, I'll try to change it but I'm not sure if I can
actually get php to do tabs and insets for me.
On 2 dec, 12:11, Black Fog <[EMAIL PROTECTED]> wrote:
> maybe you could try
>
> var map = new ...
>
> rather than:
>
> map = new GMap2(document.getElementById("map_canvas"));
> (line 118 in your code)
>
> and try to order the script a little bit. its hard to read.
>
> www.berliner-weihnachtsmaerkte.de
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---