TencentMapSDK_iOS_3D_v6.7.0

QOverlayObject.h
1 //
2 // QOverlayObject.h
3 // QMapKit
4 //
5 // Created by KeithCao on 2022/7/15.
6 // Copyright © 2022 tencent. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <CoreLocation/CoreLocation.h>
11
12 NS_ASSUME_NONNULL_BEGIN
13
17 @interface QOverlayObject : NSObject
18
22 @property (nonatomic, assign) CLLocationCoordinate2D clickedPosition;
23
27 @property (nonatomic, copy) NSString *identifier;
28
32 @property (nonatomic, copy) NSString *name;
33
34 @end
35
36 NS_ASSUME_NONNULL_END
QOverlayObject
可被点击对象的抽象基类
Definition: QOverlayObject.h:18
QOverlayObject::name
NSString * name
被点击对象的名称，可能为空
Definition: QOverlayObject.h:32
QOverlayObject::identifier
NSString * identifier
被点击对象的标识符
Definition: QOverlayObject.h:27
QOverlayObject::clickedPosition
CLLocationCoordinate2D clickedPosition
点击的经纬度
Definition: QOverlayObject.h:22