iOS高德地图SDK(2D)  v5.6.0
MAGroundOverlay.h
Go to the documentation of this file.
1 //
2 // MAGroundOverlay.h
3 // DevDemo2D
4 //
5 // Created by AutoNavi.
6 // Copyright (c) 2014年 Amap. All rights reserved.
7 //
8 
9 #import "MAShape.h"
10 #import "MAOverlay.h"
11 
13 @interface MAGroundOverlay : MAShape <MAOverlay>
14 
15 
17 @property (nonatomic, readonly) UIImage *icon;
18 
20 @property (nonatomic, readonly) CGFloat zoomLevel;
21 
23 @property (nonatomic, readonly) MACoordinateBounds bounds;
24 
31 + (instancetype)groundOverlayWithBounds:(MACoordinateBounds)bounds
32  icon:(UIImage *)icon;
33 
41 + (instancetype)groundOverlayWithCoordinate:(CLLocationCoordinate2D)coordinate
42  zoomLevel:(CGFloat)zoomLevel
43  icon:(UIImage *)icon;
44 
45 @end
MACoordinateBounds bounds
图片在地图中的覆盖范围
Definition: MAGroundOverlay.h:23
该类用于确定覆盖在地图上的图片,及其覆盖区域, 通常MAGroundOverlay是MAGroundOverlayRenderer的model ...
Definition: MAGroundOverlay.h:13
CGFloat zoomLevel
覆盖图片在地图尺寸等同于其像素的zoom值
Definition: MAGroundOverlay.h:20
UIImage * icon
绘制在地图上的覆盖图片
Definition: MAGroundOverlay.h:17
东北、西南两个点定义的四边形经纬度范围
Definition: MAGeometry.h:17
该类为一个抽象类,定义了基于MAAnnotation的MAShape类的基本属性和行为,不能直接使用,必须子类化之后才能...
Definition: MAShape.h:13
© 2017 高德信息技术有限公司 版权所有,保留所有权利。