Summary

In this chapter, we have learned how to create our own map view similar to Google Maps. We have learned how to create a map display, placing markers and shapes on the map, and finally finding a user's location. Do note that you can also use the web view and call Google's JavaScript mapping API to create a similar map display. However, using QML is much simpler, lightweight (we don't have to load the entire web engine module just to use the map), works very well on mobile and touch screens, and it can also be easily ported to other map services. Hopefully, you can make use of this knowledge and create something really awesome and useful.

In the next chapter, we will look into how to display information using graphical items. Let's ...

Get Hands-On GUI Programming with C++ and Qt5 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.