【问题标题】:Is there any way to show position coordinates on actions in HERE MAPS ROUTING v8?有没有办法在 HERE MAPS ROUTING v8 中显示动作的位置坐标?
【发布时间】:2021-02-15 08:39:07
【问题描述】:

我正在切换到新的 ROUTING API v8,我看到它不再返回操作中的位置坐标。这是在 V7 中返回坐标的方式。

                  {"position":{
                       "latitude":43.3362329,
                       "longitude":-2.4982456
                    },
                    "instruction":"Diríjase a <span class=\"toward_street\">Barrio Iturreta</span> por <span class=\"street\">Barrio Urrutia</span> <span class=\"number\">(BI-2405)</span>. <span class=\"distance-description\">Siga durante <span class=\"length\">633 m</span>.</span>",
                    "travelTime":57,
                    "length":633,
                    "firstPoint":0,
                    "lastPoint":20,
                  }`

我想知道是否有任何方法可以让 V8 API 返回这些位置,或者该功能是否已从服务中删除。

非常感谢您!

【问题讨论】:

    标签: routes here-api here-maps-rest heremaps


    【解决方案1】:

    确实,在 API 的 v8 中,“位置”已从响应中删除。

    这里解释: https://developer.here.com/documentation/routing-api/8.20.0/migration_guide/index.html

    它提到的“职位”在哪里:

    不支持。这可以通过动作中的偏移量找到 折线

    【讨论】:

    • 那么有没有机会在新的 v8 版本中获得职位?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-27
    • 1970-01-01
    • 2022-11-03
    • 2020-03-06
    • 1970-01-01
    相关资源
    最近更新 更多