QGeoRouteLeg Class

The QGeoRouteLeg class represents a leg of a route, that is the portion of a route between one waypoint and the next. This is a subclass of QGeoRoute, exposing route leg specific API. More...

Header: #include <QGeoRouteLeg>
qmake: QT += location
Since: Qt 5.12
Inherits: QGeoRoute

This class was introduced in Qt 5.12.

Detailed Description

Note: QGeoRoute::routeLegs will return an empty list if called on a route leg.

See also QGeoRoute.