You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
966 B
Objective-C
44 lines
966 B
Objective-C
//
|
|
// BMFMapStatusModel.h
|
|
// flutter_bmfmap
|
|
//
|
|
// Created by zbj on 2020/2/20.
|
|
//
|
|
|
|
#import "BMFModel.h"
|
|
|
|
@class BMFCoordinate;
|
|
@class BMFMapPoint;
|
|
@class BMFCoordinateBounds;
|
|
@class BMKMapStatus;
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface BMFMapStatusModel : BMFModel
|
|
|
|
/// 缩放级别:[3~19]
|
|
@property (nonatomic, assign) float fLevel;
|
|
|
|
/// 旋转角度
|
|
@property (nonatomic, assign) float fRotation;
|
|
|
|
/// 俯视角度:[-45~0]
|
|
@property (nonatomic, assign) float fOverlooking;
|
|
|
|
/// 屏幕中心点坐标:在屏幕内,超过无效
|
|
@property (nonatomic, strong) BMFMapPoint *targetScreenPt;
|
|
|
|
/// 地理中心点坐标:经纬度
|
|
@property (nonatomic, strong) BMFCoordinate *targetGeoPt;
|
|
|
|
/// 当前地图范围,采用经纬度坐标系东北,西南两坐标表示范围
|
|
@property (nonatomic, strong) BMFCoordinateBounds *visibleMapBounds;
|
|
|
|
|
|
+ (BMFMapStatusModel *)fromMapStatus:(BMKMapStatus *)mapStatus;
|
|
|
|
- (BMKMapStatus *)toMapStatus;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|