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:
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.
- AltitudeMode -
An enumeration that captures how the altitude attribute should be interpreted.
- BoundingBox -
A 2-dimensional, axis-aligned bounding box (rectangle) used to define the limits of a Geographic element, or any other bounding box.
- GeoList -
A container of Geographic elements.
- GeoLocation -
A location in geographic space that represents a latitude and longitude coordinate, and is visually represented on the map using its Marker attribute.
- RenderEngineConfiguration -
Configuration information that's passed to a RenderEngine upon initialization.