iOS高德轻量版地图SDK  1.2.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 "MAPolyline.h"
10 
13 
22 @property (nonatomic, strong) NSArray<NSNumber *> *drawStyleIndexes;
23 
35 + (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count drawStyleIndexes:(NSArray<NSNumber *> *) drawStyleIndexes;
36 
48 + (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count drawStyleIndexes:(NSArray<NSNumber *> *) drawStyleIndexes;
49 
57 - (BOOL)setPolylineWithPoints:(MAMapPoint *)points
58  count:(NSUInteger)count
59  drawStyleIndexes:(NSArray<NSNumber *> *)drawStyleIndexes;
60 
68 - (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords
69  count:(NSUInteger)count
70  drawStyleIndexes:(NSArray<NSNumber *> *)drawStyleIndexes;
71 
72 @end
73 
MAMultiPolyline
多彩线model类。此类用于定义一个由多个点相连的多段线,绘制时支持分段采用不同颜色(纹理)绘制,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAMultiPolyline是MAMultiCol...
Definition: MAMultiPolyline.h:13
MAPolyline
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineRender的model
Definition: MAPolyline.h:13
MAPolyline.h
MAMultiPoint::points
MAMapPoint * points
坐标点数组
Definition: MAMultiPoint.h:22
MAMultiPolyline::drawStyleIndexes
NSArray< NSNumber * > * drawStyleIndexes
Definition: MAMultiPolyline.h:22
MAMapPoint
平面投影坐标结构定义
Definition: MAGeometry.h:37
© 2020 高德信息技术有限公司版权所有,保留所有权利。