首页 > 解决方案 > 拖动时仅使用主干道

问题描述

创建从 42.108311,-8.618618999999999 到 52.2947946,11.6822273 的路由。我尝试将路线从 Villadolid 拖到 N-610 路,屏幕https://snipboard.io/CR6wVn.jpg,正确预绘制。松开鼠标后,路线不同,Cuenca de Campos向东转,画面https://snipboard.io/VWJ1vL.jpg。怎么可能只有主干道用的时候拖拉?

像这样拖动请求

https://fleet.ls.hereapi.com/2/calculateroute.json?xnlp=jsonAttributes%3D41&app_id=***&app_code=***&apikey=***&mode=truck%3Bfastest%3Btraffic%3Adisabled&language=en-GB&representation =overview&metricSystem=metric&routeattributes=wp%2Csc%2Csm%2Csh%2Cbb%2Clg%2Cno%2Cshape&legattributes=wp%2Cmn%2Cli%2Cle%2Ctt&maneuverattributes=po%2Csh%2Ctt%2Cle%2Cti%2Cli%2Cpt%2Cpl%2Crn%2Cnr %2Cdi&linkattributes=sh%2Cle%2Csl%2Cds%2Ctr&instructionformat=html&trailersCount=0&alternatives=0¤cy=EUR&trailerType=2&vehicleNumberAxles=2&trailerNumberAxles=3&hybrid=0&emissionType=5&height=4m&trailerHeight=400&vehicleWeight=8000&limitedWeight=40t&width=225&length=16.5m&disabledEquipped=0&minimalPollution=0&hov=0&passengersCount= 1&商业=1&heightAbove1stAxle=300&fuelType=Diesel&detail=1&rollup=none%2Ccountry%3Btollsys&requestId=1629721987441&excludeCountries=CHE&truckRestrictionPenalty=soft&waypoint0=geo!42.1083257%2C-8.6184468&waypoint1=geo!42.037725092800514%2C-5.039375866201198&waypoint2=geo!52.2952544%2C11.6801417&jsoncallback=H.service. jsonp.handleResponse(12)

标签: here-apihere-fleet-telematics

解决方案


推荐阅读