public EnhancedMapFieldDemoScreen() {
super(Screen.DEFAULT_CLOSE | Screen.DEFAULT_MENU);
_bigMap = MapFactory.getInstance().generateRichMapField();
final MapDataModel data = _bigMap.getModel();
// Create RIM head office location and add it with appropriate tags
final MapLocation rimOffice =
new MapLocation(ORIGIN_LATITUDE, ORIGIN_LONGITUDE,
"Research In Motion", "Head office");
// Set styles for MapLocation using class based style
final StyleSet styles = _bigMap.getMapField().getDrawingStyles();
final Style classBasedStyle = new Style();
classBasedStyle.setLabelFillColor(Color.BLACK);
classBasedStyle.setLabelFontColor(Color.WHITE);
classBasedStyle.setLabelFontStyle(Font.BOLD);
styles.addClassBasedStyle(MapLocation.class, classBasedStyle);
final int rimOfficeID = data.add(rimOffice, "rim");
data.tag(rimOfficeID, "head"); // Locations can have more than one
// tag
data.setVisible("head");
final int displayWidth = Display.getWidth();
final int displayHeight = Display.getHeight();
// Initialize PIP map