6import QGroundControl.Controls
8/// Marker for displaying a camera trigger on the map
10 anchorPoint.x: sourceItem.width / 2
11 anchorPoint.y: sourceItem.height / 2
13 sourceItem: Rectangle {
20 readonly property real _radius: ScreenTools.defaultFontPixelHeight * 0.6
22 // Bigger rectangle of camera icon
24 id: cameraIconFrameRectangle
25 anchors.horizontalCenter: parent.horizontalCenter
26 anchors.verticalCenter: parent.verticalCenter
28 width: parent.width * 0.6
32 // Little rectangle on top indicating viewfinder
34 id: cameraIconViewFinderRectangle
35 anchors.horizontalCenter: cameraIconFrameRectangle.horizontalCenter
36 anchors.bottom: cameraIconFrameRectangle.top
37 width: cameraIconFrameRectangle.width * 0.5
38 height: cameraIconFrameRectangle.height * 0.3
44 // Circunference indicating the lens
47 anchors.centerIn: cameraIconFrameRectangle
49 width: cameraIconFrameRectangle.height * 0.9