Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SailfishOS] Provide MapBox map for SailfishOS #181

Open
micuintus opened this issue Dec 26, 2017 · 1 comment
Open

[SailfishOS] Provide MapBox map for SailfishOS #181

micuintus opened this issue Dec 26, 2017 · 1 comment

Comments

@micuintus
Copy link
Owner

See explanation: https://lists.sailfishos.org/pipermail/devel/2017-November/008121.html

API: https://github.com/rinigus/mapbox-gl-qml/blob/master/api.md#include-statements
https://www.mapbox.com/mapbox-gl-js/style-spec/#sources

Example:
https://github.com/rinigus/poor-maps/blob/gl-release/qml/Map.qml

Might also be a cure for our current iOS mapbox dilemma

Problem: This API is clunky (can we use font based icons or does it only support PNGs?)

When will Jolla the SailfishSDK to allow QtLocation?!

@micuintus micuintus changed the title Provide MapBox map for SailfishOS [Sailfish] Provide MapBox map for SailfishOS Dec 26, 2017
@jmastr
Copy link
Collaborator

jmastr commented Dec 28, 2017

I managed to compile and link it for iOS (not macOS, linking did not work), but one needs to INCLUDE directories from the mapbox-gl-native git repository and also link against the library?!

-INCLUDEPATH += src/plugin
-    
-LIBS += -lqmapboxgl -lz -L/opt/gcc6/lib -static-libstdc++
+INCLUDEPATH += \
+    src/plugin \
+    /Users/julian/dev/qt5/qtlocation/src/3rdparty/mapbox-gl-native/include \
+    /Users/julian/dev/qt5/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt/include
+
+LIBS += -L/Users/julian/V-PlaySDK/V-Play/ios/lib -lqmapboxgl -lz -L/usr/lib -lcurl

(-lqmapboxgl is already required).

@micuintus micuintus changed the title [Sailfish] Provide MapBox map for SailfishOS [SailfishOS] Provide MapBox map for SailfishOS May 7, 2018
micuintus added a commit that referenced this issue Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants