问题
Is there a way to launch Google Maps app on iOS with multiple stops using Google Maps URL Scheme?
回答1:
Well we need to append to:
parameter for each location. The url scheme will be as follows:
from your current location
comgooglemaps://?daddr=Lat,Lon+to:Lat,Lon+to:Lat,Lon+to:...
if you have source location
comgooglemaps://?saddr=Lat,Lon&daddr=Lat,Lon+to:Lat,Lon+to:Lat,Lon+to:...
来源:https://stackoverflow.com/questions/43363826/add-multiple-stops-to-google-navigation-using-universal-url-schemes