BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
载入中...
搜索中...
未找到
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;
26@property (nonatomic, assign) CLLocationCoordinate2D pt;
30@property (nonatomic, assign) CGPoint anchor;
33@property(nonatomic) CGFloat zoomLevel;
36@property (nonatomic, assign) BMKCoordinateBounds bound;
39@property(nonatomic, strong) UIImage *icon;
42@property(nonatomic) GLfloat alpha;
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
65NS_ASSUME_NONNULL_END
该类用于定义一个图片图层
Definition BMKGroundOverlay.h:16
CGPoint _anchor
Definition BMKGroundOverlay.h:21
float zoomLevel
Definition BMKGroundOverlay.h:18
BOOL isCenterPt
Definition BMKGroundOverlay.h:23
CLLocationCoordinate2D _pt
Definition BMKGroundOverlay.h:19
UIImage * _icon
Definition BMKGroundOverlay.h:22
BMKCoordinateBounds _bound
Definition BMKGroundOverlay.h:20
该类为一个抽象类,定义了基于BMKAnnotation的BMKShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
Definition BMKShape.h:13
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition BMKOverlay.h:17
表示一个经纬度区域
Definition BMKTypes.h:159