aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/MapWidget.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/MapWidget.qml')
-rw-r--r--mobile-widgets/qml/MapWidget.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml
index 0058cc117..c64fd5f77 100644
--- a/mobile-widgets/qml/MapWidget.qml
+++ b/mobile-widgets/qml/MapWidget.qml
@@ -30,6 +30,18 @@ Item {
map.activeMapType = map.supportedMapTypes[esriMapTypeIndexes.SATELLITE];
}
+ MapItemView {
+ id: mapItemView
+
+ model: mapHelper.model
+ delegate: MapQuickItem {
+ anchorPoint.x: 0
+ anchorPoint.y: mapItemImage.height
+ coordinate: QtPositioning.coordinate(latitude, longitude)
+ sourceItem: Image { id: mapItemImage; source: "qrc:///mapwidget-marker-image" }
+ }
+ }
+
ParallelAnimation {
id: mapAnimation