osmodroid routeto command
This commit is contained in:
parent
34d267ad56
commit
6b78bf7562
2 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,7 @@ interface IRemoteOsMoDroidListener {
|
||||||
|
|
||||||
void channelUpdated();
|
void channelUpdated();
|
||||||
void channelsListUpdated();
|
void channelsListUpdated();
|
||||||
|
void routeTo(float Lat, float Lon);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -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
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue