[OpenLayers-Users] Re: rectangle - resize from one corner whilst
opposite is fixed
AndyT
andy at centremaps.co.uk
Fri Sep 23 10:10:25 EDT 2011
Hi,
Just following up on my request from a year ago and wondering whether any
one has had cause to implement an resizeable rectangle whereby the it can be
enlarged in just one direction. That is to say that an ortho aligned
rectangle can be enlarged just by dragging it's western extent without
affecting the eastern extent. At the moment, such an edit results in the
rectangle expanding both west and east.
Thanks in advance for any responses...
Andy
AndyT wrote:
>
> 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-tp5045810p6824363.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list