title: Xamarin, C#, Google Maps fragment with SupportMapFragment doesn't work with Min 10 Target 11
body: <p>In post <a href="https://stackoverflow.com/questions/50558863/xamarin-c-google-maps-fragment-not-responding-to-any-commands-i-e-movecamer">Xamarin, C#, Google Maps fragment not responding to any commands. (i.e MoveCamera)</a>, @Robbit, posts a github package which works just fine with the included Target 8.1 and current-at-that-time Nugut packages.</p>
  <p>However, as I update the project with latest packages and target 11 and min 10, and rebuild, the code now gets an error:</p>
  <pre><code>SupportMapFragment mapFragment = (SupportMapFragment)SupportFragmentManager.FindFragmentById(Resource.Id.map);
  mapFragment.GetMapAsync(this);
  </code></pre>
  <p><em>Severity   Code    Description Project File    Line    Suppression State
  Error   CS0030  Cannot convert type 'Android.Support.V4.App.Fragment' to 'Android.Gms.Maps.SupportMapFragment'  App46   GoogleMapXamarinTest-master\App46\MainActivity.cs   29  Active</em></p>
  <p><a href="https://i.stack.imgur.com/30LKL.png" rel="nofollow noreferrer">Visual Studio showing the can't convert fragement pic</a></p>
  <p>I do not understand why -- can someone please explain ?</p>