Xamarin.Forms.iOS Google Maps Error

I have this error with setting up the CameraPosition for the Google Maps for iOS.

ERROR: System.Exception: Could not create an native instance of the type 'Google.Maps.CameraPosition': the native class hasn't been loaded.
It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false.
at Foundation.NSObject.InitializeObject (Boolean alloced) [0x0003a] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/Foundation/NSObject2.cs:170
at Foundation.NSObject..ctor (Foundation.NSObjectFlag x) [0x0000d] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/Foundation/NSObject2.cs:114

Here's how I setup my Google Map.

var camera = new CameraPosition(new CLLocationCoordinate2D(36.069082, -94.155976), 15, 30, 0); mapView = MapView.FromCamera (CGRect.Empty, camera); mapView.MyLocationEnabled = true; View = mapView;

Anyone have the same problem as mine?


Sign In or Register to comment.