let urlStr:String="comgooglemaps-x-callback://"+"?f=d&saddr=35.681298,139.766268&daddr=35.658598,139.745454"+"&x-success=source://?resume=sourceap;sour="Airportpp
UIAApplication.sharedApplication().openURL (NSURL(string:urlStr)!)
As mentioned above, we can guide the route from Tokyo Station to Tokyo Tower using the URL scheme, but would it be possible to guide the route through another point (Roppongi Hills) on the way?
If you can provide route guidance (car navigation) with a via point, I don't mind Google Maps, but Apple Maps and Yahoo Maps...
Thank you for your cooperation.
swift ios xcode google-maps
It's not as detailed as a car navigation system, but I think I can do it roughly with WayPoints in the Google Maps Directions API.
https://developers.google.com/maps/documentation/directions/intro#Waypoints
© 2024 OneMinuteCode. All rights reserved.