@rnmapbox/maps 10.0.0-beta.31 → 10.0.0-beta.34
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.
- package/.eslintrc.js +2 -2
- package/.github/ISSUE_TEMPLATE/bug_report.yml +112 -0
- package/.husky/pre-commit +5 -0
- package/.nvmrc +1 -1
- package/README-v10.md +1 -1
- package/README.md +28 -23
- package/android/install.md +1 -1
- package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/camera/CameraStop.kt +27 -31
- package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.kt +53 -48
- package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTLayer.kt +5 -5
- package/docs/Annotation.md +8 -8
- package/docs/Annotations.md +14 -12
- package/docs/Atmosphere.md +76 -76
- package/docs/BackgroundLayer.md +44 -44
- package/docs/Callout.md +4 -4
- package/docs/Camera.md +124 -6
- package/docs/CircleLayer.md +129 -129
- package/docs/CustomHttpHeaders.md +15 -13
- package/docs/FillExtrusionLayer.md +120 -120
- package/docs/FillLayer.md +83 -83
- package/docs/HeadingIndicator.md +3 -3
- package/docs/HeatmapLayer.md +58 -58
- package/docs/ImageSource.md +4 -3
- package/docs/Images.md +3 -3
- package/docs/Light.md +45 -45
- package/docs/LineLayer.md +166 -166
- package/docs/Logger.md +8 -9
- package/docs/MapView.md +32 -32
- package/docs/MapboxGL.md +26 -27
- package/docs/MarkerView.md +11 -6
- package/docs/NativeUserLocation.md +3 -3
- package/docs/OfflineManager.md +35 -33
- package/docs/PointAnnotation.md +12 -6
- package/docs/RasterDemSource.md +3 -3
- package/docs/RasterLayer.md +99 -99
- package/docs/RasterSource.md +5 -3
- package/docs/ShapeSource.md +17 -16
- package/docs/SkyLayer.md +69 -69
- package/docs/Style.md +5 -3
- package/docs/StyleSheet.md +74 -278
- package/docs/SymbolLayer.md +454 -454
- package/docs/Terrain.md +6 -6
- package/docs/UserLocation.md +8 -8
- package/docs/VectorSource.md +9 -8
- package/docs/docs.json +196 -28
- package/docs/snapshotManager.md +7 -5
- package/index.d.ts +41 -26
- package/ios/RCTMGL-v10/CustomHttpHeaders.swift +39 -0
- package/ios/RCTMGL-v10/MGLModule.m +3 -0
- package/ios/RCTMGL-v10/MGLModule.swift +8 -0
- package/ios/RCTMGL-v10/RCTMGLCamera.swift +14 -5
- package/ios/RCTMGL-v10/RCTMGLMarkerView.swift +28 -14
- package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapper.swift +24 -0
- package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapperManager.m +8 -0
- package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapperManager.swift +14 -0
- package/ios/RCTMGL-v10/RCTMGLOfflineModule.swift +10 -12
- package/javascript/{utils/animated → classes}/AnimatedCoordinatesArray.js +1 -1
- package/javascript/{utils/animated → classes}/AnimatedExtractCoordinateFromArray.js +3 -1
- package/javascript/{utils/animated → classes}/AnimatedPoint.js +0 -0
- package/javascript/{utils/animated → classes}/AnimatedRouteCoordinatesArray.js +3 -1
- package/javascript/{utils/animated → classes}/AnimatedShape.js +9 -3
- package/javascript/classes/index.d.ts +5 -0
- package/javascript/classes/index.js +5 -0
- package/javascript/components/Callout.js +1 -1
- package/javascript/components/Camera.tsx +5 -1
- package/javascript/components/Images.js +1 -1
- package/javascript/components/MapView.js +3 -4
- package/javascript/components/MarkerView.tsx +125 -0
- package/javascript/components/PointAnnotation.d.ts +13 -0
- package/javascript/components/RasterDemSource.js +1 -1
- package/javascript/components/RasterSource.js +1 -1
- package/javascript/components/ShapeSource.js +4 -4
- package/javascript/components/Style.js +1 -1
- package/javascript/components/annotations/Annotation.js +3 -3
- package/javascript/index.js +27 -14
- package/javascript/types/index.ts +14 -0
- package/javascript/utils/BridgeValue.ts +89 -0
- package/javascript/utils/StyleValue.ts +22 -10
- package/javascript/utils/animated/Animated.js +0 -11
- package/javascript/utils/deprecation.js +0 -1
- package/javascript/utils/geoUtils.d.ts +10 -0
- package/javascript/utils/index.d.ts +6 -0
- package/javascript/utils/{styleMap.js → styleMap.ts} +110 -354
- package/javascript/web/MapContext.ts +6 -0
- package/javascript/web/components/Camera.tsx +39 -0
- package/javascript/web/components/MapView.tsx +51 -0
- package/package.json +21 -20
- package/plugin/build/withMapbox.js +0 -2
- package/plugin/install.md +13 -6
- package/scripts/autogenHelpers/DocJSONBuilder.js +43 -4
- package/scripts/autogenHelpers/globals.js +0 -2
- package/scripts/autogenerate.js +3 -4
- package/scripts/templates/component.md.ejs +25 -25
- package/scripts/templates/{styleMap.js.ejs → styleMap.ts.ejs} +7 -4
- package/tsconfig.json +1 -1
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -75
- package/javascript/components/MarkerView.js +0 -91
- package/javascript/utils/BridgeValue.js +0 -81
- package/javascript/utils/resolveAssetSource.d.ts +0 -5
- package/javascript/web/MapContext.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!-- This file was autogenerated from FillExtrusionLayer.js do not modify -->
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
# <MapboxGL.FillExtrusionLayer />
|
|
3
|
+
FillExtrusionLayer is a style layer that renders one or more 3D extruded polygons on the map.
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
20
|
+
## styles
|
|
21
21
|
|
|
22
22
|
* <a href="#visibility">visibility</a><br/>
|
|
23
23
|
* <a href="#fillextrusionopacity">fillExtrusionOpacity</a><br/>
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
|
|
34
34
|
___
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
### visibility
|
|
37
37
|
Name: `visibility`
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
### Description
|
|
40
40
|
Whether this layer is displayed.
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
### Type
|
|
43
43
|
`enum`
|
|
44
|
-
|
|
44
|
+
### Default Value
|
|
45
45
|
`visible`
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
### Supported Values
|
|
48
48
|
**visible** - The layer is shown.<br />
|
|
49
49
|
**none** - The layer is not shown.<br />
|
|
50
50
|
|
|
@@ -52,382 +52,382 @@ Whether this layer is displayed.
|
|
|
52
52
|
|
|
53
53
|
___
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
### fillExtrusionOpacity
|
|
56
56
|
Name: `fillExtrusionOpacity`
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
### Description
|
|
59
59
|
The opacity of the entire fill extrusion layer. This is rendered on a perLayer, not perFeature, basis, and dataDriven styling is not available.
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
### Type
|
|
62
62
|
`number`
|
|
63
|
-
|
|
63
|
+
### Default Value
|
|
64
64
|
`1`
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
### Minimum
|
|
67
67
|
`0`
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
### Maximum
|
|
71
71
|
`1`
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
### Expression
|
|
74
74
|
|
|
75
75
|
Parameters: `zoom`
|
|
76
76
|
___
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
### Name
|
|
79
79
|
|
|
80
80
|
`fillExtrusionOpacityTransition`
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
### Description
|
|
83
83
|
|
|
84
|
-
The transition affecting any changes to this layer’s fillExtrusionOpacity
|
|
84
|
+
The transition affecting any changes to this layer’s fillExtrusionOpacity property.
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
### Type
|
|
87
87
|
|
|
88
88
|
`{ duration, delay }`
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
### Units
|
|
91
91
|
`milliseconds`
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
### Default Value
|
|
94
94
|
`{duration: 300, delay: 0}`
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
___
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
### fillExtrusionColor
|
|
100
100
|
Name: `fillExtrusionColor`
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
### Description
|
|
103
103
|
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fillExtrusionOpacity` to set layer opacity.
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
### Type
|
|
106
106
|
`color`
|
|
107
|
-
|
|
107
|
+
### Default Value
|
|
108
108
|
`#000000`
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
### Disabled By
|
|
112
112
|
`fillExtrusionPattern`
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
### Expression
|
|
115
115
|
|
|
116
116
|
Parameters: `zoom, feature, feature-state`
|
|
117
117
|
___
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
### Name
|
|
120
120
|
|
|
121
121
|
`fillExtrusionColorTransition`
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
### Description
|
|
124
124
|
|
|
125
|
-
The transition affecting any changes to this layer’s fillExtrusionColor
|
|
125
|
+
The transition affecting any changes to this layer’s fillExtrusionColor property.
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
### Type
|
|
128
128
|
|
|
129
129
|
`{ duration, delay }`
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
### Units
|
|
132
132
|
`milliseconds`
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
### Default Value
|
|
135
135
|
`{duration: 300, delay: 0}`
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
___
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
### fillExtrusionTranslate
|
|
141
141
|
Name: `fillExtrusionTranslate`
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
### Description
|
|
144
144
|
The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
### Type
|
|
147
147
|
`array<number>`
|
|
148
|
-
|
|
148
|
+
### Default Value
|
|
149
149
|
`[0,0]`
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
### Units
|
|
152
152
|
`pixels`
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
### Expression
|
|
156
156
|
|
|
157
157
|
Parameters: `zoom`
|
|
158
158
|
___
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
### Name
|
|
161
161
|
|
|
162
162
|
`fillExtrusionTranslateTransition`
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
### Description
|
|
165
165
|
|
|
166
|
-
The transition affecting any changes to this layer’s fillExtrusionTranslate
|
|
166
|
+
The transition affecting any changes to this layer’s fillExtrusionTranslate property.
|
|
167
167
|
|
|
168
|
-
|
|
168
|
+
### Type
|
|
169
169
|
|
|
170
170
|
`{ duration, delay }`
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
### Units
|
|
173
173
|
`milliseconds`
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
### Default Value
|
|
176
176
|
`{duration: 300, delay: 0}`
|
|
177
177
|
|
|
178
178
|
|
|
179
179
|
___
|
|
180
180
|
|
|
181
|
-
|
|
181
|
+
### fillExtrusionTranslateAnchor
|
|
182
182
|
Name: `fillExtrusionTranslateAnchor`
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
### Description
|
|
185
185
|
Controls the frame of reference for `fillExtrusionTranslate`.
|
|
186
186
|
|
|
187
|
-
|
|
187
|
+
### Type
|
|
188
188
|
`enum`
|
|
189
|
-
|
|
189
|
+
### Default Value
|
|
190
190
|
`map`
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
### Supported Values
|
|
193
193
|
**map** - The fill extrusion is translated relative to the map.<br />
|
|
194
194
|
**viewport** - The fill extrusion is translated relative to the viewport.<br />
|
|
195
195
|
|
|
196
196
|
|
|
197
|
-
|
|
197
|
+
### Requires
|
|
198
198
|
`fillExtrusionTranslate`
|
|
199
199
|
|
|
200
|
-
|
|
200
|
+
### Expression
|
|
201
201
|
|
|
202
202
|
Parameters: `zoom`
|
|
203
203
|
|
|
204
204
|
___
|
|
205
205
|
|
|
206
|
-
|
|
206
|
+
### fillExtrusionPattern
|
|
207
207
|
Name: `fillExtrusionPattern`
|
|
208
208
|
|
|
209
|
-
|
|
209
|
+
### Description
|
|
210
210
|
Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
|
|
211
211
|
|
|
212
|
-
|
|
212
|
+
### Type
|
|
213
213
|
`resolvedImage`
|
|
214
214
|
|
|
215
215
|
|
|
216
|
-
|
|
216
|
+
### Expression
|
|
217
217
|
|
|
218
218
|
Parameters: `zoom, feature`
|
|
219
219
|
___
|
|
220
220
|
|
|
221
|
-
|
|
221
|
+
### Name
|
|
222
222
|
|
|
223
223
|
`fillExtrusionPatternTransition`
|
|
224
224
|
|
|
225
|
-
|
|
225
|
+
### Description
|
|
226
226
|
|
|
227
|
-
The transition affecting any changes to this layer’s fillExtrusionPattern
|
|
227
|
+
The transition affecting any changes to this layer’s fillExtrusionPattern property.
|
|
228
228
|
|
|
229
|
-
|
|
229
|
+
### Type
|
|
230
230
|
|
|
231
231
|
`{ duration, delay }`
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
### Units
|
|
234
234
|
`milliseconds`
|
|
235
235
|
|
|
236
|
-
|
|
236
|
+
### Default Value
|
|
237
237
|
`{duration: 300, delay: 0}`
|
|
238
238
|
|
|
239
239
|
|
|
240
240
|
___
|
|
241
241
|
|
|
242
|
-
|
|
242
|
+
### fillExtrusionHeight
|
|
243
243
|
Name: `fillExtrusionHeight`
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
### Description
|
|
246
246
|
The height with which to extrude this layer.
|
|
247
247
|
|
|
248
|
-
|
|
248
|
+
### Type
|
|
249
249
|
`number`
|
|
250
|
-
|
|
250
|
+
### Default Value
|
|
251
251
|
`0`
|
|
252
252
|
|
|
253
|
-
|
|
253
|
+
### Units
|
|
254
254
|
`meters`
|
|
255
255
|
|
|
256
|
-
|
|
256
|
+
### Minimum
|
|
257
257
|
`0`
|
|
258
258
|
|
|
259
259
|
|
|
260
|
-
|
|
260
|
+
### Expression
|
|
261
261
|
|
|
262
262
|
Parameters: `zoom, feature, feature-state`
|
|
263
263
|
___
|
|
264
264
|
|
|
265
|
-
|
|
265
|
+
### Name
|
|
266
266
|
|
|
267
267
|
`fillExtrusionHeightTransition`
|
|
268
268
|
|
|
269
|
-
|
|
269
|
+
### Description
|
|
270
270
|
|
|
271
|
-
The transition affecting any changes to this layer’s fillExtrusionHeight
|
|
271
|
+
The transition affecting any changes to this layer’s fillExtrusionHeight property.
|
|
272
272
|
|
|
273
|
-
|
|
273
|
+
### Type
|
|
274
274
|
|
|
275
275
|
`{ duration, delay }`
|
|
276
276
|
|
|
277
|
-
|
|
277
|
+
### Units
|
|
278
278
|
`milliseconds`
|
|
279
279
|
|
|
280
|
-
|
|
280
|
+
### Default Value
|
|
281
281
|
`{duration: 300, delay: 0}`
|
|
282
282
|
|
|
283
283
|
|
|
284
284
|
___
|
|
285
285
|
|
|
286
|
-
|
|
286
|
+
### fillExtrusionBase
|
|
287
287
|
Name: `fillExtrusionBase`
|
|
288
288
|
|
|
289
|
-
|
|
289
|
+
### Description
|
|
290
290
|
The height with which to extrude the base of this layer. Must be less than or equal to `fillExtrusionHeight`.
|
|
291
291
|
|
|
292
|
-
|
|
292
|
+
### Type
|
|
293
293
|
`number`
|
|
294
|
-
|
|
294
|
+
### Default Value
|
|
295
295
|
`0`
|
|
296
296
|
|
|
297
|
-
|
|
297
|
+
### Units
|
|
298
298
|
`meters`
|
|
299
299
|
|
|
300
|
-
|
|
300
|
+
### Minimum
|
|
301
301
|
`0`
|
|
302
302
|
|
|
303
303
|
|
|
304
|
-
|
|
304
|
+
### Requires
|
|
305
305
|
`fillExtrusionHeight`
|
|
306
306
|
|
|
307
|
-
|
|
307
|
+
### Expression
|
|
308
308
|
|
|
309
309
|
Parameters: `zoom, feature, feature-state`
|
|
310
310
|
___
|
|
311
311
|
|
|
312
|
-
|
|
312
|
+
### Name
|
|
313
313
|
|
|
314
314
|
`fillExtrusionBaseTransition`
|
|
315
315
|
|
|
316
|
-
|
|
316
|
+
### Description
|
|
317
317
|
|
|
318
|
-
The transition affecting any changes to this layer’s fillExtrusionBase
|
|
318
|
+
The transition affecting any changes to this layer’s fillExtrusionBase property.
|
|
319
319
|
|
|
320
|
-
|
|
320
|
+
### Type
|
|
321
321
|
|
|
322
322
|
`{ duration, delay }`
|
|
323
323
|
|
|
324
|
-
|
|
324
|
+
### Units
|
|
325
325
|
`milliseconds`
|
|
326
326
|
|
|
327
|
-
|
|
327
|
+
### Default Value
|
|
328
328
|
`{duration: 300, delay: 0}`
|
|
329
329
|
|
|
330
330
|
|
|
331
331
|
___
|
|
332
332
|
|
|
333
|
-
|
|
333
|
+
### fillExtrusionVerticalGradient
|
|
334
334
|
Name: `fillExtrusionVerticalGradient`
|
|
335
335
|
|
|
336
|
-
|
|
336
|
+
### Description
|
|
337
337
|
Whether to apply a vertical gradient to the sides of a fillExtrusion layer. If true, sides will be shaded slightly darker farther down.
|
|
338
338
|
|
|
339
|
-
|
|
339
|
+
### Type
|
|
340
340
|
`boolean`
|
|
341
|
-
|
|
341
|
+
### Default Value
|
|
342
342
|
`true`
|
|
343
343
|
|
|
344
344
|
|
|
345
|
-
|
|
345
|
+
### Expression
|
|
346
346
|
|
|
347
347
|
Parameters: `zoom`
|
|
348
348
|
|
|
349
349
|
___
|
|
350
350
|
|
|
351
|
-
|
|
351
|
+
### fillExtrusionAmbientOcclusionIntensity
|
|
352
352
|
Name: `fillExtrusionAmbientOcclusionIntensity`
|
|
353
353
|
|
|
354
|
-
|
|
354
|
+
### Description
|
|
355
355
|
Controls the intensity of ambient occlusion (AO) shading. Current AO implementation is a lowCost bestEffort approach that shades area near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.
|
|
356
356
|
|
|
357
|
-
|
|
357
|
+
### Type
|
|
358
358
|
`number`
|
|
359
|
-
|
|
359
|
+
### Default Value
|
|
360
360
|
`0`
|
|
361
361
|
|
|
362
|
-
|
|
362
|
+
### Minimum
|
|
363
363
|
`0`
|
|
364
364
|
|
|
365
365
|
|
|
366
|
-
|
|
366
|
+
### Maximum
|
|
367
367
|
`1`
|
|
368
368
|
|
|
369
|
-
|
|
369
|
+
### Expression
|
|
370
370
|
|
|
371
371
|
Parameters: `zoom`
|
|
372
372
|
___
|
|
373
373
|
|
|
374
|
-
|
|
374
|
+
### Name
|
|
375
375
|
|
|
376
376
|
`fillExtrusionAmbientOcclusionIntensityTransition`
|
|
377
377
|
|
|
378
|
-
|
|
378
|
+
### Description
|
|
379
379
|
|
|
380
|
-
The transition affecting any changes to this layer’s fillExtrusionAmbientOcclusionIntensity
|
|
380
|
+
The transition affecting any changes to this layer’s fillExtrusionAmbientOcclusionIntensity property.
|
|
381
381
|
|
|
382
|
-
|
|
382
|
+
### Type
|
|
383
383
|
|
|
384
384
|
`{ duration, delay }`
|
|
385
385
|
|
|
386
|
-
|
|
386
|
+
### Units
|
|
387
387
|
`milliseconds`
|
|
388
388
|
|
|
389
|
-
|
|
389
|
+
### Default Value
|
|
390
390
|
`{duration: 300, delay: 0}`
|
|
391
391
|
|
|
392
392
|
|
|
393
393
|
___
|
|
394
394
|
|
|
395
|
-
|
|
395
|
+
### fillExtrusionAmbientOcclusionRadius
|
|
396
396
|
Name: `fillExtrusionAmbientOcclusionRadius`
|
|
397
397
|
|
|
398
|
-
|
|
398
|
+
### Description
|
|
399
399
|
The radius of ambient occlusion (AO) shading, in meters. Current AO implementation is a lowCost bestEffort approach that shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to hight of one floor and brings the most plausible results for buildings.
|
|
400
400
|
|
|
401
|
-
|
|
401
|
+
### Type
|
|
402
402
|
`number`
|
|
403
|
-
|
|
403
|
+
### Default Value
|
|
404
404
|
`3`
|
|
405
405
|
|
|
406
|
-
|
|
406
|
+
### Minimum
|
|
407
407
|
`0`
|
|
408
408
|
|
|
409
409
|
|
|
410
|
-
|
|
410
|
+
### Expression
|
|
411
411
|
|
|
412
412
|
Parameters: `zoom`
|
|
413
413
|
___
|
|
414
414
|
|
|
415
|
-
|
|
415
|
+
### Name
|
|
416
416
|
|
|
417
417
|
`fillExtrusionAmbientOcclusionRadiusTransition`
|
|
418
418
|
|
|
419
|
-
|
|
419
|
+
### Description
|
|
420
420
|
|
|
421
|
-
The transition affecting any changes to this layer’s fillExtrusionAmbientOcclusionRadius
|
|
421
|
+
The transition affecting any changes to this layer’s fillExtrusionAmbientOcclusionRadius property.
|
|
422
422
|
|
|
423
|
-
|
|
423
|
+
### Type
|
|
424
424
|
|
|
425
425
|
`{ duration, delay }`
|
|
426
426
|
|
|
427
|
-
|
|
427
|
+
### Units
|
|
428
428
|
`milliseconds`
|
|
429
429
|
|
|
430
|
-
|
|
430
|
+
### Default Value
|
|
431
431
|
`{duration: 300, delay: 0}`
|
|
432
432
|
|
|
433
433
|
|