Warning, /education/marble/examples/cpp/marbleQuick2/main.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.0
0002 import org.kde.marble 0.20
0003
0004 Rectangle {
0005 id: mainRect
0006 width: 600
0007 height: 600
0008 color: "transparent"
0009 MarbleDemoItem
0010 {
0011 anchors.fill: parent
0012 id: marble
0013 visible: true
0014 focus: true
0015 PinchArea
0016 {
0017 anchors.fill: parent
0018 enabled: true
0019 objectName: "pinchArea"
0020 onPinchStarted: { marble.handlePinchStart(pinch.center) }
0021 onPinchUpdated: { marble.handlePinchUpdate(pinch.center, pinch.scale) }
0022 onPinchFinished:{ marble.handlePinchEnd(pinch.center, false) }
0023 }
0024 width: 600
0025 height: 600
0026 showFrameRate: false
0027 projection: MarbleItem.Spherical
0028 mapThemeId: "earth/openstreetmap/openstreetmap.dgml"
0029 showAtmosphere: false
0030 showCompass: false
0031 showClouds: false
0032 showCrosshairs: false
0033 showGrid: false
0034 showOverviewMap: false
0035 showOtherPlaces: false
0036 showScaleBar: false
0037 showBackground: false
0038 }
0039 }