10 #if MA_INCLUDE_OVERLAY_CUSTOMBUILDING 16 #pragma mark - MACustomBuildingOverlayOption 22 @property (nonatomic, assign) CGFloat
height;
28 @property (nonatomic, strong) UIColor *
topColor;
42 + (instancetype)optionWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
50 - (BOOL)setOptionWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
55 #pragma mark - MACustomBuildingOverlay 64 @property (nonatomic, readonly) NSArray<MACustomBuildingOverlayOption *> *customOptions;
CGFloat heightScale
楼块的高度缩放比例. 修改该属性会使option范围内的所有楼块高度放大或者缩小heightScale倍. (默认1. 如果指定了height则此值将被忽略.)
Definition: MACustomBuildingOverlay.h:25
该类用于定义一个自定义楼块MACustomBuildingOverlay, 通常MACustomBuildingOverlay是MACustomBuildingOverl...
Definition: MACustomBuildingOverlay.h:58
该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类MAPolyline,MAPolygon来实例化 ...
Definition: MAMultiPoint.h:15
CGFloat height
楼块的高度. 修改该属性会使option范围内的所有楼块为同一个高度. (范围 (-1 U [1, 1000]). 默认-1,显示为默认高度.)
Definition: MACustomBuildingOverlay.h:22
该类用于定义一个楼块显示选项. since 6.3.0
Definition: MACustomBuildingOverlay.h:19
UIColor * sideColor
楼块的侧面颜色. (默认[UIColor darkGrayColor], 不支持透明度)
Definition: MACustomBuildingOverlay.h:31
BOOL visibile
option选项是否可见. (默认YES)
Definition: MACustomBuildingOverlay.h:34
UIColor * topColor
楼块的顶面颜色. (默认[UIColor lightGrayColor], 不支持透明度)
Definition: MACustomBuildingOverlay.h:28
该类为一个抽象类,定义了基于MAAnnotation的MAShape类的基本属性和行为,不能直接使用,必须子类化之后才能...
Definition: MAShape.h:14