Information about the Qt Location QML API changes since 5.4
此页面列表 QtLocation QML API changes since the first Qt Location Technology Preview in Qt 5.4. Since Qt 5.6 this API is considered to be final and subsequent releases will not break the given API anymore.
注意
The public C++ API remained binary compatible since Qt 5.4.
** ** Map 组件
removed wheelAngleChanged() signal
添加 error 特性
添加 errorString 特性
添加
copyrightLinkActivatedsignalremoved toScreenPosition() method
添加
fromCoordinate() methodreplaced cameraStopped() method with
prefetchData方法replaced fitViewportToGeoShape() method with visibleRegion 特性
添加 color 特性
添加
clearData方法** ** MapGestureArea 组件
removed movementStopped() signal
replaced isPanActive and isPinchActive properties with panActive and pinchActive properties
replaced activeGestures with acceptedGestures
replaced MapGestureArea .ZoomGesture with MapGestureArea.PinchGesture
removed properties panEnabled and pinchEnabled, please use acceptedGestures instead
** ** MapPolyline 组件
添加
containsCoordinate方法添加
coordinateAt方法添加
insertCoordinate方法添加
replaceCoordinate方法添加
removeCoordinate方法Geoservice ‘s plugin parameters