Thread: [SailfishOS] Pure Maps
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#1013
Originally Posted by taixzo View Post
My ideal option would be something where I call it with coordinates and Pure Maps opens, calculates the route and starts navigating to that destination. This is to support the use case that if someone is using Saera to set a navigation destination there's a good chance they are driving or otherwise need their hands free.
Sorry, got somewhat distracted with the recent events and forgot to reply last night.

Driven by smartwatches, but perfectly usable in hands-free scenario as well, I was thinking to add dbus service to Pure Maps. Something that would allow you to get state of navigation and, as you suggest, start one. While not as simple as firing with cmdline, it would allow you to handle cases where route was not calculated due to the wrong router, for example. In principle, we could make dbus api to switch the router as well. I think in longer term, that would be better solution.
 

The Following 7 Users Say Thank You to rinigus For This Useful Post: