iOS高德地图SDK(3D)  V7.6.0
MAMultiPolyline.h
Go to the documentation of this file.
1 //
2 // MAMultiPolyline.h
3 // MapKit_static
4 //
5 // Created by yi chen on 12/11/15.
6 // Copyright © 2016 Amap. All rights reserved.
7 //
8 
9 #import "MAConfig.h"
10 #if MA_INCLUDE_OVERLAY_MAMultiPolyline
11 
12 #import "MAPolyline.h"
13 
16 
25 @property (nonatomic, strong) NSArray<NSNumber *> *drawStyleIndexes;
26 
38 + (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count drawStyleIndexes:(NSArray<NSNumber *> *) drawStyleIndexes;
39 
51 + (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count drawStyleIndexes:(NSArray<NSNumber *> *) drawStyleIndexes;
52 
60 - (BOOL)setPolylineWithPoints:(MAMapPoint *)points
61  count:(NSUInteger)count
62  drawStyleIndexes:(NSArray<NSNumber *> *)drawStyleIndexes;
63 
71 - (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords
72  count:(NSUInteger)count
73  drawStyleIndexes:(NSArray<NSNumber *> *)drawStyleIndexes;
74 
75 @end
76 
77 #endif
平面投影坐标结构定义
Definition: MAGeometry.h:38
多彩线model类。此类用于定义一个由多个点相连的多段线,绘制时支持分段采用不同颜色(纹理)绘制,点与点之...
Definition: MAMultiPolyline.h:15
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineView的model
Definition: MAPolyline.h:14
NSArray< NSNumber * > * drawStyleIndexes
Definition: MAMultiPolyline.h:25
MAMapPoint * points
坐标点数组
Definition: MAMultiPoint.h:23
© 2017 高德信息技术有限公司 版权所有,保留所有权利。