@rnmapbox/maps 10.0.0-beta.33 → 10.0.0-beta.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/.eslintrc.js +2 -2
  2. package/.nvmrc +1 -1
  3. package/README-v10.md +1 -1
  4. package/README.md +31 -26
  5. package/android/install.md +1 -1
  6. package/android/rctmgl/build.gradle +1 -1
  7. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/RCTMGLPackage.java +8 -3
  8. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.kt +15 -6
  9. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.kt +40 -0
  10. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewWrapper.kt +8 -0
  11. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewWrapperManager.kt +21 -0
  12. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.kt +26 -1
  13. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTLayer.kt +5 -5
  14. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/modules/RCTMGLModule.kt +1 -0
  15. package/docs/Annotation.md +8 -8
  16. package/docs/Annotations.md +14 -12
  17. package/docs/Atmosphere.md +76 -76
  18. package/docs/BackgroundLayer.md +44 -44
  19. package/docs/Callout.md +4 -4
  20. package/docs/Camera.md +124 -6
  21. package/docs/CircleLayer.md +129 -129
  22. package/docs/CustomHttpHeaders.md +12 -14
  23. package/docs/FillExtrusionLayer.md +120 -120
  24. package/docs/FillLayer.md +83 -83
  25. package/docs/HeadingIndicator.md +3 -3
  26. package/docs/HeatmapLayer.md +58 -58
  27. package/docs/ImageSource.md +4 -3
  28. package/docs/Images.md +3 -3
  29. package/docs/Light.md +45 -45
  30. package/docs/LineLayer.md +166 -166
  31. package/docs/Logger.md +8 -9
  32. package/docs/MapView.md +32 -32
  33. package/docs/MapboxGL.md +26 -27
  34. package/docs/MarkerView.md +11 -6
  35. package/docs/NativeUserLocation.md +3 -3
  36. package/docs/OfflineManager.md +35 -33
  37. package/docs/PointAnnotation.md +12 -6
  38. package/docs/RasterDemSource.md +3 -3
  39. package/docs/RasterLayer.md +99 -99
  40. package/docs/RasterSource.md +5 -3
  41. package/docs/ShapeSource.md +17 -16
  42. package/docs/SkyLayer.md +69 -69
  43. package/docs/Style.md +5 -3
  44. package/docs/StyleSheet.md +74 -278
  45. package/docs/SymbolLayer.md +454 -454
  46. package/docs/Terrain.md +6 -6
  47. package/docs/UserLocation.md +8 -8
  48. package/docs/VectorSource.md +9 -8
  49. package/docs/docs.json +196 -28
  50. package/docs/snapshotManager.md +7 -5
  51. package/index.d.ts +30 -26
  52. package/ios/RCTMGL-v10/RCTMGLCamera.swift +14 -5
  53. package/ios/RCTMGL-v10/RCTMGLMarkerView.swift +28 -14
  54. package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapper.swift +24 -0
  55. package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapperManager.m +8 -0
  56. package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapperManager.swift +14 -0
  57. package/ios/install.md +25 -14
  58. package/javascript/{utils/animated → classes}/AnimatedCoordinatesArray.js +1 -1
  59. package/javascript/{utils/animated → classes}/AnimatedExtractCoordinateFromArray.js +3 -1
  60. package/javascript/{utils/animated → classes}/AnimatedPoint.js +0 -0
  61. package/javascript/{utils/animated → classes}/AnimatedRouteCoordinatesArray.js +3 -1
  62. package/javascript/{utils/animated → classes}/AnimatedShape.js +9 -3
  63. package/javascript/classes/index.d.ts +5 -0
  64. package/javascript/classes/index.js +5 -0
  65. package/javascript/components/Callout.js +1 -1
  66. package/javascript/components/Camera.tsx +5 -1
  67. package/javascript/components/Images.js +1 -1
  68. package/javascript/components/MapView.js +3 -4
  69. package/javascript/components/MarkerView.tsx +125 -0
  70. package/javascript/components/PointAnnotation.d.ts +13 -0
  71. package/javascript/components/RasterDemSource.js +1 -1
  72. package/javascript/components/RasterSource.js +1 -1
  73. package/javascript/components/ShapeSource.js +4 -4
  74. package/javascript/components/Style.js +1 -1
  75. package/javascript/components/annotations/Annotation.js +3 -3
  76. package/javascript/index.js +27 -14
  77. package/javascript/types/index.ts +1 -1
  78. package/javascript/utils/BridgeValue.ts +89 -0
  79. package/javascript/utils/StyleValue.ts +21 -10
  80. package/javascript/utils/animated/Animated.js +0 -11
  81. package/javascript/utils/deprecation.js +0 -1
  82. package/javascript/utils/geoUtils.d.ts +10 -0
  83. package/javascript/utils/index.d.ts +6 -0
  84. package/package.json +16 -13
  85. package/plugin/build/withMapbox.js +0 -2
  86. package/plugin/install.md +13 -6
  87. package/rnmapbox-maps.podspec +1 -1
  88. package/scripts/autogenHelpers/DocJSONBuilder.js +43 -4
  89. package/scripts/autogenHelpers/globals.js +0 -2
  90. package/scripts/autogenerate.js +1 -2
  91. package/scripts/templates/component.md.ejs +25 -25
  92. package/tsconfig.json +1 -1
  93. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.java +0 -45
  94. package/javascript/components/MarkerView.js +0 -91
  95. package/javascript/utils/BridgeValue.js +0 -81
package/docs/LineLayer.md CHANGED
@@ -1,8 +1,8 @@
1
1
  <!-- This file was autogenerated from LineLayer.js do not modify -->
2
- ## <MapboxGL.LineLayer />
3
- ### LineLayer is a style layer that renders one or more stroked polylines on the map.
2
+ # <MapboxGL.LineLayer />
3
+ LineLayer is a style layer that renders one or more stroked polylines on the map.
4
4
 
5
- ### props
5
+ ## props
6
6
  | Prop | Type | Default | Required | Description |
7
7
  | ---- | :--: | :-----: | :------: | :----------: |
8
8
  | id | `string` | `none` | `true` | A string that uniquely identifies the source in the style to which it is added. |
@@ -17,7 +17,7 @@
17
17
  | style | `union` | `none` | `false` | Customizable style attributes |
18
18
 
19
19
 
20
- ### styles
20
+ ## styles
21
21
 
22
22
  * <a href="#linecap">lineCap</a><br/>
23
23
  * <a href="#linejoin">lineJoin</a><br/>
@@ -40,118 +40,118 @@
40
40
 
41
41
  ___
42
42
 
43
- #### lineCap
43
+ ### lineCap
44
44
  Name: `lineCap`
45
45
 
46
- #### Description
46
+ ### Description
47
47
  The display of line endings.
48
48
 
49
- #### Type
49
+ ### Type
50
50
  `enum`
51
- #### Default Value
51
+ ### Default Value
52
52
  `butt`
53
53
 
54
- #### Supported Values
54
+ ### Supported Values
55
55
  **butt** - A cap with a squared-off end which is drawn to the exact endpoint of the line.<br />
56
56
  **round** - A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.<br />
57
57
  **square** - A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.<br />
58
58
 
59
59
 
60
- #### Expression
60
+ ### Expression
61
61
 
62
62
  Parameters: `zoom, feature`
63
63
 
64
64
  ___
65
65
 
66
- #### lineJoin
66
+ ### lineJoin
67
67
  Name: `lineJoin`
68
68
 
69
- #### Description
69
+ ### Description
70
70
  The display of lines when joining.
71
71
 
72
- #### Type
72
+ ### Type
73
73
  `enum`
74
- #### Default Value
74
+ ### Default Value
75
75
  `miter`
76
76
 
77
- #### Supported Values
77
+ ### Supported Values
78
78
  **bevel** - A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.<br />
79
79
  **round** - A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.<br />
80
80
  **miter** - A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet.<br />
81
81
 
82
82
 
83
- #### Supported Style Functions
83
+ ### Supported Style Functions
84
84
  `camera`
85
- #### Expression
85
+ ### Expression
86
86
 
87
87
  Parameters: `zoom, feature`
88
88
 
89
89
  ___
90
90
 
91
- #### lineMiterLimit
91
+ ### lineMiterLimit
92
92
  Name: `lineMiterLimit`
93
93
 
94
- #### Description
94
+ ### Description
95
95
  Used to automatically convert miter joins to bevel joins for sharp angles.
96
96
 
97
- #### Type
97
+ ### Type
98
98
  `number`
99
- #### Default Value
99
+ ### Default Value
100
100
  `2`
101
101
 
102
102
 
103
- #### Expression
103
+ ### Expression
104
104
 
105
105
  Parameters: `zoom`
106
106
 
107
107
  ___
108
108
 
109
- #### lineRoundLimit
109
+ ### lineRoundLimit
110
110
  Name: `lineRoundLimit`
111
111
 
112
- #### Description
112
+ ### Description
113
113
  Used to automatically convert round joins to miter joins for shallow angles.
114
114
 
115
- #### Type
115
+ ### Type
116
116
  `number`
117
- #### Default Value
117
+ ### Default Value
118
118
  `1.05`
119
119
 
120
120
 
121
- #### Expression
121
+ ### Expression
122
122
 
123
123
  Parameters: `zoom`
124
124
 
125
125
  ___
126
126
 
127
- #### lineSortKey
127
+ ### lineSortKey
128
128
  Name: `lineSortKey`
129
129
 
130
- #### Description
130
+ ### Description
131
131
  Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
132
132
 
133
- #### Type
133
+ ### Type
134
134
  `number`
135
135
 
136
136
 
137
- #### Expression
137
+ ### Expression
138
138
 
139
139
  Parameters: `zoom, feature`
140
140
 
141
141
  ___
142
142
 
143
- #### visibility
143
+ ### visibility
144
144
  Name: `visibility`
145
145
 
146
- #### Description
146
+ ### Description
147
147
  Whether this layer is displayed.
148
148
 
149
- #### Type
149
+ ### Type
150
150
  `enum`
151
- #### Default Value
151
+ ### Default Value
152
152
  `visible`
153
153
 
154
- #### Supported Values
154
+ ### Supported Values
155
155
  **visible** - The layer is shown.<br />
156
156
  **none** - The layer is not shown.<br />
157
157
 
@@ -159,448 +159,448 @@ Whether this layer is displayed.
159
159
 
160
160
  ___
161
161
 
162
- #### lineOpacity
162
+ ### lineOpacity
163
163
  Name: `lineOpacity`
164
164
 
165
- #### Description
165
+ ### Description
166
166
  The opacity at which the line will be drawn.
167
167
 
168
- #### Type
168
+ ### Type
169
169
  `number`
170
- #### Default Value
170
+ ### Default Value
171
171
  `1`
172
172
 
173
- #### Minimum
173
+ ### Minimum
174
174
  `0`
175
175
 
176
176
 
177
- #### Maximum
177
+ ### Maximum
178
178
  `1`
179
179
 
180
- #### Expression
180
+ ### Expression
181
181
 
182
182
  Parameters: `zoom, feature, feature-state`
183
183
  ___
184
184
 
185
- #### Name
185
+ ### Name
186
186
 
187
187
  `lineOpacityTransition`
188
188
 
189
- #### Description
189
+ ### Description
190
190
 
191
- The transition affecting any changes to this layer’s lineOpacity propery.
191
+ The transition affecting any changes to this layer’s lineOpacity property.
192
192
 
193
- #### Type
193
+ ### Type
194
194
 
195
195
  `{ duration, delay }`
196
196
 
197
- #### Units
197
+ ### Units
198
198
  `milliseconds`
199
199
 
200
- #### Default Value
200
+ ### Default Value
201
201
  `{duration: 300, delay: 0}`
202
202
 
203
203
 
204
204
  ___
205
205
 
206
- #### lineColor
206
+ ### lineColor
207
207
  Name: `lineColor`
208
208
 
209
- #### Description
209
+ ### Description
210
210
  The color with which the line will be drawn.
211
211
 
212
- #### Type
212
+ ### Type
213
213
  `color`
214
- #### Default Value
214
+ ### Default Value
215
215
  `#000000`
216
216
 
217
217
 
218
- #### Disabled By
218
+ ### Disabled By
219
219
  `linePattern`
220
220
 
221
- #### Expression
221
+ ### Expression
222
222
 
223
223
  Parameters: `zoom, feature, feature-state`
224
224
  ___
225
225
 
226
- #### Name
226
+ ### Name
227
227
 
228
228
  `lineColorTransition`
229
229
 
230
- #### Description
230
+ ### Description
231
231
 
232
- The transition affecting any changes to this layer’s lineColor propery.
232
+ The transition affecting any changes to this layer’s lineColor property.
233
233
 
234
- #### Type
234
+ ### Type
235
235
 
236
236
  `{ duration, delay }`
237
237
 
238
- #### Units
238
+ ### Units
239
239
  `milliseconds`
240
240
 
241
- #### Default Value
241
+ ### Default Value
242
242
  `{duration: 300, delay: 0}`
243
243
 
244
244
 
245
245
  ___
246
246
 
247
- #### lineTranslate
247
+ ### lineTranslate
248
248
  Name: `lineTranslate`
249
249
 
250
- #### Description
250
+ ### Description
251
251
  The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
252
252
 
253
- #### Type
253
+ ### Type
254
254
  `array<number>`
255
- #### Default Value
255
+ ### Default Value
256
256
  `[0,0]`
257
257
 
258
- #### Units
258
+ ### Units
259
259
  `pixels`
260
260
 
261
261
 
262
- #### Expression
262
+ ### Expression
263
263
 
264
264
  Parameters: `zoom`
265
265
  ___
266
266
 
267
- #### Name
267
+ ### Name
268
268
 
269
269
  `lineTranslateTransition`
270
270
 
271
- #### Description
271
+ ### Description
272
272
 
273
- The transition affecting any changes to this layer’s lineTranslate propery.
273
+ The transition affecting any changes to this layer’s lineTranslate property.
274
274
 
275
- #### Type
275
+ ### Type
276
276
 
277
277
  `{ duration, delay }`
278
278
 
279
- #### Units
279
+ ### Units
280
280
  `milliseconds`
281
281
 
282
- #### Default Value
282
+ ### Default Value
283
283
  `{duration: 300, delay: 0}`
284
284
 
285
285
 
286
286
  ___
287
287
 
288
- #### lineTranslateAnchor
288
+ ### lineTranslateAnchor
289
289
  Name: `lineTranslateAnchor`
290
290
 
291
- #### Description
291
+ ### Description
292
292
  Controls the frame of reference for `lineTranslate`.
293
293
 
294
- #### Type
294
+ ### Type
295
295
  `enum`
296
- #### Default Value
296
+ ### Default Value
297
297
  `map`
298
298
 
299
- #### Supported Values
299
+ ### Supported Values
300
300
  **map** - The line is translated relative to the map.<br />
301
301
  **viewport** - The line is translated relative to the viewport.<br />
302
302
 
303
303
 
304
- #### Requires
304
+ ### Requires
305
305
  `lineTranslate`
306
306
 
307
- #### Expression
307
+ ### Expression
308
308
 
309
309
  Parameters: `zoom`
310
310
 
311
311
  ___
312
312
 
313
- #### lineWidth
313
+ ### lineWidth
314
314
  Name: `lineWidth`
315
315
 
316
- #### Description
316
+ ### Description
317
317
  Stroke thickness.
318
318
 
319
- #### Type
319
+ ### Type
320
320
  `number`
321
- #### Default Value
321
+ ### Default Value
322
322
  `1`
323
323
 
324
- #### Units
324
+ ### Units
325
325
  `pixels`
326
326
 
327
- #### Minimum
327
+ ### Minimum
328
328
  `0`
329
329
 
330
330
 
331
- #### Supported Style Functions
331
+ ### Supported Style Functions
332
332
  `camera`
333
- #### Expression
333
+ ### Expression
334
334
 
335
335
  Parameters: `zoom, feature, feature-state`
336
336
  ___
337
337
 
338
- #### Name
338
+ ### Name
339
339
 
340
340
  `lineWidthTransition`
341
341
 
342
- #### Description
342
+ ### Description
343
343
 
344
- The transition affecting any changes to this layer’s lineWidth propery.
344
+ The transition affecting any changes to this layer’s lineWidth property.
345
345
 
346
- #### Type
346
+ ### Type
347
347
 
348
348
  `{ duration, delay }`
349
349
 
350
- #### Units
350
+ ### Units
351
351
  `milliseconds`
352
352
 
353
- #### Default Value
353
+ ### Default Value
354
354
  `{duration: 300, delay: 0}`
355
355
 
356
356
 
357
357
  ___
358
358
 
359
- #### lineGapWidth
359
+ ### lineGapWidth
360
360
  Name: `lineGapWidth`
361
361
 
362
- #### Description
362
+ ### Description
363
363
  Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
364
364
 
365
- #### Type
365
+ ### Type
366
366
  `number`
367
- #### Default Value
367
+ ### Default Value
368
368
  `0`
369
369
 
370
- #### Units
370
+ ### Units
371
371
  `pixels`
372
372
 
373
- #### Minimum
373
+ ### Minimum
374
374
  `0`
375
375
 
376
376
 
377
- #### Expression
377
+ ### Expression
378
378
 
379
379
  Parameters: `zoom, feature, feature-state`
380
380
  ___
381
381
 
382
- #### Name
382
+ ### Name
383
383
 
384
384
  `lineGapWidthTransition`
385
385
 
386
- #### Description
386
+ ### Description
387
387
 
388
- The transition affecting any changes to this layer’s lineGapWidth propery.
388
+ The transition affecting any changes to this layer’s lineGapWidth property.
389
389
 
390
- #### Type
390
+ ### Type
391
391
 
392
392
  `{ duration, delay }`
393
393
 
394
- #### Units
394
+ ### Units
395
395
  `milliseconds`
396
396
 
397
- #### Default Value
397
+ ### Default Value
398
398
  `{duration: 300, delay: 0}`
399
399
 
400
400
 
401
401
  ___
402
402
 
403
- #### lineOffset
403
+ ### lineOffset
404
404
  Name: `lineOffset`
405
405
 
406
- #### Description
406
+ ### Description
407
407
  The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.
408
408
 
409
- #### Type
409
+ ### Type
410
410
  `number`
411
- #### Default Value
411
+ ### Default Value
412
412
  `0`
413
413
 
414
- #### Units
414
+ ### Units
415
415
  `pixels`
416
416
 
417
417
 
418
- #### Expression
418
+ ### Expression
419
419
 
420
420
  Parameters: `zoom, feature, feature-state`
421
421
  ___
422
422
 
423
- #### Name
423
+ ### Name
424
424
 
425
425
  `lineOffsetTransition`
426
426
 
427
- #### Description
427
+ ### Description
428
428
 
429
- The transition affecting any changes to this layer’s lineOffset propery.
429
+ The transition affecting any changes to this layer’s lineOffset property.
430
430
 
431
- #### Type
431
+ ### Type
432
432
 
433
433
  `{ duration, delay }`
434
434
 
435
- #### Units
435
+ ### Units
436
436
  `milliseconds`
437
437
 
438
- #### Default Value
438
+ ### Default Value
439
439
  `{duration: 300, delay: 0}`
440
440
 
441
441
 
442
442
  ___
443
443
 
444
- #### lineBlur
444
+ ### lineBlur
445
445
  Name: `lineBlur`
446
446
 
447
- #### Description
447
+ ### Description
448
448
  Blur applied to the line, in pixels.
449
449
 
450
- #### Type
450
+ ### Type
451
451
  `number`
452
- #### Default Value
452
+ ### Default Value
453
453
  `0`
454
454
 
455
- #### Units
455
+ ### Units
456
456
  `pixels`
457
457
 
458
- #### Minimum
458
+ ### Minimum
459
459
  `0`
460
460
 
461
461
 
462
- #### Expression
462
+ ### Expression
463
463
 
464
464
  Parameters: `zoom, feature, feature-state`
465
465
  ___
466
466
 
467
- #### Name
467
+ ### Name
468
468
 
469
469
  `lineBlurTransition`
470
470
 
471
- #### Description
471
+ ### Description
472
472
 
473
- The transition affecting any changes to this layer’s lineBlur propery.
473
+ The transition affecting any changes to this layer’s lineBlur property.
474
474
 
475
- #### Type
475
+ ### Type
476
476
 
477
477
  `{ duration, delay }`
478
478
 
479
- #### Units
479
+ ### Units
480
480
  `milliseconds`
481
481
 
482
- #### Default Value
482
+ ### Default Value
483
483
  `{duration: 300, delay: 0}`
484
484
 
485
485
 
486
486
  ___
487
487
 
488
- #### lineDasharray
488
+ ### lineDasharray
489
489
  Name: `lineDasharray`
490
490
 
491
- #### Description
491
+ ### Description
492
492
  Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoomDependent expressions will be evaluated only at integer zoom levels.
493
493
 
494
- #### Type
494
+ ### Type
495
495
  `array<number>`
496
496
 
497
- #### Units
497
+ ### Units
498
498
  `line widths`
499
499
 
500
- #### Minimum
500
+ ### Minimum
501
501
  `0`
502
502
 
503
503
 
504
- #### Disabled By
504
+ ### Disabled By
505
505
  `linePattern`
506
506
 
507
- #### Expression
507
+ ### Expression
508
508
 
509
509
  Parameters: `zoom, feature`
510
510
  ___
511
511
 
512
- #### Name
512
+ ### Name
513
513
 
514
514
  `lineDasharrayTransition`
515
515
 
516
- #### Description
516
+ ### Description
517
517
 
518
- The transition affecting any changes to this layer’s lineDasharray propery.
518
+ The transition affecting any changes to this layer’s lineDasharray property.
519
519
 
520
- #### Type
520
+ ### Type
521
521
 
522
522
  `{ duration, delay }`
523
523
 
524
- #### Units
524
+ ### Units
525
525
  `milliseconds`
526
526
 
527
- #### Default Value
527
+ ### Default Value
528
528
  `{duration: 300, delay: 0}`
529
529
 
530
530
 
531
531
  ___
532
532
 
533
- #### linePattern
533
+ ### linePattern
534
534
  Name: `linePattern`
535
535
 
536
- #### Description
536
+ ### Description
537
537
  Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
538
538
 
539
- #### Type
539
+ ### Type
540
540
  `resolvedImage`
541
541
 
542
542
 
543
- #### Expression
543
+ ### Expression
544
544
 
545
545
  Parameters: `zoom, feature`
546
546
  ___
547
547
 
548
- #### Name
548
+ ### Name
549
549
 
550
550
  `linePatternTransition`
551
551
 
552
- #### Description
552
+ ### Description
553
553
 
554
- The transition affecting any changes to this layer’s linePattern propery.
554
+ The transition affecting any changes to this layer’s linePattern property.
555
555
 
556
- #### Type
556
+ ### Type
557
557
 
558
558
  `{ duration, delay }`
559
559
 
560
- #### Units
560
+ ### Units
561
561
  `milliseconds`
562
562
 
563
- #### Default Value
563
+ ### Default Value
564
564
  `{duration: 300, delay: 0}`
565
565
 
566
566
 
567
567
  ___
568
568
 
569
- #### lineGradient
569
+ ### lineGradient
570
570
  Name: `lineGradient`
571
571
 
572
- #### Description
572
+ ### Description
573
573
  Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.
574
574
 
575
- #### Type
575
+ ### Type
576
576
  `color`
577
577
 
578
578
 
579
- #### Disabled By
579
+ ### Disabled By
580
580
  `linePattern`
581
581
 
582
- #### Expression
582
+ ### Expression
583
583
 
584
584
  Parameters: `line-progress`
585
585
 
586
586
  ___
587
587
 
588
- #### lineTrimOffset
588
+ ### lineTrimOffset
589
589
  Name: `lineTrimOffset`
590
590
 
591
- #### Description
591
+ ### Description
592
592
  The line part between [trimStart, trimEnd] will be marked as transparent to make a route vanishing effect. The line trimOff offset is based on the whole line range [0.0, 1.0].
593
593
 
594
- #### Type
594
+ ### Type
595
595
  `array<number>`
596
- #### Default Value
596
+ ### Default Value
597
597
  `[0,0]`
598
598
 
599
- #### Minimum
599
+ ### Minimum
600
600
  `0,0`
601
601
 
602
602
 
603
- #### Maximum
603
+ ### Maximum
604
604
  `1,1`
605
605
 
606
606