In order to build a route on public transport, pass the routingMode: 'masstransit' field in the routing parameters. By default, this field takes the 'auto' value when creating a multiroute.
For more information about the multirouter parameters and options, see the example Building a driving multiroute.
In order to build a route on public transport, pass the routingMode: 'masstransit' field in the routing parameters. By default, this field takes the 'auto' value when creating a multiroute.
For more information about the multirouter parameters and options, see the example Building a driving multiroute.