BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
载入中...
搜索中...
未找到
构造函数 | 属性 | 所有成员列表
BMKMultiPointOverlayView类 参考

#include <BMKMultiPointOverlayView.h>

类 BMKMultiPointOverlayView 继承关系图:
BMKOverlayGLBasicView BMKOverlayView

构造函数

(nullable instancetype) - initWithMultiPointOverlay:
 
- 构造函数 继承自 BMKOverlayGLBasicView
(CGPathRef path) - __deprecated_msg
 path对象
 
(BOOL lineDash) - __deprecated_msg
 是否为虚线样式,默认NO
 
(BOOL tileTexture) - __deprecated_msg
 是否纹理图片平铺绘制,默认NO
 
- 构造函数 继承自 BMKOverlayView
(nullable instancetype) - initWithOverlay:
 
(GLuint) - loadStrokeTextureImage:
 
(BOOL) - loadStrokeTextureImages:
 
(void) - setOverlayGeometryDelegate:
 设置该overlay的GeometryDelegate
 
(CGPoint) - pointForMapPoint:
 
(BMKMapPoint- mapPointForPoint:
 
(CGRect) - rectForMapRect:
 
(BMKMapRect- mapRectForRect:
 
(BOOL) - canDrawMapRect:zoomScale:
 
(void) - drawMapRect:zoomScale:inContext:
 
(void) - setNeedsDisplayInMapRect:
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:
 
(void) - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:looped:
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:lineDashType:
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:lineDash:
 
(void) - renderTexturedLinesWithPartPoints:lineWidth:textureIndexs:isFocus:
 
(void) - renderTexturedLinesWithPartPoints:lineWidth:textureIndexs:isFocus:tileTexture:keepScale:
 
(void) - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:strokeColor:looped:tileTexture:keepScale:
 
(void) - renderTexturedPolyLineWithPoints:lineWidth:textureID:strokeColor:isFoucs:keepScale:lineJoinType:lineCapType:
 
(void) - renderMultiTexturedPolyLineWithPartPoints:lineWidth:textureIndexs:isFoucs:keepScale:lineJoinType:lineCapType:
 
(void) - renderDashPolyLineWithPoints:lineWidth:strokeColor:lineDashType:
 
(void) - renderMultiDashPolyLineWithPartPoints:lineWidth:textureIndexs:lineDashType:
 
(void) - renderRegionWithPoints:pointCount:fillColor:usingTriangleFan:
 
(void) - renderATRegionWithPoint:pointCount:fillColor:usingTriangleFan:
 
(void) - rendeCircleWithPoints:pointCount:lineWidth:fillColor:strokeColor:
 
(void) - rendePolygonWithPoints:pointCount:lineWidth:fillColor:strokeColor:
 
(void) - glRender
 

属性

UIImage * icon
 标注纹理图片
 
CGSize pointSize
 纹理渲染大小,默认为icon图片大小
 
CGPoint anchor
 经纬度对应图片中的位置,默认为(0.5,0.5),范围[0-1] 负值自动取其绝对值 左上角为 (0,0) 右下角为 (1,1)
 
BMKMultiPointOverlaymultiPointOverlay
 该View对应的海量点数据对象
 
BOOL isClickable
 是否可点击,默认YES
 
id< BMKMultiPointOverlayViewDelegatedelegate
 点击海量点图层回调代理
 
- 属性 继承自 BMKOverlayGLBasicView
UIImage * textureImage
 
BOOL keepScale
 纹理图片是否缩放,默认NO
 
- 属性 继承自 BMKOverlayView
id< BMKOverlayoverlay
 关联的overlay对象
 
GLuint strokeTextureID
 关联的纹理对象ID
 

额外继承的成员函数

- Protected 属性 继承自 BMKOverlayView
package id< BMKOverlay_overlay
 
BMKMapRect _boundingMapRect
 
CGAffineTransform _mapTransform
 
id _geometryDelegate
 
id _canDrawCache
 
BOOL keepScale
 
CFTimeInterval _lastTile
 
CFRunLoopTimerRef _scheduledScaleTimer
 
struct { 
 
   unsigned int   keepAlive:1 
 
   unsigned int   levelCrossFade:1 
 
   unsigned int   drawingDisabled:1 
 
   unsigned int   usesTiledLayer:1 
 
_flags 
 

函数文档

◆ initWithMultiPointOverlay:

- (nullable instancetype) initWithMultiPointOverlay: (BMKMultiPointOverlay *) multiPointOverlay

根据指定的海量点生成一个海量点图层View

参数
multiPointOverlay指定的海量点数据对象
返回
新生成的海量点图层View

属性说明

◆ anchor

- (CGPoint) anchor
readwritenonatomicassign

经纬度对应图片中的位置,默认为(0.5,0.5),范围[0-1] 负值自动取其绝对值 左上角为 (0,0) 右下角为 (1,1)

◆ delegate

- (id<BMKMultiPointOverlayViewDelegate>) delegate
readwritenonatomicweak

点击海量点图层回调代理

◆ icon

- (UIImage*) icon
readwritenonatomicstrong

标注纹理图片

◆ isClickable

- (BOOL) isClickable
readwritenonatomicassign

是否可点击,默认YES

◆ multiPointOverlay

- (BMKMultiPointOverlay*) multiPointOverlay
readnonatomicassign

该View对应的海量点数据对象

◆ pointSize

- (CGSize) pointSize
readwritenonatomicassign

纹理渲染大小,默认为icon图片大小


该类的文档由以下文件生成: