Thread: [SailfishOS] Pure Maps
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#846
Originally Posted by robthebold View Post
Got my primitive car-control app to accept the geocode cut from the "share location" feature. Awesome! Now is there a way to send coordinates "automagically" to pure maps. I can paste a lat/lon string into search just fine, and that's perfectly acceptible . . . I was just wondering if there was a dbus call or cli param or other API feature to automate the process?
For now, you could just run script "harbour-pure-maps" with geo URI. If Pure Maps is running, it will contact it to show that POI. If its not, Pure Maps will be launched.

There is a PR in review to enable DBus activation and I will look into it. As a result of that PR, DBus API will probably change a bit. In future, you could use DBus directly.
 

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