Legend类参考

所有成员的列表。

公有成员

(void)  - addColorLegendItem:ColorItem:
  添加用户自定义颜色图例标示
(void)  - removeColorLegendItem:ColorItem:
  移除用户自定义颜色图例标示,colorType,0点,1线,2面
(void)  - addUserDefinedLegendItem:
  添加用户自定义标示
(void)  - removeUserDefinedLegendItem:
  移除用户自定义标示
(void)  - dispose
(void)  - connectLegendView:
  设置关联的图例控件
(void)  - disConnectLegendView
  取消关联的图例控件

属性

id< LegendContentDelegate contentChangeDelegate
LegendView legendView

成员函数文档

- (void) addColorLegendItem: (int)  colorType
ColorItem: (ColorLegendItem *)  colorItem  

添加用户自定义颜色图例标示

参数:
colorType  颜色值图例类型(0:点,1:线,2:面)
colorItem  颜色值图例子项
- (void) addUserDefinedLegendItem: (LegendItem *)  item  

添加用户自定义标示

参数:
item  用户自定义图例子项。
- (void) connectLegendView: (LegendView *)  legendView  

设置关联的图例控件

参数:
legendView  当前地图
- (void) disConnectLegendView  

取消关联的图例控件

- (void) dispose  
- (void) removeColorLegendItem: (int)  colorType
ColorItem: (ColorLegendItem *)  colorItem  

移除用户自定义颜色图例标示,colorType,0点,1线,2面

参数:
colorType  颜色值图例类型(0:点,1:线,2:面)
colorItem  颜色值图例子项
- (void) removeUserDefinedLegendItem: (LegendItem *)  item  

移除用户自定义标示

参数:
item  用户自定义图例子项。

属性文档

- (id<LegendContentDelegate>) contentChangeDelegate [read, write, assign]
- (LegendView*) legendView [read, assign]

该类的文档由以下文件生成:
 å…¨éƒ¨ ç±» æ–‡ä»¶ å‡½æ•° å˜é‡ ç±»åž‹å®šä¹‰ æžšä¸¾ æžšä¸¾å€¼ å±žæ€§ å®å®šä¹‰