Map Doc
1.0
iOS-引擎SDK-开放平台
|
#import <MBOverlay.h>
构造函数 | |
(void) | - setNeedsDisplay |
(void) | - setColor: |
(uint) | - getColor |
(void) | - setUIColor: |
(UIColor *) | - getUIColor |
(const MBRect) | - boundingBox |
(void) | - setSelected:pos: |
Protected 属性 | |
package void * | _native |
package BOOL | _attatched |
属性 | |
MBOverlayLayer | overlayerLayer |
int | zLevel |
BOOL | hidden |
BOOL | clickEnable |
int | tag |
MBPoint | postion |
MBNdsPoint | ndsPosition |
图层
- (const MBRect) boundingBox |
抽象方法
- (uint) getColor |
得到 ARGB 形式的颜色表示
- (UIColor *) getUIColor |
[废弃]
- (void) setColor: | (uint) | color |
设置绘制时使用的画刷颜色,默认蓝色
color | 颜色值(ARGB),一般为0xff0f0c0d的形式 |
- (void) setNeedsDisplay |
设置需要刷新 MBOverlay
- (void) setSelected: | (BOOL) | enable | |
pos: | (MBPoint) | pos | |
- (void) setUIColor: | (UIColor *) | color |
设置绘制时使用的画刷颜色[废弃]
color | 颜色值(ARGB),一般为0xff0f0c0d的形式 |
|
protected |
|
protected |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
隐藏
|
readwritenonatomicassign |
高精度坐标
|
readwritenonatomicassign |
图层覆盖关系,值越大覆盖越高
|
readwritenonatomicassign |
图层位置
|
readwritenonatomicassign |
图层标签
|
readwritenonatomicassign |
Set z-level which affects the drawing order among Overlays. Unlike Annotations, Overlays are sorted according to OverlayLayer first and z-level second. Note Overlays and Annotations are sorted independently and won't interlace. Z-level of a Overlay object might be modified implicitly by MapRender's bringOverlayToTop(), sendOverlayToBack(), exchangeOverylayIndices() and insertOverlayAtIndex(). Default: 0.