Reader small image

You're reading from  Application Development with Qt Creator - Third Edition

Product typeBook
Published inJan 2020
Reading LevelBeginner
Publisher
ISBN-139781789951752
Edition3rd Edition
Languages
Right arrow
Author (1)
Lee Zhi Eng
Lee Zhi Eng
author image
Lee Zhi Eng

Lee Zhi Eng is a self-taught programmer who worked as an artist and programmer at several game studios before becoming a part-time lecturer for 2 years at a university, teaching game development subjects related to Unity and Unreal Engine. He has not only taken part in various projects related to games, interactive apps, and virtual reality but has also participated in multiple projects that are more oriented toward software and system development. When he is not writing code, he enjoys traveling, photography, and exploring new technologies.
Read more about Lee Zhi Eng

Right arrow

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 resources needed by the web view. However, you can't interact with the Map View using C++ at the moment, only QML. I...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Application Development with Qt Creator - Third Edition
Published in: Jan 2020Publisher: ISBN-13: 9781789951752

Author (1)

author image
Lee Zhi Eng

Lee Zhi Eng is a self-taught programmer who worked as an artist and programmer at several game studios before becoming a part-time lecturer for 2 years at a university, teaching game development subjects related to Unity and Unreal Engine. He has not only taken part in various projects related to games, interactive apps, and virtual reality but has also participated in multiple projects that are more oriented toward software and system development. When he is not writing code, he enjoys traveling, photography, and exploring new technologies.
Read more about Lee Zhi Eng