summaryrefslogtreecommitdiff
path: root/examples/location/mapviewer/map/MapComponent.qml
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-04-17 11:52:15 +0200
committerMichal Klocek <michal.klocek@theqtcompany.com>2015-05-12 13:59:46 +0000
commitff93ef17cd0941d179cc98b93a9de409c4a808f3 (patch)
treee7f00302dbdddda9c9ae3563c540763dd3dd59c4 /examples/location/mapviewer/map/MapComponent.qml
parentc5ce93e132cc45fee1097b55ffe119860c9113a8 (diff)
downloadqtlocation-ff93ef17cd0941d179cc98b93a9de409c4a808f3.tar.gz
Update design in mapviewer example
Update marker and change colors. Change-Id: Ia12ed0145367c5a086ec6b6828db602b4666403e Reviewed-by: Sami Makkonen <sami.makkonen@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/location/mapviewer/map/MapComponent.qml')
-rw-r--r--examples/location/mapviewer/map/MapComponent.qml13
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/location/mapviewer/map/MapComponent.qml b/examples/location/mapviewer/map/MapComponent.qml
index 3f64b21b..4c0e961b 100644
--- a/examples/location/mapviewer/map/MapComponent.qml
+++ b/examples/location/mapviewer/map/MapComponent.qml
@@ -327,12 +327,12 @@ Map {
MapQuickItem {
id: poiTheQtComapny
- sourceItem: Rectangle { width: 14; height: 14; color: "#1c94fc"; border.width: 2; border.color: "#242424"; smooth: true; radius: 7 }
+ sourceItem: Rectangle { width: 14; height: 14; color: "#e41e25"; border.width: 2; border.color: "white"; smooth: true; radius: 7 }
coordinate {
latitude: 59.9485
longitude: 10.7686
}
- opacity:0.7
+ opacity: 1.0
anchorPoint: Qt.point(sourceItem.width/2, sourceItem.height/2)
}
@@ -436,7 +436,7 @@ Map {
MapRoute {
id: route
route: routeData
- line.color: routeMouseArea.pressed ? "lime" : "red"
+ line.color: "#46a2da"
line.width: 5
smooth: true
opacity: 0.8
@@ -500,8 +500,11 @@ Map {
MapCircle {
id: point
radius: 1000
- color: circleMouseArea.pressed ? "lime" : "red"
- opacity: 0.6
+ color: "#46a2da"
+ border.color: "#190a33"
+ border.width: 2
+ smooth: true
+ opacity: 0.25
center: locationData.coordinate
//! [pointdel0]
MouseArea {