blob: 079d6d61d1e6fd5a8b8c16c9230c50587aa19100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import QtQuick
import QtQuick.Controls
Item {
Button {
id: btn_shrink
width: 100
height: 100
function zoomDown() {
map.zoomLevel -= 1
if(map.zoomLevel != default_zoom_level) {
btn_present_position.state = "Optional"
}
}
onClicked: { zoomDown() }
Image {
id: image
width: 92
height: 92
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
source: "images/240px-Antu_file-zoom-out.png"
}
}
}
|