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

geopolygon QML Value Type

The geopolygon type represents a geographic polygon.

This type was introduced in Qt 5.10.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

geopolygon QML Value Type

  • Import Statement: import QtPositioning 6.4

  • Since:: Qt 5.10

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

Detailed Description

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

The polygon is considered invalid if its path holds less than three coordinates.

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

Properties

 
path

This property holds the list of coordinates defining the polygon.

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