高德地图SDK(导航) V10.0.900
Loading...
Searching...
No Matches
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
15@interface MAMultiPolyline : MAPolyline
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
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineView的model
Definition MAPolyline.h:14
平面投影坐标结构定义
Definition MAGeometry.h:38
© 2017 高德信息技术有限公司 版权所有,保留所有权利。