【问题标题】:Is it possible to provide multiple overlays in 'all.json' and 'calculateroute.json' requests using HERE Fleet Telematics API?是否可以使用 HERE Fleet Telematics API 在 \'all.json\' 和 \'calculateroute.json\' 请求中提供多个覆盖?
【发布时间】:2022-11-07 16:57:37
【问题描述】:

索取样品:

https://fleet.api.here.com/2/calculateroute.json?representation=display&routeAttributes=summary&alternatives=0&mapMatchTolerance=50&mode=fastest;truck;traffic:disabled&app_id=myid&apikey=mykey&app_code=mycode&arrival=2018-05-12T12:20:00&departure=2018-05-12T08:00:05&overlays=OVERLAYROAD1,OVERLAYROAD2,OVERLAYROAD3

https://fleet.api.here.com/2/search/all.json?app_id=myid&apikey=mykey&app_code=mycode&layer_id=LINK_ATTRIBUTE_FCn&map_name=OVERLAYROAD1,OVERLAYROAD2,OVERLAYROAD3&geom=full&acceptMissingLayers=true&meta=1

请求返回200,但我无法在地图上验证

【问题讨论】:

  • 请提供足够的代码,以便其他人可以更好地理解或重现该问题。

标签: here-api here-maps-rest heremaps heremap-navigation


【解决方案1】:

您只能在 calculateroute.json 中传递 overlays 参数,而不能在 all.json 中传递。

您可以在 api-reference 中找到相同的内容。

https://developer.here.com/documentation/fleet-telematics/api-reference.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-10-18
    • 2020-01-30
    • 1970-01-01
    • 2020-08-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多