I'm experimenting with the new Geometry Controls here:

http://gmaps-utility-library-dev.googlecode.com/svn/trunk/geometrycontrols/docs/reference.html

In my application, I have 5 categories, 4 of them containing Point
data only and 1 containing polyline data only.

I have a dropdownlist with all categories and I load the markerControl
and the polylineControl onto the map when the map first loads.

When the polyline category is selected I want to either remove or
disable the markerControl, similarly when the point category is
selected I want to either remove or disable the polylineControl.

I can't work out how to do this. I've tried the toggleButtons method
but that doesn't achieve what I'm trying to do.

Can anyone help me solve this please. Sorry I don't have an example
available as this is all on localhost at the moment.

many thanks,
Steve
--~--~---------~--~----~------------~-------~--~----~
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