BaiduMap_IOSSDK_v6.2.0_Docs  6.2.0
BMKGroundOverlay.h
浏览该文件的文档.
1 /*
2  * BMKGroundOverlay.h
3  * BMapKit
4  *
5  * Copyright 2011 Baidu Inc. All rights reserved.
6  *
7  */
8 #import "BMKMultiPoint.h"
9 #import "BMKOverlay.h"
12 {
13  @public
14  float zoomLevel;
15  CLLocationCoordinate2D _pt;
17  CGPoint _anchor;
18  UIImage* _icon;
19  int iconID;
20  BOOL isCenterPt;
21  int left;
22  int bottom;
23  int width;
24  int height;
25 }
27 @property (nonatomic,assign) CLLocationCoordinate2D pt;
28 
31 @property (nonatomic,assign) CGPoint anchor;
32 
34 @property (nonatomic,assign) BMKCoordinateBounds bound;
35 
37 @property(nonatomic, strong) UIImage *icon;
38 
40 @property(nonatomic) GLfloat alpha;
41 
50 + (BMKGroundOverlay *)groundOverlayWithPosition:(CLLocationCoordinate2D)position
51  zoomLevel:(CGFloat)zoomLevel
52  anchor:(CGPoint)anchor
53  icon:(UIImage*)icon;
54 
61 + (BMKGroundOverlay *)groundOverlayWithBounds:(BMKCoordinateBounds)bounds
62  icon:(UIImage*)icon;
63 
64 
65 @end
该类用于定义一个图片图层
Definition: BMKGroundOverlay.h:13
int iconID
Definition: BMKGroundOverlay.h:20
int left
Definition: BMKGroundOverlay.h:22
int width
Definition: BMKGroundOverlay.h:24
CGPoint _anchor
Definition: BMKGroundOverlay.h:18
float zoomLevel
Definition: BMKGroundOverlay.h:15
UIImage * _icon
Definition: BMKGroundOverlay.h:19
BOOL isCenterPt
Definition: BMKGroundOverlay.h:21
CLLocationCoordinate2D _pt
Definition: BMKGroundOverlay.h:16
int bottom
Definition: BMKGroundOverlay.h:23
int height
Definition: BMKGroundOverlay.h:25
BMKCoordinateBounds _bound
Definition: BMKGroundOverlay.h:17
该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition: BMKMultiPoint.h:18
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
表示一个经纬度区域
Definition: BMKTypes.h:160