PTRoute
Public transit route object
Properties
Number of BuyTicketInformation objects for PT route.
Dominant road names
Geographic area of the route. The geographic area is the smallest rectangle that can be drawn around the route.
Polygon area of the route
Route preferences
Frequency
Route related events listener.
Route segments.
Route status
Route terrain profile
Tiles collection area of the route
Length in meters and estimated travel time in seconds for the route / route segment
List of traffic events affecting the route.
List of waypoints. The waypoints are ordered like: departure, first waypoint, ..., destination. Only the route can have intermediate waypoints. The segments have only departure and destination.
Functions
Export route data in the requested data format
Get buy ticket data obj specified by index.
Get index of the closest route segment to the given coordinates
Get a coordinate on route at the given distance
Get route distance from departure at the given coordinate
Get length in meters and estimated travel time in seconds for the route
Build a list of timestamp coordinates from a route
Returns true is the route contains ferry connections
Method to check if traveling the route or route segment incurs cost to the user.
Returns true is route contains toll roads
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Returns true if no preferences have been declared, or if the solution meets all the preferences