diff options
Diffstat (limited to 'src/MapWaypoint.qml')
-rw-r--r-- | src/MapWaypoint.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/MapWaypoint.qml b/src/MapWaypoint.qml new file mode 100644 index 0000000..1300cb0 --- /dev/null +++ b/src/MapWaypoint.qml @@ -0,0 +1,20 @@ +import QtQuick 2.0 +import org.asteroid.controls 1.0 as Asteroid +import QtPositioning 5.15 +import QtLocation 5.15 + +MapQuickItem { + id: root + anchorPoint.x: width/2 + anchorPoint.y: height + zoomLevel: 0 + autoFadeIn: false + property string iconName + property color iconColor + sourceItem: Asteroid.Icon { + width: Asteroid.Dims.w(12) + height: width + name: root.iconName + color: root.iconColor + } +} |