* @see net.rim.device.api.ui.FieldChangeListener#fieldChanged(Field, int)
*/
public void fieldChanged(final Field field, final int context) {
if (field == _map.getMapField()) {
// Get the map's current dimensions
final MapDimensions dim = _map.getMapField().getDimensions();
switch (context) {
case MapAction.ACTION_CENTER_CHANGE:
_latField.setText("Latitude: " + dim.getCenter().getLat());
_lonField.setText("Longitude: " + dim.getCenter().getLon());
break;
case MapAction.ACTION_ZOOM_CHANGE:
_zoomField.setText("Zoom Level: " + dim.getZoom());
break;
}
}
}