Thread: [SailfishOS] Pure Maps
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#191
Originally Posted by dubliner View Post
1) Will there be an option to save points of interest? An editable format (like .csv) would be quite helpful. Also putting POIs into categories might come in handy.

2) Could you implement an alert feature to make Pure Maps speak up when you are passing e.g. a parking structure?

3) I use Talefish a lot. When an instruction comes up, Pure Maps dutifully stops the audio on Talefish which is great. Is there a possibility to make it start again afterwards? For now, I always have to press "Play" manually again.
[1] POIs are saved already under .config/harbour-pure-maps/pois.json . So, you could get them from there and edit as you wish.

[2] like when you drive next to parking lots? or some other POIs? maybe, not sure yet how to implement it

[3] stopping is done via SFOS. to my knowledge, there is no code in Pure Maps that commands directly someone to stop. Hence it's in Jolla's capable hands, isn't it?

Other developments:

I managed to hit twice a condition that prevented the shutdown of Pure Maps on my device. At this stage, I don't know whether its the same as described earlier by @pichlo - its rather hard to reproduce the case for me. However, in the both cases, when looking through the backtrace (attached), I saw two threads accessing lh_insert () from /lib/libcrypto.so.10: one from Python and the other one from Mapbox GL. In Python, its called via PyInit__hashlib, in Mapbox via CURL.

This function is from OpenSSL which may be a problem in terms of multithread access to it. Now, I am not sure whether Python or Mapbox GL set OpenSSL locks, as requested in https://www.openssl.org/docs/man1.0....o/threads.html - assuming that we are still on 1.0.2 OpenSSL.

Will have to think about how to fix it or whether to wait till SFOS3 with its Qt update and shift Mapbox GL QML to use QNetwork, as it is intended. Right now its blocked by

https://together.jolla.com/question/...aces-are-down/
https://bugreports.qt.io/browse/QTBUG-59219

With OBS back in business, I maybe able to experiment a bit later with Mapbox GL filing the callbacks, as expected by OpenSSL.
 

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