QGeoRouteLeg Class▲
-
Header: QGeoRouteLeg
-
Since: Qt 5.12
-
qmake: QT += location
-
Inherits: QGeoRoute
-
Group: QGeoRouteLeg is part of QtLocation-routing
Detailed Description▲
QGeoRoute::routeLegs will return an empty list if called on a route leg.
See Also▲
See also QGeoRoute
Member Function Documentation▲
QGeoRouteLeg::QGeoRouteLeg()▲
Constructs a route leg object.
QGeoRouteLeg::QGeoRouteLeg(const QGeoRouteLeg &other)▲
Constructs a route leg object from the contents of other.
QGeoRouteLeg::~QGeoRouteLeg()▲
Destroys this route object.
int QGeoRouteLeg::legIndex() const▲
Returns the index of this route leg inside the containing QGeoRoute::routeLegs list. Can be used to find the next legs.
See Also▲
See also setLegIndex()