summaryrefslogtreecommitdiff
path: root/examples/declarative/qmlplaces/PlaceDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/qmlplaces/PlaceDelegate.qml')
-rw-r--r--examples/declarative/qmlplaces/PlaceDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/qmlplaces/PlaceDelegate.qml b/examples/declarative/qmlplaces/PlaceDelegate.qml
index 625ea8fc..7921dc0b 100644
--- a/examples/declarative/qmlplaces/PlaceDelegate.qml
+++ b/examples/declarative/qmlplaces/PlaceDelegate.qml
@@ -20,8 +20,8 @@ Rectangle {
clip: true
Text { text: '<b>Name: </b> ' + place.name; font.pixelSize: 16 }
Text { text: '<b>Street: </b> ' + place.location.address.street; font.pixelSize: 16 }
- Text { text: '<b>Latitude: </b> ' + place.location.displayPosition.latitude; font.pixelSize: 16 }
- Text { text: '<b>Longitude: </b> ' + place.location.displayPosition.longitude; font.pixelSize: 16 }
+ Text { text: '<b>Latitude: </b> ' + place.location.coordinate.latitude; font.pixelSize: 16 }
+ Text { text: '<b>Longitude: </b> ' + place.location.coordinate.longitude; font.pixelSize: 16 }
Text { text: '<b>Categories: </b> ' + categoryNames(place.categories); font.pixelSize: 16 }
Text { text: '<b>Media count: </b> ' + place.media.data.length; font.pixelSize: 16 }
//Text { text: '<b>All media count: </b> ' + place.mediaCount; font.pixelSize: 16 }