Skip to content

Commit

Permalink
on-the-road 1.3.0 (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahsnow1 authored Jun 2, 2017
1 parent 52517f2 commit 72efbef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mapzen-android-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ task checkstyle(type: Checkstyle) {

dependencies {
compile project(':core')
compile ('com.mapzen:on-the-road:1.2.0') {
compile ('com.mapzen:on-the-road:1.3.0') {
exclude group: 'com.squareup.retrofit2', module: 'converter-gson'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public MapzenRouter setLocation(double[] point) {
* @param point
* @return
*/
public MapzenRouter setLocation(double[] point, float heading) {
public MapzenRouter setLocation(double[] point, int heading) {
internalRouter.setLocation(point, heading);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class MapzenRouterTest {
double[] point = {70.0, 30.0};
router.setLocation(point);
verify(router.getRouter()).setLocation(point);
float heading = 1.5f;
int heading = 1;
router.setLocation(point, heading);
verify(router.getRouter()).setLocation(point, heading);
String name = "Num Pang Sandwich";
Expand Down

0 comments on commit 72efbef

Please sign in to comment.