amap_map/ios/Classes/Model/AMapCameraPosition.h

29 lines
726 B
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
@class AMapCameraPosition;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - Object interfaces
@interface AMapCameraPosition : NSObject
/// 可视区域指向的方向以角度为单位从正北向逆时针方向计算从0 度到360 度。
@property (nonatomic, assign) CGFloat bearing;
/// 目标位置的屏幕中心点经纬度坐标。
@property (nonatomic, assign) CLLocationCoordinate2D target;
/// 目标可视区域的倾斜度,以角度为单位。
@property (nonatomic, assign) CGFloat tilt;
/// 目标可视区域的缩放级别
@property (nonatomic, assign) CGFloat zoom;
- (NSDictionary *)toDictionary;
@end
NS_ASSUME_NONNULL_END