Attempt to fix 2323

This commit is contained in:
Victor Shcherb 2014-07-30 12:30:04 +02:00
parent ab50581e8b
commit d0ea6fb5d4

View file

@ -1,6 +1,8 @@
package net.osmand.plus;
import java.io.IOException;
import java.util.HashMap;
import java.util.LinkedHashMap;
import net.osmand.Location;
import net.osmand.binary.RouteDataObject;
@ -36,7 +38,8 @@ public class CurrentPositionHelper {
} else {
return;
}
RoutingConfiguration cfg = app.getDefaultRoutingConfig().build(p.name().toLowerCase(), 10);
RoutingConfiguration cfg = app.getDefaultRoutingConfig().build(p.name().toLowerCase(), 10,
new HashMap<String, String>());
ctx = new RoutePlannerFrontEnd(false).buildRoutingContext(cfg, null, app.getResourceManager().getRoutingMapFiles());
}