8 #import <UIKit/UIKit.h> 17 id <BMKOverlay> _overlay;
19 CGAffineTransform _mapTransform;
23 CFTimeInterval _lastTile;
24 CFRunLoopTimerRef _scheduledScaleTimer;
27 unsigned int keepAlive:1;
28 unsigned int levelCrossFade:1;
29 unsigned int drawingDisabled:1;
30 unsigned int usesTiledLayer:1;
36 - (void)setOverlayGeometryDelegate:(
id)delegate;
43 - (id)initWithOverlay:(
id <
BMKOverlay>)overlay;
46 @property (nonatomic, readonly) id <BMKOverlay>
overlay;
83 - (BOOL)canDrawMapRect:(
BMKMapRect)mapRect zoomScale:(BMKZoomScale)zoomScale;
92 - (void)drawMapRect:(
BMKMapRect)mapRect zoomScale:(BMKZoomScale)zoomScale inContext:(CGContextRef)context;
98 - (void)setNeedsDisplayInMapRect:(
BMKMapRect)mapRect;
108 - (void)renderLinesWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount strokeColor:(UIColor *)strokeColor lineWidth:(CGFloat)lineWidth looped:(BOOL)looped;
118 - (void)renderLinesWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount strokeColor:(UIColor *)strokeColor lineWidth:(CGFloat)lineWidth looped:(BOOL)looped lineDash:(BOOL)lineDash;
128 - (void)renderTexturedLinesWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount lineWidth:(CGFloat)lineWidth textureID:(GLuint)textureID looped:(BOOL)looped;
140 - (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;
160 -(void)renderTexturedLinesWithPartPoints:(NSArray*)partPt lineWidth:(CGFloat)lineWidth textureIndexs:(NSArray*)textureIndexs isFocus:(BOOL) isFoucs;
171 -(void)renderTexturedLinesWithPartPoints:(NSArray*)partPt lineWidth:(CGFloat)lineWidth textureIndexs:(NSArray*)textureIndexs isFocus:(BOOL) isFoucs tileTexture:(BOOL) tileTexture keepScale:(BOOL) keepScale;
180 - (void)renderRegionWithPoints:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount fillColor:(UIColor *)fillColor usingTriangleFan:(BOOL)usingTriangleFan;
188 - (void)renderATRegionWithPoint:(
BMKMapPoint *)points pointCount:(NSUInteger)pointCount fillColor:(UIColor *)fillColor usingTriangleFan:(BOOL)usingTriangleFan;
203 - (GLuint)loadStrokeTextureImage:(UIImage *)textureImage;
210 - (BOOL)loadStrokeTextureImages:(NSArray *)textureImages;
214 @property (nonatomic, strong) NSArray *
colors;
该类是地图覆盖物View的基类,提供绘制overlay的接口但本身并无实现,所有地图覆盖物View需要继承自此类
Definition: BMKOverlayView.h:12
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:13
矩形,用直角地理坐标表示
Definition: BMKTypes.h:200
GLuint strokeTextureID
关联的纹理对象ID
Definition: BMKOverlayView.h:196
id< BMKOverlay > overlay
关联的overlay对象
Definition: BMKOverlayView.h:46
NSArray * colors
Definition: BMKOverlayView.h:214
地理坐标点,用直角地理坐标表示
Definition: BMKTypes.h:166