[OpenLayers-Users] rotating vectors with the mouse

kstump stump at lisapettitdesigns.com
Tue Sep 29 17:32:28 EDT 2009


I'm trying to implement a special handler that will rotate a shape around a
point when the user drags it, instead of actually moving the shape, and I'm
getting a little lost in all the choices...

does it make sense to implement a new "move" in Openlayers.Handler.Drag
or to implement the onDrag and onComplete in DragFeature ..  
or even change a ModifyFeature to not display a draghandle, but let the user
just drag the shape to rotate it..

Any ideas of what might work?

Thanks,
--
Kelly
-- 
View this message in context: http://n2.nabble.com/rotating-vectors-with-the-mouse-tp3739111p3739111.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list