|
iOS高德轻量版地图SDK
1.2.0
|
此类用于绘制MAPolyline,可以通过MAOverlayPathRenderer修改其fill和stroke attributes More...
#import <MAPolylineRenderer.h>
Instance Methods | |
| (instancetype) | - initWithPolyline: |
| 根据指定的MAPolyline生成一个多段线Renderer More... | |
Instance Methods inherited from MAOverlayRenderer | |
| (instancetype) | - initWithOverlay: |
| 初始化并返回一个Overlay Renderer More... | |
| (void) | - setNeedsUpdate |
| 当关联overlay对象有更新时,调用此接口刷新. More... | |
Properties | |
| NSInteger | zIndex |
| z值,大值在上,默认为1。覆盖物的叠加顺序。默认叠加顺序,先添加的在底层,后添加的在上层。默认为50 More... | |
| MAPolyline * | polyline |
| 关联的MAPolyline model More... | |
Properties inherited from MAOverlayPathRenderer | |
| UIColor * | fillColor |
| 填充颜色,默认是kMAOverlayRendererDefaultFillColor (注意:只有绘制多边形时有效,为填充色) More... | |
| UIColor * | strokeColor |
| 笔触颜色,默认是kMAOverlayRendererDefaultStrokeColor More... | |
| CGFloat | lineWidth |
| 笔触宽度, 单位屏幕点坐标,默认是0 More... | |
| MALineJoinType | lineJoinType |
| LineJoin,默认是kMALineJoinBevel. More... | |
| MALineCapType | lineCapType |
| LineCap,默认是kMALineCapButt. More... | |
| MALineDashType | lineDashType |
| 虚线类型 More... | |
Properties inherited from MAOverlayRenderer | |
| id< MAOverlayRenderDelegate > | rendererDelegate |
| 由地图添加时,不要手动设置。如果不是使用map进行添加,则需要手动设置。 More... | |
| NSInteger | zIndex |
| z值,大值在上,默认为1。覆盖物的叠加顺序。默认叠加顺序,先添加的在底层,后添加的在上层。默认为10 More... | |
| id< MAOverlay > | overlay |
| 关联的overlay对象 More... | |
| CGFloat | alpha |
| 透明度[0,1],默认为1。 More... | |
| BOOL | isVisible |
| 是否可见,默认为YES More... | |
此类用于绘制MAPolyline,可以通过MAOverlayPathRenderer修改其fill和stroke attributes
| - (instancetype) initWithPolyline: | (MAPolyline *) | polyline |
根据指定的MAPolyline生成一个多段线Renderer
| polyline | 指定MAPolyline |
|
readnonatomicassign |
关联的MAPolyline model
|
readwritenonatomicassign |
z值,大值在上,默认为1。覆盖物的叠加顺序。默认叠加顺序,先添加的在底层,后添加的在上层。默认为50