BaiduMap_IOSSDK_v6.6.1_Docs
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
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
该类为一个抽象类,定义了基于BMKAnnotation的BMKShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
Definition: BMKShape.h:13
BMKOverlay-p
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
BMKCoordinateBounds
表示一个经纬度区域
Definition: BMKTypes.h:159