The RouteLeg type represents a leg of a Route, that is the portion of a route between one waypoint and the next. 更多...
| import 语句: | import QtLocation 5.12 |
| Since: | QtLocation 5.12 |
注意: 由于 RouteLeg is a subclass of Route, QtLocation::Route::legs will return an empty list if accessed on a route leg.
|
legIndex : int |
Read-only property which holds the index of the leg within the containing Route's list of QtLocation::Route::legs .
|
overallRoute : Route |
Read-only property which holds the Route that contains this leg.