Search code examples
restmapshere-api

How to get multiple 'publicTransportLine' in a Public Transportation route request?


I'm using this request: Docs Example

But in all tests it just shows one bus line in 'publicTransportLine'. Is there any parameter to show more lines if available for the generated route?

My city is Londrina - Brazil


Solution

  • You should try adding "alternatives" parameter to the request (https://developer.here.com/documentation/routing/topics/resource-calculate-route.html)