TollSection

constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance, paymentTypes: Set<TollgatePaymentType>)

Constructs a TollSection object with the given parameters.

Parameters

sectionLocation

Information about the location of a section on a route's geometry.

routeOffset

Distance from the start of the route to the start point of the sectionLocation.

length

Distance from the the start point to the end point of the sectionLocation.

paymentTypes

Types of payment available on section.


constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance)