Map Doc
1.0
iOS-引擎SDK-开放平台
|
#import <MBModelOverlay.h>
构造函数 | |
(instancetype) | - initWithFilePath: |
(void) | - enableBuildingOpaque: |
![]() | |
(void) | - setNeedsDisplay |
(void) | - setColor: |
(uint) | - getColor |
(void) | - setUIColor: |
(UIColor *) | - getUIColor |
(const MBRect) | - boundingBox |
(void) | - setSelected:pos: |
属性 | |
int | size |
float | scaleFactor |
NSInteger | heading |
MBPoint | position |
![]() | |
MBOverlayLayer | overlayerLayer |
int | zLevel |
BOOL | hidden |
BOOL | clickEnable |
int | tag |
MBPoint | postion |
MBNdsPoint | ndsPosition |
额外继承的成员函数 | |
![]() | |
package void * | _native |
package BOOL | _attatched |
3D小车图层。
- (void) enableBuildingOpaque: | (BOOL) | toEnable |
当3D小车被建筑物遮挡时建筑物是否透明。默认值 false
toEnable | 建筑物是否透明。 |
- (instancetype) initWithFilePath: | (NSString *) | filePath |
3D小车初始化。
filePath | 文件路径。 |
|
readwritenonatomicassign |
方向,范围[0,360),默认0。
|
readwritenonatomicassign |
3D小车位置。
|
readwritenonatomicassign |
比例系数,默认1.0f。
|
readwritenonatomicassign |
大小,当初始化measuredInPixel参数为true时对应单位像素,false对应单位米。