The MapGroup element aggregates a set of map objects. More...
This element was introduced in Mobility 1.2.
Grouping is provided to make it easier to quickly add, remove, show and hide groups of objects.
It also allows users to specify an ordering of objects local to the group via the z-values and insertion order of the objects in the group.
An example of group having a small red circle on top of bigger green circle:
MapGroup { MapCircle { color: "green" radius: 100 center: landmark.coordinate } MapCircle { color: "red" radius: 30 center: landmark.coordinate } }
The MapGroup element is part of the QtMobility.location 1.2 module.
defaultobjects : list<QGeoMapObject> |
This property holds the list of objects which make up the group.
This property group was introduced in Mobility 1.2.
visible : bool |
This property holds a boolean corresponding to whether or not the group is visible.
This property group was introduced in Mobility 1.2.
zValue : int |
This property holds the z-value of the group.
Map objects are drawn in z-value order, and objects with the same z-value will be drawn in insertion order.
The objects inside the group are drawn according to the z-values and insertion order of the other elements of the group. This is indpendent of the z-value and insertion order of the group element itself.
This property group was introduced in Mobility 1.2.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.