TencentMapSDK_iOS_3D_v5.7.0
QOverlayView.h
1 //
2 // QOverlayView.h
3 // QMapKit
4 //
5 // Created by fan on 2017/5/17.
6 // Copyright © 2017年 Tencent. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "QTypes.h"
11 #import "QOverlay.h"
12 
16 @interface QOverlayView : NSObject
17 
21 @property (nonatomic, strong, readonly) id <QOverlay> overlay;
22 
28 @property (nonatomic, assign) QOverlayLevel displayLevel;
29 
35 @property (nonatomic, assign) int zIndex;
36 
40 @property (nonatomic, assign, readonly) int minZoomLevel;
41 
45 @property (nonatomic, assign, readonly) int maxZoomLevel;
46 
47 
53 - (void)setMinZoomLevel:(int)minZoomLevel maxZoomLevel:(int)maxZoomLevel;
54 
62 - (void)updateOverlayPoints:(CLLocationCoordinate2D *)points pointCount:(int)count;
63 
64 @end
QOverlayView::displayLevel
QOverlayLevel displayLevel
覆盖物的显示级别,决定了与POI等其它地理元素的压盖关系
Definition: QOverlayView.h:28
QOverlayView::maxZoomLevel
int maxZoomLevel
最大缩放级别,默认值:22
Definition: QOverlayView.h:45
QOverlayView::zIndex
int zIndex
覆盖物的显示顺序,决定了它与其它QOverlayView的压盖关系. 默认为0.
Definition: QOverlayView.h:35
QOverlayView::overlay
id< QOverlay > overlay
本view对应的数据类
Definition: QOverlayView.h:21
QOverlayView
该类是地图覆盖物View的基类, 提供了绘制overlay的接口, 但是没有实际实现。希望不要直接实例化
Definition: QOverlayView.h:17
QOverlayView::minZoomLevel
int minZoomLevel
最小缩放级别, 默认值:3
Definition: QOverlayView.h:40