【问题标题】:Add multiple stops to Google navigation using Universal URL schemes使用通用 URL 方案向 Google 导航添加多个站点
【发布时间】:2017-04-12 08:08:58
【问题描述】:

有没有办法在 iOS 上使用 Google Maps URL Scheme 多次停靠启动 Google 地图应用?

【问题讨论】:

    标签: ios swift google-maps google-maps-sdk-ios ios-universal-links


    【解决方案1】:

    我们需要为每个位置附加to: 参数。 url方案如下:

    • 从您当前的位置

      comgooglemaps://?daddr=Lat,Lon+to:Lat,Lon+to:Lat,Lon+to:...

    • 如果你有源位置

      comgooglemaps://?saddr=Lat,Lon&daddr=Lat,Lon+to:Lat,Lon+to:Lat,Lon+to:...

    【讨论】:

      猜你喜欢
      • 2017-05-14
      • 1970-01-01
      • 1970-01-01
      • 2011-08-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多