如何在地图中显示卡车路线? [英] How to display a Truck Route in a Map?
问题描述
您好。
我正在尝试使用Imagery API显示路线但没有成功。我试图添加像carsHeight这样的参数,但它不会改变任何东西。
I'm trying to display a route using Imagery API without success. I tried to add parameters like vehicleHeight but it doesn't change anything.
I还验证了我能找到的关于Trucks API的所有文档,它没有指定如何在地图上显示其路线。
https://msdn.microsoft.com/en-us/library/mt814923.aspx
谢谢你,
Pedro
推荐答案
Hi Pedro,
Hi Pedro,
在交互式SDK中有一个卡车路由的直接示例: https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/directionscreatetruckroute
There is a direct example for truck routing in the Interactive SDK at https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/directionscreatetruckroute
你会发现你是否为一辆汽车绘制了相同的路线路线将通过隧道。
You will find if you plot this same route for a car that the route will go through a tunnel.
您也可以在https://www.microsoft.com/en-us/maps/truck-routing
真诚,
IoTGirl
这篇关于如何在地图中显示卡车路线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!