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.

58 lines
1.3 KiB
Objective-C

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//
// BMFGroundModel.h
// flutter_bmfmap
//
// Created by zhangbaojin on 2020/3/22.
//
#import "BMFModel.h"
@class BMFGroundModelOptions;
@class BMFCoordinate;
@class BMFCoordinateBounds;
NS_ASSUME_NONNULL_BEGIN
@interface BMFGroundModel : BMFModel
/// groundOverlay 唯一id
@property (nonatomic, copy) NSString *Id;
/// 参数集合
@property (nonatomic, strong) BMFGroundModelOptions *groundOptions;
@end
@interface BMFGroundModelOptions : BMFModel
/// 图片
@property (nonatomic, copy) NSString *image;
/// 宽
@property (nonatomic, assign) double width;
/// 高
@property (nonatomic, assign) double height;
/// 锚点x
@property (nonatomic, assign) double anchorX;
/// 锚点y
@property (nonatomic, assign) double anchorY;
/// 缩放级别
@property (nonatomic, assign) int zoomLevel;
/// 两种绘制GroundOverlay的方式之一绘制的位置地理坐标与anchor配对使用
@property (nonatomic, strong) BMFCoordinate *position;
/// 两种绘制GroundOverlay的方式之二绘制的地理区域范围图片在此区域内合理缩放
@property (nonatomic, strong) BMFCoordinateBounds *bounds;
/// 图片纹理透明度,最终透明度 = 纹理透明度 * alpha,取值范围为[0.0f, 1.0f]默认为1.0f
@property (nonatomic, assign) double transparency;
@end
NS_ASSUME_NONNULL_END