On Aug 27, 11:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Aug 27, 10:51 am, racinnation <[EMAIL PROTECTED]> wrote:
>
> > Can anyone tell me why the Toggle Traffic button doesnt work on my
> > map?
>
> >http://tracks.racinnation.com/daytona.html
>
> I have it working 
> here:http://www.geocodezip.com/GenericMapBrowser.asp?filename=RiverWalk080...
>
> I think the difference is I recreate the overlay when I add it.

Actually, it is simpler than that, your problem is your global map
variable is undefined.  Change this line:
var map = new GMap2(document.getElementById("map_canvas"));
to:
map = new GMap2(document.getElementById("map_canvas"));

  -- Larry

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