What are you talking about?  Can you call me 812-280-8403
Terry

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Adam
Sent: Monday, January 26, 2009 5:37 AM
To: Google Maps API
Subject: Re: Google Map Code Problem



> Yes. That's because it is. All your "marker"s are local to their own
> functions. Why not move the line
>   var marker = null;
> into global scope so that you have a variable which can be shared
> between functions as required? [Keep the var keyword in createMarker:
> that needs to be local]
>
> Andrew

Thanks for that, working fine for me now.


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

Reply via email to