Maps

Integrate map functionality in your application.

You can integrate maps and mapping features directly into your apps. For example, you might want to create an app that provides interactive, hands-free driving directions. Or, you might create an app that tracks the locations of the best places to eat in your city. You can use these maps classes to display a map, add geographic location information, set modes of transportation, and so on.

Libraries and permissions

To link against these classes, add the following line to your .pro file:

LIBS += -lbbplatform -lbbcascadesmaps

You must also specify the following permissions in your bar-descriptor.xml file:

read_geolocation access_location_services

Additional resources

To learn more about location services and how to use them in your apps, visit the Location documentation.

To download a code sample that demonstrates how to use location services and map views, visit the Cascades Samples repository in Github.



Members