IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

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.

This type was introduced in QtLocation 5.12.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

RouteLeg QML Type

  • Import Statement: import QtLocation 5.12

  • Since: QtLocation 5.12

  • Group: RouteLeg is part of qml-QtLocation5-routing

Detailed Description

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+