How to change default travelmode to pedestrian?

Haven’t set a travelmode in my code, but wen I run it, it seams to be car as default. How could I set this. to pedestrian?

Check the documentation here: https://developer.tomtom.com/maps-sdk-web-js-public-preview/documentation#Services.services.calculateRoute
This options is called travelMode.

1 Like