Hi there,

I am using Google Maps API v2. By adding traffic overlay on the map we
will get "Traffic" button on the map. And by clicking on that button
we can toggle traffic feature. But by using clearOverlays() function
all the markers & traffic feature will be cleared from the map.

So, how would I get the state of traffic feature before clearing
overlays? Means how would I came to know that whether the traffic
layer was being displayed  or not before clearing all the overlays?

Thanking you,
Parth.

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