maps

Since: BlackBerry 10.2.0

To link against this class, add the following line to your .pro file: LIBS += -lbbcascadesmaps


Overview

Classes

BlankRenderEngine

An empty render engine, which will be used when no other engine can be found.

DataProvider

A source of mappable data.

GeographicsProvisioningBridge

A bridge to translate an external geographic data source into Geographic data and add it to a DataProvider.

GeographicsProvisioningBridgeDataSource

Indicates how data sources used with GeographicsProvisioningBridge will be interpreted.

GeographicsProvisioningBridgeResult

Represents the types of results that can occur when using GeographicsProvisioningBridge.

MapCoverageChecker

A collection of functions for determining if map coverage is available in MapView.

MapData

A collection of data providers to be represented on a map.

MapImageCacheManager

Provides management actions on a cache of static map images.

MapImageGenerator

A generator which makes an asynchronous request for a map image.

MapImageGeneratorError

The set of possible error codes when getting a static map image.

MapLongPressToPinDrop

A utility action class for performing a pin drop, which is the creation of a new point of interest (pin) triggered by a user's action.

MapView

A graphics user interface (GUI) control that displays a map along with user-defined geographic elements, which can be points of interest or other location-aware elements.

RenderEngine

The common interface for all rendering engine implementations.

RenderEngineConfiguration

Configuration information that's passed to a RenderEngine upon initialization.

RenderEngineInfo

The characteristics of a render engine.

ViewProperties

The properties of the current view.

Functions Index

BB_CASCADES_MAPS_EXPORT bb::cascades::maps::DataProvider *convertKmlContentToDataProvider (const QString &kmlContent)
BB_CASCADES_MAPS_EXPORT QStringgenerateMapUrl (const bb::cascades::maps::ViewProperties &viewProperties, const QString &label)
BB_CASCADES_MAPS_EXPORT QStringgenerateMapUrl (const bb::cascades::maps::ViewProperties &viewProperties, const QMap< QString, QString > &queryStringValues)
BB_CASCADES_MAPS_EXPORT QDebugoperator<< (QDebug dbg, ViewProperties const &src)

Functions

BB_CASCADES_MAPS_EXPORT bb::cascades::maps::DataProvider * convertKmlContentToDataProvider (

Converts KML data content into a DataProvider.

Parameters
kmlContent

The KML content ready to be parsed.

Return:

The DataProvider instance that holds the geographic entities that correspond to the KML data, or NULL if an error occurred during the parsing of KML content. If no supported geographic elements were encountered (e.g. Placemarks), but the parsing itself was successful, then an empty data provider is returned.

Since:

BlackBerry 10.0.0

BB_CASCADES_MAPS_EXPORT QString generateMapUrl (

Generates a URL encapsulating the map defined by the given ViewProperties.

Parameters
viewProperties

The ViewProperties describing the area to encode in the URL.

label

The label of the location in the center of the map, or an empty string for no label.

Return:

The URL.

Since:

BlackBerry 10.0.0

BB_CASCADES_MAPS_EXPORT QString generateMapUrl (

Generates a URL encapsulating the map defined by the given ViewProperties and optional key/value pairs of location data.

Valid keys are:

  • label The label of the location.

  • desc The description of the location.

  • address The street address of the location.

  • city The city of the location.

  • region The region of the location (state, province, and so on).

  • country The country of the location.

  • postalCode The postal code/ZIP code of the location.

  • phone The phone number of the location.

  • fax The fax number of the location.

  • url URL of the location.

  • email Email address of the location.

Parameters
viewProperties

The ViewProperties describing the area to encode in the URL.

queryStringValues

Query string key/value pairs of location data.

Return:

The URL.

Since:

BlackBerry 10.2.0

BB_CASCADES_MAPS_EXPORT QDebug operator<< (

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus