Skip to content
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

Fix selection rectangle and add selection-based zoom #582

Merged
merged 7 commits into from
Jun 14, 2016

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Jun 3, 2016

Fix the selection rectangle on rotated maps. Use the Quad feature instead of the Plane feature.

Add "rubberband" zoom in and zoom out. By default, this zoom in is performed with shift-left-mouse button, and zoom out with shift-right-mouse-button.

This resolves issues #548 and #346.

This depends on PR #581.

manthey added 2 commits June 3, 2016 10:19
Use the Quad feature instead of the Plane feature.
This resolves issue #346.
@manthey manthey force-pushed the selection-based-zoom branch from 66414b5 to cf12c17 Compare June 3, 2016 14:19
@codecov-io
Copy link

codecov-io commented Jun 3, 2016

Current coverage is 74.63%

Merging #582 into master will increase coverage by 0.60%

@@             master       #582   diff @@
==========================================
  Files            85         85          
  Lines          7375       7400    +25   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           5460       5523    +63   
+ Misses         1915       1877    -38   
  Partials          0          0          

Powered by Codecov. Last updated by 4b00f71...db9a086

@manthey manthey mentioned this pull request Jun 6, 2016
@manthey
Copy link
Contributor Author

manthey commented Jun 7, 2016

There is an issue when the selection rectangle straddles 180 degrees E or W.

@manthey manthey changed the title Fix selection rectangle and add selection based zoom Fix selection rectangle and add selection-based zoom Jun 9, 2016
@aashish24
Copy link
Member

@manthey I will review this one next as I believe the bug has been fixed?.

@manthey
Copy link
Contributor Author

manthey commented Jun 10, 2016

@aashish24 Yes. Selection and zoom across wrapped maps is now fine.

@aashish24
Copy link
Member

LGTM 👍 thanks.

@manthey manthey merged commit 8087452 into master Jun 14, 2016
@manthey manthey deleted the selection-based-zoom branch June 14, 2016 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants