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

geopath QML Value Type

The geopath type represents a geographic path.

This type was introduced in Qt 5.9.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

geopath QML Value Type

  • Import Statement: import QtPositioning 6.4

  • Since:: Qt 5.9

  • Group: geopath is part of qmlvaluetypes, qml-QtPositioning5-basictypes

Detailed Description

The geopath type is a geoshape that represents a geographic path. It is a direct representation of a QGeoPath and is defined in terms of a path which holds the list of geo coordinates in the path.

The path is considered invalid if it is empty.

When integrating with C++, note that any QGeoPath value passed into QML from C++ is automatically converted into a geopath value, and vice versa.

Properties

 
path

This property holds the list of coordinates defining the path.

width

This property holds the width of the path in meters. This is currently only used when calling the contains() method.

The default value for the width is 0.

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