diff options
Diffstat (limited to 'tests/baseline/mapitems/data/circle/circle_poles.qml')
-rw-r--r-- | tests/baseline/mapitems/data/circle/circle_poles.qml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/baseline/mapitems/data/circle/circle_poles.qml b/tests/baseline/mapitems/data/circle/circle_poles.qml new file mode 100644 index 00000000..0aece161 --- /dev/null +++ b/tests/baseline/mapitems/data/circle/circle_poles.qml @@ -0,0 +1,48 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +import QtQuick +import QtLocation +import QtPositioning + +Map { + width: 512 + height: 512 + + center: QtPositioning.coordinate(0, 20) + + id: map + plugin: Plugin { + name: "osm" + } + zoomLevel: 1 + copyrightsVisible: false + MapCircle + { + center + { + longitude: 0 + latitude: -90 + } + radius: 0.25*Math.PI*6371*1000 + color: 'red' + smooth: true + border.width: 1 + autoFadeIn: false + opacity: 0.5 + } + MapCircle + { + center + { + longitude: 0 + latitude: 90 + } + radius: 0.25*Math.PI*6371*1000 + color: 'green' + smooth: true + border.width: 1 + autoFadeIn: false + opacity: 0.5 + } +} |