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

Added bounding box linelayer toggle of large map to inset map #1230

Merged
merged 1 commit into from Oct 1, 2019

Conversation

langsmith
Copy link
Contributor

This pr refactors InsetMapActivity to add a toggle-able LineLayer line, which represents the bounds of the larger map

ezgif com-resize

@pengdev
Copy link
Member

pengdev commented Oct 1, 2019

@langsmith Looking good 👍 One small question, I can see from the gif that when you rotate the larger map, the bounding box looks like transforming from a rectangle to a square, is this some projection that we used? Shouldn't the bounding box reflect the screen shape(which is a rectangle)?

@langsmith
Copy link
Contributor Author

Yea, it has to do with the projection and how the LineString is being built

@langsmith langsmith merged commit aa4cc8b into master Oct 1, 2019
@langsmith langsmith deleted the ls-inset-map-rectangle-bounds-adjust branch October 1, 2019 15:04
@langsmith langsmith mentioned this pull request Oct 1, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants