How to show custom Google map in iPhone app using MapKit?

Is there a way to show my custom Google map (My Maps feature on Google Maps) in the iPhone app (MapKit)?

I know that I can do some things with maps using MKAnnotation (http://stackoverflow.com/questions/4651847/google-maps-shading-ios), but I would like to create and edit a custom map online (via Google Maps ), and then display it on Google Maps (my personal card associated with the specified Google account) on the iPhone / iPad.

+4
source share
2 answers

In any case, I do not know that you can access your "My Maps" from MapKit. One option is to use Route Me , which is open source for iOS. Its pretty well developed right now and straight forward. I'm not quite sure how you will use your maps, but changing a few URLs here and there in the code should do the trick.

+1
source

At this point, if you show Google maps, you should give up MapKit and use the Google Maps iOS SDK ( https://developers.google.com/maps/documentation/ios/start )

I’m not sure that there is a built-in binding for accessing My Maps.

I recommend that you take a look at MapBox, which provides full customization of map tiles, as well as markers and overlays that you can use in iOS with almost no effort.

+1
source

Source: https://habr.com/ru/post/1393175/


All Articles