|
TencentMapSDK_iOS_3D_v5.7.0
|
用于可视化数据图层的类 更多...
#import <QVisualLayer.h>
构造函数 | |
| (instancetype) | - initWithUID: |
| 初始化 更多... | |
| (instancetype) | - clone |
| 创建图层副本对象 | |
| (void) | - clearCache |
| 清理图层本地缓存 | |
| (NSString *) | - executeCommand:commandJson: |
| 通用协议函数调用统一入口. 更多... | |
属性 | |
| NSString * | layerID |
| 图层的唯一标识. 在可视化数据图层编辑平台成功上传图层数据时得到的其标识字符串 | |
| BOOL | visible |
| 是否显示. 默认YES | |
| CGFloat | opacity |
| 透明度,取值范围[0,1] ,默认为1不透明 | |
| int | zIndex |
| 覆盖物的显示顺序,决定了它与其它QGLOverlay的压盖关系. 默认为0. 更多... | |
| id< QVisualLayerDelegate > | delegate |
| 回调代理 | |
| NSTimeInterval | interval |
| 图层刷新数据时间, 单位:秒。 0为不刷新, 最小时间间隔为15秒, 默认为0 | |
用于可视化数据图层的类
| - (NSString *) executeCommand: | (QMapView *) | mapView | |
| commandJson: | ((deprecated("use QMapView -(NSString *)executeCommand:(NSString *)commandJson withVisualLayer:(QVisualLayer *)visualLayer"))) | __attribute__ | |
通用协议函数调用统一入口.
| mapView | 地图实例 |
| commandJson | 命令Json字符串 |
由 category QVisualLayer(GeneralProtocol) 提供.
| - (instancetype) initWithUID: | (NSString *) | layerID |
初始化
| layerID | 图层的唯一标识 |
|
readwritenonatomicassign |
覆盖物的显示顺序,决定了它与其它QGLOverlay的压盖关系. 默认为0.
大值压盖小值. 只有同displayLevel的QGLOverlayView才会比较zIndex