On Aug 14, 8:44 am, unxcolin <[email protected]> wrote:
> Thanks that's what I've done, not sure why I didn't think that was
> possible, just one infobox and then setContent on each marker.
>
> How should my map variable be declared?

Outside of any function declaration, do "var map;" or "var map=null;"
The statement that you currently have inside the initialize function
will initialize it when the page load function runs, and that
declaration will ensure it is in the global scope.

  -- Larry


>
> Thanks

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