Map Viewer

User location and map display are two features that have become more common these days and have been used in various types of applications. They are commonly used for both backend analytics and frontend display purposes.

The map viewer can be used for navigation, nearby point-of-interest lookup, location-based services (such as calling for a taxi), and so on. You can use Qt to achieve most of it but you will require an advanced database system, if you're going for something more complex.

In the previous chapter, we learned how to embed a web browser into your application. In this chapter, we will try something more fun, which covers the following topics:

  • Creating a map display
  • Marker and shape display
  • Obtaining a user's location ...

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.