[OpenLayers-Users] rectangle - resize from one corner whilst opposite is fixed

AndyT andy at centremaps.co.uk
Thu May 13 08:19:13 EDT 2010


Hi,

Hopefully i didn't miss this one elsewhere in the forums....

At the moment our resizing of a rectangle means that if i drag one corner
outwards then the opposite corner moves out in the other direction.

For practical purposes, it would be good (as an example) to move my
rectangle so the top left corner is where i want it and i can drag the
bottom right to the overall coverage i need.

At the moment, to do this i would get the box so the top left is close, drag
out the bottom right, move so top left closer again and do this as a loop
until i had the rectangle close enough.

What would be even better is to be able to drag any of the four corners
whilst the opposite corner stays fixed.

Anyone done this before? Apologies again if i'm missing the obvious

Thanks

Andy
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/rectangle-resize-from-one-corner-whilst-opposite-is-fixed-tp5045810p5045810.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list