PublicRoutePart | iOS SDK | 2GIS Documentation
iOS SDK

PublicRoutePart

Description of the section of the route on public transportation.

public init(
    transports: [PublicTransportInfo],
    intermediateStops: [PublicTransportStop]
)
Parameters
Properties

Types of public transport that can be used to travel this section of the route.
If the list is empty, this route section is suggested to be traveled by private or rented transport or on foot.

Intermediate stops that transport will pass before reaching the transfer point.