TencentMapSDK_iOS_3D_v6.4.0
载入中...
搜索中...
未找到
QAnnotation.h
1//
2// QAnnotation.h
3// QMapKit
4//
5// Created by tabsong on 17/5/18.
6// Copyright © 2017年 tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <CoreLocation/CoreLocation.h>
11#import "QIndoorInfo.h"
12
16@protocol QAnnotation <NSObject>
17
21@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
22
23@optional
24
30- (NSString *)title;
31
37- (NSString *)subtitle;
38
44- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate;
45
52
53@end
表示室内图的数据类.
定义 QIndoorInfo.h:15
CLLocationCoordinate2D coordinate
标注view中心坐标
定义 QAnnotation.h:21
QIndoorInfo * indoorInfo()
获取annotation室内位置
NSString * title()
获取annotation标题
NSString * subtitle()
获取annotation副标题