Route Segment
RouteSegment object
Properties
Link copied to clipboard
Geographic area of the route. The geographic area is the smallest rectangle that can be drawn around the route.
Link copied to clipboard
Get route instructions list.
Link copied to clipboard
Length in meters and estimated travel time in seconds for the route / route segment
Link copied to clipboard
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
Link copied to clipboard
Method to check if traveling the route or route segment incurs cost to the user.
Link copied to clipboard
Check if this segment is public transport type.
Link copied to clipboard
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Link copied to clipboard
Convert to a PTRouteSegment from this one