【问题标题】:Mapbox Matrix API - Avoid MotorwaysMapbox Matrix API - 避开高速公路
【发布时间】:2020-04-23 13:23:36
【问题描述】:

Mapbox 路线 API 允许您避开高速公路documentation

有没有办法在 Matrix API 中做到这一点? API documentation 不支持这一点并不明显。

【问题讨论】:

    标签: mapbox directions


    【解决方案1】:

    Mapbox Matrix API 不提供避开高速公路的方法。 Mapbox Directions API 公开了一个可选的exclude 参数,记录在表here 中,当profile 参数为mapbox/drivingmapbox/driving-traffic 时,可以将其设置为motorway。 Matrix API 没有 exclude 奇偶校验。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-02-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多