Thread: [SailfishOS] Mapbox GL Native QML plugin
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#17
Originally Posted by m4r0v3r View Post
Would following https://github.com/rinigus/mapbox-demo-sfos as an example be okay for a project? trying to make a uber port atm
Yes, you could use that demo for something very simple, just map display. I would suggest to install plugin from OBS and use the map widget in its QML form, without plugging in it to the project via C++. This would allow you to benefit from bug fixes in future (if there are any bugs).

Simplest demo at https://github.com/rinigus/mapbox-de...y/MainPage.qml

Some other demos to consider:

Shows how to add your own data to the map (roads, points), add interactive elements:

https://github.com/rinigus/mapbox-gl...p/qml/main.qml


Full Poor Maps port to Mapbox GL is at https://github.com/rinigus/poor-maps/tree/gl . This is an application that I am using and may have some additional tips on how to make things in practice.

Please don't hesitate to ask, I'll try to reply within a day.
 

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