SupportMapFragment Map is null
问题 I am using following code to display a map in Xamarin.Android: private SupportMapFragment mapFragment; private GoogleMap map; protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); SetContentView (Resource.Layout.Main); mapFragment = SupportFragmentManager.FindFragmentByTag ("map") as SupportMapFragment; if (mapFragment == null) { GoogleMapOptions options = new GoogleMapOptions () .InvokeCompassEnabled (true) .InvokeMapType (GoogleMap.MapTypeNone)