XML element: <lbs>

The opening and closing <lbs> elements wrap the location document elements.

Valid parents

None

Valid children

<location>, <getRoute>

Attributes

Attribute

Type

Description

Supported in

id

String

This value specifies the ID of a location document.

BlackBerry® Java® Development Environment 4.5.0 or later

clear

String

This value specifies the clearing action to perform on the information in a map. The value is a list of location document IDs separated by commas, or one of the following values:

  • NONE: does not clear any information
  • DOCS: clears location and route information from all location documents that have a specific id attribute
  • LOCATIONS: clears all the location information from the map
  • ROUTES: clears all route the information from the map
  • ALL: clears all the location and route information from the map

BlackBerry JDE 4.5.0 or later

Code sample

<lbs clear='WatLocation'></lbs>
<lbs clear='WatLocation,OttLocation'></lbs>
<lbs clear='WatRoute'></lbs>
<lbs clear='WatRoute,OttRoute'></lbs>
<lbs clear='NONE'></lbs>
<lbs clear='DOCS'></lbs>
<lbs clear='LOCATIONS'></lbs>
<lbs clear='ROUTES'></lbs>
<lbs clear='ALL'></lbs>

<lbs clear='ALL' id='Wat'>
    <location x='-8052237' y='4346518' label='Waterloo, ON' description='Waterloo' zoom='10' />
</lbs>

Was this information helpful? Send us your comments.