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

@@ -36,7 +36,6 @@ TimelineContainer {
* a user's location.
*/
required property string asset
required property var content
ColumnLayout {
Layout.maximumWidth: root.contentMaxWidth
@@ -63,7 +62,7 @@ TimelineContainer {
TapHandler {
acceptedButtons: Qt.LeftButton
onTapped: {
let map = fullScreenMap.createObject(parent, {content: root.content});
let map = fullScreenMap.createObject(parent, {latitude: root.latitude, longitude: root.longitude, asset: root.asset, author: root.author});
map.open()
}
onLongPressed: openMessageContext("")