Allow the application to be controller via AppleScript. It should provide an abstraction for devices (or at least the currently selected device) and allow navigation, teleportation to a specific location. The menu items should be exposed to AppleScript as well.
[x] sidebar is collapsed (r/w): boolean
- [ ] request speed change (show ui and return new speed value to apple script. Do not update the UI!)
map: class
attributes:
[x] heading: real (r/w)
[x] autofocus: boolean (r/w)
[x] autoreverse: boolean (r/w)
[x] automove: boolean (r/w)
[x] location: {lat, lon} (r/w) (do not ask for user input)
methods:
[x] follow route: {{lat1, lon1}, {lat2, lon2}, …} (follow an arbitrary route. You can read a GPX file coordinates from the GPX Suite)
[x] reset location: boolean
[x] request location change to: {lat, lon} (ask the user if he / she wants to teleport or navigate. 'To' is optional. If it is not set, show the coordinate selection and return the result to applescript ?)
Allow the application to be controller via AppleScript. It should provide an abstraction for devices (or at least the currently selected device) and allow navigation, teleportation to a specific location. The menu items should be exposed to AppleScript as well.