PublicRoutePart | iOS SDK | 2GIS Documentation

PublicRoutePart

A 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.

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