Help Center

Local Navigation

XML element: <location>

The <location> element contains information for a specific location and has the following required and optional attributes:

Attribute

Type

Description

Required

BlackBerry® Java® Development Environment version

y

integer

latitude in decimal degrees x 100,000

yes

4.2.0 or later

x

integer

longitude in decimal degrees x 100,000

yes

4.2.0 or later

zoom

integer

zoom level from 0 to MAX_ZOOM

yes

4.2.0 or later

label

String

label that is displayed beside a location on a map

yes

4.2.0 or later

description

String

description information for a location

yes

4.2.0 or later

address

String

address

no

4.2.1 or later

city

String

city

no

4.2.1 or later

region

String

province or state

no

4.2.1 or later

country

String

country

no

4.2.1 or later

postalCode

String

postal code or zip code

no

4.2.1 or later

phone

String

phone number

no

4.2.1 or later

fax

String

fax number

no

4.2.1 or later

url

String

URL

no

4.2.1 or later

email

String

email address

no

4.2.1 or later

categories

String

category

no

4.2.1 or later

rating

String

rating information, between 0 and 5

no

4.2.1 or later

Previous topic: XML element: <getRoute>

Was this information helpful? Send us your comments.