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

MapPolygonObject QML Type

The MapPolygonObject displays a polygon on a Map.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

MapPolygonObject QML Type

  • Import Statement: import Qt.labs.location 1.0

  • Group: MapPolygonObject is part of QML Maps Plugin

Detailed Description

The MapPolygonObject displays a polygon on a Map. The MapPolygonObject type only makes sense when contained in a Map or in a MapObjectView.

Property Documentation

 

border group

border.color : color

border.width : int

This property is part of the border property group. The border property group holds the width and color used to draw the border.

The width is in pixels and is independent of the zoom level of the map. The default values correspond to a black border with a width of 1 pixel.

For no border, use a width of 0 or a transparent color.

color : color

This property holds the fill color of the polygon when drawn. For no fill, use a transparent color.

path : VariantList

This property holds the ordered list of coordinates which define the polygon border.

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