Geocoding and reverse geocoding

You can use the net.rim.device.api.lbs.maps.server package to retrieve geographic coordinates for a location (geocoding) or a human-readable name for a location (reverse geocoding).

Geocoding and reverse geocoding requests can be either synchronous or asynchronous. To create an asynchronous call, your application must implement the ServerExchangeCallback interface.

When a successful request occurs, a ReverseGeocodeExchange object or a GeocodeExchange object is returned to your application. These objects contain a Vector of MapLocation objects that contain details about the locations that you specified in your requests.


Was this information helpful? Send us your comments.