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

This commit is contained in:
Tobrun
2017-04-21 19:15:26 +02:00
committed by GitHub
parent 3c23faf65a
commit ed51462428
2 changed files with 17 additions and 3 deletions

View File

@@ -108,8 +108,7 @@ public final class CompassView extends AppCompatImageView implements Runnable, F
* @param bearing the direction value of the map
*/
public void update(final double bearing) {
// compass needs reverse bearing #8123
rotation = (float) -bearing;
rotation = (float) bearing;
if (!isEnabled()) {
return;