Awa*_*ikh 1 c# ios xamarin.forms google-maps-urls
我需要使用 Xamarin 表单应用程序中的 url 在 IOS 上的地图上显示多个航点来启动谷歌地图。我可以使用此 url 以 2 个点(源和目标)启动它:
comgooglemaps-x-callback://?zoom=14&saddr= " + App.UserCurrentLatitude + "," + App.UserCurrentLongitude + "&daddr=" + item.xpos + "," + item.ypos + "&directionsmode=driving
Run Code Online (Sandbox Code Playgroud)
如何在地图上显示多个点?
我尝试添加这个,但没有帮助。
waypoints=24.743449,46.658885/24.744560,46.660666
Run Code Online (Sandbox Code Playgroud)
任何人??
经过大量的谷歌搜索,我让它像这样工作:
comgooglemaps - x - callback://?zoom=14&saddr= " + App.UserCurrentLatitude + "," + App.UserCurrentLongitude + "&daddr=" + item.xpos + ",+" + item.ypos + "+to:24.123456,+24.234567&directionsmode=driving
Run Code Online (Sandbox Code Playgroud)
如果其他人正在寻找相同的东西。
| 归档时间: |
|
| 查看次数: |
688 次 |
| 最近记录: |