Google Maps SDK route

In a recent project I’ve used Google Maps SDK for iOS to draw different routes. Through Google Directions API route points are received and encoded into GMSPath objects. Using GMSPath object a GMSPolyline object is created. GMSMapView may be assigned to a GMSPolyline object and the route is drawn on a map. To make the process as simple as possible I’ve created the LRouteController class.

Usage:

I’ve created a sample app, you may check it out at
https://github.com/lukagabric/LRouteController 

LRouteControllerSample

Related Post

Remember to share...Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

3 thoughts on “Google Maps SDK route

  1. Hello, in the github project, polyline is nil and it enters the
    else if(!polyline)
    {
    }

    block.Could you please suggest something to fix that?

Leave a Reply

Your email address will not be published. Required fields are marked *