【问题标题】:WP8 Nokia Here Maps: Get directions between two locations using official Here Maps appWP8 诺基亚 Here Maps:使用官方 Here Maps 应用获取两个位置之间的路线
【发布时间】:2013-07-23 20:16:14
【问题描述】:

我想将两对坐标(我的位置和目的地)发送到 Here Maps,并向我显示这两个位置之间的方向,而无需自己开发。这可能吗?如果是,如何?谢谢!

【问题讨论】:

    标签: windows-phone-8 here-api


    【解决方案1】:

    您可以使用URI Association Schemes:

    directions://v2.0/route/destination/?latlon=52.53,13.41&origin.latlon=52.53,13.41&mode=car 
    

    HERE Launchers:

    DirectionsRouteDestinationTask routeTo = new DirectionsRouteDestinationTask();
    routeTo.Destination = new GeoCoordinate(60.35, 24.60);
    routeTo.Mode = RouteMode.Car;
    routeTo.Show();
    

    有关这些 API here 和演示应用程序 here 的更多信息。

    【讨论】:

    • 很好的答案。真的很有帮助。谢谢!
    • 实际上,这在诺基亚 Here Maps 的较新版本上不再适用...有什么建议吗?
    猜你喜欢
    • 1970-01-01
    • 2012-11-10
    • 1970-01-01
    • 1970-01-01
    • 2013-12-29
    • 2022-08-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多