Map view on iOS w/ Qt 5.2+?
-
What options do we have to show a map view with a GPS route or a few points (from raw data not directions search, usually a GPS watch) on iOS using Qt 5.2+?
- Theoretically Google Maps (GM) can only be used via embedded UIWebView with QWidget app (not QML). The closest example I could find but it's for embedding a camera image: "https://github.com/richardmg/qtdd13_qmlapp/blob/cameradone/ioscamera.mm":https://github.com/richardmg/qtdd13_qmlapp/blob/cameradone/ioscamera.mm
- Are there general examples on how to embed a UI* into a Qt app?
- Any update on native mobile support for WebView on iOS/Android or is this not happening?
- What about Apple Maps?
- Any other possibilities?
-
Hi and welcome to devnet,
The QtLocation module is what you are looking for.
-
QtLocation is great for the use case you describe. If you start to need any more advanced mapping capabilities, you can also check out the ArcGIS SDK for Qt - https://developers.arcgis.com/qt/