Blackberry GPS and BlackBerry Maps Handbuch - Seite 11

Blättern Sie online oder laden Sie pdf Handbuch für Software Blackberry GPS and BlackBerry Maps herunter. Blackberry GPS and BlackBerry Maps 35 Seiten. Version: 4.7.0

Development Guide

BlackBerry Maps location information

You can create a BlackBerry® device application that interacts with BlackBerry® Maps. The BlackBerry Maps is a map and location
client application that can display a map for a location, the location of the BlackBerry device, a route from a starting location to
a specific ending location, and points of interest on a map. The BlackBerry Maps uses latitudinal and longitudinal integer values
that are 100,000 times the double values specified by JSR 179, which uses WGS 84 specifications for the longitudinal and
latitudinal values.
A BlackBerry device application can interact with the BlackBerry Maps in the following ways:
start the BlackBerry Maps from a BlackBerry device application
add a menu item to the BlackBerry Maps that opens a BlackBerry device application
The BlackBerry Maps is included on BlackBerry devices that run BlackBerry® Device Software version 4.2 or later.

Displaying location information on a BlackBerry device

Displaying location information in BlackBerry Maps

The BlackBerry® Maps uses a location document to display location information on a map, such as locations and routes. A location
document is a String that contains a set of XML elements with attributes that specify information about the location or route.
You can include information for ten locations in one location document.
XML element: <lbs>
The <lbs> and </lbs> elements encapsulate the information in a location document. The opening and closing <lbs>
elements contain all other location document elements.
Attribute
Type
id
String
clear
String
Description
the id of a location document
the action to perform on the
information in a map
NONE: clears no information
BlackBerry Maps location information
BlackBerry Java
Required
Development
Environment version
no
4.5.0 or later
no
4.5.0 or later
2
9