-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
Qt 5.7 x64
Windows 10
I've tried to set Map.center in 2 different ways:
1.
Map {
center: QtPositioning.coordinate(55.7512, 37.6175)
Component.onCompleted: {
console.log(map.center);
}
}
The output was:
qml: 0° 0' 0.0", 37° 37' 3.0" E
It looks that assigning coordinates in this way ignores latitude.
2.
Map {
center {
latitude: 55.7512
longitude: 37.6175
}
Component.onCompleted: {
console.log(map.center);
}
}
The output was:
qml: 55° 45' 4.3" N, 37° 37' 3.0" E
So assigning coordinates in this way works w/o problems.