startTour method

Future<void> startTour(
  1. String tourName
)

Orbit functionality: Uses the query method to play some tour in Google Earth according to the given tourName. Command: 'echo "playtour=Orbit" > /tmp/query.txt'

Implementation

Future<void> startTour(String tourName) async {
  try {
    print('here play tour');
    await query('playtour=$tourName');
  } catch (e) {
    // ignore: avoid_print
    print(e);
  }
}