Search code examples
iphonegoogle-mapsmapsdirections

Is it possible to use Google Direction API with Apple Maps?


I am writing an application using Apple Maps API. I would like to display user and friend route, by query direction from Google service here (https://developers.google.com/maps/documentation/directions/?hl=vi). After I get data from service, I use MKPolyline (class in iOS SDK) to display route on Apple Maps. Is that possible and not conflict with Apple and Google policy?

Looking forward your response.

Thanks


Solution

  • IIRC, Google's Maps API terms expressly forbid using their data services with somebody else's maps.


    Update: In iOS 7 and later, MapKit has APIs for getting directions (and rendering the resulting routes). See MKDirections and related docs.