@@ -39,23 +39,35 @@ NS_ASSUME_NONNULL_BEGIN
39
39
onFloor : (NSInteger )floorId ;
40
40
41
41
42
- // / The color of the polyline.
42
+ // / The color of the polyline. The default value is opaque black.
43
43
@property (nonatomic , copy ) UIColor* color;
44
44
45
- // / The thickness in pixels of the polyline.
45
+ // / The thickness in pixels of the polyline. The default value is 10.
46
46
@property (nonatomic ) CGFloat lineWidth;
47
47
48
+ /* ! A value used to limit the extent of spikes where line segments join at small
49
+ (acute) angles. The value of miterLimit represents the maximum ratio between the
50
+ length of the miter join diagonal, and lineWidth. The default value is 10, which
51
+ results in clamping of the miter diagonal when the join angle is less than
52
+ approximately 11 degrees.
53
+ */
54
+ @property (nonatomic ) CGFloat miterLimit;
55
+
48
56
// / If YES, line width scales with perspective as the map viewpoint zooms in and out (default NO)
49
57
@property (nonatomic ) Boolean scalesWithMap;
50
58
51
- // / The height of the polyline above either the ground, or sea-level, depending on the elevationMode property.
59
+ /* ! The height of the polyline above either the ground, or sea-level, depending on the elevationMode property.
60
+ The default value is 0
61
+ */
52
62
@property (nonatomic ) CLLocationDistance elevation;
53
63
54
64
/* !
55
65
Specifies how the elevation property of this polyline is interpreted:
56
66
57
67
- `WRLDElevationModeHeightAboveSeaLevel`: The elevation is an absolute altitude above mean sea level, in meters.
58
68
- `WRLDElevationModeHeightAboveGround`: The elevation is a height relative to the map's terrain, in meters.
69
+
70
+ The default value is WRLDElevationModeHeightAboveGround
59
71
*/
60
72
@property (nonatomic ) WRLDElevationMode elevationMode;
61
73
0 commit comments