QML MapCircle ElementThe MapCircle element displays a circle on a map. More... Properties
Detailed DescriptionThe circle is specified in terms of a central coordinate and a radius in metres. If center and radius are not specified and valid the circle will not be displayed. An example, a MapCircle positioned at your current position (assuming there is a PositionSource): MapCircle { id: myPositionMarker center: myPositionSource.position.coordinate radius: 100 color: "yellow" } The element is used with a Map element. The MapCircle element is part of the QtMobility.location 1.2 module. Property DocumentationThese properties hold the width and color used to draw the border of the circle. 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 line, use a width of 0 or a transparent color. This documentation was introduced in Qt Mobility Mobility 1.2. This property holds the coordinate at the center of the circle. The default value is an invalid coordinate. This documentation was introduced in Qt Mobility Mobility 1.2. This property holds the color used to fill the circle. The default value corresponds to a transparent color. This documentation was introduced in Qt Mobility Mobility 1.2. This property holds the radius of the circle in metres. A negative value is used to indicate that the radius is invalid and the default value is a radius of -1.0. This documentation was introduced in Qt Mobility Mobility 1.2. This property holds a boolean corresponding to whether or not the circle is visible. This documentation was introduced in Qt Mobility Mobility 1.2. This property holds the z-value of the circle. Map objects are drawn in z-value order, and objects with the same z-value will be drawn in insertion order. This documentation was introduced in Qt Mobility Mobility 1.2. |
Publicité
Best OfActualités les plus luesSemaine
Mois
Année
![]()
![]() Le Qt Labs au hasard![]() Construire l'avenir : (ré-)introduction aux composants de Qt QuickLes Qt Labs sont les laboratoires des développeurs de Qt, où ils peuvent partager des impressions sur le framework, son utilisation, ce que pourrait être son futur. Lire l'article.
CommunautéRessources
Liens utilesContact
Qt dans le magazine |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.2 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com