if (orientation == Map.ORIENTATION_ISOMETRIC) {
mapView = new IsoMapView(parent, p);
} else if (orientation == Map.ORIENTATION_ORTHOGONAL) {
mapView = new OrthoMapView(parent, p);
mapView.addSpecialLayerPainter(new ObjectSelectionLayerPainter());
} else if (orientation == Map.ORIENTATION_HEXAGONAL) {
mapView = new HexMapView(parent, p);
} else if (orientation == Map.ORIENTATION_SHIFTED) {
mapView = new ShiftedMapView(parent, p);
}