geo

Since: BlackBerry 10.0.0

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


Overview

Classes

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.

Coordinate

A Coordinate in geographic space that is represented by latitude, longitude and altitude components.

EdgeSize

An enumeration of the available edge thickness values of a Style.

EdgeStyle

An enumeration of the available edge patterns of a Style.

GeoDeviceLocation

A point in geographic space that represents the device's current latitude and longitude coordinates.

Geographic

An entity that can be placed on a map.

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.

GeoPolygon

A polygon is an arbitrary object in geographic space that is defined by a sequence of coordinates.

GeoPolyline

A polyline in geographic space that is represented by a set of ordered Points.

GeoShape

A base class for all geographic shapes.

Marker

A visual representation of a location on a map.

Point

A point in geographic space that is represented by latitude and longitude coordinates in degrees and an altitude coordinate in meters.

Polyline

A Polyline in geographic space that is represented by an ordered set of latitude and longitude coordinates (vertices).

Style

Visual information that can be applied to a Geographic.

StyleSheet

A collection of Styles to be used when rendering a set of map content.

Functions Index

BB_PLATFORM_GEO_EXPORT bb::platform::geo::GeoListconvertToGeoList (const QList< QtMobilitySubset::QGeoPlace > src)
BB_PLATFORM_GEO_EXPORT bb::platform::geo::GeoListconvertToGeoList (const QtMobilitySubset::QGeoSearchReply *src)
BB_PLATFORM_GEO_EXPORT bb::platform::geo::GeoLocation *convertToGeoLocation (const QtMobilitySubset::QGeoPlace &src)
BB_PLATFORM_GEO_EXPORT bb::platform::geo::PointconvertToPoint (const QtMobilitySubset::QGeoCoordinate &src)
BB_PLATFORM_GEO_EXPORT bb::platform::geo::PointconvertToPoint (const QtMobilitySubset::QGeoPositionInfo &src)
BB_PLATFORM_GEO_EXPORT QtMobilitySubset::QGeoCoordinateconvertToQGeoCoordinate (const bb::platform::geo::Point &src)
BB_PLATFORM_GEO_EXPORT QStringconvertToString (const QtMobilitySubset::QGeoAddress &src)
BB_PLATFORM_GEO_EXPORT const Pointoperator+ (const Point &one, const Point &two)
BB_PLATFORM_GEO_EXPORT const Pointoperator- (const Point &one, const Point &two)
BB_PLATFORM_GEO_EXPORT QDebugoperator<< (QDebug dbg, const GeoList &pt)
BB_PLATFORM_GEO_EXPORT QDebugoperator<< (QDebug dbg, const Coordinate &pt)
BB_PLATFORM_GEO_EXPORT QDebugoperator<< (QDebug dbg, const Marker &pt)
BB_PLATFORM_GEO_EXPORT QDebugoperator<< (QDebug dbg, const Point &pt)
BB_PLATFORM_GEO_EXPORT QDebugoperator<< (QDebug dbg, const BoundingBox &pt)
BB_PLATFORM_GEO_EXPORT QDebugoperator<< (QDebug dbg, const Style &style)
BB_PLATFORM_GEO_EXPORT QDebugoperator<< (QDebug dbg, const GeoLocation *pt)
BB_PLATFORM_GEO_EXPORT QDebugoperator<< (QDebug dbg, const GeoDeviceLocation *pt)

Functions

BB_PLATFORM_GEO_EXPORT bb::platform::geo::GeoList convertToGeoList (

Converts a collection of Qt places in the form of QGeoPlace into a collection of locations (GeoList).

Parameters
src

The collection of places to be converted.

Return:

A GeoList representation of the parameter.

Since:

BlackBerry 10.0.0

BB_PLATFORM_GEO_EXPORT bb::platform::geo::GeoList convertToGeoList (

Converts a Qt search result in the form of a QGeoSearchReply into a collection of locations (GeoList).

Object Ownership: It is the client's responsibility to free the memory of the GeoLocation objects contained in the returned list.

Parameters
src

The search result to be converted.

Return:

A GeoList representation of the results.

Since:

BlackBerry 10.0.0

BB_PLATFORM_GEO_EXPORT bb::platform::geo::GeoLocation * convertToGeoLocation (

Converts a Qt place in the form of a QGeoPlace into a location (GeoLocation).

Object Ownership: It is the client's responsibility to free the memory of the returned parameter.

Parameters
src

The place to be converted.

Return:

A GeoLocation representation of the parameter.

Since:

BlackBerry 10.0.0

BB_PLATFORM_GEO_EXPORT bb::platform::geo::Point convertToPoint (

Converts a geographical position in the form of a QGeoCoordinate into a Point.

Parameters
src

The coordinate to be converted.

Return:

A Point representation (latitude and longitude coordinates) of the parameter.

Since:

BlackBerry 10.0.0

BB_PLATFORM_GEO_EXPORT bb::platform::geo::Point convertToPoint (

Converts a Qt position in the form of a QGeoPositionInfo into a Point.

Parameters
src

The coordinate to be converted.

Return:

A Point representation (latitude and longitude coordinates) of the parameter.

Since:

BlackBerry 10.0.0

BB_PLATFORM_GEO_EXPORT QtMobilitySubset::QGeoCoordinate convertToQGeoCoordinate (

Converts a Point into a Qt coordinate (QGeoCoordinate).

Parameters
src

The point to be converted.

Return:

A QGeoCoordinate representation of the parameter.

Since:

BlackBerry 10.0.0

BB_PLATFORM_GEO_EXPORT QString convertToString (

Converts an address in the form of a QGeoAddress into a string.

Parameters
src

The address to be converted.

Return:

A single-string representation of the parameter.

Since:

BlackBerry 10.0.0

BB_PLATFORM_GEO_EXPORT const Point operator+ (

Adds two points together.

This creates a new point whose values are based on the addition of the two parameters.

Parameters
one

The first point to be combined.

two

The second point to be combined.

Return:

A new Point object whose values are the addition of the two parameters.

BB_PLATFORM_GEO_EXPORT const Point operator- (

Subtracts two points.

This creates a new point whose values are based on the subtraction of the two parameters.

Parameters
one

The first point to be combined.

two

The second point to be combined.

Return:

A new Point object whose values are the subtraction of the two parameters.

BB_PLATFORM_GEO_EXPORT QDebug operator<< (

BB_PLATFORM_GEO_EXPORT QDebug operator<< (

BB_PLATFORM_GEO_EXPORT QDebug operator<< (

BB_PLATFORM_GEO_EXPORT QDebug operator<< (

BB_PLATFORM_GEO_EXPORT QDebug operator<< (

BB_PLATFORM_GEO_EXPORT QDebug operator<< (

BB_PLATFORM_GEO_EXPORT QDebug operator<< (

BB_PLATFORM_GEO_EXPORT QDebug operator<< (

Last modified: 2014-09-30



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

comments powered by Disqus