On 2 June 2011 15:24, Out2lunch <[email protected]> wrote:
> I have tried to show 3 different types of markers, in the future we would
> like the makers and their data to be listed from an external file, but first
> things first.

Indeed. It's a good idea to create your map before trying to add markers to it!

Your map creation is within the intialize() function, which is run
when the page is ready; but the markers are outside that function and
added as the page is loaded. Check your curly brackets -- making sure
that indentation is consistent helps here.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to