What component have you using for Google Maps? Have you tried Google Play Services? How to implement google play services using android sdk 17 on xamarin
EDIT: Here is my layout (Resource.Layout.GoogleMap):
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mapLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<FrameLayout
android:id="@+id/mapView"
android:layout_width="fill_parent"
android:layout_height="match_parent" />
//other controls
</RelativeLayout>
And my code:
public class GoogleMapActivity : Android.Support.V4.App.FragmentActivity
{
private Android.Gms.Maps.GoogleMap _mapView;
private Android.Gms.Maps.SupportMapFragment _fragment;
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.GoogleMap);
var mapOptions = new Android.Gms.Maps.GoogleMapOptions()
.InvokeMapType(Android.Gms.Maps.GoogleMap.MapTypeNormal)
.InvokeZoomControlsEnabled(false)
.InvokeCompassEnabled(true);
var fragTx = SupportFragmentManager.BeginTransaction();
var mapFragment = Android.Gms.Maps.SupportMapFragment.NewInstance(mapOptions);
fragTx.Add(Resource.Id.mapView, mapFragment, "mapView");
fragTx.Commit();
}
protected override void OnResume()
{
base.OnResume();
_fragment = ((Android.Gms.Maps.SupportMapFragment)SupportFragmentManager.FindFragmentById(Resource.Id.mapView));
_mapView = _fragment.Map;
}
}