Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

VisibleRegion on rotated map #12255

Merged
merged 1 commit into from
Jul 27, 2018
Merged

VisibleRegion on rotated map #12255

merged 1 commit into from
Jul 27, 2018

Conversation

osana
Copy link
Contributor

@osana osana commented Jun 28, 2018

VisibleRegion on rotated map over antimeridian
closes #12135 , #12463

Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add some regression tests to this change?

@osana osana force-pushed the osana-vis-region-rotated branch from 2e7ea5e to e705b12 Compare July 2, 2018 14:16
* @return bearing in decimal degrees
* @see <a href="http://turfjs.org/docs/#bearing">Turf Bearing documentation</a>
*/
static double bearing(@NonNull Point point1, @NonNull Point point2) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we change this method's declaration to work with LatLngs? We would skip unnecessary creation of the Point object before invoking this method.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point! Thank you.

@osana osana force-pushed the osana-vis-region-rotated branch 2 times, most recently from 59cf184 to 0bf12c8 Compare July 17, 2018 00:08
@osana osana force-pushed the osana-vis-region-rotated branch 9 times, most recently from de65f0d to 2b54cfd Compare July 26, 2018 18:16
Copy link
Member

@LukasPaczos LukasPaczos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@@ -12,6 +14,7 @@
import java.util.ArrayList;
import java.util.List;


Copy link
Member

@LukasPaczos LukasPaczos Jul 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT - new line

@osana osana merged commit f05199e into master Jul 27, 2018
@osana osana deleted the osana-vis-region-rotated branch July 27, 2018 16:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LatLngBounds of visible region incorrect when map rotated
3 participants