public AirMapViewBuilder builder ( AirMapViewTypes mapType ) { switch ( mapType ) { case NATIVE : if ( isNativeMapSupported ) { return new NativeAirMapViewBuilder ( ) ; } break ; case WEB : return getWebMapViewBuilder ( ) ; } throw new UnsupportedOperationException ( "Requested map type is not supported" ) ; }
Returns the AirMapView implementation as requested by the mapType argument . Use this method if you need to request a specific AirMapView implementation that is not necessarily the preferred type . For example you can use it to explicit request a web - based map implementation .