[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:
committed by
Tobrun Van Nuland
parent
081c61dcc2
commit
3dacbdd42e
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user