简体   繁体   中英

routing without traffic in HERE: trafficMode=disabled is unknown?

I just reused an old script in which I send a routing request to HERE using '&trafficMode=disabled' in order to not let the current traffic situation affect the results for my general request. HERE now return a notice "The provided parameter 'trafficMode=disabled' is unknown.' which I cannot recall having seen previously.

The results I now get vary slightly over the day and I highly suspect that they are affected by current traffic, which I absolutely want to avoid. My question: if 'trafficMode=disabled' indeed does not work anymore then how do I construct a URL to avoid traffic?

'trafficMode=disabled' doesn't work anymore

It seems you are still using the older version "v7" of our routing API, please note this service is no longer being actively developed.

We recommend to upgrade to HERE Routing API v8 service where you can define the departure time as "any" which by default disables the traffic.

Also sharing the user guide for better understanding.

For more help, here is the Migration guide which will show you how to proceed the upgrade.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM