flyTo method
- LookAtModel lookAt
Fly to functionality:
Command to fly to a certain location: 'echo "flytoview=${flyto.generateLinearString()}" > /tmp/query.txt'
Uses the query method to fly to some place in Google Earth according to the given lookAt
.
See LookAtModel.
Implementation
Future<void> flyTo(LookAtModel lookAt) async {
try {
await query('flytoview=${lookAt.linearTag}');
} catch (e) {
// ignore: avoid_print
print(e);
}
}