Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps SDK for iOS and routes

I've been reading the documentation of the Google Maps SDK for iOS, and I didn't see anything about drawing routes on the map.

I know that Polylines are available, but I don't think that's the best aproach.

Is it possible?

like image 457
axierjhtjz Avatar asked Feb 07 '13 17:02

axierjhtjz


People also ask

Can you draw a route on Google Maps iOS?

You can trace a path or highlight an area on your map by drawing lines and shapes.

Is Google Maps iOS SDK free?

The Maps SDK for iOS uses a pay-as-you-go pricing model.

Is Google Maps SDK free?

Note that the Maps Embed API, Maps SDK for Android, and Maps SDK for iOS currently have no usage limits and are at no charge (usage of the API or SDKs is not applied against your $200 monthly credit).


1 Answers

The iOS SDK does not yet support directions. What you can do in the meantime is use the Directions API Web services and render the route yourself with a GMSPolyline.

You should also file a feature request to have this added to the SDK.

like image 147
skarE Avatar answered Sep 23 '22 00:09

skarE