-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orthogonal / isogonal angle drawing #3637
Comments
Cool, can you put a demo of it online? I'd love to take a look and try it.. |
I think it is possible, I'll notify. |
This dirty hack will be able for some time → pretty-angles. |
Nice, I tried it out and it does feel intuitive to have angles snap when holding down shift.. I did notice that after drawing some ways with this, the graph got corrupted, and I saw lots of stuff in the console like |
I tried to repeat this error in different browsers and places, but my console still clear, except some 404s of mapbox tiles. My cartoghaphers are using this tool for a 5 months, so it should be stable. |
I tried some more and I did find the error, but it turns out to be unrelated to your code. It's in master too. Sorry about that! But at least trying out the drawing mode helped me find this other thing. I'll ticket now separately. |
Do you have additional wishes to merge it? Maybe you have some thoughts about not to use this function twice? |
I think it's good and I do want to merge it, just working on other things right now. I'm making substantial changes to how draw_area/draw_way works, so I don't want to start merging the angles code until that other work is finished. |
I tried this PR out and it really wasn't any better than just clicking and squaring. You still need to do all the clicking, the clicks just turn out more square as you're doing them. |
I wouldn't agree for the following reasons:
|
Hello.
I'll be glad to share some solution for #2699, #1957.
I made a feature in my iD for drawing angles multiple of 45°. It works for next segments of lines, next and last segments of areas.
If you need It, I'll try to make my code/architecture not so ugly that it is now and send PR then.
The text was updated successfully, but these errors were encountered: