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

[android] - using bearing clockwise versus counterclockwise #6917

Merged
merged 2 commits into from
Nov 7, 2016

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Nov 4, 2016

closes #6897.
Review @ivovandongen.

@tobrun tobrun added Android Mapbox Maps SDK for Android ✓ ready for review labels Nov 4, 2016
@tobrun tobrun added this to the android-v4.2.0 milestone Nov 4, 2016
@tobrun tobrun self-assigned this Nov 4, 2016
@mention-bot
Copy link

@tobrun, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jfirebaugh, @zugaldia and @ivovandongen to be potential reviewers.

@@ -498,7 +498,7 @@ jdoubleArray nativeGetCameraValues(JNIEnv *env, jni::jobject* obj, jlong nativeM
jdouble buf[5];
buf[0] = latLng.latitude;
buf[1] = latLng.longitude;
buf[2] = -(nativeMapView->getMap().getBearing()-360);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit; spaces

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed the brackets

@tobrun tobrun merged commit 2851190 into release-android-v4.2.0 Nov 7, 2016
@tobrun tobrun deleted the tobrun-direction-flip branch November 7, 2016 09:21
tobrun added a commit that referenced this pull request Nov 7, 2016
* [android]  - using bearing clockwise versus counterclockwise

* fixup brackets
tobrun added a commit that referenced this pull request Nov 9, 2016
* [android] - MyLocationView should facing above when location and compass bearing tracking are enabled. (#6829)

* [android] - use current animated rotation value for calculating animated marker rotation difference (#6826)

fix unit tests, input limiting is not handled by animateRotationBy instead of MarkerView.
Changed test to validate if method was called with correct value.

* [android] - only calculated offset margins for InfoWindow if View is found in current viewport, added example to the test app to test for regressions (#6877)

* upgraded okhttp dependency to latest version (#6880)

* Cancelable callback invocation (#6891)

* [android] - allow onCancel to be invoked from camera cancel callbacks

* set to null after finish

* [android]  - using bearing clockwise versus counterclockwise (#6917)

* [android]  - using bearing clockwise versus counterclockwise

* fixup brackets

* [android] - convert bearing values from core to Android SDK equivalent.
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.

4 participants