TencentMapSDK_iOS_3D_v6.8.0
载入中...
搜索中...
未找到
QMapView+Indoor.h
1//
2// QMapView+Indoor.h
3// QMapKit
4//
5// Created by fan on 2017/11/21.
6// Copyright © 2017年 tencent. All rights reserved.
7//
8
9#import "QMapView.h"
10#import "QIndoorBuilding.h"
11#import "QIndoorLevel.h"
12#import "QIndoorInfo.h"
13
17@protocol QMapViewIndoorDelegate <NSObject>
18
24- (void)mapView:(QMapView *)mapView didChangeActiveBuilding:(QIndoorBuilding *)building;
25
31- (void)mapView:(QMapView *)mapView didChangeActiveLevel:(QIndoorLevel *)level;
32
33@end
34
38@interface QMapView (Indoor)
39
43- (void)setIndoorEnabled:(BOOL)indoorEnabled;
44
48@property(nonatomic, assign) BOOL indoorPicker;
49
53@property(nonatomic, assign) CGPoint indoorPickerOffset;
54
58@property(nonatomic, strong, readonly) QIndoorBuilding *activeBuilding;
59
63@property(nonatomic, strong) QIndoorLevel *activeLevel;
64
68- (void)setActiveIndoorInfo:(QIndoorInfo *)indoorInfo;
69
73- (void)setIndoorMaskColor:(UIColor *)maskColor;
74
75@end
BOOL indoorPicker
是否使用内置的楼层选择控件. 默认为YES.
定义 QMapView+Indoor.h:48
QIndoorLevel * activeLevel
当前正在展示的室内楼层.
定义 QMapView+Indoor.h:63
CGPoint indoorPickerOffset
默认的楼层选择控件偏移位置. 向右下增长
定义 QMapView+Indoor.h:53
QIndoorBuilding * activeBuilding
当前处于激活态的整个室内图数据
定义 QMapView+Indoor.h:58
表示室内图的建筑物
定义 QIndoorBuilding.h:17
表示室内图的数据类.
定义 QIndoorInfo.h:15
表示室内图的楼层
定义 QIndoorLevel.h:15
地图view的核心类
定义 QMapView.h:52