Xamarin forms google maps in Android and iOS

Dimitris Christoforidis 296 Reputation points
2021-03-08T18:01:57.223+00:00

Hello developers, i am using map control. But in iOS i get the maps from apple and not from google. Is there any library? I have already used Xamarin.Forms.GoogleMaps.V2. But i can's install Xamarin.GooglePlayServices.Maps. Any suggestions?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
{count} votes

Accepted answer
  1. JarvanZhang 23,936 Reputation points
    2021-03-09T07:25:40.023+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    what Xamarin.GooglePlayServices.Maps is stand for? Is it necessery? I need to show only a map and create a pin and a polygon

    If you only want to display the map on each platform, it's not necessary to install the google map package on iOS. Try using the Xamarin.Forms Map control which will use the native map control for each platform.

    Check the doc: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/map/map

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful