BaiduMap_IOSSDK_v6.6.1_Docs
|
此类用于定义一个轨迹View since 6.4.0 更多...
#import <BMKTraceOverlayView.h>
属性 | |
BMKTraceOverlay * | traceOverlay |
该View对应的折线数据对象 | |
NSArray< UIColor * > * | strokeColors |
![]() | |
UIColor * | fillColor |
UIColor * | strokeColor |
CGFloat | lineWidth |
画笔宽度,默认为0 | |
BMKLineDashType | lineDashType |
虚线类型, since 5.0.0,默认kBMKLineDashTypeNone (仅支持颜色虚线) | |
![]() | |
UIImage * | textureImage |
BOOL | keepScale |
纹理图片是否缩放,默认NO | |
![]() | |
id< BMKOverlay > | overlay |
关联的overlay对象 | |
GLuint | strokeTextureID |
关联的纹理对象ID | |
额外继承的成员函数 | |
![]() | |
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 |
此类用于定义一个轨迹View since 6.4.0
- (nullable instancetype) initWithTraceOverlay: | (BMKTraceOverlay *) | traceOverlay |
根据指定的轨迹生成一个轨迹View
traceOverlay | 指定的轨迹数据对象 |
|
readwritenonatomiccopy |
使用分段颜色绘制时,必须设置(内容必须为UIColor)since 6.5.7 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor。 使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题 注意:strokeColors 长度与轨迹点的个数必须保持一致