BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

BMKGroundOverlay.h
浏览该文件的文档.
1 /*
2 * BMKGroundOverlay.h
3 * BMapKit
4 *
5 * Copyright 2011 Baidu Inc. All rights reserved.
6 *
7 */
8
9 #import "BMKShape.h"
10 #import "BMKOverlay.h"
11
12 NS_ASSUME_NONNULL_BEGIN
14 @interface BMKGroundOverlay : BMKShape <BMKOverlay>
15 {
16 @public
17 float zoomLevel;
18 CLLocationCoordinate2D _pt;
19 BMKCoordinateBounds _bound;
20 CGPoint _anchor;
21 UIImage *_icon;
22 BOOL isCenterPt;
23 }
26 @property (nonatomic, assign) CLLocationCoordinate2D pt;
27
30 @property (nonatomic, assign) CGPoint anchor;
31
33 @property(nonatomic) CGFloat zoomLevel;
34
36 @property (nonatomic, assign) BMKCoordinateBounds bound;
37
39 @property(nonatomic, strong) UIImage *icon;
40
42 @property(nonatomic) GLfloat alpha;
43
50 + (nullable instancetype)groundOverlayWithPosition:(CLLocationCoordinate2D)position
51 zoomLevel:(CGFloat)zoomLevel
52 anchor:(CGPoint)anchor
53 icon:(UIImage *)icon;
54
55
60 + (nullable instancetype)groundOverlayWithBounds:(BMKCoordinateBounds)bounds
61 icon:(UIImage *)icon;
62
63
64 @end
65 NS_ASSUME_NONNULL_END
BMKGroundOverlay
该类用于定义一个图片图层
Definition: BMKGroundOverlay.h:16
BMKShape.h
BMKShape
该类为一个抽象类，定义了基于BMKAnnotation的BMKShape类的基本属性和行为，不能直接使用，必须子类化之后才能使用
Definition: BMKShape.h:13
BMKOverlay.h
BMKGroundOverlay::_icon
UIImage * _icon
Definition: BMKGroundOverlay.h:22
BMKOverlay-p
该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
BMKGroundOverlay::_pt
CLLocationCoordinate2D _pt
Definition: BMKGroundOverlay.h:19
BMKGroundOverlay::zoomLevel
float zoomLevel
Definition: BMKGroundOverlay.h:18
BMKGroundOverlay::_anchor
CGPoint _anchor
Definition: BMKGroundOverlay.h:21
BMKCoordinateBounds
表示一个经纬度区域
Definition: BMKTypes.h:198
BMKGroundOverlay::_bound
BMKCoordinateBounds _bound
Definition: BMKGroundOverlay.h:20
BMKGroundOverlay::isCenterPt
BOOL isCenterPt
Definition: BMKGroundOverlay.h:23