Thread: [SailfishOS] Mapbox GL Native QML plugin
View Single Post
Posts: 58 | Thanked: 223 times | Joined on Apr 2017 @ Germany
#58
Originally Posted by rinigus View Post
And one more question: does it mean that you call updateSourceLine 7000 times (once per each point) during startup or is it all factored into one call?
That's correct, 7000 times during startup. And then somewhere in between it gets stuck and crashs.

While during workout it is called once every second. And it seems that this also leads to the crash after 2 hours or something.

You know, I think the amount of calls of the updatesourceline function is limited. Maybe it helps to split the track points to multiple layers of track lines. I will do some more tests tomorrow.

Last edited by jdrescher; 2018-01-08 at 20:18.
 

The Following 2 Users Say Thank You to jdrescher For This Useful Post: