@@ -103,7 +103,7 @@ public class Route {
|
||||
RouteLeg leg = new RouteLeg(/* i, i+1, mLinks */);
|
||||
legs.add(leg);
|
||||
}
|
||||
boundingBox = BoundingBox.fromGeoPoints(routeHigh);
|
||||
boundingBox = new BoundingBox(routeHigh);
|
||||
status = STATUS_DEFAULT;
|
||||
}
|
||||
|
||||
|
||||
@@ -254,7 +254,7 @@ public class OSRMRouteProvider extends RouteProvider {
|
||||
route = new Route(waypoints);
|
||||
} else {
|
||||
route.buildLegs(waypoints);
|
||||
BoundingBox bb = BoundingBox.fromGeoPoints(route.routeHigh);
|
||||
BoundingBox bb = new BoundingBox(route.routeHigh);
|
||||
//Correcting osmdroid bug #359:
|
||||
route.boundingBox = bb;
|
||||
// new BoundingBox(
|
||||
|
||||
Reference in New Issue
Block a user