On Apr 3, 11:33 am, Rossko <[email protected]> wrote:
> > Still doesn't put the marker when the page starts
>
> Get a javascript debugger.
> The error is 'map has no properties'.
> You're trying to execute
> map.addOverlay(marker);
> before you have initialized the map (GMap2)
>
> Move the code setting up the first defualt marker to inside your
> initialize() function but after the map has been set up.
>
> cheers, Ross K
Thanks alot, didn't think about it that way.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---