From 3b3b1439334d9674e7a5997b7dc0efc9814ec2cc Mon Sep 17 00:00:00 2001 From: Florian Schweikert Date: Thu, 15 Mar 2012 01:08:17 +0100 Subject: [PATCH] Added missing qml file MapView --- qml/MapView.qml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 qml/MapView.qml diff --git a/qml/MapView.qml b/qml/MapView.qml new file mode 100644 index 0000000..ad52fdf --- /dev/null +++ b/qml/MapView.qml @@ -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") + } + + } +} -- 1.7.9.5