高德地图SDK(导航) V10.0.900
Loading...
Searching...
No Matches
MAPolylineRenderer.h
Go to the documentation of this file.
1//
2// MAPolylineRenderer.h
3// MAMapKit
4//
5//
6// Copyright (c) 2011年 Amap. All rights reserved.
7//
8
9#import "MAConfig.h"
10#import <UIKit/UIKit.h>
11#import "MAPolyline.h"
13#import "MAPathShowRange.h"
14
17
19@property (nonatomic, readonly) MAPolyline *polyline;
20
22@property (nonatomic, assign) BOOL is3DArrowLine;
23
25@property (nonatomic, strong) UIColor *sideColor;
26
28@property (nonatomic, assign) BOOL userInteractionEnabled;
29
31@property (nonatomic, assign) CGFloat hitTestInset;
32
34@property (nonatomic, assign) BOOL showRangeEnabled;
35
37@property (nonatomic, assign) MAPathShowRange showRange;
38
44- (instancetype)initWithPolyline:(MAPolyline *)polyline;
45
46@end
该类设置overlay绘制的属性,可以使用该类的子类MACircleRenderer, MAPolylineRenderer, MAPolygonRenderer或者继承该类
Definition MAOverlayPathRenderer.h:16
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineView的model
Definition MAPolyline.h:14
此类用于绘制MAPolyline,可以通过MAOverlayPathRenderer修改其fill和stroke attributes
Definition MAPolylineRenderer.h:17
BOOL is3DArrowLine
设置是否显示3d箭头线, 默认为NO。如果设置为YES,则为3d箭头线。since 6.7.0
Definition MAPolylineRenderer.h:22
BOOL showRangeEnabled
是否启用显示范围,YES启用,不启用时展示全路径 since 7.5.0
Definition MAPolylineRenderer.h:34
BOOL userInteractionEnabled
是否开启点击选中功能,默认NO. since 7.1.0
Definition MAPolylineRenderer.h:28
CGFloat hitTestInset
用于调整点击选中热区大小,默认为0. 负值增大热区,正值减小热区. since 7.1.0
Definition MAPolylineRenderer.h:31
MAPolyline * polyline
关联的MAPolyline model
Definition MAPolylineRenderer.h:19
MAPathShowRange showRange
显示范围 since 7.5.0
Definition MAPolylineRenderer.h:37
UIColor * sideColor
设置为立体3d箭头的侧边颜色(当is3DArrowLine为YES时有效)顶部颜色使用strokeColor。since 6.7.0
Definition MAPolylineRenderer.h:25
Definition MAPathShowRange.h:12
© 2017 高德信息技术有限公司 版权所有,保留所有权利。