[android] #5438 - add bearing to MyLocationView for the SDK camera object

[android] #5438 - integrate MyLocationView set bearing inside the MapView setBearing

[android] #5438 - invalidate the MapView instead of calling update from core.

[android] #5438 - add bearing MyLocationView to setBearing focal point on MapView

[android] #5438 - Get correct bearing when camera object is rotated around the z-axis, notify MyLocationView when camera position changes, update test utilities.

[android] #5438 - fixes compass tracking
This commit is contained in:
Tobrun
2016-07-11 15:47:20 +02:00
committed by Tobrun Van Nuland
parent 081c61dcc2
commit 3dacbdd42e
4 changed files with 28 additions and 30 deletions

View File

@@ -21,8 +21,8 @@ public class MapboxMapUtils {
* @param mapView
* @param direction
*/
public static void setDirection(MapView mapView, double direction) {
mapView.setDirection(direction);
public static void setDirection(MapView mapView, float direction) {
mapView.setBearing(direction);
}
}