QGeoRouteSegment Class

The QGeoRouteSegment class represents a segment of a route. More...

Header: #include <QGeoRouteSegment>
qmake: QT += location
Since: Qt 5.6

This class was introduced in Qt 5.6.

Detailed Description

A QGeoRouteSegment instance has information about the physical layout of the route segment, the length of the route and estimated time required to traverse the route segment and an optional QGeoManeuver associated with the beginning of the route segment.

QGeoRouteSegment instances can be thought of as edges on a routing graph, with QGeoManeuver instances as optional labels attached to the vertices of the graph.