我想显示从一个点到另一个点的高程图,所以我读了线程Graph of elevation from coordinations
但是当我请求“ calculateRoute”时,它不会直接执行点对点,而是使用街道。
我想要一个这样的图:map with route point-to-point
我该怎么办?在“ routingParameters”中,插入“ fastest; pedestrian”,还有其他选择吗?
谢谢塞尔吉奥
尝试将returnelevation参数指定为true。您在计算自行车的路线吗?请分享你的卷曲或休息要求
https://route.ls.hereapi.com/routing/7.2/calculateroute.json
?apiKey={YOUR_API_KEY}
&waypoint0=geo!47.4242219248006,7.226144573449801
&waypoint1=geo!47.46701586747927,7.265097544012576
&mode=fastest;bicycle
&routeattributes=sh
&returnelevation=true