RouteLeg QML Type

The RouteLeg type represents a leg of a Route, that is the portion of a route between one waypoint and the next. More...

Import Statement: import QtLocation 5.14
Since: QtLocation 5.12

Properties

Detailed Description

Note: Since RouteLeg is a subclass of Route, QtLocation::Route::legs will return an empty list if accessed on a route leg.

Property Documentation

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.


© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.