How to use Google Maps on iOS using Xamarin.Forms.Maps?

61 Views Asked by At

I'm trying to use Google Maps on iOS in my Xamarin.Forms app using the Xamarin.Forms.Maps nuget package instead of iOS Maps.

I've tried using the Xamarin.Forms.GoogleMaps and Xamarin.Forms.GoogleMaps.V2 but to no avail, it kept breaking things I don't know if it doesn't work with the current versions of Xamarin.Forms 5.0 or something but I even tried with brand new projects and it kept breaking the compilation with the gcc compiler after doing the setup following various tutorials such as https://nerd-corner.com/how-to-integrate-google-maps-in-an-app-with-xamarin/ or the Xamarin.Forms Google Maps course on Pluralsight but nothing worked.

So I started using Xamarin.Forms.Maps and everything works but I'm trying to use Google Maps on iOS instead of Maps.

I've looked all over the internet for it but it seems there's only hacks available ( such as the app will use Google Maps if it is installed on the device otherwise it will use Maps ) and I can't risk using hacks.

Thank you for your help !

1

There are 1 best solutions below

0
On

Anyone else can help ? Is there any hacks we can do to get Google Maps on iOS without using Xamarin.Forms.GoogleMaps as this package seems to not work with the new versions on Xamarin ?