To build a walking route, you should specify the field routingMode: 'pedestrian' in the routing parameters.
To build a route on public transport, use the Building a iroute on public transport example.
To build a walking route, you should specify the field routingMode: 'pedestrian' in the routing parameters.
To build a route on public transport, use the Building a iroute on public transport example.