Thread
: [SailfishOS]
Mapbox GL Native QML plugin
View Single Post
rinigus
2017-12-15 , 14:31
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#
35
Looks like an issue is in HTTPS certs. Namely, it seems not to find the certificates needed for HTTPS access to Mapbox. I don't know whether they just now switched to HTTPS or not, but I can get Poor Maps GL working by
* download
https://raw.githubusercontent.com/ba.../ca-bundle.crt
* in the directory where ca-bundle.crt is stored, run sailfish-qml harbour-poor-maps-gl
Now I wonder, whether it happened when I moved QMapboxGL plugin to libcurl or was anyone able to access Mapbox online maps AFTER updating mapbox-qml plugin to 1.1.0?
The simple example QML that I posted seems still need some additional Silica wrapper. While it nicely downloads all required maps/fonts when started from directory with the certificates (as shown using urlDebug switch), map is not displayed and it complains about the absence of __silica_applicationwindow_instance. So, don't forget to wrap it into some Silica app QMLs.
PS
I will look into the certificate problem and resolve it within few days
Quote & Reply
|
The Following 2 Users Say Thank You to rinigus For This Useful Post:
jdrescher
,
juiceme
rinigus
View Public Profile
Send a private message to rinigus
Find all posts by rinigus