You can build a vertical slider by setting option {restrictX:true} in
GDraggableObject() constructor.

To limit the throw of the slider you can construct a 'drag' listener
that sets:
if(knob.top < maxY) knob.moveTo(new GPoint(knob.left,maxY));
if(knob.top > minY) knob.moveTo(new GPoint(knob.left,minY));

But that is based on the undocumented restrictX option.
--~--~---------~--~----~------------~-------~--~----~
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