TencentMapSDK_iOS_3D_v6.8.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
11NS_ASSUME_NONNULL_BEGIN
12
16@interface QGroundOverlay : QGLOverlay
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
74NS_ASSUME_NONNULL_END
QGLOverlay
可自定义渲染内容的覆盖物
定义 QGLOverlay.h:52
QGroundOverlay
用于地面(图片)覆盖物的数据类
定义 QGroundOverlay.h:17
QGroundOverlay::boundingMapRect
QMapRect boundingMapRect
区域外接矩形
定义 QGroundOverlay.h:25
QCoordinateBounds
经纬度区域结构定义
定义 QGeometry.h:65
QMapRect
平面投影矩形结构定义
定义 QGeometry.h:92