Merge pull request #526 from fokin33/master

osmodroid routeto command
This commit is contained in:
vshcherb 2013-08-30 15:03:20 -07:00
commit 57cb0b1531
2 changed files with 7 additions and 0 deletions

View file

@ -4,6 +4,7 @@ interface IRemoteOsMoDroidListener {
void channelUpdated();
void channelsListUpdated();
void routeTo(float Lat, float Lon);
}

View file

@ -72,6 +72,12 @@ public class OsMoDroidPlugin extends OsmandPlugin implements MonitoringInfoContr
}
}
@Override
public void routeTo(float Lat, float Lon) throws RemoteException {
reRouteTo(new LatLon(Lat, Lon));
}
};
@Override