MapView QML Type
交互式地图查看器组件。更多
Import Statement: | import QtLocation 6.9 |
Inherits: |
属性
- map : Map
- maximumZoomLevel : real
- minimumZoomLevel : real
详细说明
MapView 封装了地图,并添加了典型的交互式功能:改变缩放级别、平移和倾斜地图。
其实现是由单独可用的较小构件组成的 QML 集合。如果您想在自己的版本中对该组件进行修改,可以复制安装在qml/QtLocation
模块目录下的 QML,并根据需要对其进行修改。
另请参阅 Map 。
属性文档
map : Map |
该属性提供对底层地图实例的访问。
maximumZoomLevel : real |
地图的最大有效缩放级别。
另请参见 Map::maximumZoomLevel 。
minimumZoomLevel : real |
根据视图大小确定的最小缩放级别。
另请参阅 Map::minimumZoomLevel 。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.