高德地图SDK(导航)  V11.1.000
MACustomBuildingOverlay Class Reference

#import <MACustomBuildingOverlay.h>

Inheritance diagram for MACustomBuildingOverlay:
MAShape <MAOverlay> MABaseOverlay <MAAnnotation> <MAAnnotation> <MAOverlay> <MAAnnotation>

Instance Methods

(void) - addCustomOption:
 增加自定义楼块显示的option Add custom building display options More...
 
(void) - removeCustomOption:
 移除自定义楼块显示的option Remove the option for displaying custom building blocks More...
 
- Instance Methods inherited from <MAOverlay>
(CLLocationCoordinate2D) - coordinate
 
(MAMapRect- boundingMapRect
 
- Instance Methods inherited from <MAAnnotation>
(void) - setCoordinate:
 设置标注的坐标,在拖拽时会被调用. Set the coordinates of the annotation, which will be called during dragging More...
 

Properties

MACustomBuildingOverlayOptiondefaultOption
 
NSArray< MACustomBuildingOverlayOption * > * customOptions
 
- Properties inherited from MAShape
NSString * title
 标题 Title More...
 
NSString * subtitle
 副标题 Subtitle More...
 
- Properties inherited from MABaseOverlay
CLLocationCoordinate2D coordinate
 
MAMapRect boundingMapRect
 
double altitude
 
- Properties inherited from <MAAnnotation>
NSString * title
 
NSString * subtitle
 
double altitude
 

Additional Inherited Members

- Protected Attributes inherited from MAShape
NSString * _title
 标题 Title More...
 
NSString * _subtitle
 副标题 Subtitle More...
 
- Protected Attributes inherited from MABaseOverlay
double _altitude
 海拔 Elevation More...
 

Detailed Description

该类用于定义一个自定义楼块MACustomBuildingOverlay, 通常MACustomBuildingOverlay是MACustomBuildingOverlayRenderer的model.(注意: 自定义楼块仅支持在zoomLevel>=15级时显示) since 6.3.0 This class is used to define a custom building block MACustomBuildingOverlay,Generally, MACustomBuildingOverlay is the model of MACustomBuildingOverlayRenderer. (Note: Custom buildings are only displayed when zoomLevel>=15) since 6.3.0

Method Documentation

◆ addCustomOption:

- (void) addCustomOption: (MACustomBuildingOverlayOption *)  option

增加自定义楼块显示的option Add custom building display options

Parameters
option要增加的自定义楼块显示option Custom building display options to be added

◆ removeCustomOption:

- (void) removeCustomOption: (MACustomBuildingOverlayOption *)  option

移除自定义楼块显示的option Remove the option for displaying custom building blocks

Parameters
option要移除的自定义楼块显示option The custom building block display option to be removed

Property Documentation

◆ customOptions

- (NSArray<MACustomBuildingOverlayOption *>*) customOptions
readnonatomicassign

当前自定义的楼块显示options. (options按添加顺序, 后添加的在最上层显示) Current customized building block display options. (Options are displayed in the order they are added, with the last added on top)

◆ defaultOption

- (MACustomBuildingOverlayOption*) defaultOption
readnonatomicassign

默认的楼块显示option, 将显示所有的楼块. (如果不需要显示所有的楼块,可以设置defaultOption.visibile = NO) The default building block display option will show all building blocks. (If you do not need to display all building blocks, you can set defaultOption.visible = NO)


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。