Skip to content

Commit 8d0ba38

Browse files
committed
Merge branch 'master' of github.com:mapbox/mapbox-navigation-android
2 parents a9df339 + e6b4b1c commit 8d0ba38

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

navigation/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ext {
1717
dep = [
1818
// mapbox
1919
mapboxMapSdk : 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.1.3',
20-
mapboxServices : 'com.mapbox.mapboxsdk:mapbox-android-services:2.3.0-SNAPSHOT',
20+
mapboxServices : 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.4',
2121
locationLayerPlugin : 'com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.1.0',
2222

2323
// unit test

navigation/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/camera/NavigationCamera.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*/
3434
public class NavigationCamera implements ProgressChangeListener {
3535

36-
private static final int CAMERA_TILT = 50;
36+
private static final int CAMERA_TILT = 45;
3737
private static int CAMERA_ZOOM = 17;
3838

3939
private MapboxMap mapboxMap;

navigation/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/camera/ScreenDensityMap.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ class ScreenDensityMap extends SparseArray<Double> {
2121

2222
ScreenDensityMap() {
2323
put(DENSITY_LOW, 50d);
24-
put(DENSITY_MEDIUM, 56d);
25-
put(DENSITY_HIGH, 68d);
26-
put(DENSITY_260, 71d);
27-
put(DENSITY_280, 74d);
28-
put(DENSITY_300, 77d);
29-
put(DENSITY_XHIGH, 80d);
30-
put(DENSITY_340, 83d);
31-
put(DENSITY_360, 86d);
32-
put(DENSITY_400, 92d);
33-
put(DENSITY_420, 93d);
34-
put(DENSITY_XXHIGH, 95d);
35-
put(DENSITY_560, 113d);
36-
put(DENSITY_XXXHIGH, 125d);
24+
put(DENSITY_MEDIUM, 54d);
25+
put(DENSITY_HIGH, 63d);
26+
put(DENSITY_260, 68d);
27+
put(DENSITY_280, 72d);
28+
put(DENSITY_300, 73d);
29+
put(DENSITY_XHIGH, 74d);
30+
put(DENSITY_340, 76d);
31+
put(DENSITY_360, 78d);
32+
put(DENSITY_400, 80d);
33+
put(DENSITY_420, 83d);
34+
put(DENSITY_XXHIGH, 87d);
35+
put(DENSITY_560, 100d);
36+
put(DENSITY_XXXHIGH, 111d);
3737
}
3838

3939
double getTargetDistance(int density) {

0 commit comments

Comments
 (0)