iOS高德地图SDK(3D)  V7.5.0
MAGroundOverlayRenderer Class Reference

此类是将MAGroundOverlay中的覆盖图片显示在地图上的renderer More...

#import <MAGroundOverlayRenderer.h>

Inheritance diagram for MAGroundOverlayRenderer:
MAOverlayRenderer

Instance Methods

(instancetype) - initWithGroundOverlay:
 根据指定的GroundOverlay生成将图片显示在地图上Renderer More...
 
- Instance Methods inherited from MAOverlayRenderer
(instancetype) - initWithOverlay:
 初始化并返回一个Overlay Renderer More...
 
(float *) - getViewMatrix
 获取当前地图view矩阵,数组长度为16,无需外界释放. 需要添加至地图后,才能获取有效矩阵数据,否则返回NULL More...
 
(float *) - getProjectionMatrix
 获取当前地图projection矩阵,数组长度为16,无需外界释放. 需要添加至地图后,才能获取有效矩阵数据,否则返回NULL More...
 
(MAMapPoint- getOffsetPoint
 获取当前地图中心点偏移,用以把地图坐标转换为gl坐标。需要添加到地图获取才有效。(since 5.1.0) More...
 
(CGFloat) - getMapZoomLevel
 获取当前地图缩放级别,需要添加到地图获取才有效。(since 5.1.0) More...
 
(CGPoint) - glPointForMapPoint:
 将MAMapPoint转换为opengles可以直接使用的坐标 More...
 
(CGPoint *) - glPointsForMapPoints:count:
 批量将MAMapPoint转换为opengles可以直接使用的坐标 More...
 
(CGFloat) - glWidthForWindowWidth:
 将屏幕尺寸转换为OpenGLES尺寸 More...
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:
 使用OpenGLES 绘制线 More...
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:LineJoinType:LineCapType:lineDash:
 使用OpenGLES 绘制线 More...
 
(void) - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:looped:
 使用OpenGLES 按指定纹理绘制线 More...
 
(void) - renderTexturedLinesWithPoints:pointCount:lineWidth:textureIDs:drawStyleIndexes:looped:
 使用OpenGLES 绘制多纹理线 More...
 
(void) - renderLinesWithPoints:pointCount:strokeColors:drawStyleIndexes:isGradient:lineWidth:looped:LineJoinType:LineCapType:lineDash:
 使用OpenGLES 绘制多段颜色线 More...
 
(void) - renderRegionWithPoints:pointCount:fillColor:usingTriangleFan:
 使用OpenGLES 绘制区域 More...
 
(void) - renderStrokedRegionWithPoints:pointCount:fillColor:strokeColor:strokeLineWidth:strokeLineJoinType:strokeLineDash:usingTriangleFan:
 使用OpenGLES 绘制区域(带轮廓线)
注意:strokeLineWidth为0 或 strokeColor为nil 时不绘制轮廓线。 More...
 
(void) - renderTextureStrokedRegionWithPoints:pointCount:fillColor:strokeTineWidth:strokeTextureID:usingTriangleFan:
 使用OpenGLES 绘制区域(带纹理轮廓线)
注意:strokeLineWidth为0 或 strokeTexture为0 时不绘制轮廓线。 More...
 
(void) - renderIconWithTextureID:points:
 使用OpenGLES 绘制图片 More...
 
(void) - renderIconWithTextureID:points:modulateColor:
 使用OpenGLES 绘制图片 More...
 
(void) - glRender
 绘制函数(子类需要重载来实现) More...
 
(GLuint) - loadStrokeTextureImage:
 加载纹理图片,纹理ID存储在成员strokeTextureID中。纹理图片为nil时,清空原有纹理 More...
 
(GLuint) - loadTexture:
 加载纹理图片(since 5.1.0) More...
 
(void) - deleteTexture:
 删除纹理(since 5.1.0) More...
 
(void) - setNeedsUpdate
 当关联overlay对象有更新时,调用此接口刷新. since 5.0.0 More...
 

Properties

MAGroundOverlaygroundOverlay
 具有覆盖图片,以及图片覆盖的区域 More...
 
- Properties inherited from MAOverlayRenderer
id< MAOverlayRenderDelegate > rendererDelegate
 由地图添加时,不要手动设置。如果不是使用mapview进行添加,则需要手动设置。(since 5.1.0) More...
 
id< MAOverlay > overlay
 关联的overlay对象 More...
 
UIImage * strokeImage
 用于生成笔触纹理id的图片(支持非PowerOfTwo图片; 如果您需要减轻绘制产生的锯齿,您可以参考AMap.bundle中的traffic_texture_blue.png的方式,在image两边增加部分透明像素.)。(since 5.3.0) More...
 
GLuint strokeTextureID
 笔触纹理id, 修改纹理id参考, 如果strokeImage未指定、尚未加载或加载失败返回0 More...
 
CGFloat alpha
 透明度[0,1],默认为1. 使用MAOverlayRenderer类提供的渲染接口会自动应用此属性。(since 5.1.0) More...
 
CGFloat contentScale
 overlay渲染的scale。(since 5.1.0) More...
 

Additional Inherited Members

- Protected Attributes inherited from MAOverlayRenderer
GLuint _strokeTextureID
 
CGSize _strokeTextureSize
 
BOOL _needsUpdate
 
BOOL _needsLoadStrokeTexture
 

Detailed Description

此类是将MAGroundOverlay中的覆盖图片显示在地图上的renderer

Method Documentation

◆ initWithGroundOverlay:()

- (instancetype) initWithGroundOverlay: (MAGroundOverlay *)  groundOverlay

根据指定的GroundOverlay生成将图片显示在地图上Renderer

Parameters
groundOverlay制定了覆盖图片,以及图片的覆盖区域的groundOverlay
Returns
以GroundOverlay新生成Renderer

Property Documentation

◆ groundOverlay

- (MAGroundOverlay*) groundOverlay
readnonatomicassign

具有覆盖图片,以及图片覆盖的区域


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。