mapwidget.qml: add some properties for zoom and center
These properties will be used when zooming-in on a map location or when zooming out if no map location is selected. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
b4740803a1
commit
6c640158e8
@ -24,7 +24,10 @@ Item {
|
||||
plugin: mapPlugin
|
||||
zoomLevel: 1
|
||||
|
||||
property var newCenter: QtPositioning.coordinate(0, 0);
|
||||
readonly property var defaultCenter: QtPositioning.coordinate(0, 0);
|
||||
readonly property var defaultZoomIn: 17.0;
|
||||
property var newCenter: defaultCenter;
|
||||
property var newZoom: 1.0;
|
||||
|
||||
Component.onCompleted: {
|
||||
map.activeMapType = map.supportedMapTypes[esriMapTypeIndexes.SATELLITE];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user