Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

rectangle creation enhancement #2772

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

rectangle creation enhancement #2772

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: alpert
[Submitted to the original trac issue database at 8.44pm, Thursday, 4th March 2010]

i really like the rectangle creation tool, but i'd like to suggest a new way to implement it:

the first click should define the center of the rectangle.
the second click should define hte location of one (random) edge: in this way, when i move the mouse cursor, the rectangle could grow or become smaller, and rotated all together.
the third click accepts the location of the edge and freeze the location, size and rotation of the rectangle.

in fact, this is the same behavior of the roundabout creation tool..

thanks

@openstreetmap-trac
Copy link
Author

Author: Koying
[Added to the original trac issue at 11.12am, Wednesday, 10th March 2010]

Firstly, in case you don't know, pressing SHIFT when drawing a rectangle/polygon allows you to rotate/scale the feature on-the-fly.

Secondly, for rectangles/polygons, it was like you described, i.e. select the middle of the figure, then expand. I changed it because it obliged you to find the exact center of the rectangle to be able to draw it it one pass.

Today, you select one corner, press SHIFT to rotate/scale to the opposite corner, and voil!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant