flyTo method
Flies to a specific location on the Liquid Galaxy.
the latitude
and longitude
are the coordinates of the location.
zoom
is the zoom level and tilt
and bearing
are the angles.
Implementation
Future<void> flyTo(double latitude, double longitude, double zoom,
double tilt, double bearing) async {
if (!await sshConnection.isConnected()) {
return;
}
await sshConnection.sendCommand(
'echo "flytoview=${KMLMakers.lookAtLinear(latitude, longitude, zoom, tilt, bearing)}" > /tmp/query.txt');
}