BMKMapStatus.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * BMKMapStatus.h
  3. * BMapKit
  4. *
  5. * Copyright 2011 Baidu Inc. All rights reserved.
  6. *
  7. */
  8. #import <CoreLocation/CoreLocation.h>
  9. #import <UIKit/UIKit.h>
  10. #import <BaiduMapAPI_Base/BMKTypes.h>
  11. //#import <QuartzCore/QuartzCore.h>
  12. ///此类表示地图状态信息
  13. @interface BMKMapStatus : NSObject
  14. {
  15. float _fLevel; // 缩放比例,3-19级
  16. float _fRotation; // 旋转角度
  17. float _fOverlooking; // 俯视角度
  18. CGPoint _targetScreenPt;//屏幕坐标(中心点)
  19. CLLocationCoordinate2D _targetGeoPt;//地理坐标(中心点)
  20. }
  21. ///缩放级别:[3~19]
  22. @property (nonatomic, assign) float fLevel;
  23. ///旋转角度
  24. @property (nonatomic, assign) float fRotation;
  25. ///俯视角度:[-45~0]
  26. @property (nonatomic, assign) float fOverlooking;
  27. ///屏幕中心点坐标:在屏幕内,超过无效
  28. @property (nonatomic) CGPoint targetScreenPt;
  29. ///地理中心点坐标:经纬度
  30. @property (nonatomic) CLLocationCoordinate2D targetGeoPt;
  31. ///当前地图范围,采用直角坐标系表示,向右向下增长
  32. @property (nonatomic, assign, readonly) BMKMapRect visibleMapRect;
  33. @end