在这里避免国界

时间:2018-08-05 15:51:49

标签: javascript here-api

是否可以请求仅位于一个国家而不跨越其他国家的边界​​的路线?(我使用的是JS)

1 个答案:

答案 0 :(得分:2)

否,我们的API没有选择将路由限制到特定国家/地区的选项。

一种解决方法是在&excludeCountries参数中列出所有邻国:

excludeCountries - Countries that must be excluded from route calculation. 
                   Type: list of common:CountryCodeType.
                   example: excludecountries='AUT,CHE'
相关问题