Update AvoidSpecificRoads.java
This commit is contained in:
parent
7a5afedb2a
commit
740b209fb8
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ public class AvoidSpecificRoads {
|
|||
bld.setAdapter(listAdapter, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
RouteDataObject obj = getMissingRoads().get(which - 1);
|
||||
RouteDataObject obj = getMissingRoads().get(which);
|
||||
double lat = MapUtils.get31LatitudeY(obj.getPoint31YTile(0));
|
||||
double lon = MapUtils.get31LongitudeX(obj.getPoint31XTile(0));
|
||||
showOnMap(app, mapActivity, lat, lon, getText(obj), dialog);
|
||||
|
|
Loading…
Reference in a new issue