Skip to content

Commit 72efbef

Browse files
authored
on-the-road 1.3.0 (#397)
1 parent 52517f2 commit 72efbef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mapzen-android-sdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ task checkstyle(type: Checkstyle) {
5858

5959
dependencies {
6060
compile project(':core')
61-
compile ('com.mapzen:on-the-road:1.2.0') {
61+
compile ('com.mapzen:on-the-road:1.3.0') {
6262
exclude group: 'com.squareup.retrofit2', module: 'converter-gson'
6363
}
6464

mapzen-android-sdk/src/main/java/com/mapzen/android/routing/MapzenRouter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public MapzenRouter setLocation(double[] point) {
125125
* @param point
126126
* @return
127127
*/
128-
public MapzenRouter setLocation(double[] point, float heading) {
128+
public MapzenRouter setLocation(double[] point, int heading) {
129129
internalRouter.setLocation(point, heading);
130130
return this;
131131
}

mapzen-android-sdk/src/test/java/com/mapzen/android/routing/MapzenRouterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class MapzenRouterTest {
7777
double[] point = {70.0, 30.0};
7878
router.setLocation(point);
7979
verify(router.getRouter()).setLocation(point);
80-
float heading = 1.5f;
80+
int heading = 1;
8181
router.setLocation(point, heading);
8282
verify(router.getRouter()).setLocation(point, heading);
8383
String name = "Num Pang Sandwich";

0 commit comments

Comments
 (0)