Placing a position marker on a Map View

Since version 5.0, Qt provides us with a Map View component that displays a map or image of the Earth, similar to Google Maps. Due to licensing issues, Qt Map View doesn't support Google Maps. The default tiled map service provider for Qt Map View is the community mapping project OpenStreetMap (OSM) since it is free of charge. Other than OSM, you can use other commercial service providers such as Mapbox, ArcGIS, and HERE.

Unlike other third-party mapping solutions, Qt Map View renders the tiled map using a native rendering engine (powered by Qt Quick) instead of embedding a web view onto the app. Native rendering speeds up performance and keeps your app size small since it doesn't include all the unnecessary ...

Get Application Development with Qt Creator now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.