// Allow map to get focus but not be interactive unless clicked
final MapAction mapAction = _richMapField.getAction();
mapAction.enableOperationMode(MapConstants.MODE_SHARED_FOCUS);
// Set the size of the map field
final MapField mapField = _richMapField.getMapField();
mapField.setDimensions(new MapDimensions(Display.getWidth(),
MAP_HEIGHT));
add(_richMapField);
// Establish a Geofence around a circular region defined by a