Added missing qml file MapView
authorFlorian Schweikert <kelvan@logic.at>
Thu, 15 Mar 2012 00:08:17 +0000 (01:08 +0100)
committerFlorian Schweikert <kelvan@logic.at>
Thu, 15 Mar 2012 00:08:17 +0000 (01:08 +0100)
qml/MapView.qml [new file with mode: 0644]

diff --git a/qml/MapView.qml b/qml/MapView.qml
new file mode 100644 (file)
index 0000000..ad52fdf
--- /dev/null
@@ -0,0 +1,35 @@
+import QtQuick 1.1
+import Qt 4.7
+import QtMobility.location 1.2
+import com.nokia.meego 1.0
+
+Page {
+    tools: mapTools
+
+    ToolBarLayout {
+        id: mapTools
+        x: 0
+        y: 0
+        ToolIcon { iconId: "toolbar-back"; onClicked: { menu.close(); pageStack.pop(null,false); } }
+    }
+
+    Map {
+        id: map
+        plugin : Plugin {
+            name : "nokia"
+        }
+
+        anchors.fill: parent
+        size.width: parent.width
+        size.height: parent.height
+        zoomLevel: 7
+        //center: positionSource.position.coordinate
+        //objects: t_data.mapObjectsList
+
+
+        onZoomLevelChanged: {
+            console.log("Zoom changed")
+        }
+
+    }
+}