on-internet
← Community

Draw route directions using Google Maps iOS

Stack Overflow ·

I am getting a GMSPolyline to custom location but I am not getting a route direction (GMSPolyline) from user location to some custom location. What I have done is placed a GMSMapView and kept core location. I am updating the route in core location delegate method (locationManager: didUpdateLocations:). I want to use Google Maps for iOS SDK since Apple Maps don't have directions in the country I need. My code is below: - (void)viewDidLoad { [super viewDidLoad]; waypointStrings_ = [[NSMutableArray alloc]init]; GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:self.latitude longit

Comments

Sign in or sign up to comment and upvote.

No comments yet.