Unify map markers on the full screen and room maps as well

This commit is contained in:
Volker Krause
2023-06-17 14:43:18 +02:00
parent b56ebdf149
commit 7f067b698e
3 changed files with 14 additions and 31 deletions

View File

@@ -27,22 +27,8 @@ Kirigami.Page {
model: LocationsModel {
room: locationsPage.room
}
delegate: MapQuickItem {
id: point
required property var longitude
required property var latitude
required property string text
anchorPoint.x: icon.width / 2
anchorPoint.y: icon.height / 2
coordinate: QtPositioning.coordinate(point.latitude, point.longitude)
autoFadeIn: false
sourceItem: Kirigami.Icon {
id: icon
width: height
height: Kirigami.Units.iconSizes.medium
source: "flag-blue"
}
delegate: LocationMapItem {
isLive: true
}
}
}