TencentMapSDK_iOS_3D_v6.7.0

QMarker.h
1 //
2 // QMarker.h
3 // QMapKit
4 //
5 // Created by Keith Cao on 2020/1/19.
6 // Copyright © 2020 tencent. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <CoreLocation/CoreLocation.h>
11 #import <UIKit/UIKit.h>
12 #import "QShape.h"
13 #import "QOverlay.h"
14 #import "QTypes.h"
15
16 NS_ASSUME_NONNULL_BEGIN
17
23 @interface QMarker : QShape <QOverlay>
24
28 @property(nonatomic, readonly) QMapRect boundingMapRect;
29
32 - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate;
33
37 @property (nonatomic, assign, readonly) CLLocationCoordinate2D coordinate;
38
39
40 @end
41
42 NS_ASSUME_NONNULL_END
QShape
该类为一个抽象类，定义了QShape类的基本属性和行为，不能直接使用，必须子类化之后才能使用
Definition: QShape.h:16
QMarker::boundingMapRect
QMapRect boundingMapRect
区域外接矩形
Definition: QMarker.h:28
QMarker::coordinate
CLLocationCoordinate2D coordinate
marker 的经纬度坐标
Definition: QMarker.h:37
QOverlay-p
QOverlay:地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition: QOverlay.h:15
QMarker
标记覆盖物.
Definition: QMarker.h:23
QMapRect
平面投影矩形结构定义
Definition: QGeometry.h:92