BaiduMap_IOSSDK_v6.5.9_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
12NS_ASSUME_NONNULL_BEGIN
15{
16 @public
17 float zoomLevel;
18 CLLocationCoordinate2D _pt;
20 CGPoint _anchor;
21 UIImage *_icon;
22 BOOL isCenterPt;
23}
24
26@property (nonatomic, assign) CLLocationCoordinate2D pt;
30@property (nonatomic, assign) CGPoint anchor;
33@property (nonatomic, assign) BMKCoordinateBounds bound;
36@property(nonatomic, strong) UIImage *icon;
39@property(nonatomic) GLfloat alpha;
47+ (nullable instancetype)groundOverlayWithPosition:(CLLocationCoordinate2D)position
48 zoomLevel:(CGFloat)zoomLevel
49 anchor:(CGPoint)anchor
50 icon:(UIImage *)icon;
51
52
57+ (nullable instancetype)groundOverlayWithBounds:(BMKCoordinateBounds)bounds
58 icon:(UIImage *)icon;
59
60
61@end
62NS_ASSUME_NONNULL_END
该类用于定义一个图片图层
Definition: BMKGroundOverlay.h:16
该类为一个抽象类,定义了基于BMKAnnotation的BMKShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
Definition: BMKShape.h:13
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
表示一个经纬度区域
Definition: BMKTypes.h:157