10#import "BMKLineDrawType.h"
12NS_ASSUME_NONNULL_BEGIN
18 id <BMKOverlay> _overlay;
20 CGAffineTransform _mapTransform;
24 CFTimeInterval _lastTile;
25 CFRunLoopTimerRef _scheduledScaleTimer;
28 unsigned int keepAlive:1;
29 unsigned int levelCrossFade:1;
30 unsigned int drawingDisabled:1;
31 unsigned int usesTiledLayer:1;
37- (nullable instancetype)initWithOverlay:(
id <
BMKOverlay>)overlay;
40@property (nonatomic, readonly) id <BMKOverlay>
overlay;
48- (GLuint)loadStrokeTextureImage:(UIImage *)textureImage __deprecated_msg("已废弃since 6.5.0,请使用BMKOverlayGLBasicView中textureImage字段");
53- (BOOL)loadStrokeTextureImages:(NSArray<UIImage *> *)textureImages __deprecated_msg("已废弃since 6.5.0,请使用BMKMultiTexturePolylineView中textureImages字段");
56- (void)setOverlayGeometryDelegate:(
id)delegate;
93- (BOOL)canDrawMapRect:(
BMKMapRect)mapRect zoomScale:(BMKZoomScale)zoomScale;
102- (void)drawMapRect:(
BMKMapRect)mapRect zoomScale:(BMKZoomScale)zoomScale inContext:(CGContextRef)context;
108- (void)setNeedsDisplayInMapRect:(
BMKMapRect)mapRect;
110#pragma mark - since 6.0 render函数无效
120- (void)renderLinesWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount strokeColor:(UIColor *)strokeColor lineWidth:(CGFloat)lineWidth looped:(BOOL)looped __deprecated_msg("已废弃since 6.0.0,内部无实现");
129- (void)renderTexturedLinesWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount lineWidth:(CGFloat)lineWidth textureID:(GLuint)textureID looped:(BOOL)looped __deprecated_msg("已废弃since 6.0.0,内部无实现");
140- (void)renderLinesWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount strokeColor:(UIColor *)strokeColor lineWidth:(CGFloat)lineWidth looped:(BOOL)looped lineDashType:(BMKLineDashType)lineDashType __deprecated_msg("已废弃since 6.0.0,内部无实现");
151- (void)renderLinesWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount strokeColor:(UIColor *)strokeColor lineWidth:(CGFloat)lineWidth looped:(BOOL)looped lineDash:(BOOL)lineDash __deprecated_msg("已废弃since 5.0.0,内部无实现,请使用renderLinesWithPoints: pointCount: strokeColor: lineWidth:looped: lineDashType:");
160-(void)renderTexturedLinesWithPartPoints:(NSArray*)partPt lineWidth:(CGFloat)lineWidth textureIndexs:(NSArray*)textureIndexs isFocus:(BOOL) isFoucs __deprecated_msg("已废弃since 5.0.0,内部无实现");
171-(void)renderTexturedLinesWithPartPoints:(NSArray*)partPt lineWidth:(CGFloat)lineWidth textureIndexs:(NSArray*)textureIndexs isFocus:(BOOL) isFoucs tileTexture:(BOOL) tileTexture keepScale:(BOOL) keepscale __deprecated_msg("已废弃since 5.0.0,内部无实现,请使用renderMultiTexturedPolyLine");
184- (void)renderTexturedLinesWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount lineWidth:(CGFloat)lineWidth textureID:(GLuint)textureID strokeColor:(UIColor *)strokeColor looped:(BOOL)looped tileTexture:(BOOL) tileTexture keepScale:(BOOL) keepScale __deprecated_msg("已废弃since 6.0.0,内部无实现");
197- (void)renderTexturedPolyLineWithPoints:(NSArray <NSValue *> *)points lineWidth:(CGFloat)lineWidth textureID:(GLuint)textureID strokeColor:(UIColor *)strokeColor isFoucs:(BOOL)isFoucs keepScale:(BOOL)keepScale lineJoinType:(BMKLineJoinType)lineJoinType lineCapType:(BMKLineCapType)lineCapType __deprecated_msg("已废弃since 6.0.0,内部无实现");
209-(void)renderMultiTexturedPolyLineWithPartPoints:(NSArray*)partPt lineWidth:(CGFloat)lineWidth textureIndexs:(NSArray<NSNumber *> *)textureIndexs isFoucs:(BOOL)isFoucs keepScale:(BOOL)keepScale lineJoinType:(BMKLineJoinType)lineJoinType lineCapType:(BMKLineCapType)lineCapType __deprecated_msg("已废弃since 6.0.0,内部无实现");
218- (void)renderDashPolyLineWithPoints:(NSArray <NSValue *> *)points lineWidth:(CGFloat)lineWidth strokeColor:(UIColor *)strokeColor lineDashType:(BMKLineDashType)lineDashType __deprecated_msg("已废弃since 6.0.0,内部无实现");
227-(void)renderMultiDashPolyLineWithPartPoints:(NSArray*)partPt lineWidth:(CGFloat)lineWidth textureIndexs:(NSArray<NSNumber *> *)textureIndexs lineDashType:(BMKLineDashType)lineDashType __deprecated_msg("已废弃since 6.0.0,内部无实现");
236- (void)renderRegionWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount fillColor:(UIColor *)fillColor usingTriangleFan:(BOOL)usingTriangleFan __deprecated_msg("已废弃since 6.0.0,内部无实现");
245- (void)renderATRegionWithPoint:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount fillColor:(UIColor *)fillColor usingTriangleFan:(BOOL)usingTriangleFan __deprecated_msg("已废弃since 6.0.0,内部无实现");
255- (void)rendeCircleWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount lineWidth:(CGFloat)lineWidth fillColor:(UIColor *)fillColor strokeColor:(UIColor *)strokeColor __deprecated_msg("已废弃since 6.0.0,内部无实现");
265- (void)rendePolygonWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount lineWidth:(CGFloat)lineWidth fillColor:(UIColor *)fillColor strokeColor:(UIColor *)strokeColor __deprecated_msg("已废弃since 6.0.0,内部无实现");
该类是地图覆盖物View的基类,提供绘制overlay的接口但本身并无实现,所有地图覆盖物View需要继承自此类
Definition: BMKOverlayView.h:15
id< BMKOverlay > overlay
关联的overlay对象
Definition: BMKOverlayView.h:40
GLuint strokeTextureID
关联的纹理对象ID
Definition: BMKOverlayView.h:43
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
地理坐标点,用直角地理坐标表示
Definition: BMKTypes.h:187
矩形,用直角地理坐标表示
Definition: BMKTypes.h:231