Using location data and web maps in QML
In this wiki article I describe how you can use web maps and location data in your Qt Quick application. We also see how to integrate CPP and QML code and QML Code and JS code running in webkit. We also see how easy it is to use web APIs. Image below shows the application UI.
You can find the application's latest source code from Nokia Projects (https://projects.forum.nokia.com/qmlwebmap)
Application code consists of three major parts:
- CPP module (Provides Qt application environment and gets location updates from GPS sensors, sone parts of the UI are also here.)
- QML module (Implements major part of the UI by using WebVew element)
- HTML module (HTML files used with maps)