BaiduMap_IOSSDK_v6.2.0_Docs  6.2.0
BMKMapStatus.h
浏览该文件的文档.
1 /*
2  * BMKMapStatus.h
3  * BMapKit
4  *
5  * Copyright 2011 Baidu Inc. All rights reserved.
6  *
7  */
8 
9 #import <CoreLocation/CoreLocation.h>
10 #import <UIKit/UIKit.h>
11 #ifdef USE_NAVI
12 #import <BaiduMapAPI_Base_Navi/BMKTypes.h>
13 #else
14 #import <BaiduMapAPI_Base/BMKTypes.h>
15 #endif
16 //#import <QuartzCore/QuartzCore.h>
17 
19 @interface BMKMapStatus : NSObject
20 {
21  float _fLevel; // 缩放比例,4-21级
22  float _fRotation; // 旋转角度
23  float _fOverlooking; // 俯视角度
24 
25  CGPoint _targetScreenPt;//屏幕坐标(中心点)
26  CLLocationCoordinate2D _targetGeoPt;//地理坐标(中心点)
27 }
29 @property (nonatomic, assign) float fLevel;
31 @property (nonatomic, assign) float fRotation;
33 @property (nonatomic, assign) float fOverlooking;
35 @property (nonatomic) CGPoint targetScreenPt;
37 @property (nonatomic) CLLocationCoordinate2D targetGeoPt;
39 @property (nonatomic, assign, readonly) BMKMapRect visibleMapRect;
40 
41 @end
42 
43 
44 
此类表示地图状态信息
Definition: BMKMapStatus.h:20
float _fRotation
Definition: BMKMapStatus.h:22
float _fLevel
Definition: BMKMapStatus.h:21
float _fOverlooking
Definition: BMKMapStatus.h:23
CGPoint _targetScreenPt
Definition: BMKMapStatus.h:25
CLLocationCoordinate2D _targetGeoPt
Definition: BMKMapStatus.h:26
矩形,用直角地理坐标表示
Definition: BMKTypes.h:226