#import <MBIconOverlay.h>
◆ initWithFilePath:maintainPixelSize:()
- (instancetype) initWithFilePath: |
|
(NSString *) |
filePath |
maintainPixelSize: |
|
(BOOL) |
size |
|
|
| |
根据指定图片创建图标Overlay
- 参数
-
filePath | 所使用的图片路径 |
size | 是否保持像素级大小文件路径 |
- 返回
- 类对象
◆ markAsAnimated:flashPattern:()
- (void) markAsAnimated: |
|
(NSInteger) |
subimageNumber |
flashPattern: |
|
(NSString *) |
flashPattern |
|
|
| |
添加图片动画
- 参数
-
subimageNumber | 图片数量 |
flashPattern | "*1000" means all frames last 1000 milliseconds. Like:*-*-*-*-*-...... "b300;a300;b300;a1800" constitues a flash-flash warning effect. Like: *-*---—*-*----—...... |
◆ setImageFilePath:()
- (void) setImageFilePath: |
|
(NSString *) |
filePath |
|
◆ keepSizeDespiteDistance
- (BOOL) keepSizeDespiteDistance |
|
readwritenonatomicassign |
Set whether to keep same size at different positions in a map, even if the map is a 3D one with a low elevation. Default: false.
- 自从
- 5.0.x
◆ ndsPosition
◆ orientAngle
图标角度 此角度为地图中的角度,即,正北为0度,逆时针为正 也就是正东是270度,正南为180度,正西为90度,单位:度
◆ position
◆ scaleFactor
该类的文档由以下文件生成:
- /Users/zcl/Downloads/iNaviCore.framework/Versions/A/Headers/MBIconOverlay.h