MapCoverageChecker

Since: BlackBerry 10.3.0

#include <bb/cascades/maps/MapCoverageChecker>

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

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


Overview

Static Public Functions Index

BB_CASCADES_MAPS_EXPORT boolisCoverageAvailable (const bb::cascades::maps::ViewProperties &viewProperties)
BB_CASCADES_MAPS_EXPORT boolisCoverageAvailable (const QString &countryCode)
BB_CASCADES_MAPS_EXPORT QStringListrenderersWithCoverage (const bb::cascades::maps::ViewProperties &viewProperties)
BB_CASCADES_MAPS_EXPORT QStringListrenderersWithCoverage (const QString &countryCode)

Static Public Functions

BB_CASCADES_MAPS_EXPORT bool isCoverageAvailable (

Checks if map coverage is available from any RenderEngine for the given ViewProperties.

Parameters
viewProperties

The ViewProperties describing the area to check.

Return:

true if map coverage is available for the given area, false otherwise.

Since:

BlackBerry 10.3.0

BB_CASCADES_MAPS_EXPORT bool isCoverageAvailable (

Checks if map coverage is available from any RenderEngine for the given country.

Parameters
countryCode

An ISO 3166-1 alpha-3 country code.

Return:

true if map coverage is available for the given country, false if no coverage or partial coverage.

Since:

BlackBerry 10.3.0

BB_CASCADES_MAPS_EXPORT QStringList renderersWithCoverage (

Retrieves a list of RenderEngine names that have map coverage for the given ViewProperties.

Parameters
viewProperties

The ViewProperties describing the area to check.

Return:

A list of RenderEngine names, or an empty list if none were found.

Since:

BlackBerry 10.3.0

BB_CASCADES_MAPS_EXPORT QStringList renderersWithCoverage (

Retrieves a list of RenderEngine names that have map coverage for the given country.

Parameters
countrycode

An ISO 3166-1 alpha-3 country code.

Return:

A list of RenderEngine names, or an empty list if none were found.

Since:

BlackBerry 10.3.0

Last modified: 2014-06-24



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

comments powered by Disqus