osmodroid routeto command

This commit is contained in:
Denis 2013-08-24 22:07:45 +04:00
parent 34d267ad56
commit 6b78bf7562
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