Blackberry GPS and BlackBerry Maps Manual - Page 12
Browse online or download pdf Manual for Software Blackberry GPS and BlackBerry Maps. Blackberry GPS and BlackBerry Maps 35 pages. Version: 4.7.0
Development Guide
Attribute
Type
XML element: <getRoute>
The <getRoute> and </getRoute> elements contain route information. To display route information in a map, you must
place two <location> elements within the opening and closing <getRoute> elements. The first <location> element
represents the starting point of a route while the second <location> element represents the ending point of a route. You
can only use the x and y attributes in a <location> element that is nested within a <getRoute> element.
XML element: <location>
The <location> element contains information for a specific location and has the following required and optional attributes
Attribute
Type
y
integer
integer
x
zoom
integer
10
Description
DOCS: clears location or route
information from all location
documents with a id attribute set to a
value
LOCATIONS: clears location
information from the map
ALL: clears location and route
information from the map
Description
latitude in decimal
degrees x 100,000
longitude in decimal
degrees x 100,000
zoom level from 0 to
MAX_ZOOM
Displaying location information on a BlackBerry device
Required
Required
yes
yes
yes
BlackBerry Java
Development
Environment version
BlackBerry Java
Development
Environment version
4.2.0 or later
4.2.0 or later
4.2.0 or later