On Jan 16, 4:21 pm, FloridaGirl <[email protected]> wrote:
>
> for(i = 0; i < gPolyMarkers.length; i++) {
>         gPolyMarkers[i].disableDragging());
>       }

disableDragging() should work.

> I also tried gPolyMarkers[i].draggable=false);
> but ths didn't work either.

draggable() is a function which returns the state, not sets it. What
your code does set a custom property "draggable", which you can use
but the API won't know about.

There must be more to the problem than the loop snippet here. Why not
post a link as the posting guidelines suggest? (Please)

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