TencentMapSDK_iOS_3D_v6.7.0
QGroundOverlay.h
1 //
2 // QGroundOverlay.h
3 // QMapKit
4 //
5 // Created by fan on 2020/4/21.
6 // Copyright © 2020 tencent. All rights reserved.
7 //
8 
9 #import <QMapKit/QGLOverlay.h>
10 
11 NS_ASSUME_NONNULL_BEGIN
12 
17 {
18  @package
19  QMapRect _boundingRect;
20 }
21 
25 @property(nonatomic, readonly) QMapRect boundingMapRect;
26 
28 // * @brief 图片纹理透明度, 最终透明度 = 纹理透明度 * opacity, 取值范围为[0.0f, 1.0f],默认为1.0f
29 // */
30 //@property(nonatomic, assign) CGFloat opacity;
31 
38 + (QGroundOverlay *)groundOverlayWithBounds:(QCoordinateBounds)bounds
39  icon:(UIImage*)icon;
40 
49 + (QGroundOverlay *)groundOverlayWithCoordinate:(CLLocationCoordinate2D)position
50  zoomLevel:(CGFloat)zoomLevel
51  anchor:(CGPoint)anchor
52  icon:(UIImage*)icon;
53 
59 - (void)setGroundOverlayWithBounds:(QCoordinateBounds)bounds icon:(UIImage *)icon;
67 - (void)setGroundOverlayWithCoordinate:(CLLocationCoordinate2D)position
68  zoomLevel:(CGFloat)zoomLevel
69  anchor:(CGPoint)anchor
70  icon:(UIImage *)icon;
71 
72 @end
73 
74 NS_ASSUME_NONNULL_END
QGroundOverlay
用于地面(图片)覆盖物的数据类
Definition: QGroundOverlay.h:17
QCoordinateBounds
经纬度区域结构定义
Definition: QGeometry.h:65
QMapRect
平面投影矩形结构定义
Definition: QGeometry.h:92
QGLOverlay
可自定义渲染内容的覆盖物
Definition: QGLOverlay.h:52
QGroundOverlay::boundingMapRect
QMapRect boundingMapRect
区域外接矩形
Definition: QGroundOverlay.h:25