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

[android] - convert camera position values coming from core #8794

Merged
merged 1 commit into from
Apr 21, 2017

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Apr 21, 2017

Closes #8792, regression from #4796, the camera position values weren't correctly converted. (eg. angle + pitch from core are in rad while in the Android binding they are in degrees).

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Apr 21, 2017
@tobrun tobrun added this to the android-v5.1.0 milestone Apr 21, 2017
@tobrun tobrun self-assigned this Apr 21, 2017
Copy link
Contributor

@ivovandongen ivovandongen left a comment

Choose a reason for hiding this comment

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

👍

@@ -109,7 +109,7 @@ PointF getFocalPoint() {
*/
public void update(final double bearing) {
// compass needs reverse bearing #8123
Copy link
Contributor

Choose a reason for hiding this comment

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

Little left-over?

@tobrun tobrun merged commit ed51462 into master Apr 21, 2017
@tobrun tobrun deleted the 8792-compassview-broken branch April 21, 2017 17:15
tobrun added a commit that referenced this pull request Apr 21, 2017
* [android] - move calculation of LatLngBounds to core

* [core] Ignore shortest path in Map::pixelForLatLng

* [android] - convert camera position values coming from core (#8794)
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