diff options
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 83ed48c4a..99cb7bf48 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -30,7 +30,7 @@ Item { property var newZoom: 1.0 Component.onCompleted: { - map.activeMapType = map.supportedMapTypes[esriMapTypeIndexes.SATELLITE] + activeMapType = supportedMapTypes[esriMapTypeIndexes.SATELLITE] } MapItemView { @@ -88,14 +88,14 @@ Item { } function animateMapTo(coord, zoom) { - map.newCenter = coord - map.newZoom = zoom + newCenter = coord + newZoom = zoom mapAnimation.restart() } function centerOnMapLocation(mapLocation) { - map.zoomLevel = map.defaultZoomOut - animateMapTo(mapLocation.coordinate, map.defaultZoomIn); + zoomLevel = defaultZoomOut + animateMapTo(mapLocation.coordinate, defaultZoomIn); mapHelper.model.selectedUuid = mapLocation.uuid } } |