summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlex Wilson <alex.wilson@nokia.com>2011-12-20 18:16:38 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-20 10:15:49 +0100
commit19d46e65e51a66fde6550772698d8b543a5d5665 (patch)
tree1f40f7a7c7028c0b579a252359b423f3c88ace1e /examples
parent6e8196cb878f39a9769eb3c6a62be06141d702ae (diff)
downloadqtlocation-19d46e65e51a66fde6550772698d8b543a5d5665.tar.gz
Adding borders to map rectangle items, drawing fixes
Borders follow same pattern as the other items. The drawing fix was for the rectangle fill, changing the order of points so that even coverage for the entire rectangle occurs. Change-Id: I19adce766886092af904d2729757f959671af90c Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/mapviewer/content/map/RectangleItem.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/declarative/mapviewer/content/map/RectangleItem.qml b/examples/declarative/mapviewer/content/map/RectangleItem.qml
index 49181592..41a0d26a 100644
--- a/examples/declarative/mapviewer/content/map/RectangleItem.qml
+++ b/examples/declarative/mapviewer/content/map/RectangleItem.qml
@@ -47,6 +47,8 @@ MapRectangle {
color: "red"
opacity: 0.5
+ border.width: 2.0
+
function setGeometry(markers){
var count = markers.length
topLeft = markers[count-2].coordinate