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

add bearing and tilt to getCameraForLatLngBounds - #12290

Merged
tobrun merged 3 commits into
masterfrom
tvn-tilt-bounds
Jul 5, 2018
Merged

tobrun merged 3 commits into
masterfrom
tvn-tilt-bounds

Conversation

@tobrun

@tobrun tobrun commented Jul 3, 2018 •

Copy link
Copy Markdown
Member

Closes #12238

Todo:

  • add similar API for geometry (see here)

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Jul 3, 2018
@tobrun tobrun added this to the android-v6.3.0 milestone Jul 3, 2018
@tobrun tobrun self-assigned this Jul 3, 2018
@tobrun
tobrun requested a review from LukasPaczos July 3, 2018 11:59
@tobrun tobrun mentioned this pull request Jul 4, 2018

@LukasPaczos LukasPaczos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀
A couple of comments, most of them pointing to the docs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should also mention a bearing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should mention bearing instead of padding.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should also mention that it includes the current bearing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should also mention that it includes the current bearing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This shouldn't mention padding nor bearing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The camera position will fit the geometry inside.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No padding, but bearing and tilt.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also bearing and tilt.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we check that to-do?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since we are adding an option to set the pixel ratio, I think this value should also be pushed to the UiSettings during map initialisation.

@tobrun
tobrun force-pushed the tvn-tilt-bounds branch from 23234c2 to 616bd4c Compare July 5, 2018 10:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants