Fix style problems in MapViewFactory