diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-17 04:57:27 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-17 04:57:27 +0200 |
commit | 659c53b0d8faf26e6f06334833b2e105a4c4193d (patch) | |
tree | 8dced84e65f3c662622159acb6ab096bfc005976 /qmapwatchlet/metawatch-digital.qml | |
parent | a2059b5cfaa600402dfbec5d63099fd724998e9f (diff) | |
download | sowatch-659c53b0d8faf26e6f06334833b2e105a4c4193d.tar.gz sowatch-659c53b0d8faf26e6f06334833b2e105a4c4193d.zip |
trying to make the map watchlet more useful
Diffstat (limited to 'qmapwatchlet/metawatch-digital.qml')
-rw-r--r-- | qmapwatchlet/metawatch-digital.qml | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/qmapwatchlet/metawatch-digital.qml b/qmapwatchlet/metawatch-digital.qml index 16206db..9c054a4 100644 --- a/qmapwatchlet/metawatch-digital.qml +++ b/qmapwatchlet/metawatch-digital.qml @@ -1,23 +1,14 @@ import QtQuick 1.0 import QtMobility.location 1.2 +import com.javispedro.sowatch.metawatch 1.0 +import com.javispedro.sowatch.qmap 1.0 -Rectangle { - width: 96 - height: 96 - - color: "white" - - PositionSource { - id: pos - updateInterval: 5000 - active: watch.active - } - - Map { +MWPage { + MapView { id: map anchors.fill: parent; - plugin : Plugin { name : "nokia" } - center: pos.position.coordinate + updateEnabled: watch.active + updateInterval: 5000; } Connections { |