@navaramap/engine-api 0.2.0 → 0.3.0
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/navara_wasm_api.d.ts +1612 -441
- package/navara_wasm_api.js +2292 -382
- package/navara_wasm_api_bg.wasm +0 -0
- package/package.json +1 -1
package/navara_wasm_api.d.ts
CHANGED
|
@@ -39,45 +39,65 @@ export class BillboardMaterial {
|
|
|
39
39
|
get alphaTest(): number | undefined;
|
|
40
40
|
set alphaTest(value: number | null | undefined);
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* over the horizon, which face away from the camera.
|
|
42
|
+
* Part of the quad placed at the anchor point: `"center"` (default),
|
|
43
|
+
* `"left"`, `"right"`, `"top"`, `"bottom"`, `"top-left"`, `"top-right"`,
|
|
44
|
+
* `"bottom-left"` or `"bottom-right"`, as MapLibre's `icon-anchor`.
|
|
46
45
|
*/
|
|
47
|
-
get
|
|
46
|
+
get anchor(): string | undefined;
|
|
48
47
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* over the horizon, which face away from the camera.
|
|
48
|
+
* Part of the quad placed at the anchor point: `"center"` (default),
|
|
49
|
+
* `"left"`, `"right"`, `"top"`, `"bottom"`, `"top-left"`, `"top-right"`,
|
|
50
|
+
* `"bottom-left"` or `"bottom-right"`, as MapLibre's `icon-anchor`.
|
|
53
51
|
*/
|
|
54
|
-
set
|
|
52
|
+
set anchor(value: string | null | undefined);
|
|
55
53
|
/**
|
|
56
|
-
* Whether
|
|
57
|
-
*
|
|
58
|
-
*
|
|
54
|
+
* Whether faces seen from behind are culled. Default is false. Only a
|
|
55
|
+
* flat quad has a back the camera can see: turn it on to hide the parts
|
|
56
|
+
* of a large one that wrap over the horizon, which face away from the
|
|
57
|
+
* camera.
|
|
59
58
|
*/
|
|
60
|
-
get
|
|
59
|
+
get backfaceCulling(): boolean | undefined;
|
|
61
60
|
/**
|
|
62
|
-
* Whether
|
|
63
|
-
*
|
|
64
|
-
*
|
|
61
|
+
* Whether faces seen from behind are culled. Default is false. Only a
|
|
62
|
+
* flat quad has a back the camera can see: turn it on to hide the parts
|
|
63
|
+
* of a large one that wrap over the horizon, which face away from the
|
|
64
|
+
* camera.
|
|
65
65
|
*/
|
|
66
|
-
set
|
|
66
|
+
set backfaceCulling(value: boolean | null | undefined);
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
68
|
+
* Plane the sprite lies in: the screen (`"upright"`, never foreshortened)
|
|
69
|
+
* or the globe surface around its anchor (`"flat"`), as MapLibre's
|
|
70
|
+
* `icon-pitch-alignment` `viewport` and `map`. Pair with
|
|
71
|
+
* `rotateWithCamera`. Left unset, it is `"flat"` when `rotateWithCamera`
|
|
72
|
+
* resolves to `false` and `"upright"` otherwise, as MapLibre resolves
|
|
73
|
+
* `auto`.
|
|
70
74
|
*/
|
|
71
|
-
get
|
|
75
|
+
get billboardFacing(): string | undefined;
|
|
72
76
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
77
|
+
* Plane the sprite lies in: the screen (`"upright"`, never foreshortened)
|
|
78
|
+
* or the globe surface around its anchor (`"flat"`), as MapLibre's
|
|
79
|
+
* `icon-pitch-alignment` `viewport` and `map`. Pair with
|
|
80
|
+
* `rotateWithCamera`. Left unset, it is `"flat"` when `rotateWithCamera`
|
|
81
|
+
* resolves to `false` and `"upright"` otherwise, as MapLibre resolves
|
|
82
|
+
* `auto`.
|
|
75
83
|
*/
|
|
76
|
-
set
|
|
84
|
+
set billboardFacing(value: string | null | undefined);
|
|
77
85
|
get clampToGround(): boolean | undefined;
|
|
78
86
|
set clampToGround(value: boolean | null | undefined);
|
|
79
87
|
get color(): number | undefined;
|
|
80
88
|
set color(value: number | null | undefined);
|
|
89
|
+
/**
|
|
90
|
+
* Extra space around the collision box, in screen pixels: one to four
|
|
91
|
+
* values, expanded like CSS padding (top, right, bottom, left). Only
|
|
92
|
+
* meaningful when `declutter` is enabled. Defaults to `[2]`.
|
|
93
|
+
*/
|
|
94
|
+
get declutterPadding(): Float32Array | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Extra space around the collision box, in screen pixels: one to four
|
|
97
|
+
* values, expanded like CSS padding (top, right, bottom, left). Only
|
|
98
|
+
* meaningful when `declutter` is enabled. Defaults to `[2]`.
|
|
99
|
+
*/
|
|
100
|
+
set declutterPadding(value: Float32Array | null | undefined);
|
|
81
101
|
/**
|
|
82
102
|
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
83
103
|
* `declutter` is enabled. Defaults to `0.0`.
|
|
@@ -88,6 +108,20 @@ export class BillboardMaterial {
|
|
|
88
108
|
* `declutter` is enabled. Defaults to `0.0`.
|
|
89
109
|
*/
|
|
90
110
|
set declutterPriority(value: number | null | undefined);
|
|
111
|
+
/**
|
|
112
|
+
* Coarse placement order for decluttering, compared before
|
|
113
|
+
* `declutterPriority`: every label with a higher rank is placed before any
|
|
114
|
+
* label with a lower one, whatever their priorities. Only meaningful when
|
|
115
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
116
|
+
*/
|
|
117
|
+
get declutterRank(): number | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Coarse placement order for decluttering, compared before
|
|
120
|
+
* `declutterPriority`: every label with a higher rank is placed before any
|
|
121
|
+
* label with a lower one, whatever their priorities. Only meaningful when
|
|
122
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
123
|
+
*/
|
|
124
|
+
set declutterRank(value: number | null | undefined);
|
|
91
125
|
/**
|
|
92
126
|
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
93
127
|
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
@@ -128,18 +162,32 @@ export class BillboardMaterial {
|
|
|
128
162
|
set emissiveIntensity(value: number | null | undefined);
|
|
129
163
|
/**
|
|
130
164
|
* Source geometry types this appearance consumes: `"point"`, `"line"`,
|
|
131
|
-
* `"polygon"`. Defaults to `["point"]`; adding `"line"
|
|
132
|
-
*
|
|
165
|
+
* `"polygon"`. Defaults to `["point"]`; adding `"line"` also emits a
|
|
166
|
+
* billboard per line string, at its first vertex, and `"polygon"` one per
|
|
167
|
+
* polygon.
|
|
133
168
|
*/
|
|
134
169
|
get geometryTypes(): string[] | undefined;
|
|
135
170
|
/**
|
|
136
171
|
* Source geometry types this appearance consumes: `"point"`, `"line"`,
|
|
137
|
-
* `"polygon"`. Defaults to `["point"]`; adding `"line"
|
|
138
|
-
*
|
|
172
|
+
* `"polygon"`. Defaults to `["point"]`; adding `"line"` also emits a
|
|
173
|
+
* billboard per line string, at its first vertex, and `"polygon"` one per
|
|
174
|
+
* polygon.
|
|
139
175
|
*/
|
|
140
176
|
set geometryTypes(value: string[] | null | undefined);
|
|
141
177
|
get height(): number | undefined;
|
|
142
178
|
set height(value: number | null | undefined);
|
|
179
|
+
/**
|
|
180
|
+
* Leave this label's box out of the collision grid, so symbols placed
|
|
181
|
+
* after it may overlap it. Only meaningful when `declutter` is enabled.
|
|
182
|
+
* Defaults to `false`.
|
|
183
|
+
*/
|
|
184
|
+
get ignorePlacement(): boolean | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Leave this label's box out of the collision grid, so symbols placed
|
|
187
|
+
* after it may overlap it. Only meaningful when `declutter` is enabled.
|
|
188
|
+
* Defaults to `false`.
|
|
189
|
+
*/
|
|
190
|
+
set ignorePlacement(value: boolean | null | undefined);
|
|
143
191
|
/**
|
|
144
192
|
* Avoid overlapping with the globe surface.
|
|
145
193
|
*/
|
|
@@ -148,29 +196,91 @@ export class BillboardMaterial {
|
|
|
148
196
|
* Avoid overlapping with the globe surface.
|
|
149
197
|
*/
|
|
150
198
|
set offsetDepth(value: boolean | null | undefined);
|
|
199
|
+
/**
|
|
200
|
+
* Shift from the anchor point, x right and y down, in the unit of `size`
|
|
201
|
+
* (meters when `sizeInMeters`, pixels otherwise). Lies in the quad's own
|
|
202
|
+
* plane, so it turns with `rotation`. Defaults to `(0, 0)`.
|
|
203
|
+
*/
|
|
204
|
+
get offset(): Vec2 | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* Shift from the anchor point, x right and y down, in the unit of `size`
|
|
207
|
+
* (meters when `sizeInMeters`, pixels otherwise). Lies in the quad's own
|
|
208
|
+
* plane, so it turns with `rotation`. Defaults to `(0, 0)`.
|
|
209
|
+
*/
|
|
210
|
+
set offset(value: Vec2 | null | undefined);
|
|
151
211
|
get opacity(): number | undefined;
|
|
152
212
|
set opacity(value: number | null | undefined);
|
|
153
213
|
/**
|
|
154
|
-
* Whether the
|
|
155
|
-
*
|
|
156
|
-
*
|
|
214
|
+
* Whether the label may be drawn over symbols placed before it:
|
|
215
|
+
* `"never"` (the default) hides it on any collision, `"always"` never
|
|
216
|
+
* does, `"cooperative"` hides it only when it collides with a `"never"`
|
|
217
|
+
* symbol. Only meaningful when `declutter` is enabled.
|
|
218
|
+
*/
|
|
219
|
+
get overlap(): string | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* Whether the label may be drawn over symbols placed before it:
|
|
222
|
+
* `"never"` (the default) hides it on any collision, `"always"` never
|
|
223
|
+
* does, `"cooperative"` hides it only when it collides with a `"never"`
|
|
224
|
+
* symbol. Only meaningful when `declutter` is enabled.
|
|
225
|
+
*/
|
|
226
|
+
set overlap(value: string | null | undefined);
|
|
227
|
+
/**
|
|
228
|
+
* How anchors are derived from line and polygon geometry: `"point"` (the
|
|
229
|
+
* default) puts one per line string, at its first vertex, and one per
|
|
230
|
+
* polygon, `"line"` repeats them along the line every `spacing`,
|
|
231
|
+
* `"line-center"` places a single one at the line's midpoint. Polygon
|
|
232
|
+
* rings are walked like lines. Requires `geometryTypes` to include
|
|
233
|
+
* `"line"` or `"polygon"`.
|
|
234
|
+
*/
|
|
235
|
+
get placement(): string | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* How anchors are derived from line and polygon geometry: `"point"` (the
|
|
238
|
+
* default) puts one per line string, at its first vertex, and one per
|
|
239
|
+
* polygon, `"line"` repeats them along the line every `spacing`,
|
|
240
|
+
* `"line-center"` places a single one at the line's midpoint. Polygon
|
|
241
|
+
* rings are walked like lines. Requires `geometryTypes` to include
|
|
242
|
+
* `"line"` or `"polygon"`.
|
|
243
|
+
*/
|
|
244
|
+
set placement(value: string | null | undefined);
|
|
245
|
+
/**
|
|
246
|
+
* Add the line's tangent bearing at the anchor to `rotation`, so the
|
|
247
|
+
* sprite turns with the line it sits on. Defaults to `true`.
|
|
248
|
+
*/
|
|
249
|
+
get rotateToLine(): boolean | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* Add the line's tangent bearing at the anchor to `rotation`, so the
|
|
252
|
+
* sprite turns with the line it sits on. Defaults to `true`.
|
|
253
|
+
*/
|
|
254
|
+
set rotateToLine(value: boolean | null | undefined);
|
|
255
|
+
/**
|
|
256
|
+
* Whether the sprite turns with the camera or with the map, as MapLibre's
|
|
257
|
+
* `icon-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right
|
|
258
|
+
* (a screen-aligned billboard, or a flat quad yawed to the camera).
|
|
259
|
+
* `false` aligns it with the map: upright, it stays on screen but turns
|
|
260
|
+
* with the camera heading so its x-axis points east; flat, it lies
|
|
261
|
+
* north-up. Left unset, it is `true` for `placement: "point"` and `false`
|
|
262
|
+
* along a line, as MapLibre resolves `auto`.
|
|
157
263
|
*/
|
|
158
264
|
get rotateWithCamera(): boolean | undefined;
|
|
159
265
|
/**
|
|
160
|
-
* Whether the sprite turns
|
|
161
|
-
*
|
|
162
|
-
*
|
|
266
|
+
* Whether the sprite turns with the camera or with the map, as MapLibre's
|
|
267
|
+
* `icon-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right
|
|
268
|
+
* (a screen-aligned billboard, or a flat quad yawed to the camera).
|
|
269
|
+
* `false` aligns it with the map: upright, it stays on screen but turns
|
|
270
|
+
* with the camera heading so its x-axis points east; flat, it lies
|
|
271
|
+
* north-up. Left unset, it is `true` for `placement: "point"` and `false`
|
|
272
|
+
* along a line, as MapLibre resolves `auto`.
|
|
163
273
|
*/
|
|
164
274
|
set rotateWithCamera(value: boolean | null | undefined);
|
|
165
275
|
/**
|
|
166
276
|
* Rotation of the sprite within its own plane, about its anchor point,
|
|
167
|
-
* in degrees, clockwise seen from the front. `
|
|
277
|
+
* in degrees, clockwise seen from the front. `anchor` decides where
|
|
168
278
|
* inside the sprite the pivot sits. Defaults to `0.0`.
|
|
169
279
|
*/
|
|
170
280
|
get rotation(): number | undefined;
|
|
171
281
|
/**
|
|
172
282
|
* Rotation of the sprite within its own plane, about its anchor point,
|
|
173
|
-
* in degrees, clockwise seen from the front. `
|
|
283
|
+
* in degrees, clockwise seen from the front. `anchor` decides where
|
|
174
284
|
* inside the sprite the pivot sits. Defaults to `0.0`.
|
|
175
285
|
*/
|
|
176
286
|
set rotation(value: number | null | undefined);
|
|
@@ -184,6 +294,20 @@ export class BillboardMaterial {
|
|
|
184
294
|
* Whether the size is specified in meters. If false, the size is in pixels. Default is true.
|
|
185
295
|
*/
|
|
186
296
|
set sizeInMeters(value: boolean | null | undefined);
|
|
297
|
+
/**
|
|
298
|
+
* Whether `size` scales the image's own pixel height instead of being the
|
|
299
|
+
* quad's height, like MapLibre's `icon-size`: `1` draws the image at its
|
|
300
|
+
* natural size. `offset` keeps the unit `sizeInMeters` gives it. Default
|
|
301
|
+
* is false.
|
|
302
|
+
*/
|
|
303
|
+
get sizeRelativeToImage(): boolean | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* Whether `size` scales the image's own pixel height instead of being the
|
|
306
|
+
* quad's height, like MapLibre's `icon-size`: `1` draws the image at its
|
|
307
|
+
* natural size. `offset` keeps the unit `sizeInMeters` gives it. Default
|
|
308
|
+
* is false.
|
|
309
|
+
*/
|
|
310
|
+
set sizeRelativeToImage(value: boolean | null | undefined);
|
|
187
311
|
/**
|
|
188
312
|
* size in pixels/meters (units are determined by `sizeInMeters`).
|
|
189
313
|
*/
|
|
@@ -192,6 +316,70 @@ export class BillboardMaterial {
|
|
|
192
316
|
* size in pixels/meters (units are determined by `sizeInMeters`).
|
|
193
317
|
*/
|
|
194
318
|
set size(value: number | null | undefined);
|
|
319
|
+
/**
|
|
320
|
+
* Distance between repeated anchors along a line, in screen pixels, for
|
|
321
|
+
* `vector-tile` and `geojson` sources alike. Resolved per anchor as the
|
|
322
|
+
* camera moves: anchors thin out as it pulls back and fill in as it
|
|
323
|
+
* closes, never moving, so the gap on screen stays between one and two
|
|
324
|
+
* times `spacing` across a pitched view. As MapLibre does with
|
|
325
|
+
* `symbol-spacing`, a sprite wider than three quarters of the spacing
|
|
326
|
+
* spreads its repeats to its width plus a quarter of the spacing, and a
|
|
327
|
+
* vector tile places anchors only inside its own bounds. Only used by
|
|
328
|
+
* `placement: "line"`. Defaults to `250.0`.
|
|
329
|
+
*/
|
|
330
|
+
get spacing(): number | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* Distance between repeated anchors along a line, in screen pixels, for
|
|
333
|
+
* `vector-tile` and `geojson` sources alike. Resolved per anchor as the
|
|
334
|
+
* camera moves: anchors thin out as it pulls back and fill in as it
|
|
335
|
+
* closes, never moving, so the gap on screen stays between one and two
|
|
336
|
+
* times `spacing` across a pitched view. As MapLibre does with
|
|
337
|
+
* `symbol-spacing`, a sprite wider than three quarters of the spacing
|
|
338
|
+
* spreads its repeats to its width plus a quarter of the spacing, and a
|
|
339
|
+
* vector tile places anchors only inside its own bounds. Only used by
|
|
340
|
+
* `placement: "line"`. Defaults to `250.0`.
|
|
341
|
+
*/
|
|
342
|
+
set spacing(value: number | null | undefined);
|
|
343
|
+
/**
|
|
344
|
+
* Whether this may show while its partner at the same anchor (the
|
|
345
|
+
* layer's label for a billboard, its billboard for a label) is hidden.
|
|
346
|
+
* With `false` on both, the two are placed together: both show or
|
|
347
|
+
* neither does. Only meaningful when `declutter` is enabled. Defaults to
|
|
348
|
+
* `true`.
|
|
349
|
+
*/
|
|
350
|
+
get standalone(): boolean | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* Whether this may show while its partner at the same anchor (the
|
|
353
|
+
* layer's label for a billboard, its billboard for a label) is hidden.
|
|
354
|
+
* With `false` on both, the two are placed together: both show or
|
|
355
|
+
* neither does. Only meaningful when `declutter` is enabled. Defaults to
|
|
356
|
+
* `true`.
|
|
357
|
+
*/
|
|
358
|
+
set standalone(value: boolean | null | undefined);
|
|
359
|
+
/**
|
|
360
|
+
* Frame `translate` is measured in: `"map"` (default) turns it with the
|
|
361
|
+
* camera heading so +x points east and +y south; `"viewport"` keeps it on
|
|
362
|
+
* the screen axes. MapLibre's `icon-translate-anchor`.
|
|
363
|
+
*/
|
|
364
|
+
get translateAnchor(): string | undefined;
|
|
365
|
+
/**
|
|
366
|
+
* Frame `translate` is measured in: `"map"` (default) turns it with the
|
|
367
|
+
* camera heading so +x points east and +y south; `"viewport"` keeps it on
|
|
368
|
+
* the screen axes. MapLibre's `icon-translate-anchor`.
|
|
369
|
+
*/
|
|
370
|
+
set translateAnchor(value: string | null | undefined);
|
|
371
|
+
/**
|
|
372
|
+
* Screen-pixel shift of the drawn quad, x right and y down, applied after
|
|
373
|
+
* projection so it stays the same number of pixels at any distance, as
|
|
374
|
+
* MapLibre's `icon-translate`. Defaults to `(0, 0)`.
|
|
375
|
+
*/
|
|
376
|
+
get translate(): Vec2 | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* Screen-pixel shift of the drawn quad, x right and y down, applied after
|
|
379
|
+
* projection so it stays the same number of pixels at any distance, as
|
|
380
|
+
* MapLibre's `icon-translate`. Defaults to `(0, 0)`.
|
|
381
|
+
*/
|
|
382
|
+
set translate(value: Vec2 | null | undefined);
|
|
195
383
|
get transparent(): boolean | undefined;
|
|
196
384
|
set transparent(value: boolean | null | undefined);
|
|
197
385
|
get url(): string | undefined;
|
|
@@ -458,6 +646,7 @@ export class CompiledExpression {
|
|
|
458
646
|
* * `properties_json` - Feature properties as JSON object
|
|
459
647
|
* * `zoom` - Current zoom level
|
|
460
648
|
* * `geometry_type` - Optional geometry type string (e.g., "Point", "Polygon")
|
|
649
|
+
* * `elevation` - Optional terrain elevation in meters for `["elevation"]`
|
|
461
650
|
*
|
|
462
651
|
* # Returns
|
|
463
652
|
* Evaluated value as JsValue. Supported types:
|
|
@@ -468,7 +657,7 @@ export class CompiledExpression {
|
|
|
468
657
|
*
|
|
469
658
|
* Unsupported types return `null` with a console warning.
|
|
470
659
|
*/
|
|
471
|
-
evaluate(properties_json: any, zoom: number, geometry_type?: string | null): any;
|
|
660
|
+
evaluate(properties_json: any, zoom: number, geometry_type?: string | null, elevation?: number | null): any;
|
|
472
661
|
/**
|
|
473
662
|
* Extract all feature property names accessed by this expression.
|
|
474
663
|
* Returns a JavaScript array of property name strings.
|
|
@@ -572,26 +761,28 @@ export class ConstructedPolylineGeometry {
|
|
|
572
761
|
end_high_size(): number | undefined;
|
|
573
762
|
end_low(): Float32Array | undefined;
|
|
574
763
|
end_low_size(): number | undefined;
|
|
575
|
-
|
|
576
|
-
|
|
764
|
+
end_normal_and_segment_length(): Float32Array | undefined;
|
|
765
|
+
end_normal_and_segment_length_size(): number | undefined;
|
|
577
766
|
forward_offset(): Float32Array | undefined;
|
|
578
767
|
forward_offset_size(): number | undefined;
|
|
579
768
|
indices(): Uint32Array;
|
|
769
|
+
line_distance_and_ends(): Float32Array | undefined;
|
|
770
|
+
line_segments(): Float32Array | undefined;
|
|
580
771
|
position(): Float32Array;
|
|
581
772
|
position_high(): Float32Array | undefined;
|
|
582
773
|
position_high_size(): number | undefined;
|
|
583
774
|
position_low(): Float32Array | undefined;
|
|
584
775
|
position_low_size(): number | undefined;
|
|
585
776
|
position_size(): number;
|
|
586
|
-
|
|
587
|
-
|
|
777
|
+
right_normal_and_line_length(): Float32Array;
|
|
778
|
+
right_normal_and_line_length_size(): number;
|
|
588
779
|
start(): Float32Array | undefined;
|
|
589
780
|
start_high(): Float32Array | undefined;
|
|
590
781
|
start_high_size(): number | undefined;
|
|
591
782
|
start_low(): Float32Array | undefined;
|
|
592
783
|
start_low_size(): number | undefined;
|
|
593
|
-
|
|
594
|
-
|
|
784
|
+
start_normal_and_length_high(): Float32Array | undefined;
|
|
785
|
+
start_normal_and_length_high_size(): number | undefined;
|
|
595
786
|
start_size(): number | undefined;
|
|
596
787
|
readonly extent: ExtentRadianF32 | undefined;
|
|
597
788
|
}
|
|
@@ -633,6 +824,40 @@ export class ElevationHeatmapMaterial {
|
|
|
633
824
|
private constructor();
|
|
634
825
|
free(): void;
|
|
635
826
|
[Symbol.dispose](): void;
|
|
827
|
+
/**
|
|
828
|
+
* Color map lookup table for this layer's elevation heatmap rendering.
|
|
829
|
+
* Flattened RGBA array: [r0,g0,b0,a0, r1,g1,b1,a1, ...], evenly spaced over
|
|
830
|
+
* [minHeight, maxHeight]. When None, the elevation renders as grayscale.
|
|
831
|
+
* Managed on the web side (ColorMapAtlas); Rust only hashes it to detect
|
|
832
|
+
* changes.
|
|
833
|
+
*/
|
|
834
|
+
get colorMap(): Float32Array | undefined;
|
|
835
|
+
/**
|
|
836
|
+
* Color map lookup table for this layer's elevation heatmap rendering.
|
|
837
|
+
* Flattened RGBA array: [r0,g0,b0,a0, r1,g1,b1,a1, ...], evenly spaced over
|
|
838
|
+
* [minHeight, maxHeight]. When None, the elevation renders as grayscale.
|
|
839
|
+
* Managed on the web side (ColorMapAtlas); Rust only hashes it to detect
|
|
840
|
+
* changes.
|
|
841
|
+
*/
|
|
842
|
+
set colorMap(value: Float32Array | null | undefined);
|
|
843
|
+
/**
|
|
844
|
+
* Optional ascending stop elevations in meters, one per colorMap entry.
|
|
845
|
+
* When set, colorMap entry i is placed at elevation colorStops[i] instead
|
|
846
|
+
* of being evenly spaced over [minHeight, maxHeight].
|
|
847
|
+
* Managed on the web side (ColorMapAtlas); Rust only hashes it to detect
|
|
848
|
+
* changes.
|
|
849
|
+
*/
|
|
850
|
+
get colorStops(): Float32Array | undefined;
|
|
851
|
+
/**
|
|
852
|
+
* Optional ascending stop elevations in meters, one per colorMap entry.
|
|
853
|
+
* When set, colorMap entry i is placed at elevation colorStops[i] instead
|
|
854
|
+
* of being evenly spaced over [minHeight, maxHeight].
|
|
855
|
+
* Managed on the web side (ColorMapAtlas); Rust only hashes it to detect
|
|
856
|
+
* changes.
|
|
857
|
+
*/
|
|
858
|
+
set colorStops(value: Float32Array | null | undefined);
|
|
859
|
+
get filter(): string | undefined;
|
|
860
|
+
set filter(value: string | null | undefined);
|
|
636
861
|
get logBoundary(): number | undefined;
|
|
637
862
|
set logBoundary(value: number | null | undefined);
|
|
638
863
|
get logarithmic(): boolean | undefined;
|
|
@@ -697,6 +922,7 @@ export class Geometry {
|
|
|
697
922
|
constructor(vertices: Float32Array, indices: Uint32Array, uvs: Float32Array);
|
|
698
923
|
transferIndices(): Uint32Array;
|
|
699
924
|
transferNormals(): Float32Array | undefined;
|
|
925
|
+
transferSkirtHeights(): Float32Array | undefined;
|
|
700
926
|
transferSkirtIndices(): Uint32Array | undefined;
|
|
701
927
|
transferSkirtNormals(): Float32Array | undefined;
|
|
702
928
|
transferSkirtUvs(): Float32Array | undefined;
|
|
@@ -714,16 +940,11 @@ export class Geometry {
|
|
|
714
940
|
export class Globe {
|
|
715
941
|
free(): void;
|
|
716
942
|
[Symbol.dispose](): void;
|
|
717
|
-
constructor(max_sse: number, segments: number, color: number, hide_underground: boolean, use_normal: boolean, transparent: boolean, opacity: number, wireframe: boolean
|
|
943
|
+
constructor(max_sse: number, segments: number, color: number, hide_underground: boolean, use_normal: boolean, transparent: boolean, opacity: number, wireframe: boolean);
|
|
718
944
|
/**
|
|
719
945
|
* Base color for the globe surface (RGB as u32).
|
|
720
946
|
*/
|
|
721
947
|
color: number;
|
|
722
|
-
/**
|
|
723
|
-
* Color map lookup table for elevation heatmap rendering.
|
|
724
|
-
* Flattened RGB array: [r0,g0,b0, r1,g1,b1, ...].
|
|
725
|
-
*/
|
|
726
|
-
elevationColormap: Float32Array;
|
|
727
948
|
/**
|
|
728
949
|
* Whether to hide underground geometry. Disabling this value might cause unexpected behavior when using effect.
|
|
729
950
|
*/
|
|
@@ -790,6 +1011,42 @@ export class LLE {
|
|
|
790
1011
|
lng: number;
|
|
791
1012
|
}
|
|
792
1013
|
|
|
1014
|
+
export class LineDashAtlas {
|
|
1015
|
+
free(): void;
|
|
1016
|
+
[Symbol.dispose](): void;
|
|
1017
|
+
constructor();
|
|
1018
|
+
/**
|
|
1019
|
+
* Returns the row holding the pattern of `dash_array` drawn with `cap`
|
|
1020
|
+
* (`"butt" | "round" | "square"`), adding it on first use, and holds it
|
|
1021
|
+
* until `release`. A solid line with butt ends, and a pattern the atlas
|
|
1022
|
+
* cannot hold, are row `0`; the latter warns once per reason. An unknown
|
|
1023
|
+
* cap warns once and draws as `"butt"`.
|
|
1024
|
+
*/
|
|
1025
|
+
register(dash_array: Float32Array | null | undefined, cap: string): number;
|
|
1026
|
+
/**
|
|
1027
|
+
* Ends one `register` of `row`; the last one frees the row for another
|
|
1028
|
+
* pattern. A row nobody holds is left as is and warns once.
|
|
1029
|
+
*/
|
|
1030
|
+
release(row: number): void;
|
|
1031
|
+
/**
|
|
1032
|
+
* The rows as RGBA float texels, `rowTexels` wide and `rowCapacity`
|
|
1033
|
+
* high. A view into WASM memory: copy it before the next allocation.
|
|
1034
|
+
*/
|
|
1035
|
+
readonly data: Float32Array;
|
|
1036
|
+
/**
|
|
1037
|
+
* Changes whenever a row is written into `data`.
|
|
1038
|
+
*/
|
|
1039
|
+
readonly dataVersion: number;
|
|
1040
|
+
/**
|
|
1041
|
+
* Rows `data` holds; it grows when a row is added past it.
|
|
1042
|
+
*/
|
|
1043
|
+
readonly rowCapacity: number;
|
|
1044
|
+
/**
|
|
1045
|
+
* RGBA texels per row.
|
|
1046
|
+
*/
|
|
1047
|
+
readonly rowTexels: number;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
793
1050
|
export class ModelInternalMaterial {
|
|
794
1051
|
private constructor();
|
|
795
1052
|
free(): void;
|
|
@@ -810,8 +1067,6 @@ export class ModelMaterial {
|
|
|
810
1067
|
set animationActiveClip(value: string | null | undefined);
|
|
811
1068
|
get animationSpeed(): number | undefined;
|
|
812
1069
|
set animationSpeed(value: number | null | undefined);
|
|
813
|
-
get applyWaterNormal(): boolean | undefined;
|
|
814
|
-
set applyWaterNormal(value: boolean | null | undefined);
|
|
815
1070
|
get castShadow(): boolean | undefined;
|
|
816
1071
|
set castShadow(value: boolean | null | undefined);
|
|
817
1072
|
get color(): number | undefined;
|
|
@@ -858,6 +1113,16 @@ export class ModelMaterial {
|
|
|
858
1113
|
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
859
1114
|
*/
|
|
860
1115
|
set emissiveIntensity(value: number | null | undefined);
|
|
1116
|
+
/**
|
|
1117
|
+
* Speed in m/s of the current carrying the water's waves
|
|
1118
|
+
* along `waveDirection`. Default: 0.
|
|
1119
|
+
*/
|
|
1120
|
+
get flowSpeed(): number | undefined;
|
|
1121
|
+
/**
|
|
1122
|
+
* Speed in m/s of the current carrying the water's waves
|
|
1123
|
+
* along `waveDirection`. Default: 0.
|
|
1124
|
+
*/
|
|
1125
|
+
set flowSpeed(value: number | null | undefined);
|
|
861
1126
|
get height(): number | undefined;
|
|
862
1127
|
set height(value: number | null | undefined);
|
|
863
1128
|
get ior(): number | undefined;
|
|
@@ -918,7 +1183,13 @@ export class ModelMaterial {
|
|
|
918
1183
|
* Reflectivity for post-process.
|
|
919
1184
|
*/
|
|
920
1185
|
set roughness(value: number | null | undefined);
|
|
1186
|
+
/**
|
|
1187
|
+
* Phong shininess of the non-water `specular` highlight.
|
|
1188
|
+
*/
|
|
921
1189
|
get shininess(): number | undefined;
|
|
1190
|
+
/**
|
|
1191
|
+
* Phong shininess of the non-water `specular` highlight.
|
|
1192
|
+
*/
|
|
922
1193
|
set shininess(value: number | null | undefined);
|
|
923
1194
|
get shouldRotateInDefault(): boolean | undefined;
|
|
924
1195
|
set shouldRotateInDefault(value: boolean | null | undefined);
|
|
@@ -932,10 +1203,12 @@ export class ModelMaterial {
|
|
|
932
1203
|
set specularStrength(value: number | null | undefined);
|
|
933
1204
|
/**
|
|
934
1205
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
1206
|
+
* Has no effect on water.
|
|
935
1207
|
*/
|
|
936
1208
|
get specular(): boolean | undefined;
|
|
937
1209
|
/**
|
|
938
1210
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
1211
|
+
* Has no effect on water.
|
|
939
1212
|
*/
|
|
940
1213
|
set specular(value: boolean | null | undefined);
|
|
941
1214
|
/**
|
|
@@ -949,21 +1222,19 @@ export class ModelMaterial {
|
|
|
949
1222
|
get url(): string | undefined;
|
|
950
1223
|
set url(value: string | null | undefined);
|
|
951
1224
|
/**
|
|
952
|
-
*
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
* Scale water normal. Decreasing this value will make the water surface rough.
|
|
957
|
-
*/
|
|
958
|
-
set waterScaleNormal(value: number | null | undefined);
|
|
959
|
-
/**
|
|
960
|
-
* Water wave speed.
|
|
1225
|
+
* Extent of the water body, which bounds how far the wind blows over it
|
|
1226
|
+
* and so how large its waves grow: `"ocean"` (the default; open sea),
|
|
1227
|
+
* `"large"` (a bay or a large lake, about 20 km), `"medium"` (a lake or a
|
|
1228
|
+
* wide river, about 2 km) or `"small"` (a river or a pond, about 200 m).
|
|
961
1229
|
*/
|
|
962
|
-
get
|
|
1230
|
+
get waterScale(): string | undefined;
|
|
963
1231
|
/**
|
|
964
|
-
*
|
|
1232
|
+
* Extent of the water body, which bounds how far the wind blows over it
|
|
1233
|
+
* and so how large its waves grow: `"ocean"` (the default; open sea),
|
|
1234
|
+
* `"large"` (a bay or a large lake, about 20 km), `"medium"` (a lake or a
|
|
1235
|
+
* wide river, about 2 km) or `"small"` (a river or a pond, about 200 m).
|
|
965
1236
|
*/
|
|
966
|
-
set
|
|
1237
|
+
set waterScale(value: string | null | undefined);
|
|
967
1238
|
/**
|
|
968
1239
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
969
1240
|
*/
|
|
@@ -972,6 +1243,34 @@ export class ModelMaterial {
|
|
|
972
1243
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
973
1244
|
*/
|
|
974
1245
|
set water(value: boolean | null | undefined);
|
|
1246
|
+
/**
|
|
1247
|
+
* Where the water's waves travel, in degrees clockwise from north.
|
|
1248
|
+
* Default: 0.
|
|
1249
|
+
*/
|
|
1250
|
+
get waveDirection(): number | undefined;
|
|
1251
|
+
/**
|
|
1252
|
+
* Where the water's waves travel, in degrees clockwise from north.
|
|
1253
|
+
* Default: 0.
|
|
1254
|
+
*/
|
|
1255
|
+
set waveDirection(value: number | null | undefined);
|
|
1256
|
+
/**
|
|
1257
|
+
* Scales the water's wave slopes; 0 is a flat mirror.
|
|
1258
|
+
*/
|
|
1259
|
+
get waveExaggeration(): number | undefined;
|
|
1260
|
+
/**
|
|
1261
|
+
* Scales the water's wave slopes; 0 is a flat mirror.
|
|
1262
|
+
*/
|
|
1263
|
+
set waveExaggeration(value: number | null | undefined);
|
|
1264
|
+
/**
|
|
1265
|
+
* Sets the size, steepness and speed of the water's waves: about 1 is a
|
|
1266
|
+
* calm ripple, 5 moderate and 20 a storm. Default: 5.
|
|
1267
|
+
*/
|
|
1268
|
+
get waveStrength(): number | undefined;
|
|
1269
|
+
/**
|
|
1270
|
+
* Sets the size, steepness and speed of the water's waves: about 1 is a
|
|
1271
|
+
* calm ripple, 5 moderate and 20 a storm. Default: 5.
|
|
1272
|
+
*/
|
|
1273
|
+
set waveStrength(value: number | null | undefined);
|
|
975
1274
|
}
|
|
976
1275
|
|
|
977
1276
|
export class NearFar {
|
|
@@ -1002,33 +1301,47 @@ export class PointMaterial {
|
|
|
1002
1301
|
free(): void;
|
|
1003
1302
|
[Symbol.dispose](): void;
|
|
1004
1303
|
/**
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
*
|
|
1008
|
-
* over the horizon, which face away from the camera.
|
|
1304
|
+
* Part of the quad placed at the anchor point: `"center"` (default),
|
|
1305
|
+
* `"left"`, `"right"`, `"top"`, `"bottom"`, `"top-left"`, `"top-right"`,
|
|
1306
|
+
* `"bottom-left"` or `"bottom-right"`, as MapLibre's `icon-anchor`.
|
|
1009
1307
|
*/
|
|
1010
|
-
get
|
|
1308
|
+
get anchor(): string | undefined;
|
|
1011
1309
|
/**
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1015
|
-
* over the horizon, which face away from the camera.
|
|
1310
|
+
* Part of the quad placed at the anchor point: `"center"` (default),
|
|
1311
|
+
* `"left"`, `"right"`, `"top"`, `"bottom"`, `"top-left"`, `"top-right"`,
|
|
1312
|
+
* `"bottom-left"` or `"bottom-right"`, as MapLibre's `icon-anchor`.
|
|
1016
1313
|
*/
|
|
1017
|
-
set
|
|
1314
|
+
set anchor(value: string | null | undefined);
|
|
1018
1315
|
/**
|
|
1019
|
-
*
|
|
1020
|
-
*
|
|
1316
|
+
* Whether faces seen from behind are culled. Default is false. Only a
|
|
1317
|
+
* flat quad has a back the camera can see: turn it on to hide the parts
|
|
1318
|
+
* of a large one that wrap over the horizon, which face away from the
|
|
1319
|
+
* camera.
|
|
1021
1320
|
*/
|
|
1022
|
-
get
|
|
1321
|
+
get backfaceCulling(): boolean | undefined;
|
|
1023
1322
|
/**
|
|
1024
|
-
*
|
|
1025
|
-
*
|
|
1323
|
+
* Whether faces seen from behind are culled. Default is false. Only a
|
|
1324
|
+
* flat quad has a back the camera can see: turn it on to hide the parts
|
|
1325
|
+
* of a large one that wrap over the horizon, which face away from the
|
|
1326
|
+
* camera.
|
|
1026
1327
|
*/
|
|
1027
|
-
set
|
|
1328
|
+
set backfaceCulling(value: boolean | null | undefined);
|
|
1028
1329
|
get clampToGround(): boolean | undefined;
|
|
1029
1330
|
set clampToGround(value: boolean | null | undefined);
|
|
1030
1331
|
get color(): number | undefined;
|
|
1031
1332
|
set color(value: number | null | undefined);
|
|
1333
|
+
/**
|
|
1334
|
+
* Extra space around the collision box, in screen pixels: one to four
|
|
1335
|
+
* values, expanded like CSS padding (top, right, bottom, left). Only
|
|
1336
|
+
* meaningful when `declutter` is enabled. Defaults to `[2]`.
|
|
1337
|
+
*/
|
|
1338
|
+
get declutterPadding(): Float32Array | undefined;
|
|
1339
|
+
/**
|
|
1340
|
+
* Extra space around the collision box, in screen pixels: one to four
|
|
1341
|
+
* values, expanded like CSS padding (top, right, bottom, left). Only
|
|
1342
|
+
* meaningful when `declutter` is enabled. Defaults to `[2]`.
|
|
1343
|
+
*/
|
|
1344
|
+
set declutterPadding(value: Float32Array | null | undefined);
|
|
1032
1345
|
/**
|
|
1033
1346
|
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
1034
1347
|
* `declutter` is enabled. Defaults to `0.0`.
|
|
@@ -1039,6 +1352,20 @@ export class PointMaterial {
|
|
|
1039
1352
|
* `declutter` is enabled. Defaults to `0.0`.
|
|
1040
1353
|
*/
|
|
1041
1354
|
set declutterPriority(value: number | null | undefined);
|
|
1355
|
+
/**
|
|
1356
|
+
* Coarse placement order for decluttering, compared before
|
|
1357
|
+
* `declutterPriority`: every label with a higher rank is placed before any
|
|
1358
|
+
* label with a lower one, whatever their priorities. Only meaningful when
|
|
1359
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
1360
|
+
*/
|
|
1361
|
+
get declutterRank(): number | undefined;
|
|
1362
|
+
/**
|
|
1363
|
+
* Coarse placement order for decluttering, compared before
|
|
1364
|
+
* `declutterPriority`: every label with a higher rank is placed before any
|
|
1365
|
+
* label with a lower one, whatever their priorities. Only meaningful when
|
|
1366
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
1367
|
+
*/
|
|
1368
|
+
set declutterRank(value: number | null | undefined);
|
|
1042
1369
|
/**
|
|
1043
1370
|
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
1044
1371
|
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
@@ -1091,6 +1418,18 @@ export class PointMaterial {
|
|
|
1091
1418
|
set geometryTypes(value: string[] | null | undefined);
|
|
1092
1419
|
get height(): number | undefined;
|
|
1093
1420
|
set height(value: number | null | undefined);
|
|
1421
|
+
/**
|
|
1422
|
+
* Leave this label's box out of the collision grid, so symbols placed
|
|
1423
|
+
* after it may overlap it. Only meaningful when `declutter` is enabled.
|
|
1424
|
+
* Defaults to `false`.
|
|
1425
|
+
*/
|
|
1426
|
+
get ignorePlacement(): boolean | undefined;
|
|
1427
|
+
/**
|
|
1428
|
+
* Leave this label's box out of the collision grid, so symbols placed
|
|
1429
|
+
* after it may overlap it. Only meaningful when `declutter` is enabled.
|
|
1430
|
+
* Defaults to `false`.
|
|
1431
|
+
*/
|
|
1432
|
+
set ignorePlacement(value: boolean | null | undefined);
|
|
1094
1433
|
/**
|
|
1095
1434
|
* Avoid overlapping with the globe surface.
|
|
1096
1435
|
*/
|
|
@@ -1099,41 +1438,107 @@ export class PointMaterial {
|
|
|
1099
1438
|
* Avoid overlapping with the globe surface.
|
|
1100
1439
|
*/
|
|
1101
1440
|
set offsetDepth(value: boolean | null | undefined);
|
|
1441
|
+
/**
|
|
1442
|
+
* Shift from the anchor point, x right and y down, in the unit of `size`
|
|
1443
|
+
* (meters when `sizeInMeters`, pixels otherwise). Lies in the quad's own
|
|
1444
|
+
* plane, so it turns with `rotation`. Defaults to `(0, 0)`.
|
|
1445
|
+
*/
|
|
1446
|
+
get offset(): Vec2 | undefined;
|
|
1447
|
+
/**
|
|
1448
|
+
* Shift from the anchor point, x right and y down, in the unit of `size`
|
|
1449
|
+
* (meters when `sizeInMeters`, pixels otherwise). Lies in the quad's own
|
|
1450
|
+
* plane, so it turns with `rotation`. Defaults to `(0, 0)`.
|
|
1451
|
+
*/
|
|
1452
|
+
set offset(value: Vec2 | null | undefined);
|
|
1102
1453
|
get opacity(): number | undefined;
|
|
1103
1454
|
set opacity(value: number | null | undefined);
|
|
1104
1455
|
/**
|
|
1105
|
-
* Whether the
|
|
1106
|
-
*
|
|
1107
|
-
* `
|
|
1456
|
+
* Whether the label may be drawn over symbols placed before it:
|
|
1457
|
+
* `"never"` (the default) hides it on any collision, `"always"` never
|
|
1458
|
+
* does, `"cooperative"` hides it only when it collides with a `"never"`
|
|
1459
|
+
* symbol. Only meaningful when `declutter` is enabled.
|
|
1460
|
+
*/
|
|
1461
|
+
get overlap(): string | undefined;
|
|
1462
|
+
/**
|
|
1463
|
+
* Whether the label may be drawn over symbols placed before it:
|
|
1464
|
+
* `"never"` (the default) hides it on any collision, `"always"` never
|
|
1465
|
+
* does, `"cooperative"` hides it only when it collides with a `"never"`
|
|
1466
|
+
* symbol. Only meaningful when `declutter` is enabled.
|
|
1467
|
+
*/
|
|
1468
|
+
set overlap(value: string | null | undefined);
|
|
1469
|
+
/**
|
|
1470
|
+
* How anchors are derived from line and polygon geometry: `"point"` (the
|
|
1471
|
+
* default) puts one at every line and polygon-ring vertex, `"line"`
|
|
1472
|
+
* repeats them along the line every `spacing`, `"line-center"` places a
|
|
1473
|
+
* single one at the line's midpoint. Polygon rings are walked like lines. Requires `geometryTypes`
|
|
1474
|
+
* to include `"line"` or `"polygon"`.
|
|
1475
|
+
*/
|
|
1476
|
+
get placement(): string | undefined;
|
|
1477
|
+
/**
|
|
1478
|
+
* How anchors are derived from line and polygon geometry: `"point"` (the
|
|
1479
|
+
* default) puts one at every line and polygon-ring vertex, `"line"`
|
|
1480
|
+
* repeats them along the line every `spacing`, `"line-center"` places a
|
|
1481
|
+
* single one at the line's midpoint. Polygon rings are walked like lines. Requires `geometryTypes`
|
|
1482
|
+
* to include `"line"` or `"polygon"`.
|
|
1483
|
+
*/
|
|
1484
|
+
set placement(value: string | null | undefined);
|
|
1485
|
+
/**
|
|
1486
|
+
* Plane the point lies in: the screen (`"upright"`, never foreshortened)
|
|
1487
|
+
* or the globe surface around its anchor (`"flat"`), as MapLibre's
|
|
1488
|
+
* `icon-pitch-alignment` `viewport` and `map`. Pair with
|
|
1489
|
+
* `rotateWithCamera`. Left unset, it is `"flat"` when `rotateWithCamera`
|
|
1490
|
+
* resolves to `false` and `"upright"` otherwise, as MapLibre resolves
|
|
1491
|
+
* `auto`.
|
|
1108
1492
|
*/
|
|
1109
1493
|
get pointFacing(): string | undefined;
|
|
1110
1494
|
/**
|
|
1111
|
-
*
|
|
1112
|
-
* globe surface around its anchor (`"flat"`)
|
|
1113
|
-
* `
|
|
1495
|
+
* Plane the point lies in: the screen (`"upright"`, never foreshortened)
|
|
1496
|
+
* or the globe surface around its anchor (`"flat"`), as MapLibre's
|
|
1497
|
+
* `icon-pitch-alignment` `viewport` and `map`. Pair with
|
|
1498
|
+
* `rotateWithCamera`. Left unset, it is `"flat"` when `rotateWithCamera`
|
|
1499
|
+
* resolves to `false` and `"upright"` otherwise, as MapLibre resolves
|
|
1500
|
+
* `auto`.
|
|
1114
1501
|
*/
|
|
1115
1502
|
set pointFacing(value: string | null | undefined);
|
|
1116
1503
|
/**
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
|
|
1504
|
+
* Add the line's tangent bearing at the anchor to `rotation`, so the
|
|
1505
|
+
* sprite turns with the line it sits on. Defaults to `true`.
|
|
1506
|
+
*/
|
|
1507
|
+
get rotateToLine(): boolean | undefined;
|
|
1508
|
+
/**
|
|
1509
|
+
* Add the line's tangent bearing at the anchor to `rotation`, so the
|
|
1510
|
+
* sprite turns with the line it sits on. Defaults to `true`.
|
|
1511
|
+
*/
|
|
1512
|
+
set rotateToLine(value: boolean | null | undefined);
|
|
1513
|
+
/**
|
|
1514
|
+
* Whether the point turns with the camera or with the map, as MapLibre's
|
|
1515
|
+
* `icon-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right
|
|
1516
|
+
* (a screen-aligned billboard, or a flat quad yawed to the camera).
|
|
1517
|
+
* `false` aligns it with the map: upright, it stays on screen but turns
|
|
1518
|
+
* with the camera heading so its x-axis points east; flat, it lies
|
|
1519
|
+
* north-up. Left unset, it is `true` for `placement: "point"` and `false`
|
|
1520
|
+
* along a line, as MapLibre resolves `auto`.
|
|
1120
1521
|
*/
|
|
1121
1522
|
get rotateWithCamera(): boolean | undefined;
|
|
1122
1523
|
/**
|
|
1123
|
-
* Whether the point turns
|
|
1124
|
-
*
|
|
1125
|
-
*
|
|
1524
|
+
* Whether the point turns with the camera or with the map, as MapLibre's
|
|
1525
|
+
* `icon-rotation-alignment` `viewport` and `map`. `true` keeps it reading left to right
|
|
1526
|
+
* (a screen-aligned billboard, or a flat quad yawed to the camera).
|
|
1527
|
+
* `false` aligns it with the map: upright, it stays on screen but turns
|
|
1528
|
+
* with the camera heading so its x-axis points east; flat, it lies
|
|
1529
|
+
* north-up. Left unset, it is `true` for `placement: "point"` and `false`
|
|
1530
|
+
* along a line, as MapLibre resolves `auto`.
|
|
1126
1531
|
*/
|
|
1127
1532
|
set rotateWithCamera(value: boolean | null | undefined);
|
|
1128
1533
|
/**
|
|
1129
1534
|
* Rotation of the point within its own plane, about its anchor point, in
|
|
1130
|
-
* degrees, clockwise seen from the front. `
|
|
1535
|
+
* degrees, clockwise seen from the front. `anchor` decides where inside
|
|
1131
1536
|
* the quad the pivot sits. Defaults to `0.0`.
|
|
1132
1537
|
*/
|
|
1133
1538
|
get rotation(): number | undefined;
|
|
1134
1539
|
/**
|
|
1135
1540
|
* Rotation of the point within its own plane, about its anchor point, in
|
|
1136
|
-
* degrees, clockwise seen from the front. `
|
|
1541
|
+
* degrees, clockwise seen from the front. `anchor` decides where inside
|
|
1137
1542
|
* the quad the pivot sits. Defaults to `0.0`.
|
|
1138
1543
|
*/
|
|
1139
1544
|
set rotation(value: number | null | undefined);
|
|
@@ -1155,6 +1560,54 @@ export class PointMaterial {
|
|
|
1155
1560
|
* size in pixels/meters (units are determined by `sizeInMeters`).
|
|
1156
1561
|
*/
|
|
1157
1562
|
set size(value: number | null | undefined);
|
|
1563
|
+
/**
|
|
1564
|
+
* Distance between repeated anchors along a line, in screen pixels, for
|
|
1565
|
+
* `vector-tile` and `geojson` sources alike. Resolved per anchor as the
|
|
1566
|
+
* camera moves: anchors thin out as it pulls back and fill in as it
|
|
1567
|
+
* closes, never moving, so the gap on screen stays between one and two
|
|
1568
|
+
* times `spacing` across a pitched view. As MapLibre does with
|
|
1569
|
+
* `symbol-spacing`, a sprite wider than three quarters of the spacing
|
|
1570
|
+
* spreads its repeats to its width plus a quarter of the spacing, and a
|
|
1571
|
+
* vector tile places anchors only inside its own bounds. Only used by
|
|
1572
|
+
* `placement: "line"`. Defaults to `250.0`.
|
|
1573
|
+
*/
|
|
1574
|
+
get spacing(): number | undefined;
|
|
1575
|
+
/**
|
|
1576
|
+
* Distance between repeated anchors along a line, in screen pixels, for
|
|
1577
|
+
* `vector-tile` and `geojson` sources alike. Resolved per anchor as the
|
|
1578
|
+
* camera moves: anchors thin out as it pulls back and fill in as it
|
|
1579
|
+
* closes, never moving, so the gap on screen stays between one and two
|
|
1580
|
+
* times `spacing` across a pitched view. As MapLibre does with
|
|
1581
|
+
* `symbol-spacing`, a sprite wider than three quarters of the spacing
|
|
1582
|
+
* spreads its repeats to its width plus a quarter of the spacing, and a
|
|
1583
|
+
* vector tile places anchors only inside its own bounds. Only used by
|
|
1584
|
+
* `placement: "line"`. Defaults to `250.0`.
|
|
1585
|
+
*/
|
|
1586
|
+
set spacing(value: number | null | undefined);
|
|
1587
|
+
/**
|
|
1588
|
+
* Frame `translate` is measured in: `"map"` (default) turns it with the
|
|
1589
|
+
* camera heading so +x points east and +y south; `"viewport"` keeps it on
|
|
1590
|
+
* the screen axes. MapLibre's `icon-translate-anchor`.
|
|
1591
|
+
*/
|
|
1592
|
+
get translateAnchor(): string | undefined;
|
|
1593
|
+
/**
|
|
1594
|
+
* Frame `translate` is measured in: `"map"` (default) turns it with the
|
|
1595
|
+
* camera heading so +x points east and +y south; `"viewport"` keeps it on
|
|
1596
|
+
* the screen axes. MapLibre's `icon-translate-anchor`.
|
|
1597
|
+
*/
|
|
1598
|
+
set translateAnchor(value: string | null | undefined);
|
|
1599
|
+
/**
|
|
1600
|
+
* Screen-pixel shift of the drawn quad, x right and y down, applied after
|
|
1601
|
+
* projection so it stays the same number of pixels at any distance, as
|
|
1602
|
+
* MapLibre's `icon-translate`. Defaults to `(0, 0)`.
|
|
1603
|
+
*/
|
|
1604
|
+
get translate(): Vec2 | undefined;
|
|
1605
|
+
/**
|
|
1606
|
+
* Screen-pixel shift of the drawn quad, x right and y down, applied after
|
|
1607
|
+
* projection so it stays the same number of pixels at any distance, as
|
|
1608
|
+
* MapLibre's `icon-translate`. Defaults to `(0, 0)`.
|
|
1609
|
+
*/
|
|
1610
|
+
set translate(value: Vec2 | null | undefined);
|
|
1158
1611
|
get transparent(): boolean | undefined;
|
|
1159
1612
|
set transparent(value: boolean | null | undefined);
|
|
1160
1613
|
}
|
|
@@ -1213,14 +1666,20 @@ export class PolygonMaterial {
|
|
|
1213
1666
|
constructor(show?: boolean | null, cast_shadow?: boolean | null, receive_shadow?: boolean | null, color?: number | null, clamp_to_ground?: boolean | null, tiled?: boolean | null, height?: number | null, extruded_height?: number | null, wireframe?: boolean | null, outline?: boolean | null, per_position_height?: boolean | null, __internal__?: PolygonInternalMaterial | null);
|
|
1214
1667
|
get __internal__(): PolygonInternalMaterial | undefined;
|
|
1215
1668
|
set __internal__(value: PolygonInternalMaterial | null | undefined);
|
|
1216
|
-
get applyWaterNormal(): boolean | undefined;
|
|
1217
|
-
set applyWaterNormal(value: boolean | null | undefined);
|
|
1218
1669
|
get castShadow(): boolean | undefined;
|
|
1219
1670
|
set castShadow(value: boolean | null | undefined);
|
|
1220
1671
|
get clampToGround(): boolean | undefined;
|
|
1221
1672
|
set clampToGround(value: boolean | null | undefined);
|
|
1222
1673
|
get color(): number | undefined;
|
|
1223
1674
|
set color(value: number | null | undefined);
|
|
1675
|
+
/**
|
|
1676
|
+
* Write depth before blending so a transparent layer blends only its nearest surface.
|
|
1677
|
+
*/
|
|
1678
|
+
get depthPrePass(): boolean | undefined;
|
|
1679
|
+
/**
|
|
1680
|
+
* Write depth before blending so a transparent layer blends only its nearest surface.
|
|
1681
|
+
*/
|
|
1682
|
+
set depthPrePass(value: boolean | null | undefined);
|
|
1224
1683
|
/**
|
|
1225
1684
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
1226
1685
|
*/
|
|
@@ -1247,6 +1706,16 @@ export class PolygonMaterial {
|
|
|
1247
1706
|
set emissiveIntensity(value: number | null | undefined);
|
|
1248
1707
|
get extrudedHeight(): number | undefined;
|
|
1249
1708
|
set extrudedHeight(value: number | null | undefined);
|
|
1709
|
+
/**
|
|
1710
|
+
* Speed in m/s of the current carrying the water's waves
|
|
1711
|
+
* along `waveDirection`. Default: 0.
|
|
1712
|
+
*/
|
|
1713
|
+
get flowSpeed(): number | undefined;
|
|
1714
|
+
/**
|
|
1715
|
+
* Speed in m/s of the current carrying the water's waves
|
|
1716
|
+
* along `waveDirection`. Default: 0.
|
|
1717
|
+
*/
|
|
1718
|
+
set flowSpeed(value: number | null | undefined);
|
|
1250
1719
|
get height(): number | undefined;
|
|
1251
1720
|
set height(value: number | null | undefined);
|
|
1252
1721
|
get ior(): number | undefined;
|
|
@@ -1331,7 +1800,21 @@ export class PolygonMaterial {
|
|
|
1331
1800
|
* Reflectivity for post-process.
|
|
1332
1801
|
*/
|
|
1333
1802
|
set roughness(value: number | null | undefined);
|
|
1803
|
+
/**
|
|
1804
|
+
* Shade the extruded sides with the surface normal instead of their own.
|
|
1805
|
+
*/
|
|
1806
|
+
get shadeSidesAsSurface(): boolean | undefined;
|
|
1807
|
+
/**
|
|
1808
|
+
* Shade the extruded sides with the surface normal instead of their own.
|
|
1809
|
+
*/
|
|
1810
|
+
set shadeSidesAsSurface(value: boolean | null | undefined);
|
|
1811
|
+
/**
|
|
1812
|
+
* Phong shininess of the non-water `specular` highlight.
|
|
1813
|
+
*/
|
|
1334
1814
|
get shininess(): number | undefined;
|
|
1815
|
+
/**
|
|
1816
|
+
* Phong shininess of the non-water `specular` highlight.
|
|
1817
|
+
*/
|
|
1335
1818
|
set shininess(value: number | null | undefined);
|
|
1336
1819
|
get show(): boolean | undefined;
|
|
1337
1820
|
set show(value: boolean | null | undefined);
|
|
@@ -1339,10 +1822,12 @@ export class PolygonMaterial {
|
|
|
1339
1822
|
set specularStrength(value: number | null | undefined);
|
|
1340
1823
|
/**
|
|
1341
1824
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
1825
|
+
* Has no effect on water.
|
|
1342
1826
|
*/
|
|
1343
1827
|
get specular(): boolean | undefined;
|
|
1344
1828
|
/**
|
|
1345
1829
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
1830
|
+
* Has no effect on water.
|
|
1346
1831
|
*/
|
|
1347
1832
|
set specular(value: boolean | null | undefined);
|
|
1348
1833
|
/**
|
|
@@ -1380,21 +1865,19 @@ export class PolygonMaterial {
|
|
|
1380
1865
|
*/
|
|
1381
1866
|
set transparent(value: boolean | null | undefined);
|
|
1382
1867
|
/**
|
|
1383
|
-
*
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
* Scale water normal. Decreasing this value will make the water surface rough.
|
|
1388
|
-
*/
|
|
1389
|
-
set waterScaleNormal(value: number | null | undefined);
|
|
1390
|
-
/**
|
|
1391
|
-
* Water wave speed.
|
|
1868
|
+
* Extent of the water body, which bounds how far the wind blows over it
|
|
1869
|
+
* and so how large its waves grow: `"ocean"` (the default; open sea),
|
|
1870
|
+
* `"large"` (a bay or a large lake, about 20 km), `"medium"` (a lake or a
|
|
1871
|
+
* wide river, about 2 km) or `"small"` (a river or a pond, about 200 m).
|
|
1392
1872
|
*/
|
|
1393
|
-
get
|
|
1873
|
+
get waterScale(): string | undefined;
|
|
1394
1874
|
/**
|
|
1395
|
-
*
|
|
1875
|
+
* Extent of the water body, which bounds how far the wind blows over it
|
|
1876
|
+
* and so how large its waves grow: `"ocean"` (the default; open sea),
|
|
1877
|
+
* `"large"` (a bay or a large lake, about 20 km), `"medium"` (a lake or a
|
|
1878
|
+
* wide river, about 2 km) or `"small"` (a river or a pond, about 200 m).
|
|
1396
1879
|
*/
|
|
1397
|
-
set
|
|
1880
|
+
set waterScale(value: string | null | undefined);
|
|
1398
1881
|
/**
|
|
1399
1882
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
1400
1883
|
*/
|
|
@@ -1403,6 +1886,34 @@ export class PolygonMaterial {
|
|
|
1403
1886
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
1404
1887
|
*/
|
|
1405
1888
|
set water(value: boolean | null | undefined);
|
|
1889
|
+
/**
|
|
1890
|
+
* Where the water's waves travel, in degrees clockwise from north.
|
|
1891
|
+
* Default: 0.
|
|
1892
|
+
*/
|
|
1893
|
+
get waveDirection(): number | undefined;
|
|
1894
|
+
/**
|
|
1895
|
+
* Where the water's waves travel, in degrees clockwise from north.
|
|
1896
|
+
* Default: 0.
|
|
1897
|
+
*/
|
|
1898
|
+
set waveDirection(value: number | null | undefined);
|
|
1899
|
+
/**
|
|
1900
|
+
* Scales the water's wave slopes; 0 is a flat mirror.
|
|
1901
|
+
*/
|
|
1902
|
+
get waveExaggeration(): number | undefined;
|
|
1903
|
+
/**
|
|
1904
|
+
* Scales the water's wave slopes; 0 is a flat mirror.
|
|
1905
|
+
*/
|
|
1906
|
+
set waveExaggeration(value: number | null | undefined);
|
|
1907
|
+
/**
|
|
1908
|
+
* Sets the size, steepness and speed of the water's waves: about 1 is a
|
|
1909
|
+
* calm ripple, 5 moderate and 20 a storm. Default: 5.
|
|
1910
|
+
*/
|
|
1911
|
+
get waveStrength(): number | undefined;
|
|
1912
|
+
/**
|
|
1913
|
+
* Sets the size, steepness and speed of the water's waves: about 1 is a
|
|
1914
|
+
* calm ripple, 5 moderate and 20 a storm. Default: 5.
|
|
1915
|
+
*/
|
|
1916
|
+
set waveStrength(value: number | null | undefined);
|
|
1406
1917
|
get wireframe(): boolean | undefined;
|
|
1407
1918
|
set wireframe(value: boolean | null | undefined);
|
|
1408
1919
|
}
|
|
@@ -1419,26 +1930,28 @@ export class PolylineGeometry {
|
|
|
1419
1930
|
end_high_size(): number | undefined;
|
|
1420
1931
|
end_low(): Float32Array | undefined;
|
|
1421
1932
|
end_low_size(): number | undefined;
|
|
1422
|
-
|
|
1423
|
-
|
|
1933
|
+
end_normal_and_segment_length(): Float32Array | undefined;
|
|
1934
|
+
end_normal_and_segment_length_size(): number | undefined;
|
|
1424
1935
|
forward_offset(): Float32Array | undefined;
|
|
1425
1936
|
forward_offset_size(): number | undefined;
|
|
1426
1937
|
indices(): Uint32Array;
|
|
1938
|
+
line_distance_and_ends(): Float32Array | undefined;
|
|
1939
|
+
line_segments(): Float32Array | undefined;
|
|
1427
1940
|
position(): Float32Array;
|
|
1428
1941
|
position_high(): Float32Array | undefined;
|
|
1429
1942
|
position_high_size(): number | undefined;
|
|
1430
1943
|
position_low(): Float32Array | undefined;
|
|
1431
1944
|
position_low_size(): number | undefined;
|
|
1432
1945
|
position_size(): number;
|
|
1433
|
-
|
|
1434
|
-
|
|
1946
|
+
right_normal_and_line_length(): Float32Array;
|
|
1947
|
+
right_normal_and_line_length_size(): number;
|
|
1435
1948
|
start(): Float32Array | undefined;
|
|
1436
1949
|
start_high(): Float32Array | undefined;
|
|
1437
1950
|
start_high_size(): number | undefined;
|
|
1438
1951
|
start_low(): Float32Array | undefined;
|
|
1439
1952
|
start_low_size(): number | undefined;
|
|
1440
|
-
|
|
1441
|
-
|
|
1953
|
+
start_normal_and_length_high(): Float32Array | undefined;
|
|
1954
|
+
start_normal_and_length_high_size(): number | undefined;
|
|
1442
1955
|
start_size(): number | undefined;
|
|
1443
1956
|
}
|
|
1444
1957
|
|
|
@@ -1454,25 +1967,27 @@ export class PolylineGeometryAttributes {
|
|
|
1454
1967
|
transfer_end_high_size(): number | undefined;
|
|
1455
1968
|
transfer_end_low(): Float32Array | undefined;
|
|
1456
1969
|
transfer_end_low_size(): number | undefined;
|
|
1457
|
-
|
|
1458
|
-
|
|
1970
|
+
transfer_end_normal_and_segment_length(): Float32Array | undefined;
|
|
1971
|
+
transfer_end_normal_and_segment_length_size(): number | undefined;
|
|
1459
1972
|
transfer_forward_offset(): Float32Array | undefined;
|
|
1460
1973
|
transfer_forward_offset_size(): number | undefined;
|
|
1974
|
+
transfer_line_distance_and_ends(): Float32Array | undefined;
|
|
1975
|
+
transfer_line_segments(): Float32Array | undefined;
|
|
1461
1976
|
transfer_position(): Float32Array;
|
|
1462
1977
|
transfer_position_high(): Float32Array | undefined;
|
|
1463
1978
|
transfer_position_high_size(): number | undefined;
|
|
1464
1979
|
transfer_position_low(): Float32Array | undefined;
|
|
1465
1980
|
transfer_position_low_size(): number | undefined;
|
|
1466
1981
|
transfer_position_size(): number;
|
|
1467
|
-
|
|
1468
|
-
|
|
1982
|
+
transfer_right_normal_and_line_length(): Float32Array;
|
|
1983
|
+
transfer_right_normal_and_line_length_size(): number;
|
|
1469
1984
|
transfer_start(): Float32Array | undefined;
|
|
1470
1985
|
transfer_start_high(): Float32Array | undefined;
|
|
1471
1986
|
transfer_start_high_size(): number | undefined;
|
|
1472
1987
|
transfer_start_low(): Float32Array | undefined;
|
|
1473
1988
|
transfer_start_low_size(): number | undefined;
|
|
1474
|
-
|
|
1475
|
-
|
|
1989
|
+
transfer_start_normal_and_length_high(): Float32Array | undefined;
|
|
1990
|
+
transfer_start_normal_and_length_high_size(): number | undefined;
|
|
1476
1991
|
transfer_start_size(): number | undefined;
|
|
1477
1992
|
}
|
|
1478
1993
|
|
|
@@ -1489,12 +2004,42 @@ export class PolylineMaterial {
|
|
|
1489
2004
|
constructor(show?: boolean | null, cast_shadow?: boolean | null, receive_shadow?: boolean | null, color?: number | null, clamp_to_ground?: boolean | null, tiled?: boolean | null, height?: number | null, width?: number | null, max_width?: number | null, __internal__?: PolylineInternalMaterial | null);
|
|
1490
2005
|
get __internal__(): PolylineInternalMaterial | undefined;
|
|
1491
2006
|
set __internal__(value: PolylineInternalMaterial | null | undefined);
|
|
2007
|
+
/**
|
|
2008
|
+
* Shape of the ends of the line and of its dashes: `"butt"` (the
|
|
2009
|
+
* default), `"round"` or `"square"`. `"round"` adds a half circle one
|
|
2010
|
+
* half line width in radius beyond both ends of the line and of every
|
|
2011
|
+
* dash, so a zero-length dash becomes a dot. `"square"` extends the ends
|
|
2012
|
+
* of the line by half a line width and leaves the dashes' ends square.
|
|
2013
|
+
*/
|
|
2014
|
+
get cap(): string | undefined;
|
|
2015
|
+
/**
|
|
2016
|
+
* Shape of the ends of the line and of its dashes: `"butt"` (the
|
|
2017
|
+
* default), `"round"` or `"square"`. `"round"` adds a half circle one
|
|
2018
|
+
* half line width in radius beyond both ends of the line and of every
|
|
2019
|
+
* dash, so a zero-length dash becomes a dot. `"square"` extends the ends
|
|
2020
|
+
* of the line by half a line width and leaves the dashes' ends square.
|
|
2021
|
+
*/
|
|
2022
|
+
set cap(value: string | null | undefined);
|
|
1492
2023
|
get castShadow(): boolean | undefined;
|
|
1493
2024
|
set castShadow(value: boolean | null | undefined);
|
|
1494
2025
|
get clampToGround(): boolean | undefined;
|
|
1495
2026
|
set clampToGround(value: boolean | null | undefined);
|
|
1496
2027
|
get color(): number | undefined;
|
|
1497
2028
|
set color(value: number | null | undefined);
|
|
2029
|
+
/**
|
|
2030
|
+
* Alternating dash and gap lengths, in multiples of the line width,
|
|
2031
|
+
* repeated along the line. The pattern's period is the sum of the
|
|
2032
|
+
* entries, so an odd-length array ends in a dash that runs into the first
|
|
2033
|
+
* one. An empty array draws a solid line, which is the default.
|
|
2034
|
+
*/
|
|
2035
|
+
get dashArray(): Float32Array | undefined;
|
|
2036
|
+
/**
|
|
2037
|
+
* Alternating dash and gap lengths, in multiples of the line width,
|
|
2038
|
+
* repeated along the line. The pattern's period is the sum of the
|
|
2039
|
+
* entries, so an odd-length array ends in a dash that runs into the first
|
|
2040
|
+
* one. An empty array draws a solid line, which is the default.
|
|
2041
|
+
*/
|
|
2042
|
+
set dashArray(value: Float32Array | null | undefined);
|
|
1498
2043
|
/**
|
|
1499
2044
|
* Enable writing to depth buffer
|
|
1500
2045
|
*/
|
|
@@ -1634,17 +2179,40 @@ export class RasterTileInternalMaterial {
|
|
|
1634
2179
|
texture_fragments(): any[] | undefined;
|
|
1635
2180
|
get castShadow(): boolean | undefined;
|
|
1636
2181
|
set castShadow(value: boolean | null | undefined);
|
|
2182
|
+
/**
|
|
2183
|
+
* Per-slot layer IDs used to look up each layer's colorMap atlas row; an
|
|
2184
|
+
* empty string for slots without an elevation heatmap.
|
|
2185
|
+
*/
|
|
2186
|
+
colorMapLayerIds: string[];
|
|
1637
2187
|
colors: Uint32Array;
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
2188
|
+
elevationBScalers: Float64Array;
|
|
2189
|
+
elevationBoundaries: Float64Array;
|
|
2190
|
+
elevationEpsilons: Float64Array;
|
|
2191
|
+
elevationGScalers: Float64Array;
|
|
2192
|
+
/**
|
|
2193
|
+
* Per-layer filter modes: "linear" or "nearest"
|
|
2194
|
+
*/
|
|
2195
|
+
elevationHeatmapFilters: string[];
|
|
2196
|
+
/**
|
|
2197
|
+
* Per-layer maximum heights for elevation normalization
|
|
2198
|
+
*/
|
|
2199
|
+
elevationMaxHeights: Float64Array;
|
|
2200
|
+
elevationMaxOffsets: Float64Array;
|
|
2201
|
+
/**
|
|
2202
|
+
* Per-layer minimum heights for elevation normalization
|
|
2203
|
+
*/
|
|
2204
|
+
elevationMinHeights: Float64Array;
|
|
2205
|
+
elevationMinOffsets: Float64Array;
|
|
2206
|
+
elevationOffsets: Float64Array;
|
|
2207
|
+
/**
|
|
2208
|
+
* Per-layer DEM decoder parameters
|
|
2209
|
+
*/
|
|
2210
|
+
elevationRScalers: Float64Array;
|
|
2211
|
+
/**
|
|
2212
|
+
* Speed in m/s of the current carrying the waves on the watermask's water
|
|
2213
|
+
* along `waveDirection`.
|
|
2214
|
+
*/
|
|
2215
|
+
flowSpeed: number;
|
|
1648
2216
|
hillshadeBScaler: number;
|
|
1649
2217
|
hillshadeBoundary: number;
|
|
1650
2218
|
hillshadeEpsilon: number;
|
|
@@ -1669,8 +2237,14 @@ export class RasterTileInternalMaterial {
|
|
|
1669
2237
|
* the shadow G-buffer keep being written.
|
|
1670
2238
|
*/
|
|
1671
2239
|
set lit(value: boolean | null | undefined);
|
|
1672
|
-
|
|
1673
|
-
|
|
2240
|
+
/**
|
|
2241
|
+
* Per-layer logarithmic boundaries
|
|
2242
|
+
*/
|
|
2243
|
+
logBoundaries: Float64Array;
|
|
2244
|
+
/**
|
|
2245
|
+
* Per-layer logarithmic scaling flags
|
|
2246
|
+
*/
|
|
2247
|
+
logarithmics: Uint8Array;
|
|
1674
2248
|
opacities: Float32Array;
|
|
1675
2249
|
get receiveShadow(): boolean | undefined;
|
|
1676
2250
|
set receiveShadow(value: boolean | null | undefined);
|
|
@@ -1678,6 +2252,30 @@ export class RasterTileInternalMaterial {
|
|
|
1678
2252
|
set showBoundingBox(value: boolean | null | undefined);
|
|
1679
2253
|
shows: Uint8Array;
|
|
1680
2254
|
terrainLatRange: Float32Array;
|
|
2255
|
+
/**
|
|
2256
|
+
* Body color of the watermask's water from the terrain layer; `None`
|
|
2257
|
+
* keeps the imagery or globe color.
|
|
2258
|
+
*/
|
|
2259
|
+
get waterMaskColor(): number | undefined;
|
|
2260
|
+
/**
|
|
2261
|
+
* Body color of the watermask's water from the terrain layer; `None`
|
|
2262
|
+
* keeps the imagery or globe color.
|
|
2263
|
+
*/
|
|
2264
|
+
set waterMaskColor(value: number | null | undefined);
|
|
2265
|
+
/**
|
|
2266
|
+
* Where the waves on the watermask's water travel, in degrees clockwise
|
|
2267
|
+
* from north.
|
|
2268
|
+
*/
|
|
2269
|
+
waveDirection: number;
|
|
2270
|
+
/**
|
|
2271
|
+
* Scales the wave slopes on the watermask's water; 0 is a flat mirror.
|
|
2272
|
+
*/
|
|
2273
|
+
waveExaggeration: number;
|
|
2274
|
+
/**
|
|
2275
|
+
* Sets the size, slope and speed of the waves on the watermask's water, in
|
|
2276
|
+
* m/s.
|
|
2277
|
+
*/
|
|
2278
|
+
waveStrength: number;
|
|
1681
2279
|
}
|
|
1682
2280
|
|
|
1683
2281
|
export class Ray {
|
|
@@ -1699,6 +2297,7 @@ export class ReturnedConstructedTerrainMesh {
|
|
|
1699
2297
|
transferHeights(): Float32Array;
|
|
1700
2298
|
transferIndices(): Uint32Array;
|
|
1701
2299
|
transferNormals(): Float32Array | undefined;
|
|
2300
|
+
transferSkirtHeights(): Float32Array | undefined;
|
|
1702
2301
|
transferSkirtIndices(): Uint32Array | undefined;
|
|
1703
2302
|
transferSkirtNormals(): Float32Array | undefined;
|
|
1704
2303
|
transferSkirtUvs(): Float32Array | undefined;
|
|
@@ -1724,6 +2323,42 @@ export class TerrainMaterial {
|
|
|
1724
2323
|
[Symbol.dispose](): void;
|
|
1725
2324
|
get castShadow(): boolean | undefined;
|
|
1726
2325
|
set castShadow(value: boolean | null | undefined);
|
|
2326
|
+
/**
|
|
2327
|
+
* Height in meters that stays in place while the terrain is exaggerated:
|
|
2328
|
+
* a terrain height `h` is rendered at
|
|
2329
|
+
* `(h - exaggerationRelativeHeight) * exaggeration + exaggerationRelativeHeight`.
|
|
2330
|
+
* Default: 0.
|
|
2331
|
+
*/
|
|
2332
|
+
get exaggerationRelativeHeight(): number | undefined;
|
|
2333
|
+
/**
|
|
2334
|
+
* Height in meters that stays in place while the terrain is exaggerated:
|
|
2335
|
+
* a terrain height `h` is rendered at
|
|
2336
|
+
* `(h - exaggerationRelativeHeight) * exaggeration + exaggerationRelativeHeight`.
|
|
2337
|
+
* Default: 0.
|
|
2338
|
+
*/
|
|
2339
|
+
set exaggerationRelativeHeight(value: number | null | undefined);
|
|
2340
|
+
/**
|
|
2341
|
+
* Vertical exaggeration of the terrain. Terrain heights are scaled by this
|
|
2342
|
+
* factor around `exaggerationRelativeHeight`. A negative value is treated
|
|
2343
|
+
* as 0, which flattens the terrain. Default: 1.
|
|
2344
|
+
*/
|
|
2345
|
+
get exaggeration(): number | undefined;
|
|
2346
|
+
/**
|
|
2347
|
+
* Vertical exaggeration of the terrain. Terrain heights are scaled by this
|
|
2348
|
+
* factor around `exaggerationRelativeHeight`. A negative value is treated
|
|
2349
|
+
* as 0, which flattens the terrain. Default: 1.
|
|
2350
|
+
*/
|
|
2351
|
+
set exaggeration(value: number | null | undefined);
|
|
2352
|
+
/**
|
|
2353
|
+
* Speed in m/s of the current carrying the waves on the watermask's water
|
|
2354
|
+
* along `waveDirection`. Default: 0.
|
|
2355
|
+
*/
|
|
2356
|
+
get flowSpeed(): number | undefined;
|
|
2357
|
+
/**
|
|
2358
|
+
* Speed in m/s of the current carrying the waves on the watermask's water
|
|
2359
|
+
* along `waveDirection`. Default: 0.
|
|
2360
|
+
*/
|
|
2361
|
+
set flowSpeed(value: number | null | undefined);
|
|
1727
2362
|
/**
|
|
1728
2363
|
* Applies the lighting equation to the color output. When `false` the
|
|
1729
2364
|
* material outputs plain albedo (for deferred lighting) while normals and
|
|
@@ -1762,6 +2397,44 @@ export class TerrainMaterial {
|
|
|
1762
2397
|
* You should disable `skirt` if you want to visualize an underground model.
|
|
1763
2398
|
*/
|
|
1764
2399
|
set skirt(value: boolean | null | undefined);
|
|
2400
|
+
/**
|
|
2401
|
+
* Where the waves on the watermask's water travel, in degrees clockwise
|
|
2402
|
+
* from north. Default: 0.
|
|
2403
|
+
*/
|
|
2404
|
+
get waveDirection(): number | undefined;
|
|
2405
|
+
/**
|
|
2406
|
+
* Where the waves on the watermask's water travel, in degrees clockwise
|
|
2407
|
+
* from north. Default: 0.
|
|
2408
|
+
*/
|
|
2409
|
+
set waveDirection(value: number | null | undefined);
|
|
2410
|
+
/**
|
|
2411
|
+
* Scales the wave slopes on the watermask's water, keeping their size and
|
|
2412
|
+
* speed; 0 is a flat mirror. Default: 1.
|
|
2413
|
+
*/
|
|
2414
|
+
get waveExaggeration(): number | undefined;
|
|
2415
|
+
/**
|
|
2416
|
+
* Scales the wave slopes on the watermask's water, keeping their size and
|
|
2417
|
+
* speed; 0 is a flat mirror. Default: 1.
|
|
2418
|
+
*/
|
|
2419
|
+
set waveExaggeration(value: number | null | undefined);
|
|
2420
|
+
/**
|
|
2421
|
+
* Sets the size, steepness and speed of the waves on the watermask's water:
|
|
2422
|
+
* about 1 is a calm ripple, 5 moderate and 20 a storm. Default: 5.
|
|
2423
|
+
*/
|
|
2424
|
+
get waveStrength(): number | undefined;
|
|
2425
|
+
/**
|
|
2426
|
+
* Sets the size, steepness and speed of the waves on the watermask's water:
|
|
2427
|
+
* about 1 is a calm ripple, 5 moderate and 20 a storm. Default: 5.
|
|
2428
|
+
*/
|
|
2429
|
+
set waveStrength(value: number | null | undefined);
|
|
2430
|
+
/**
|
|
2431
|
+
* Body color of the water the source's watermask marks. The water shows
|
|
2432
|
+
* this color under its reflections instead of the imagery or globe color
|
|
2433
|
+
* beneath it. Requires `requestWaterMask` on a quantized-mesh source.
|
|
2434
|
+
* An update with `undefined` uses that imagery or globe color.
|
|
2435
|
+
*/
|
|
2436
|
+
get waterMaskColor(): number | undefined;
|
|
2437
|
+
set waterMaskColor(value: number | null | undefined);
|
|
1765
2438
|
}
|
|
1766
2439
|
|
|
1767
2440
|
export class TextMaterial {
|
|
@@ -1769,17 +2442,33 @@ export class TextMaterial {
|
|
|
1769
2442
|
free(): void;
|
|
1770
2443
|
[Symbol.dispose](): void;
|
|
1771
2444
|
/**
|
|
1772
|
-
*
|
|
1773
|
-
*
|
|
1774
|
-
*
|
|
1775
|
-
*
|
|
2445
|
+
* Part of the text block placed at the anchor point: `"center"`
|
|
2446
|
+
* (default), `"left"`, `"right"`, `"top"`, `"bottom"`, `"top-left"`,
|
|
2447
|
+
* `"top-right"`, `"bottom-left"` or `"bottom-right"`, as MapLibre's
|
|
2448
|
+
* `text-anchor`. The block is as wide as its widest line and one line
|
|
2449
|
+
* height tall per line.
|
|
2450
|
+
*/
|
|
2451
|
+
get anchor(): string | undefined;
|
|
2452
|
+
/**
|
|
2453
|
+
* Part of the text block placed at the anchor point: `"center"`
|
|
2454
|
+
* (default), `"left"`, `"right"`, `"top"`, `"bottom"`, `"top-left"`,
|
|
2455
|
+
* `"top-right"`, `"bottom-left"` or `"bottom-right"`, as MapLibre's
|
|
2456
|
+
* `text-anchor`. The block is as wide as its widest line and one line
|
|
2457
|
+
* height tall per line.
|
|
2458
|
+
*/
|
|
2459
|
+
set anchor(value: string | null | undefined);
|
|
2460
|
+
/**
|
|
2461
|
+
* Whether faces seen from behind are culled. Default is false. Only a
|
|
2462
|
+
* flat quad has a back the camera can see: turn it on to hide the parts
|
|
2463
|
+
* of a large one that wrap over the horizon, which face away from the
|
|
2464
|
+
* camera.
|
|
1776
2465
|
*/
|
|
1777
2466
|
get backfaceCulling(): boolean | undefined;
|
|
1778
2467
|
/**
|
|
1779
|
-
* Whether faces seen from behind are culled. Default is false
|
|
1780
|
-
* quad
|
|
1781
|
-
*
|
|
1782
|
-
*
|
|
2468
|
+
* Whether faces seen from behind are culled. Default is false. Only a
|
|
2469
|
+
* flat quad has a back the camera can see: turn it on to hide the parts
|
|
2470
|
+
* of a large one that wrap over the horizon, which face away from the
|
|
2471
|
+
* camera.
|
|
1783
2472
|
*/
|
|
1784
2473
|
set backfaceCulling(value: boolean | null | undefined);
|
|
1785
2474
|
get backgroundColor(): number | undefined;
|
|
@@ -1788,14 +2477,24 @@ export class TextMaterial {
|
|
|
1788
2477
|
set borderColor(value: number | null | undefined);
|
|
1789
2478
|
get borderWidth(): number | undefined;
|
|
1790
2479
|
set borderWidth(value: number | null | undefined);
|
|
1791
|
-
get center(): Vec2 | undefined;
|
|
1792
|
-
set center(value: Vec2 | null | undefined);
|
|
1793
2480
|
get clampToGround(): boolean | undefined;
|
|
1794
2481
|
set clampToGround(value: boolean | null | undefined);
|
|
1795
2482
|
get color(): number | undefined;
|
|
1796
2483
|
set color(value: number | null | undefined);
|
|
1797
2484
|
/**
|
|
1798
|
-
*
|
|
2485
|
+
* Extra space around the collision box, in screen pixels: one to four
|
|
2486
|
+
* values, expanded like CSS padding (top, right, bottom, left). Only
|
|
2487
|
+
* meaningful when `declutter` is enabled. Defaults to `[2]`.
|
|
2488
|
+
*/
|
|
2489
|
+
get declutterPadding(): Float32Array | undefined;
|
|
2490
|
+
/**
|
|
2491
|
+
* Extra space around the collision box, in screen pixels: one to four
|
|
2492
|
+
* values, expanded like CSS padding (top, right, bottom, left). Only
|
|
2493
|
+
* meaningful when `declutter` is enabled. Defaults to `[2]`.
|
|
2494
|
+
*/
|
|
2495
|
+
set declutterPadding(value: Float32Array | null | undefined);
|
|
2496
|
+
/**
|
|
2497
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
1799
2498
|
* `declutter` is enabled. Defaults to `0.0`.
|
|
1800
2499
|
*/
|
|
1801
2500
|
get declutterPriority(): number | undefined;
|
|
@@ -1804,6 +2503,20 @@ export class TextMaterial {
|
|
|
1804
2503
|
* `declutter` is enabled. Defaults to `0.0`.
|
|
1805
2504
|
*/
|
|
1806
2505
|
set declutterPriority(value: number | null | undefined);
|
|
2506
|
+
/**
|
|
2507
|
+
* Coarse placement order for decluttering, compared before
|
|
2508
|
+
* `declutterPriority`: every label with a higher rank is placed before any
|
|
2509
|
+
* label with a lower one, whatever their priorities. Only meaningful when
|
|
2510
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
2511
|
+
*/
|
|
2512
|
+
get declutterRank(): number | undefined;
|
|
2513
|
+
/**
|
|
2514
|
+
* Coarse placement order for decluttering, compared before
|
|
2515
|
+
* `declutterPriority`: every label with a higher rank is placed before any
|
|
2516
|
+
* label with a lower one, whatever their priorities. Only meaningful when
|
|
2517
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
2518
|
+
*/
|
|
2519
|
+
set declutterRank(value: number | null | undefined);
|
|
1807
2520
|
/**
|
|
1808
2521
|
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
1809
2522
|
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
@@ -1876,14 +2589,16 @@ export class TextMaterial {
|
|
|
1876
2589
|
set font(value: string | null | undefined);
|
|
1877
2590
|
/**
|
|
1878
2591
|
* Source geometry types this appearance consumes: `"point"`, `"line"`,
|
|
1879
|
-
* `"polygon"`. Defaults to `["point"]`; adding `"line"
|
|
1880
|
-
*
|
|
2592
|
+
* `"polygon"`. Defaults to `["point"]`; adding `"line"` also emits a
|
|
2593
|
+
* label per line string, at its first vertex, and `"polygon"` one per
|
|
2594
|
+
* polygon.
|
|
1881
2595
|
*/
|
|
1882
2596
|
get geometryTypes(): string[] | undefined;
|
|
1883
2597
|
/**
|
|
1884
2598
|
* Source geometry types this appearance consumes: `"point"`, `"line"`,
|
|
1885
|
-
* `"polygon"`. Defaults to `["point"]`; adding `"line"
|
|
1886
|
-
*
|
|
2599
|
+
* `"polygon"`. Defaults to `["point"]`; adding `"line"` also emits a
|
|
2600
|
+
* label per line string, at its first vertex, and `"polygon"` one per
|
|
2601
|
+
* polygon.
|
|
1887
2602
|
*/
|
|
1888
2603
|
set geometryTypes(value: string[] | null | undefined);
|
|
1889
2604
|
get height(): number | undefined;
|
|
@@ -1904,6 +2619,28 @@ export class TextMaterial {
|
|
|
1904
2619
|
* on the Rust side.
|
|
1905
2620
|
*/
|
|
1906
2621
|
set highQuality(value: boolean | null | undefined);
|
|
2622
|
+
/**
|
|
2623
|
+
* Leave this label's box out of the collision grid, so symbols placed
|
|
2624
|
+
* after it may overlap it. Only meaningful when `declutter` is enabled.
|
|
2625
|
+
* Defaults to `false`.
|
|
2626
|
+
*/
|
|
2627
|
+
get ignorePlacement(): boolean | undefined;
|
|
2628
|
+
/**
|
|
2629
|
+
* Leave this label's box out of the collision grid, so symbols placed
|
|
2630
|
+
* after it may overlap it. Only meaningful when `declutter` is enabled.
|
|
2631
|
+
* Defaults to `false`.
|
|
2632
|
+
*/
|
|
2633
|
+
set ignorePlacement(value: boolean | null | undefined);
|
|
2634
|
+
/**
|
|
2635
|
+
* Flip a label that would otherwise read right-to-left, so names stay
|
|
2636
|
+
* legible whichever way the underlying line runs. Defaults to `true`.
|
|
2637
|
+
*/
|
|
2638
|
+
get keepUpright(): boolean | undefined;
|
|
2639
|
+
/**
|
|
2640
|
+
* Flip a label that would otherwise read right-to-left, so names stay
|
|
2641
|
+
* legible whichever way the underlying line runs. Defaults to `true`.
|
|
2642
|
+
*/
|
|
2643
|
+
set keepUpright(value: boolean | null | undefined);
|
|
1907
2644
|
/**
|
|
1908
2645
|
* Language code for text shaping (e.g., "en", "ja", "ar"). Used for proper text rendering.
|
|
1909
2646
|
*/
|
|
@@ -1913,15 +2650,57 @@ export class TextMaterial {
|
|
|
1913
2650
|
*/
|
|
1914
2651
|
set lang(value: string | null | undefined);
|
|
1915
2652
|
/**
|
|
1916
|
-
*
|
|
1917
|
-
*
|
|
2653
|
+
* Extra space between characters, in ems (multiples of `size`). Not
|
|
2654
|
+
* added after the last character; ignored for Arabic-script text.
|
|
2655
|
+
* Negative values tighten. Defaults to `0.0`.
|
|
2656
|
+
*/
|
|
2657
|
+
get letterSpacing(): number | undefined;
|
|
2658
|
+
/**
|
|
2659
|
+
* Extra space between characters, in ems (multiples of `size`). Not
|
|
2660
|
+
* added after the last character; ignored for Arabic-script text.
|
|
2661
|
+
* Negative values tighten. Defaults to `0.0`.
|
|
2662
|
+
*/
|
|
2663
|
+
set letterSpacing(value: number | null | undefined);
|
|
2664
|
+
/**
|
|
2665
|
+
* Distance between the baselines of a multi-line label, in ems
|
|
2666
|
+
* (multiples of `size`). Defaults to the font's natural line height
|
|
2667
|
+
* (ascender − descender + line gap).
|
|
1918
2668
|
*/
|
|
1919
2669
|
get lineHeight(): number | undefined;
|
|
1920
2670
|
/**
|
|
1921
|
-
*
|
|
1922
|
-
* (
|
|
2671
|
+
* Distance between the baselines of a multi-line label, in ems
|
|
2672
|
+
* (multiples of `size`). Defaults to the font's natural line height
|
|
2673
|
+
* (ascender − descender + line gap).
|
|
1923
2674
|
*/
|
|
1924
2675
|
set lineHeight(value: number | null | undefined);
|
|
2676
|
+
/**
|
|
2677
|
+
* Offset perpendicular to the line, in the same units as the font size:
|
|
2678
|
+
* pixels when `sizeInMeters` is false, metres when it is true. Positive is
|
|
2679
|
+
* to the left of the direction of travel, which puts the name above the
|
|
2680
|
+
* line. Defaults to `0.0`.
|
|
2681
|
+
*/
|
|
2682
|
+
get lineOffset(): number | undefined;
|
|
2683
|
+
/**
|
|
2684
|
+
* Offset perpendicular to the line, in the same units as the font size:
|
|
2685
|
+
* pixels when `sizeInMeters` is false, metres when it is true. Positive is
|
|
2686
|
+
* to the left of the direction of travel, which puts the name above the
|
|
2687
|
+
* line. Defaults to `0.0`.
|
|
2688
|
+
*/
|
|
2689
|
+
set lineOffset(value: number | null | undefined);
|
|
2690
|
+
/**
|
|
2691
|
+
* Largest turn, in degrees, the line may make under a label within a
|
|
2692
|
+
* window of about one and a half ems before the label is dropped as
|
|
2693
|
+
* unreadable. The window slides along the label, so a long gentle curve
|
|
2694
|
+
* is accepted however far it turns in total. Defaults to `45.0`.
|
|
2695
|
+
*/
|
|
2696
|
+
get maxAngle(): number | undefined;
|
|
2697
|
+
/**
|
|
2698
|
+
* Largest turn, in degrees, the line may make under a label within a
|
|
2699
|
+
* window of about one and a half ems before the label is dropped as
|
|
2700
|
+
* unreadable. The window slides along the label, so a long gentle curve
|
|
2701
|
+
* is accepted however far it turns in total. Defaults to `45.0`.
|
|
2702
|
+
*/
|
|
2703
|
+
set maxAngle(value: number | null | undefined);
|
|
1925
2704
|
/**
|
|
1926
2705
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
1927
2706
|
* word boundaries. `0.0` (the default) disables wrapping; explicit `\n`
|
|
@@ -1942,6 +2721,18 @@ export class TextMaterial {
|
|
|
1942
2721
|
* Avoid overlapping with the globe surface.
|
|
1943
2722
|
*/
|
|
1944
2723
|
set offsetDepth(value: boolean | null | undefined);
|
|
2724
|
+
/**
|
|
2725
|
+
* Shift from the anchor point, x right and y down, in ems (multiples of
|
|
2726
|
+
* `size`), as MapLibre's `text-offset`. Lies in the label's own plane, so
|
|
2727
|
+
* it turns with `rotation`. Defaults to `(0, 0)`.
|
|
2728
|
+
*/
|
|
2729
|
+
get offset(): Vec2 | undefined;
|
|
2730
|
+
/**
|
|
2731
|
+
* Shift from the anchor point, x right and y down, in ems (multiples of
|
|
2732
|
+
* `size`), as MapLibre's `text-offset`. Lies in the label's own plane, so
|
|
2733
|
+
* it turns with `rotation`. Defaults to `(0, 0)`.
|
|
2734
|
+
*/
|
|
2735
|
+
set offset(value: Vec2 | null | undefined);
|
|
1945
2736
|
/**
|
|
1946
2737
|
* Opacity of the text
|
|
1947
2738
|
*/
|
|
@@ -1951,12 +2742,16 @@ export class TextMaterial {
|
|
|
1951
2742
|
*/
|
|
1952
2743
|
set opacity(value: number | null | undefined);
|
|
1953
2744
|
/**
|
|
1954
|
-
*
|
|
2745
|
+
* Width over which the outline's outer edge fades out, centered on that
|
|
2746
|
+
* edge, in the unit of `outlineWidth`. Defaults to `0.0`.
|
|
1955
2747
|
*/
|
|
1956
|
-
get
|
|
2748
|
+
get outlineBlur(): number | undefined;
|
|
1957
2749
|
/**
|
|
1958
|
-
*
|
|
2750
|
+
* Width over which the outline's outer edge fades out, centered on that
|
|
2751
|
+
* edge, in the unit of `outlineWidth`. Defaults to `0.0`.
|
|
1959
2752
|
*/
|
|
2753
|
+
set outlineBlur(value: number | null | undefined);
|
|
2754
|
+
get outlineColor(): number | undefined;
|
|
1960
2755
|
set outlineColor(value: number | null | undefined);
|
|
1961
2756
|
/**
|
|
1962
2757
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
@@ -1967,27 +2762,71 @@ export class TextMaterial {
|
|
|
1967
2762
|
*/
|
|
1968
2763
|
set outlineOpacity(value: number | null | undefined);
|
|
1969
2764
|
/**
|
|
1970
|
-
* Outline thickness
|
|
2765
|
+
* Outline thickness in 1/64 em: pixels of text drawn 64 pixels tall, so
|
|
2766
|
+
* the outline keeps its proportion to the glyphs at any size. Defaults
|
|
2767
|
+
* to `0.0`.
|
|
1971
2768
|
*/
|
|
1972
2769
|
get outlineWidth(): number | undefined;
|
|
1973
2770
|
/**
|
|
1974
|
-
* Outline thickness
|
|
2771
|
+
* Outline thickness in 1/64 em: pixels of text drawn 64 pixels tall, so
|
|
2772
|
+
* the outline keeps its proportion to the glyphs at any size. Defaults
|
|
2773
|
+
* to `0.0`.
|
|
1975
2774
|
*/
|
|
1976
2775
|
set outlineWidth(value: number | null | undefined);
|
|
1977
2776
|
/**
|
|
1978
|
-
* Whether the label
|
|
1979
|
-
*
|
|
1980
|
-
*
|
|
1981
|
-
*
|
|
1982
|
-
|
|
2777
|
+
* Whether the label may be drawn over symbols placed before it:
|
|
2778
|
+
* `"never"` (the default) hides it on any collision, `"always"` never
|
|
2779
|
+
* does, `"cooperative"` hides it only when it collides with a `"never"`
|
|
2780
|
+
* symbol. Only meaningful when `declutter` is enabled.
|
|
2781
|
+
*/
|
|
2782
|
+
get overlap(): string | undefined;
|
|
2783
|
+
/**
|
|
2784
|
+
* Whether the label may be drawn over symbols placed before it:
|
|
2785
|
+
* `"never"` (the default) hides it on any collision, `"always"` never
|
|
2786
|
+
* does, `"cooperative"` hides it only when it collides with a `"never"`
|
|
2787
|
+
* symbol. Only meaningful when `declutter` is enabled.
|
|
2788
|
+
*/
|
|
2789
|
+
set overlap(value: string | null | undefined);
|
|
2790
|
+
/**
|
|
2791
|
+
* How anchors are derived from line and polygon geometry: `"point"` (the
|
|
2792
|
+
* default) puts a label per line string, at its first vertex, and one
|
|
2793
|
+
* per polygon, `"line"` repeats labels along the line every `spacing`
|
|
2794
|
+
* with the glyphs bending to follow it, `"line-center"` places a single
|
|
2795
|
+
* label at the line's midpoint. Polygon rings are walked like lines.
|
|
2796
|
+
* Requires `geometryTypes` to include `"line"` or `"polygon"`.
|
|
2797
|
+
*/
|
|
2798
|
+
get placement(): string | undefined;
|
|
2799
|
+
/**
|
|
2800
|
+
* How anchors are derived from line and polygon geometry: `"point"` (the
|
|
2801
|
+
* default) puts a label per line string, at its first vertex, and one
|
|
2802
|
+
* per polygon, `"line"` repeats labels along the line every `spacing`
|
|
2803
|
+
* with the glyphs bending to follow it, `"line-center"` places a single
|
|
2804
|
+
* label at the line's midpoint. Polygon rings are walked like lines.
|
|
2805
|
+
* Requires `geometryTypes` to include `"line"` or `"polygon"`.
|
|
2806
|
+
*/
|
|
2807
|
+
set placement(value: string | null | undefined);
|
|
2808
|
+
/**
|
|
2809
|
+
* Whether the label turns with the camera or with the map, as MapLibre's
|
|
2810
|
+
* `text-rotation-alignment` `viewport` and `map`. `true` keeps it reading
|
|
2811
|
+
* left to right (a screen-aligned billboard, or a flat label yawed to the
|
|
2812
|
+
* camera). `false` aligns it with the map: upright, it stays on screen but
|
|
2813
|
+
* turns with the camera heading so its x-axis points east; flat, it lies
|
|
2814
|
+
* north-up. Along a line, `false` makes the label follow the line, and
|
|
2815
|
+
* `true` draws it straight at its anchor unless `spreadGlyphs` is set.
|
|
2816
|
+
* Left unset, it is `true` for `placement: "point"` and `false` along a
|
|
2817
|
+
* line, as MapLibre resolves `auto`.
|
|
1983
2818
|
*/
|
|
1984
2819
|
get rotateWithCamera(): boolean | undefined;
|
|
1985
2820
|
/**
|
|
1986
|
-
* Whether the label turns
|
|
1987
|
-
*
|
|
1988
|
-
*
|
|
1989
|
-
*
|
|
1990
|
-
*
|
|
2821
|
+
* Whether the label turns with the camera or with the map, as MapLibre's
|
|
2822
|
+
* `text-rotation-alignment` `viewport` and `map`. `true` keeps it reading
|
|
2823
|
+
* left to right (a screen-aligned billboard, or a flat label yawed to the
|
|
2824
|
+
* camera). `false` aligns it with the map: upright, it stays on screen but
|
|
2825
|
+
* turns with the camera heading so its x-axis points east; flat, it lies
|
|
2826
|
+
* north-up. Along a line, `false` makes the label follow the line, and
|
|
2827
|
+
* `true` draws it straight at its anchor unless `spreadGlyphs` is set.
|
|
2828
|
+
* Left unset, it is `true` for `placement: "point"` and `false` along a
|
|
2829
|
+
* line, as MapLibre resolves `auto`.
|
|
1991
2830
|
*/
|
|
1992
2831
|
set rotateWithCamera(value: boolean | null | undefined);
|
|
1993
2832
|
/**
|
|
@@ -1995,8 +2834,10 @@ export class TextMaterial {
|
|
|
1995
2834
|
* degrees, clockwise seen from the front. Applied on top of whatever
|
|
1996
2835
|
* orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
|
|
1997
2836
|
* billboard on screen and turns a surface label like a compass bearing.
|
|
1998
|
-
* `
|
|
1999
|
-
*
|
|
2837
|
+
* `anchor` decides where inside the text the pivot sits. Along a line
|
|
2838
|
+
* each glyph spins about its own point on the line, as MapLibre's
|
|
2839
|
+
* `text-rotate` does, except for a straight label (`rotateWithCamera`
|
|
2840
|
+
* without `spreadGlyphs`), which turns as a whole. Defaults to `0.0`.
|
|
2000
2841
|
*/
|
|
2001
2842
|
get rotation(): number | undefined;
|
|
2002
2843
|
/**
|
|
@@ -2004,8 +2845,10 @@ export class TextMaterial {
|
|
|
2004
2845
|
* degrees, clockwise seen from the front. Applied on top of whatever
|
|
2005
2846
|
* orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
|
|
2006
2847
|
* billboard on screen and turns a surface label like a compass bearing.
|
|
2007
|
-
* `
|
|
2008
|
-
*
|
|
2848
|
+
* `anchor` decides where inside the text the pivot sits. Along a line
|
|
2849
|
+
* each glyph spins about its own point on the line, as MapLibre's
|
|
2850
|
+
* `text-rotate` does, except for a straight label (`rotateWithCamera`
|
|
2851
|
+
* without `spreadGlyphs`), which turns as a whole. Defaults to `0.0`.
|
|
2009
2852
|
*/
|
|
2010
2853
|
set rotation(value: number | null | undefined);
|
|
2011
2854
|
get show(): boolean | undefined;
|
|
@@ -2026,30 +2869,124 @@ export class TextMaterial {
|
|
|
2026
2869
|
* size in pixels/meters (units are determined by `sizeInMeters`).
|
|
2027
2870
|
*/
|
|
2028
2871
|
set size(value: number | null | undefined);
|
|
2872
|
+
/**
|
|
2873
|
+
* Distance between repeated labels along a line, in screen pixels, for
|
|
2874
|
+
* `vector-tile` and `geojson` sources alike. Resolved per label as the
|
|
2875
|
+
* camera moves: labels thin out as it pulls back and fill in as it
|
|
2876
|
+
* closes, never moving, so the gap on screen stays between one and two
|
|
2877
|
+
* times `spacing` across a pitched view. As MapLibre does with
|
|
2878
|
+
* `symbol-spacing`, a label longer than three quarters of the spacing
|
|
2879
|
+
* spreads its repeats to its own length plus a quarter of the spacing, a
|
|
2880
|
+
* label within half the spacing of an earlier one with the same text is
|
|
2881
|
+
* dropped, and a vector tile places labels only inside its own bounds.
|
|
2882
|
+
* Defaults to `250.0`.
|
|
2883
|
+
*/
|
|
2884
|
+
get spacing(): number | undefined;
|
|
2885
|
+
/**
|
|
2886
|
+
* Distance between repeated labels along a line, in screen pixels, for
|
|
2887
|
+
* `vector-tile` and `geojson` sources alike. Resolved per label as the
|
|
2888
|
+
* camera moves: labels thin out as it pulls back and fill in as it
|
|
2889
|
+
* closes, never moving, so the gap on screen stays between one and two
|
|
2890
|
+
* times `spacing` across a pitched view. As MapLibre does with
|
|
2891
|
+
* `symbol-spacing`, a label longer than three quarters of the spacing
|
|
2892
|
+
* spreads its repeats to its own length plus a quarter of the spacing, a
|
|
2893
|
+
* label within half the spacing of an earlier one with the same text is
|
|
2894
|
+
* dropped, and a vector tile places labels only inside its own bounds.
|
|
2895
|
+
* Defaults to `250.0`.
|
|
2896
|
+
*/
|
|
2897
|
+
set spacing(value: number | null | undefined);
|
|
2898
|
+
/**
|
|
2899
|
+
* Place each glyph of an along-line label on its own instead of each
|
|
2900
|
+
* word. With `rotateWithCamera: false` each glyph turns with the line
|
|
2901
|
+
* under it (MapLibre's `symbol-placement: "line"`); with `true`, each
|
|
2902
|
+
* glyph turns to the camera like a point label and is spaced on the
|
|
2903
|
+
* screen (MapLibre's `viewport-glyph`). Can be overridden per feature
|
|
2904
|
+
* from a feature evaluator. Defaults to `false`.
|
|
2905
|
+
*/
|
|
2906
|
+
get spreadGlyphs(): boolean | undefined;
|
|
2907
|
+
/**
|
|
2908
|
+
* Place each glyph of an along-line label on its own instead of each
|
|
2909
|
+
* word. With `rotateWithCamera: false` each glyph turns with the line
|
|
2910
|
+
* under it (MapLibre's `symbol-placement: "line"`); with `true`, each
|
|
2911
|
+
* glyph turns to the camera like a point label and is spaced on the
|
|
2912
|
+
* screen (MapLibre's `viewport-glyph`). Can be overridden per feature
|
|
2913
|
+
* from a feature evaluator. Defaults to `false`.
|
|
2914
|
+
*/
|
|
2915
|
+
set spreadGlyphs(value: boolean | null | undefined);
|
|
2916
|
+
/**
|
|
2917
|
+
* Whether this may show while its partner at the same anchor (the
|
|
2918
|
+
* layer's label for a billboard, its billboard for a label) is hidden.
|
|
2919
|
+
* With `false` on both, the two are placed together: both show or
|
|
2920
|
+
* neither does. Only meaningful when `declutter` is enabled. Defaults to
|
|
2921
|
+
* `true`.
|
|
2922
|
+
*/
|
|
2923
|
+
get standalone(): boolean | undefined;
|
|
2924
|
+
/**
|
|
2925
|
+
* Whether this may show while its partner at the same anchor (the
|
|
2926
|
+
* layer's label for a billboard, its billboard for a label) is hidden.
|
|
2927
|
+
* With `false` on both, the two are placed together: both show or
|
|
2928
|
+
* neither does. Only meaningful when `declutter` is enabled. Defaults to
|
|
2929
|
+
* `true`.
|
|
2930
|
+
*/
|
|
2931
|
+
set standalone(value: boolean | null | undefined);
|
|
2029
2932
|
/**
|
|
2030
2933
|
* Horizontal alignment of lines within a multi-line block:
|
|
2031
|
-
* `"left"`, `"center"` (default), or `"
|
|
2934
|
+
* `"left"`, `"center"` (default), `"right"`, or `"auto"`, which aligns
|
|
2935
|
+
* towards the horizontal side of `anchor` (MapLibre's `text-justify`).
|
|
2032
2936
|
*/
|
|
2033
2937
|
get textAlign(): string | undefined;
|
|
2034
2938
|
/**
|
|
2035
2939
|
* Horizontal alignment of lines within a multi-line block:
|
|
2036
|
-
* `"left"`, `"center"` (default), or `"
|
|
2940
|
+
* `"left"`, `"center"` (default), `"right"`, or `"auto"`, which aligns
|
|
2941
|
+
* towards the horizontal side of `anchor` (MapLibre's `text-justify`).
|
|
2037
2942
|
*/
|
|
2038
2943
|
set textAlign(value: string | null | undefined);
|
|
2039
2944
|
/**
|
|
2040
|
-
*
|
|
2041
|
-
* globe surface around its anchor (`"flat"`), following its
|
|
2042
|
-
* it reads as painted on the surface.
|
|
2945
|
+
* Plane the label lies in: the screen (`"upright"`, never foreshortened)
|
|
2946
|
+
* or the globe surface around its anchor (`"flat"`), following its
|
|
2947
|
+
* curvature so it reads as painted on the surface. MapLibre's
|
|
2948
|
+
* `text-pitch-alignment` `viewport` and `map`. Pair with
|
|
2949
|
+
* `rotateWithCamera`. Left unset, it is `"flat"` when `rotateWithCamera`
|
|
2950
|
+
* resolves to `false` and `"upright"` otherwise, as MapLibre resolves
|
|
2951
|
+
* `auto`.
|
|
2043
2952
|
*/
|
|
2044
2953
|
get textFacing(): string | undefined;
|
|
2045
2954
|
/**
|
|
2046
|
-
*
|
|
2047
|
-
* globe surface around its anchor (`"flat"`), following its
|
|
2048
|
-
* it reads as painted on the surface.
|
|
2955
|
+
* Plane the label lies in: the screen (`"upright"`, never foreshortened)
|
|
2956
|
+
* or the globe surface around its anchor (`"flat"`), following its
|
|
2957
|
+
* curvature so it reads as painted on the surface. MapLibre's
|
|
2958
|
+
* `text-pitch-alignment` `viewport` and `map`. Pair with
|
|
2959
|
+
* `rotateWithCamera`. Left unset, it is `"flat"` when `rotateWithCamera`
|
|
2960
|
+
* resolves to `false` and `"upright"` otherwise, as MapLibre resolves
|
|
2961
|
+
* `auto`.
|
|
2049
2962
|
*/
|
|
2050
2963
|
set textFacing(value: string | null | undefined);
|
|
2051
2964
|
get text(): string | undefined;
|
|
2052
2965
|
set text(value: string | null | undefined);
|
|
2966
|
+
/**
|
|
2967
|
+
* Frame `translate` is measured in: `"map"` (default) turns it with the
|
|
2968
|
+
* camera heading so +x points east and +y south; `"viewport"` keeps it on
|
|
2969
|
+
* the screen axes. MapLibre's `text-translate-anchor`.
|
|
2970
|
+
*/
|
|
2971
|
+
get translateAnchor(): string | undefined;
|
|
2972
|
+
/**
|
|
2973
|
+
* Frame `translate` is measured in: `"map"` (default) turns it with the
|
|
2974
|
+
* camera heading so +x points east and +y south; `"viewport"` keeps it on
|
|
2975
|
+
* the screen axes. MapLibre's `text-translate-anchor`.
|
|
2976
|
+
*/
|
|
2977
|
+
set translateAnchor(value: string | null | undefined);
|
|
2978
|
+
/**
|
|
2979
|
+
* Screen-pixel shift of the drawn label, x right and y down, applied after
|
|
2980
|
+
* projection so it stays the same number of pixels at any distance, as
|
|
2981
|
+
* MapLibre's `text-translate`. Defaults to `(0, 0)`.
|
|
2982
|
+
*/
|
|
2983
|
+
get translate(): Vec2 | undefined;
|
|
2984
|
+
/**
|
|
2985
|
+
* Screen-pixel shift of the drawn label, x right and y down, applied after
|
|
2986
|
+
* projection so it stays the same number of pixels at any distance, as
|
|
2987
|
+
* MapLibre's `text-translate`. Defaults to `(0, 0)`.
|
|
2988
|
+
*/
|
|
2989
|
+
set translate(value: Vec2 | null | undefined);
|
|
2053
2990
|
/**
|
|
2054
2991
|
* Enable transparency and alpha blending
|
|
2055
2992
|
*/
|
|
@@ -2058,6 +2995,22 @@ export class TextMaterial {
|
|
|
2058
2995
|
* Enable transparency and alpha blending
|
|
2059
2996
|
*/
|
|
2060
2997
|
set transparent(value: boolean | null | undefined);
|
|
2998
|
+
/**
|
|
2999
|
+
* Placements the declutter pass tries in order, keeping the first whose
|
|
3000
|
+
* box is free, as MapLibre's `text-variable-anchor-offset`. The one in
|
|
3001
|
+
* use is tried first, so a label only moves when it must. Overrides
|
|
3002
|
+
* `anchor` and `offset` when not empty, except along a line. Without
|
|
3003
|
+
* declutter the first is used.
|
|
3004
|
+
*/
|
|
3005
|
+
get variableAnchors(): VariableAnchor[] | undefined;
|
|
3006
|
+
/**
|
|
3007
|
+
* Placements the declutter pass tries in order, keeping the first whose
|
|
3008
|
+
* box is free, as MapLibre's `text-variable-anchor-offset`. The one in
|
|
3009
|
+
* use is tried first, so a label only moves when it must. Overrides
|
|
3010
|
+
* `anchor` and `offset` when not empty, except along a line. Without
|
|
3011
|
+
* declutter the first is used.
|
|
3012
|
+
*/
|
|
3013
|
+
set variableAnchors(value: VariableAnchor[] | null | undefined);
|
|
2061
3014
|
}
|
|
2062
3015
|
|
|
2063
3016
|
export class TextureFragment {
|
|
@@ -2203,6 +3156,30 @@ export class UpsamplableTerrainGeometry {
|
|
|
2203
3156
|
constructor(uvs: Float32Array, indices: Uint32Array, heights: Float32Array, normals?: Float32Array | null, watermask?: Uint8Array | null);
|
|
2204
3157
|
}
|
|
2205
3158
|
|
|
3159
|
+
/**
|
|
3160
|
+
* One placement a label may take, as an entry of MapLibre's
|
|
3161
|
+
* `text-variable-anchor-offset`.
|
|
3162
|
+
*/
|
|
3163
|
+
export class VariableAnchor {
|
|
3164
|
+
private constructor();
|
|
3165
|
+
free(): void;
|
|
3166
|
+
[Symbol.dispose](): void;
|
|
3167
|
+
/**
|
|
3168
|
+
* Part of the text block placed at the anchor point, as `anchor`.
|
|
3169
|
+
*/
|
|
3170
|
+
anchor: string;
|
|
3171
|
+
/**
|
|
3172
|
+
* Shift from the anchor point, x right and y down, in ems. Defaults to
|
|
3173
|
+
* `(0, 0)`.
|
|
3174
|
+
*/
|
|
3175
|
+
get offset(): Vec2 | undefined;
|
|
3176
|
+
/**
|
|
3177
|
+
* Shift from the anchor point, x right and y down, in ems. Defaults to
|
|
3178
|
+
* `(0, 0)`.
|
|
3179
|
+
*/
|
|
3180
|
+
set offset(value: Vec2 | null | undefined);
|
|
3181
|
+
}
|
|
3182
|
+
|
|
2206
3183
|
export class Vec2 {
|
|
2207
3184
|
free(): void;
|
|
2208
3185
|
[Symbol.dispose](): void;
|
|
@@ -2266,19 +3243,22 @@ export function buildPolylineGeometry(coordinates: Float64Array, geocentric: boo
|
|
|
2266
3243
|
|
|
2267
3244
|
/**
|
|
2268
3245
|
* Run one placement pass. Returns a `hidden` flag (0 or 1) per candidate, in the
|
|
2269
|
-
* same order as the input slice.
|
|
3246
|
+
* same order as the input slice. Of a group of variable-anchor rows, at most
|
|
3247
|
+
* one is shown: the first that fits.
|
|
2270
3248
|
*
|
|
2271
3249
|
* `candidates` is a packed `f64` slice of `n * CANDIDATE_STRIDE` values (see the
|
|
2272
3250
|
* module docs); `view` and `proj` are column-major 4×4 matrices (16 values each).
|
|
2273
|
-
* `
|
|
2274
|
-
*
|
|
3251
|
+
* `horizon_min_height` is the renderer's `nvrHorizonMinHeight`, which the
|
|
3252
|
+
* horizon test shrinks the ellipsoid by. `hysteresis_px` is the
|
|
3253
|
+
* collision-test shrink applied only to currently-shown labels.
|
|
2275
3254
|
*
|
|
2276
3255
|
* The result is *hidden-by-default*: only a label that claimed space inside the
|
|
2277
3256
|
* tracked area (viewport + grid margin) comes back shown. Off-screen and
|
|
2278
3257
|
* GPU-culled labels stay hidden so they cannot fade in unseen and then pan into
|
|
2279
|
-
* view at full opacity.
|
|
3258
|
+
* view at full opacity. An [`Overlap::Always`] label is the exception: it can
|
|
3259
|
+
* never lose, so it is always shown and has no fade-in to wait for.
|
|
2280
3260
|
*/
|
|
2281
|
-
export function declutterPlace(candidates: Float64Array, view: Float64Array, proj: Float64Array, camera_x: number, camera_y: number, camera_z: number, near: number, width_px: number, height_px: number, fov_rad: number,
|
|
3261
|
+
export function declutterPlace(candidates: Float64Array, view: Float64Array, proj: Float64Array, camera_x: number, camera_y: number, camera_z: number, near: number, width_px: number, height_px: number, fov_rad: number, horizon_min_height: number, hysteresis_px: number): Uint8Array;
|
|
2282
3262
|
|
|
2283
3263
|
export function eastNorthUpToFixedFrame(origin: Vec3): Float64Array;
|
|
2284
3264
|
|
|
@@ -2325,6 +3305,47 @@ export function getWGS84SemiMajorAxis(): number;
|
|
|
2325
3305
|
|
|
2326
3306
|
export function getWGS84SemiMinorAxis(): number;
|
|
2327
3307
|
|
|
3308
|
+
/**
|
|
3309
|
+
* Place along-line anchors for meshes that lay no label along the line — a
|
|
3310
|
+
* sprite is one quad at its anchor: whether each one's level is the one on
|
|
3311
|
+
* screen, and the box its quad covers there for the declutter pass.
|
|
3312
|
+
*
|
|
3313
|
+
* The level is chosen by the quad's extent *along its line*, measured in the
|
|
3314
|
+
* quad's own frame as MapLibre measures an icon: its local +y is turned
|
|
3315
|
+
* `rotation` from north and the line runs at `bearing`, so a quad turned to
|
|
3316
|
+
* follow its line is measured by its height, whatever its image's aspect.
|
|
3317
|
+
*
|
|
3318
|
+
* The box mirrors `nvr_quadBasis`, so a quad turned by its line, its style or
|
|
3319
|
+
* its facing claims the space it is drawn over rather than its unrotated
|
|
3320
|
+
* rectangle.
|
|
3321
|
+
*
|
|
3322
|
+
* `anchors` is packed [`LINE_ANCHOR_STRIDE`] values per anchor. Returns
|
|
3323
|
+
* [`LINE_ANCHOR_RESULT_STRIDE`] values per anchor, in input order.
|
|
3324
|
+
*/
|
|
3325
|
+
export function lineAnchorPlace(anchors: Float64Array, view: Float64Array, height_px: number, fov_rad: number, spacing_px: number): Float64Array;
|
|
3326
|
+
|
|
3327
|
+
/**
|
|
3328
|
+
* Whether a label is short enough to sit on its line, using nothing but the
|
|
3329
|
+
* anchor, the label's width and the line's extent.
|
|
3330
|
+
*
|
|
3331
|
+
* Returns one byte per label: `1` fits, `0` does not. See the module docs for
|
|
3332
|
+
* why this is worth a phase of its own.
|
|
3333
|
+
*/
|
|
3334
|
+
export function lineLabelFit(labels: Float64Array, view: Float64Array, height_px: number, fov_rad: number, spacing_px: number): Uint8Array;
|
|
3335
|
+
|
|
3336
|
+
/**
|
|
3337
|
+
* Place text labels along their lines.
|
|
3338
|
+
*
|
|
3339
|
+
* `labels` is a packed `f64` slice of `n * LINE_LABEL_STRIDE` values (see the
|
|
3340
|
+
* module docs); `paths` holds each label's samples as `2 * samples` `f32`
|
|
3341
|
+
* values, east then north metres relative to its anchor. `view` is a
|
|
3342
|
+
* column-major 4x4 matrix.
|
|
3343
|
+
*
|
|
3344
|
+
* Returns [`LINE_LABEL_RESULT_STRIDE`] values per label, in input order; see
|
|
3345
|
+
* the module docs for the layout. `spacing_px` is the layer's `spacing`.
|
|
3346
|
+
*/
|
|
3347
|
+
export function lineLabelPlace(labels: Float64Array, paths: Float32Array, samples_per_label: number, view: Float64Array, height_px: number, fov_rad: number, spacing_px: number): Float64Array;
|
|
3348
|
+
|
|
2328
3349
|
export function northEastDownToFixedFrame(origin: Vec3): Float64Array;
|
|
2329
3350
|
|
|
2330
3351
|
export function northUpEastToFixedFrame(origin: Vec3): Float64Array;
|
|
@@ -2390,6 +3411,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
2390
3411
|
|
|
2391
3412
|
export interface InitOutput {
|
|
2392
3413
|
readonly memory: WebAssembly.Memory;
|
|
3414
|
+
readonly __wbg_linedashatlas_free: (a: number, b: number) => void;
|
|
2393
3415
|
readonly angleToDegree: (a: number) => number;
|
|
2394
3416
|
readonly angleToRadian: (a: number) => number;
|
|
2395
3417
|
readonly buildPolygonGeometry: (a: number, b: number, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
@@ -2408,6 +3430,16 @@ export interface InitOutput {
|
|
|
2408
3430
|
readonly getWGS84Flattening: () => number;
|
|
2409
3431
|
readonly getWGS84SemiMajorAxis: () => number;
|
|
2410
3432
|
readonly getWGS84SemiMinorAxis: () => number;
|
|
3433
|
+
readonly lineAnchorPlace: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
3434
|
+
readonly lineLabelFit: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
3435
|
+
readonly lineLabelPlace: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number];
|
|
3436
|
+
readonly linedashatlas_data: (a: number) => any;
|
|
3437
|
+
readonly linedashatlas_dataVersion: (a: number) => number;
|
|
3438
|
+
readonly linedashatlas_new: () => number;
|
|
3439
|
+
readonly linedashatlas_register: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
3440
|
+
readonly linedashatlas_release: (a: number, b: number) => void;
|
|
3441
|
+
readonly linedashatlas_rowCapacity: (a: number) => number;
|
|
3442
|
+
readonly linedashatlas_rowTexels: (a: number) => number;
|
|
2411
3443
|
readonly northEastDownToFixedFrame: (a: number) => [number, number];
|
|
2412
3444
|
readonly northUpEastToFixedFrame: (a: number) => [number, number];
|
|
2413
3445
|
readonly northWestUpToFixedFrame: (a: number) => [number, number];
|
|
@@ -2450,26 +3482,38 @@ export interface InitOutput {
|
|
|
2450
3482
|
readonly __wbg_get_batchpropresult_layerId: (a: number) => [number, number];
|
|
2451
3483
|
readonly __wbg_get_batchpropresult_properties: (a: number) => any;
|
|
2452
3484
|
readonly __wbg_get_billboardmaterial_alphaTest: (a: number) => number;
|
|
3485
|
+
readonly __wbg_get_billboardmaterial_anchor: (a: number) => [number, number];
|
|
2453
3486
|
readonly __wbg_get_billboardmaterial_backfaceCulling: (a: number) => number;
|
|
2454
3487
|
readonly __wbg_get_billboardmaterial_billboardFacing: (a: number) => [number, number];
|
|
2455
|
-
readonly __wbg_get_billboardmaterial_center: (a: number) => number;
|
|
2456
3488
|
readonly __wbg_get_billboardmaterial_clampToGround: (a: number) => number;
|
|
2457
3489
|
readonly __wbg_get_billboardmaterial_color: (a: number) => number;
|
|
2458
3490
|
readonly __wbg_get_billboardmaterial_declutter: (a: number) => number;
|
|
3491
|
+
readonly __wbg_get_billboardmaterial_declutterPadding: (a: number) => [number, number];
|
|
2459
3492
|
readonly __wbg_get_billboardmaterial_declutterPriority: (a: number) => number;
|
|
3493
|
+
readonly __wbg_get_billboardmaterial_declutterRank: (a: number) => number;
|
|
2460
3494
|
readonly __wbg_get_billboardmaterial_depthTest: (a: number) => number;
|
|
2461
3495
|
readonly __wbg_get_billboardmaterial_effectIds: (a: number) => [number, number];
|
|
2462
3496
|
readonly __wbg_get_billboardmaterial_emissiveColor: (a: number) => number;
|
|
2463
3497
|
readonly __wbg_get_billboardmaterial_emissiveIntensity: (a: number) => number;
|
|
2464
3498
|
readonly __wbg_get_billboardmaterial_geometryTypes: (a: number) => [number, number];
|
|
2465
3499
|
readonly __wbg_get_billboardmaterial_height: (a: number) => number;
|
|
3500
|
+
readonly __wbg_get_billboardmaterial_ignorePlacement: (a: number) => number;
|
|
3501
|
+
readonly __wbg_get_billboardmaterial_offset: (a: number) => number;
|
|
2466
3502
|
readonly __wbg_get_billboardmaterial_offsetDepth: (a: number) => number;
|
|
2467
3503
|
readonly __wbg_get_billboardmaterial_opacity: (a: number) => number;
|
|
3504
|
+
readonly __wbg_get_billboardmaterial_overlap: (a: number) => [number, number];
|
|
3505
|
+
readonly __wbg_get_billboardmaterial_placement: (a: number) => [number, number];
|
|
3506
|
+
readonly __wbg_get_billboardmaterial_rotateToLine: (a: number) => number;
|
|
2468
3507
|
readonly __wbg_get_billboardmaterial_rotateWithCamera: (a: number) => number;
|
|
2469
3508
|
readonly __wbg_get_billboardmaterial_rotation: (a: number) => number;
|
|
2470
3509
|
readonly __wbg_get_billboardmaterial_show: (a: number) => number;
|
|
2471
3510
|
readonly __wbg_get_billboardmaterial_size: (a: number) => number;
|
|
2472
3511
|
readonly __wbg_get_billboardmaterial_sizeInMeters: (a: number) => number;
|
|
3512
|
+
readonly __wbg_get_billboardmaterial_sizeRelativeToImage: (a: number) => number;
|
|
3513
|
+
readonly __wbg_get_billboardmaterial_spacing: (a: number) => number;
|
|
3514
|
+
readonly __wbg_get_billboardmaterial_standalone: (a: number) => number;
|
|
3515
|
+
readonly __wbg_get_billboardmaterial_translate: (a: number) => number;
|
|
3516
|
+
readonly __wbg_get_billboardmaterial_translateAnchor: (a: number) => [number, number];
|
|
2473
3517
|
readonly __wbg_get_billboardmaterial_transparent: (a: number) => number;
|
|
2474
3518
|
readonly __wbg_get_billboardmaterial_url: (a: number) => [number, number];
|
|
2475
3519
|
readonly __wbg_get_boundingsphere_center_x: (a: number) => number;
|
|
@@ -2501,22 +3545,20 @@ export interface InitOutput {
|
|
|
2501
3545
|
readonly __wbg_get_elevationdecoder_epsilon: (a: number) => number;
|
|
2502
3546
|
readonly __wbg_get_elevationdecoder_max_offset: (a: number) => number;
|
|
2503
3547
|
readonly __wbg_get_elevationdecoder_min_offset: (a: number) => number;
|
|
3548
|
+
readonly __wbg_get_elevationheatmapmaterial_colorMap: (a: number) => [number, number];
|
|
3549
|
+
readonly __wbg_get_elevationheatmapmaterial_colorStops: (a: number) => [number, number];
|
|
3550
|
+
readonly __wbg_get_elevationheatmapmaterial_filter: (a: number) => [number, number];
|
|
2504
3551
|
readonly __wbg_get_elevationheatmapmaterial_logarithmic: (a: number) => number;
|
|
2505
3552
|
readonly __wbg_get_ellipsoidgeodesic_converged: (a: number) => number;
|
|
2506
|
-
readonly __wbg_get_ellipsoidgeodesic_end: (a: number) => number;
|
|
2507
3553
|
readonly __wbg_get_ellipsoidgeodesic_end_heading: (a: number) => number;
|
|
2508
|
-
readonly __wbg_get_ellipsoidgeodesic_start: (a: number) => number;
|
|
2509
3554
|
readonly __wbg_get_extentradianf32_east: (a: number) => number;
|
|
2510
3555
|
readonly __wbg_get_extentradianf32_north: (a: number) => number;
|
|
2511
3556
|
readonly __wbg_get_extentradianf32_south: (a: number) => number;
|
|
2512
3557
|
readonly __wbg_get_extentradianf32_west: (a: number) => number;
|
|
2513
3558
|
readonly __wbg_get_floatattribute_size: (a: number) => number;
|
|
2514
3559
|
readonly __wbg_get_globe_color: (a: number) => number;
|
|
2515
|
-
readonly __wbg_get_globe_elevationColormap: (a: number) => [number, number];
|
|
2516
3560
|
readonly __wbg_get_globe_hideUnderground: (a: number) => number;
|
|
2517
3561
|
readonly __wbg_get_globe_isGeographicTiling: (a: number) => number;
|
|
2518
|
-
readonly __wbg_get_globe_opacity: (a: number) => number;
|
|
2519
|
-
readonly __wbg_get_globe_segments: (a: number) => number;
|
|
2520
3562
|
readonly __wbg_get_globe_transparent: (a: number) => number;
|
|
2521
3563
|
readonly __wbg_get_globe_useNormal: (a: number) => number;
|
|
2522
3564
|
readonly __wbg_get_globe_wireframe: (a: number) => number;
|
|
@@ -2525,9 +3567,6 @@ export interface InitOutput {
|
|
|
2525
3567
|
readonly __wbg_get_modelinternalmaterial_pointCloud: (a: number) => number;
|
|
2526
3568
|
readonly __wbg_get_modelmaterial___internal__: (a: number) => number;
|
|
2527
3569
|
readonly __wbg_get_modelmaterial_animationActiveClip: (a: number) => [number, number];
|
|
2528
|
-
readonly __wbg_get_modelmaterial_animationSpeed: (a: number) => number;
|
|
2529
|
-
readonly __wbg_get_modelmaterial_applyWaterNormal: (a: number) => number;
|
|
2530
|
-
readonly __wbg_get_modelmaterial_castShadow: (a: number) => number;
|
|
2531
3570
|
readonly __wbg_get_modelmaterial_color: (a: number) => number;
|
|
2532
3571
|
readonly __wbg_get_modelmaterial_creaseNormalAngle: (a: number) => number;
|
|
2533
3572
|
readonly __wbg_get_modelmaterial_depthWrite: (a: number) => number;
|
|
@@ -2535,46 +3574,46 @@ export interface InitOutput {
|
|
|
2535
3574
|
readonly __wbg_get_modelmaterial_emissiveColor: (a: number) => number;
|
|
2536
3575
|
readonly __wbg_get_modelmaterial_emissiveIntensity: (a: number) => number;
|
|
2537
3576
|
readonly __wbg_get_modelmaterial_height: (a: number) => number;
|
|
2538
|
-
readonly __wbg_get_modelmaterial_ior: (a: number) => number;
|
|
2539
|
-
readonly __wbg_get_modelmaterial_lit: (a: number) => number;
|
|
2540
3577
|
readonly __wbg_get_modelmaterial_maxSse: (a: number) => number;
|
|
2541
3578
|
readonly __wbg_get_modelmaterial_metalness: (a: number) => number;
|
|
2542
|
-
readonly __wbg_get_modelmaterial_normals: (a: number) => number;
|
|
2543
3579
|
readonly __wbg_get_modelmaterial_opacity: (a: number) => number;
|
|
2544
|
-
readonly
|
|
2545
|
-
readonly __wbg_get_modelmaterial_receiveShadow: (a: number) => number;
|
|
2546
|
-
readonly __wbg_get_modelmaterial_shouldRotateInDefault: (a: number) => number;
|
|
2547
|
-
readonly __wbg_get_modelmaterial_show: (a: number) => number;
|
|
2548
|
-
readonly __wbg_get_modelmaterial_showBoundingBox: (a: number) => number;
|
|
3580
|
+
readonly __wbg_get_modelmaterial_roughness: (a: number) => number;
|
|
2549
3581
|
readonly __wbg_get_modelmaterial_size: (a: number) => number;
|
|
2550
|
-
readonly __wbg_get_modelmaterial_specular: (a: number) => number;
|
|
2551
3582
|
readonly __wbg_get_modelmaterial_transparent: (a: number) => number;
|
|
2552
3583
|
readonly __wbg_get_modelmaterial_url: (a: number) => [number, number];
|
|
2553
|
-
readonly
|
|
3584
|
+
readonly __wbg_get_modelmaterial_waterScale: (a: number) => [number, number];
|
|
3585
|
+
readonly __wbg_get_modelmaterial_waveExaggeration: (a: number) => number;
|
|
2554
3586
|
readonly __wbg_get_overscaledtilehandle_handle: (a: number) => bigint;
|
|
3587
|
+
readonly __wbg_get_pointmaterial_anchor: (a: number) => [number, number];
|
|
2555
3588
|
readonly __wbg_get_pointmaterial_backfaceCulling: (a: number) => number;
|
|
2556
3589
|
readonly __wbg_get_pointmaterial_clampToGround: (a: number) => number;
|
|
2557
3590
|
readonly __wbg_get_pointmaterial_declutter: (a: number) => number;
|
|
3591
|
+
readonly __wbg_get_pointmaterial_declutterPadding: (a: number) => [number, number];
|
|
2558
3592
|
readonly __wbg_get_pointmaterial_depthTest: (a: number) => number;
|
|
2559
3593
|
readonly __wbg_get_pointmaterial_effectIds: (a: number) => [number, number];
|
|
2560
3594
|
readonly __wbg_get_pointmaterial_emissiveColor: (a: number) => number;
|
|
2561
3595
|
readonly __wbg_get_pointmaterial_geometryTypes: (a: number) => [number, number];
|
|
3596
|
+
readonly __wbg_get_pointmaterial_ignorePlacement: (a: number) => number;
|
|
2562
3597
|
readonly __wbg_get_pointmaterial_offsetDepth: (a: number) => number;
|
|
3598
|
+
readonly __wbg_get_pointmaterial_overlap: (a: number) => [number, number];
|
|
3599
|
+
readonly __wbg_get_pointmaterial_placement: (a: number) => [number, number];
|
|
2563
3600
|
readonly __wbg_get_pointmaterial_pointFacing: (a: number) => [number, number];
|
|
3601
|
+
readonly __wbg_get_pointmaterial_rotateToLine: (a: number) => number;
|
|
2564
3602
|
readonly __wbg_get_pointmaterial_rotateWithCamera: (a: number) => number;
|
|
2565
3603
|
readonly __wbg_get_pointmaterial_show: (a: number) => number;
|
|
2566
3604
|
readonly __wbg_get_pointmaterial_sizeInMeters: (a: number) => number;
|
|
3605
|
+
readonly __wbg_get_pointmaterial_translateAnchor: (a: number) => [number, number];
|
|
2567
3606
|
readonly __wbg_get_pointmaterial_transparent: (a: number) => number;
|
|
2568
3607
|
readonly __wbg_get_polygoninternalmaterial_minMaxHeights: (a: number) => [number, number];
|
|
2569
3608
|
readonly __wbg_get_polygonmaterial___internal__: (a: number) => number;
|
|
2570
|
-
readonly __wbg_get_polygonmaterial_applyWaterNormal: (a: number) => number;
|
|
2571
3609
|
readonly __wbg_get_polygonmaterial_castShadow: (a: number) => number;
|
|
2572
3610
|
readonly __wbg_get_polygonmaterial_clampToGround: (a: number) => number;
|
|
2573
|
-
readonly
|
|
3611
|
+
readonly __wbg_get_polygonmaterial_depthPrePass: (a: number) => number;
|
|
2574
3612
|
readonly __wbg_get_polygonmaterial_effectIds: (a: number) => [number, number];
|
|
2575
3613
|
readonly __wbg_get_polygonmaterial_emissiveColor: (a: number) => number;
|
|
2576
3614
|
readonly __wbg_get_polygonmaterial_emissiveIntensity: (a: number) => number;
|
|
2577
3615
|
readonly __wbg_get_polygonmaterial_extrudedHeight: (a: number) => number;
|
|
3616
|
+
readonly __wbg_get_polygonmaterial_flowSpeed: (a: number) => number;
|
|
2578
3617
|
readonly __wbg_get_polygonmaterial_height: (a: number) => number;
|
|
2579
3618
|
readonly __wbg_get_polygonmaterial_ior: (a: number) => number;
|
|
2580
3619
|
readonly __wbg_get_polygonmaterial_lit: (a: number) => number;
|
|
@@ -2587,6 +3626,7 @@ export interface InitOutput {
|
|
|
2587
3626
|
readonly __wbg_get_polygonmaterial_receiveShadow: (a: number) => number;
|
|
2588
3627
|
readonly __wbg_get_polygonmaterial_reflectivity: (a: number) => number;
|
|
2589
3628
|
readonly __wbg_get_polygonmaterial_roughness: (a: number) => number;
|
|
3629
|
+
readonly __wbg_get_polygonmaterial_shadeSidesAsSurface: (a: number) => number;
|
|
2590
3630
|
readonly __wbg_get_polygonmaterial_shininess: (a: number) => number;
|
|
2591
3631
|
readonly __wbg_get_polygonmaterial_show: (a: number) => number;
|
|
2592
3632
|
readonly __wbg_get_polygonmaterial_specular: (a: number) => number;
|
|
@@ -2595,12 +3635,16 @@ export interface InitOutput {
|
|
|
2595
3635
|
readonly __wbg_get_polygonmaterial_tiled: (a: number) => number;
|
|
2596
3636
|
readonly __wbg_get_polygonmaterial_transparent: (a: number) => number;
|
|
2597
3637
|
readonly __wbg_get_polygonmaterial_water: (a: number) => number;
|
|
2598
|
-
readonly
|
|
2599
|
-
readonly
|
|
3638
|
+
readonly __wbg_get_polygonmaterial_waterScale: (a: number) => [number, number];
|
|
3639
|
+
readonly __wbg_get_polygonmaterial_waveDirection: (a: number) => number;
|
|
3640
|
+
readonly __wbg_get_polygonmaterial_waveExaggeration: (a: number) => number;
|
|
3641
|
+
readonly __wbg_get_polygonmaterial_waveStrength: (a: number) => number;
|
|
2600
3642
|
readonly __wbg_get_polygonmaterial_wireframe: (a: number) => number;
|
|
2601
3643
|
readonly __wbg_get_polylinematerial___internal__: (a: number) => number;
|
|
3644
|
+
readonly __wbg_get_polylinematerial_cap: (a: number) => [number, number];
|
|
2602
3645
|
readonly __wbg_get_polylinematerial_castShadow: (a: number) => number;
|
|
2603
3646
|
readonly __wbg_get_polylinematerial_clampToGround: (a: number) => number;
|
|
3647
|
+
readonly __wbg_get_polylinematerial_dashArray: (a: number) => [number, number];
|
|
2604
3648
|
readonly __wbg_get_polylinematerial_depthWrite: (a: number) => number;
|
|
2605
3649
|
readonly __wbg_get_polylinematerial_effectIds: (a: number) => [number, number];
|
|
2606
3650
|
readonly __wbg_get_polylinematerial_emissiveColor: (a: number) => number;
|
|
@@ -2614,65 +3658,89 @@ export interface InitOutput {
|
|
|
2614
3658
|
readonly __wbg_get_rastermaterial_show: (a: number) => number;
|
|
2615
3659
|
readonly __wbg_get_rastermaterial_showBoundingBox: (a: number) => number;
|
|
2616
3660
|
readonly __wbg_get_rastertileinternalmaterial_castShadow: (a: number) => number;
|
|
3661
|
+
readonly __wbg_get_rastertileinternalmaterial_colorMapLayerIds: (a: number) => [number, number];
|
|
2617
3662
|
readonly __wbg_get_rastertileinternalmaterial_colors: (a: number) => [number, number];
|
|
2618
|
-
readonly
|
|
2619
|
-
readonly
|
|
2620
|
-
readonly
|
|
2621
|
-
readonly
|
|
3663
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationBScalers: (a: number) => [number, number];
|
|
3664
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationBoundaries: (a: number) => [number, number];
|
|
3665
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationEpsilons: (a: number) => [number, number];
|
|
3666
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationGScalers: (a: number) => [number, number];
|
|
3667
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationHeatmapFilters: (a: number) => [number, number];
|
|
3668
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationMaxHeights: (a: number) => [number, number];
|
|
3669
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationMaxOffsets: (a: number) => [number, number];
|
|
3670
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationMinHeights: (a: number) => [number, number];
|
|
3671
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationMinOffsets: (a: number) => [number, number];
|
|
3672
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationOffsets: (a: number) => [number, number];
|
|
3673
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationRScalers: (a: number) => [number, number];
|
|
3674
|
+
readonly __wbg_get_rastertileinternalmaterial_flowSpeed: (a: number) => number;
|
|
2622
3675
|
readonly __wbg_get_rastertileinternalmaterial_hillshadeExaggeration: (a: number) => number;
|
|
2623
|
-
readonly __wbg_get_rastertileinternalmaterial_hillshadeGScaler: (a: number) => number;
|
|
2624
|
-
readonly __wbg_get_rastertileinternalmaterial_hillshadeMaxOffset: (a: number) => number;
|
|
2625
|
-
readonly __wbg_get_rastertileinternalmaterial_hillshadeMinOffset: (a: number) => number;
|
|
2626
|
-
readonly __wbg_get_rastertileinternalmaterial_hillshadeOffset: (a: number) => number;
|
|
2627
|
-
readonly __wbg_get_rastertileinternalmaterial_hillshadeRScaler: (a: number) => number;
|
|
2628
3676
|
readonly __wbg_get_rastertileinternalmaterial_isElevationHeatmaps: (a: number) => [number, number];
|
|
2629
3677
|
readonly __wbg_get_rastertileinternalmaterial_isHillshades: (a: number) => [number, number];
|
|
2630
3678
|
readonly __wbg_get_rastertileinternalmaterial_layerReproject: (a: number) => [number, number];
|
|
2631
3679
|
readonly __wbg_get_rastertileinternalmaterial_lit: (a: number) => number;
|
|
2632
|
-
readonly
|
|
2633
|
-
readonly
|
|
3680
|
+
readonly __wbg_get_rastertileinternalmaterial_logBoundaries: (a: number) => [number, number];
|
|
3681
|
+
readonly __wbg_get_rastertileinternalmaterial_logarithmics: (a: number) => [number, number];
|
|
2634
3682
|
readonly __wbg_get_rastertileinternalmaterial_opacities: (a: number) => [number, number];
|
|
2635
3683
|
readonly __wbg_get_rastertileinternalmaterial_receiveShadow: (a: number) => number;
|
|
2636
3684
|
readonly __wbg_get_rastertileinternalmaterial_showBoundingBox: (a: number) => number;
|
|
2637
3685
|
readonly __wbg_get_rastertileinternalmaterial_shows: (a: number) => [number, number];
|
|
2638
3686
|
readonly __wbg_get_rastertileinternalmaterial_terrainLatRange: (a: number) => [number, number];
|
|
2639
|
-
readonly
|
|
3687
|
+
readonly __wbg_get_rastertileinternalmaterial_waterMaskColor: (a: number) => number;
|
|
3688
|
+
readonly __wbg_get_rastertileinternalmaterial_waveDirection: (a: number) => number;
|
|
3689
|
+
readonly __wbg_get_rastertileinternalmaterial_waveExaggeration: (a: number) => number;
|
|
3690
|
+
readonly __wbg_get_rastertileinternalmaterial_waveStrength: (a: number) => number;
|
|
2640
3691
|
readonly __wbg_get_terrainmaterial_castShadow: (a: number) => number;
|
|
2641
3692
|
readonly __wbg_get_terrainmaterial_lit: (a: number) => number;
|
|
2642
3693
|
readonly __wbg_get_terrainmaterial_receiveShadow: (a: number) => number;
|
|
2643
3694
|
readonly __wbg_get_terrainmaterial_show: (a: number) => number;
|
|
2644
|
-
readonly __wbg_get_terrainmaterial_showBoundingBox: (a: number) => number;
|
|
2645
3695
|
readonly __wbg_get_terrainmaterial_skirt: (a: number) => number;
|
|
2646
3696
|
readonly __wbg_get_textmaterial_backfaceCulling: (a: number) => number;
|
|
2647
3697
|
readonly __wbg_get_textmaterial_backgroundColor: (a: number) => number;
|
|
2648
3698
|
readonly __wbg_get_textmaterial_borderColor: (a: number) => number;
|
|
2649
3699
|
readonly __wbg_get_textmaterial_clampToGround: (a: number) => number;
|
|
2650
3700
|
readonly __wbg_get_textmaterial_declutter: (a: number) => number;
|
|
3701
|
+
readonly __wbg_get_textmaterial_declutterPadding: (a: number) => [number, number];
|
|
2651
3702
|
readonly __wbg_get_textmaterial_declutterPriority: (a: number) => number;
|
|
3703
|
+
readonly __wbg_get_textmaterial_declutterRank: (a: number) => number;
|
|
2652
3704
|
readonly __wbg_get_textmaterial_depthTest: (a: number) => number;
|
|
2653
3705
|
readonly __wbg_get_textmaterial_effectIds: (a: number) => [number, number];
|
|
2654
3706
|
readonly __wbg_get_textmaterial_emissiveColor: (a: number) => number;
|
|
3707
|
+
readonly __wbg_get_textmaterial_emissiveIntensity: (a: number) => number;
|
|
2655
3708
|
readonly __wbg_get_textmaterial_font: (a: number) => [number, number];
|
|
2656
3709
|
readonly __wbg_get_textmaterial_geometryTypes: (a: number) => [number, number];
|
|
2657
3710
|
readonly __wbg_get_textmaterial_highQuality: (a: number) => number;
|
|
3711
|
+
readonly __wbg_get_textmaterial_ignorePlacement: (a: number) => number;
|
|
3712
|
+
readonly __wbg_get_textmaterial_keepUpright: (a: number) => number;
|
|
2658
3713
|
readonly __wbg_get_textmaterial_lang: (a: number) => [number, number];
|
|
3714
|
+
readonly __wbg_get_textmaterial_letterSpacing: (a: number) => number;
|
|
3715
|
+
readonly __wbg_get_textmaterial_lineHeight: (a: number) => number;
|
|
3716
|
+
readonly __wbg_get_textmaterial_maxWidth: (a: number) => number;
|
|
2659
3717
|
readonly __wbg_get_textmaterial_offsetDepth: (a: number) => number;
|
|
3718
|
+
readonly __wbg_get_textmaterial_opacity: (a: number) => number;
|
|
3719
|
+
readonly __wbg_get_textmaterial_outlineColor: (a: number) => number;
|
|
3720
|
+
readonly __wbg_get_textmaterial_outlineOpacity: (a: number) => number;
|
|
3721
|
+
readonly __wbg_get_textmaterial_overlap: (a: number) => [number, number];
|
|
3722
|
+
readonly __wbg_get_textmaterial_placement: (a: number) => [number, number];
|
|
2660
3723
|
readonly __wbg_get_textmaterial_rotateWithCamera: (a: number) => number;
|
|
2661
3724
|
readonly __wbg_get_textmaterial_show: (a: number) => number;
|
|
2662
3725
|
readonly __wbg_get_textmaterial_sizeInMeters: (a: number) => number;
|
|
3726
|
+
readonly __wbg_get_textmaterial_spreadGlyphs: (a: number) => number;
|
|
3727
|
+
readonly __wbg_get_textmaterial_standalone: (a: number) => number;
|
|
2663
3728
|
readonly __wbg_get_textmaterial_text: (a: number) => [number, number];
|
|
2664
3729
|
readonly __wbg_get_textmaterial_textAlign: (a: number) => [number, number];
|
|
2665
3730
|
readonly __wbg_get_textmaterial_textFacing: (a: number) => [number, number];
|
|
3731
|
+
readonly __wbg_get_textmaterial_translateAnchor: (a: number) => [number, number];
|
|
2666
3732
|
readonly __wbg_get_textmaterial_transparent: (a: number) => number;
|
|
3733
|
+
readonly __wbg_get_textmaterial_variableAnchors: (a: number) => [number, number];
|
|
2667
3734
|
readonly __wbg_get_texturefragment_gen: (a: number) => number;
|
|
2668
3735
|
readonly __wbg_get_tileuvtransform_offset: (a: number) => number;
|
|
2669
3736
|
readonly __wbg_get_tileuvtransform_scale: (a: number) => number;
|
|
2670
|
-
readonly __wbg_get_tilexyz_z: (a: number) => number;
|
|
2671
3737
|
readonly __wbg_get_transferablehierarchy_expected_winding_order: (a: number) => number;
|
|
2672
3738
|
readonly __wbg_get_transferablepolygonbatchedfeature_crs: (a: number) => number;
|
|
2673
3739
|
readonly __wbg_get_transferablepolygonbatchedfeature_length: (a: number) => number;
|
|
2674
3740
|
readonly __wbg_get_transferablepolylinebatchedfeature_crs: (a: number) => number;
|
|
2675
3741
|
readonly __wbg_get_transferablepolylinebatchedfeature_length: (a: number) => number;
|
|
3742
|
+
readonly __wbg_get_transform_sz: (a: number) => number;
|
|
3743
|
+
readonly __wbg_get_variableanchor_anchor: (a: number) => [number, number];
|
|
2676
3744
|
readonly __wbg_get_windingorder_0: (a: number) => number;
|
|
2677
3745
|
readonly __wbg_globe_free: (a: number, b: number) => void;
|
|
2678
3746
|
readonly __wbg_hillshadematerial_free: (a: number, b: number) => void;
|
|
@@ -2698,26 +3766,38 @@ export interface InitOutput {
|
|
|
2698
3766
|
readonly __wbg_set_batchpropresult_layerId: (a: number, b: number, c: number) => void;
|
|
2699
3767
|
readonly __wbg_set_batchpropresult_properties: (a: number, b: any) => void;
|
|
2700
3768
|
readonly __wbg_set_billboardmaterial_alphaTest: (a: number, b: number) => void;
|
|
3769
|
+
readonly __wbg_set_billboardmaterial_anchor: (a: number, b: number, c: number) => void;
|
|
2701
3770
|
readonly __wbg_set_billboardmaterial_backfaceCulling: (a: number, b: number) => void;
|
|
2702
3771
|
readonly __wbg_set_billboardmaterial_billboardFacing: (a: number, b: number, c: number) => void;
|
|
2703
|
-
readonly __wbg_set_billboardmaterial_center: (a: number, b: number) => void;
|
|
2704
3772
|
readonly __wbg_set_billboardmaterial_clampToGround: (a: number, b: number) => void;
|
|
2705
3773
|
readonly __wbg_set_billboardmaterial_color: (a: number, b: number) => void;
|
|
2706
3774
|
readonly __wbg_set_billboardmaterial_declutter: (a: number, b: number) => void;
|
|
3775
|
+
readonly __wbg_set_billboardmaterial_declutterPadding: (a: number, b: number, c: number) => void;
|
|
2707
3776
|
readonly __wbg_set_billboardmaterial_declutterPriority: (a: number, b: number) => void;
|
|
3777
|
+
readonly __wbg_set_billboardmaterial_declutterRank: (a: number, b: number) => void;
|
|
2708
3778
|
readonly __wbg_set_billboardmaterial_depthTest: (a: number, b: number) => void;
|
|
2709
3779
|
readonly __wbg_set_billboardmaterial_effectIds: (a: number, b: number, c: number) => void;
|
|
2710
3780
|
readonly __wbg_set_billboardmaterial_emissiveColor: (a: number, b: number) => void;
|
|
2711
3781
|
readonly __wbg_set_billboardmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
2712
3782
|
readonly __wbg_set_billboardmaterial_geometryTypes: (a: number, b: number, c: number) => void;
|
|
2713
3783
|
readonly __wbg_set_billboardmaterial_height: (a: number, b: number) => void;
|
|
3784
|
+
readonly __wbg_set_billboardmaterial_ignorePlacement: (a: number, b: number) => void;
|
|
3785
|
+
readonly __wbg_set_billboardmaterial_offset: (a: number, b: number) => void;
|
|
2714
3786
|
readonly __wbg_set_billboardmaterial_offsetDepth: (a: number, b: number) => void;
|
|
2715
3787
|
readonly __wbg_set_billboardmaterial_opacity: (a: number, b: number) => void;
|
|
3788
|
+
readonly __wbg_set_billboardmaterial_overlap: (a: number, b: number, c: number) => void;
|
|
3789
|
+
readonly __wbg_set_billboardmaterial_placement: (a: number, b: number, c: number) => void;
|
|
3790
|
+
readonly __wbg_set_billboardmaterial_rotateToLine: (a: number, b: number) => void;
|
|
2716
3791
|
readonly __wbg_set_billboardmaterial_rotateWithCamera: (a: number, b: number) => void;
|
|
2717
3792
|
readonly __wbg_set_billboardmaterial_rotation: (a: number, b: number) => void;
|
|
2718
3793
|
readonly __wbg_set_billboardmaterial_show: (a: number, b: number) => void;
|
|
2719
3794
|
readonly __wbg_set_billboardmaterial_size: (a: number, b: number) => void;
|
|
2720
3795
|
readonly __wbg_set_billboardmaterial_sizeInMeters: (a: number, b: number) => void;
|
|
3796
|
+
readonly __wbg_set_billboardmaterial_sizeRelativeToImage: (a: number, b: number) => void;
|
|
3797
|
+
readonly __wbg_set_billboardmaterial_spacing: (a: number, b: number) => void;
|
|
3798
|
+
readonly __wbg_set_billboardmaterial_standalone: (a: number, b: number) => void;
|
|
3799
|
+
readonly __wbg_set_billboardmaterial_translate: (a: number, b: number) => void;
|
|
3800
|
+
readonly __wbg_set_billboardmaterial_translateAnchor: (a: number, b: number, c: number) => void;
|
|
2721
3801
|
readonly __wbg_set_billboardmaterial_transparent: (a: number, b: number) => void;
|
|
2722
3802
|
readonly __wbg_set_billboardmaterial_url: (a: number, b: number, c: number) => void;
|
|
2723
3803
|
readonly __wbg_set_boundingsphere_center_x: (a: number, b: number) => void;
|
|
@@ -2749,6 +3829,9 @@ export interface InitOutput {
|
|
|
2749
3829
|
readonly __wbg_set_elevationdecoder_epsilon: (a: number, b: number) => void;
|
|
2750
3830
|
readonly __wbg_set_elevationdecoder_max_offset: (a: number, b: number) => void;
|
|
2751
3831
|
readonly __wbg_set_elevationdecoder_min_offset: (a: number, b: number) => void;
|
|
3832
|
+
readonly __wbg_set_elevationheatmapmaterial_colorMap: (a: number, b: number, c: number) => void;
|
|
3833
|
+
readonly __wbg_set_elevationheatmapmaterial_colorStops: (a: number, b: number, c: number) => void;
|
|
3834
|
+
readonly __wbg_set_elevationheatmapmaterial_filter: (a: number, b: number, c: number) => void;
|
|
2752
3835
|
readonly __wbg_set_elevationheatmapmaterial_logarithmic: (a: number, b: number) => void;
|
|
2753
3836
|
readonly __wbg_set_ellipsoidgeodesic_converged: (a: number, b: number) => void;
|
|
2754
3837
|
readonly __wbg_set_ellipsoidgeodesic_end_heading: (a: number, b: number) => void;
|
|
@@ -2758,11 +3841,8 @@ export interface InitOutput {
|
|
|
2758
3841
|
readonly __wbg_set_extentradianf32_west: (a: number, b: number) => void;
|
|
2759
3842
|
readonly __wbg_set_floatattribute_size: (a: number, b: number) => void;
|
|
2760
3843
|
readonly __wbg_set_globe_color: (a: number, b: number) => void;
|
|
2761
|
-
readonly __wbg_set_globe_elevationColormap: (a: number, b: number, c: number) => void;
|
|
2762
3844
|
readonly __wbg_set_globe_hideUnderground: (a: number, b: number) => void;
|
|
2763
3845
|
readonly __wbg_set_globe_isGeographicTiling: (a: number, b: number) => void;
|
|
2764
|
-
readonly __wbg_set_globe_opacity: (a: number, b: number) => void;
|
|
2765
|
-
readonly __wbg_set_globe_segments: (a: number, b: number) => void;
|
|
2766
3846
|
readonly __wbg_set_globe_transparent: (a: number, b: number) => void;
|
|
2767
3847
|
readonly __wbg_set_globe_useNormal: (a: number, b: number) => void;
|
|
2768
3848
|
readonly __wbg_set_globe_wireframe: (a: number, b: number) => void;
|
|
@@ -2771,9 +3851,6 @@ export interface InitOutput {
|
|
|
2771
3851
|
readonly __wbg_set_modelinternalmaterial_pointCloud: (a: number, b: number) => void;
|
|
2772
3852
|
readonly __wbg_set_modelmaterial___internal__: (a: number, b: number) => void;
|
|
2773
3853
|
readonly __wbg_set_modelmaterial_animationActiveClip: (a: number, b: number, c: number) => void;
|
|
2774
|
-
readonly __wbg_set_modelmaterial_animationSpeed: (a: number, b: number) => void;
|
|
2775
|
-
readonly __wbg_set_modelmaterial_applyWaterNormal: (a: number, b: number) => void;
|
|
2776
|
-
readonly __wbg_set_modelmaterial_castShadow: (a: number, b: number) => void;
|
|
2777
3854
|
readonly __wbg_set_modelmaterial_color: (a: number, b: number) => void;
|
|
2778
3855
|
readonly __wbg_set_modelmaterial_creaseNormalAngle: (a: number, b: number) => void;
|
|
2779
3856
|
readonly __wbg_set_modelmaterial_depthWrite: (a: number, b: number) => void;
|
|
@@ -2781,45 +3858,46 @@ export interface InitOutput {
|
|
|
2781
3858
|
readonly __wbg_set_modelmaterial_emissiveColor: (a: number, b: number) => void;
|
|
2782
3859
|
readonly __wbg_set_modelmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
2783
3860
|
readonly __wbg_set_modelmaterial_height: (a: number, b: number) => void;
|
|
2784
|
-
readonly __wbg_set_modelmaterial_ior: (a: number, b: number) => void;
|
|
2785
|
-
readonly __wbg_set_modelmaterial_lit: (a: number, b: number) => void;
|
|
2786
3861
|
readonly __wbg_set_modelmaterial_maxSse: (a: number, b: number) => void;
|
|
2787
3862
|
readonly __wbg_set_modelmaterial_metalness: (a: number, b: number) => void;
|
|
2788
|
-
readonly __wbg_set_modelmaterial_normals: (a: number, b: number) => void;
|
|
2789
3863
|
readonly __wbg_set_modelmaterial_opacity: (a: number, b: number) => void;
|
|
2790
|
-
readonly
|
|
2791
|
-
readonly __wbg_set_modelmaterial_receiveShadow: (a: number, b: number) => void;
|
|
2792
|
-
readonly __wbg_set_modelmaterial_shouldRotateInDefault: (a: number, b: number) => void;
|
|
2793
|
-
readonly __wbg_set_modelmaterial_show: (a: number, b: number) => void;
|
|
2794
|
-
readonly __wbg_set_modelmaterial_showBoundingBox: (a: number, b: number) => void;
|
|
3864
|
+
readonly __wbg_set_modelmaterial_roughness: (a: number, b: number) => void;
|
|
2795
3865
|
readonly __wbg_set_modelmaterial_size: (a: number, b: number) => void;
|
|
2796
|
-
readonly __wbg_set_modelmaterial_specular: (a: number, b: number) => void;
|
|
2797
3866
|
readonly __wbg_set_modelmaterial_transparent: (a: number, b: number) => void;
|
|
2798
3867
|
readonly __wbg_set_modelmaterial_url: (a: number, b: number, c: number) => void;
|
|
2799
|
-
readonly
|
|
3868
|
+
readonly __wbg_set_modelmaterial_waterScale: (a: number, b: number, c: number) => void;
|
|
3869
|
+
readonly __wbg_set_modelmaterial_waveExaggeration: (a: number, b: number) => void;
|
|
2800
3870
|
readonly __wbg_set_overscaledtilehandle_handle: (a: number, b: bigint) => void;
|
|
3871
|
+
readonly __wbg_set_pointmaterial_anchor: (a: number, b: number, c: number) => void;
|
|
2801
3872
|
readonly __wbg_set_pointmaterial_backfaceCulling: (a: number, b: number) => void;
|
|
2802
3873
|
readonly __wbg_set_pointmaterial_clampToGround: (a: number, b: number) => void;
|
|
2803
3874
|
readonly __wbg_set_pointmaterial_declutter: (a: number, b: number) => void;
|
|
3875
|
+
readonly __wbg_set_pointmaterial_declutterPadding: (a: number, b: number, c: number) => void;
|
|
2804
3876
|
readonly __wbg_set_pointmaterial_depthTest: (a: number, b: number) => void;
|
|
2805
3877
|
readonly __wbg_set_pointmaterial_effectIds: (a: number, b: number, c: number) => void;
|
|
2806
3878
|
readonly __wbg_set_pointmaterial_emissiveColor: (a: number, b: number) => void;
|
|
2807
3879
|
readonly __wbg_set_pointmaterial_geometryTypes: (a: number, b: number, c: number) => void;
|
|
3880
|
+
readonly __wbg_set_pointmaterial_ignorePlacement: (a: number, b: number) => void;
|
|
2808
3881
|
readonly __wbg_set_pointmaterial_offsetDepth: (a: number, b: number) => void;
|
|
3882
|
+
readonly __wbg_set_pointmaterial_overlap: (a: number, b: number, c: number) => void;
|
|
3883
|
+
readonly __wbg_set_pointmaterial_placement: (a: number, b: number, c: number) => void;
|
|
2809
3884
|
readonly __wbg_set_pointmaterial_pointFacing: (a: number, b: number, c: number) => void;
|
|
3885
|
+
readonly __wbg_set_pointmaterial_rotateToLine: (a: number, b: number) => void;
|
|
2810
3886
|
readonly __wbg_set_pointmaterial_rotateWithCamera: (a: number, b: number) => void;
|
|
2811
3887
|
readonly __wbg_set_pointmaterial_show: (a: number, b: number) => void;
|
|
2812
3888
|
readonly __wbg_set_pointmaterial_sizeInMeters: (a: number, b: number) => void;
|
|
3889
|
+
readonly __wbg_set_pointmaterial_translateAnchor: (a: number, b: number, c: number) => void;
|
|
2813
3890
|
readonly __wbg_set_pointmaterial_transparent: (a: number, b: number) => void;
|
|
2814
3891
|
readonly __wbg_set_polygoninternalmaterial_minMaxHeights: (a: number, b: number, c: number) => void;
|
|
2815
3892
|
readonly __wbg_set_polygonmaterial___internal__: (a: number, b: number) => void;
|
|
2816
|
-
readonly __wbg_set_polygonmaterial_applyWaterNormal: (a: number, b: number) => void;
|
|
2817
3893
|
readonly __wbg_set_polygonmaterial_castShadow: (a: number, b: number) => void;
|
|
2818
3894
|
readonly __wbg_set_polygonmaterial_clampToGround: (a: number, b: number) => void;
|
|
3895
|
+
readonly __wbg_set_polygonmaterial_depthPrePass: (a: number, b: number) => void;
|
|
2819
3896
|
readonly __wbg_set_polygonmaterial_effectIds: (a: number, b: number, c: number) => void;
|
|
2820
3897
|
readonly __wbg_set_polygonmaterial_emissiveColor: (a: number, b: number) => void;
|
|
2821
3898
|
readonly __wbg_set_polygonmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
2822
3899
|
readonly __wbg_set_polygonmaterial_extrudedHeight: (a: number, b: number) => void;
|
|
3900
|
+
readonly __wbg_set_polygonmaterial_flowSpeed: (a: number, b: number) => void;
|
|
2823
3901
|
readonly __wbg_set_polygonmaterial_height: (a: number, b: number) => void;
|
|
2824
3902
|
readonly __wbg_set_polygonmaterial_ior: (a: number, b: number) => void;
|
|
2825
3903
|
readonly __wbg_set_polygonmaterial_lit: (a: number, b: number) => void;
|
|
@@ -2832,6 +3910,7 @@ export interface InitOutput {
|
|
|
2832
3910
|
readonly __wbg_set_polygonmaterial_receiveShadow: (a: number, b: number) => void;
|
|
2833
3911
|
readonly __wbg_set_polygonmaterial_reflectivity: (a: number, b: number) => void;
|
|
2834
3912
|
readonly __wbg_set_polygonmaterial_roughness: (a: number, b: number) => void;
|
|
3913
|
+
readonly __wbg_set_polygonmaterial_shadeSidesAsSurface: (a: number, b: number) => void;
|
|
2835
3914
|
readonly __wbg_set_polygonmaterial_shininess: (a: number, b: number) => void;
|
|
2836
3915
|
readonly __wbg_set_polygonmaterial_show: (a: number, b: number) => void;
|
|
2837
3916
|
readonly __wbg_set_polygonmaterial_specular: (a: number, b: number) => void;
|
|
@@ -2840,12 +3919,16 @@ export interface InitOutput {
|
|
|
2840
3919
|
readonly __wbg_set_polygonmaterial_tiled: (a: number, b: number) => void;
|
|
2841
3920
|
readonly __wbg_set_polygonmaterial_transparent: (a: number, b: number) => void;
|
|
2842
3921
|
readonly __wbg_set_polygonmaterial_water: (a: number, b: number) => void;
|
|
2843
|
-
readonly
|
|
2844
|
-
readonly
|
|
3922
|
+
readonly __wbg_set_polygonmaterial_waterScale: (a: number, b: number, c: number) => void;
|
|
3923
|
+
readonly __wbg_set_polygonmaterial_waveDirection: (a: number, b: number) => void;
|
|
3924
|
+
readonly __wbg_set_polygonmaterial_waveExaggeration: (a: number, b: number) => void;
|
|
3925
|
+
readonly __wbg_set_polygonmaterial_waveStrength: (a: number, b: number) => void;
|
|
2845
3926
|
readonly __wbg_set_polygonmaterial_wireframe: (a: number, b: number) => void;
|
|
2846
3927
|
readonly __wbg_set_polylinematerial___internal__: (a: number, b: number) => void;
|
|
3928
|
+
readonly __wbg_set_polylinematerial_cap: (a: number, b: number, c: number) => void;
|
|
2847
3929
|
readonly __wbg_set_polylinematerial_castShadow: (a: number, b: number) => void;
|
|
2848
3930
|
readonly __wbg_set_polylinematerial_clampToGround: (a: number, b: number) => void;
|
|
3931
|
+
readonly __wbg_set_polylinematerial_dashArray: (a: number, b: number, c: number) => void;
|
|
2849
3932
|
readonly __wbg_set_polylinematerial_depthWrite: (a: number, b: number) => void;
|
|
2850
3933
|
readonly __wbg_set_polylinematerial_effectIds: (a: number, b: number, c: number) => void;
|
|
2851
3934
|
readonly __wbg_set_polylinematerial_emissiveColor: (a: number, b: number) => void;
|
|
@@ -2859,65 +3942,91 @@ export interface InitOutput {
|
|
|
2859
3942
|
readonly __wbg_set_rastermaterial_show: (a: number, b: number) => void;
|
|
2860
3943
|
readonly __wbg_set_rastermaterial_showBoundingBox: (a: number, b: number) => void;
|
|
2861
3944
|
readonly __wbg_set_rastertileinternalmaterial_castShadow: (a: number, b: number) => void;
|
|
3945
|
+
readonly __wbg_set_rastertileinternalmaterial_colorMapLayerIds: (a: number, b: number, c: number) => void;
|
|
2862
3946
|
readonly __wbg_set_rastertileinternalmaterial_colors: (a: number, b: number, c: number) => void;
|
|
2863
|
-
readonly
|
|
2864
|
-
readonly
|
|
2865
|
-
readonly
|
|
2866
|
-
readonly
|
|
3947
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationBScalers: (a: number, b: number, c: number) => void;
|
|
3948
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationBoundaries: (a: number, b: number, c: number) => void;
|
|
3949
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationEpsilons: (a: number, b: number, c: number) => void;
|
|
3950
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationGScalers: (a: number, b: number, c: number) => void;
|
|
3951
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationHeatmapFilters: (a: number, b: number, c: number) => void;
|
|
3952
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMaxHeights: (a: number, b: number, c: number) => void;
|
|
3953
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffsets: (a: number, b: number, c: number) => void;
|
|
3954
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMinHeights: (a: number, b: number, c: number) => void;
|
|
3955
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMinOffsets: (a: number, b: number, c: number) => void;
|
|
3956
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationOffsets: (a: number, b: number, c: number) => void;
|
|
3957
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationRScalers: (a: number, b: number, c: number) => void;
|
|
3958
|
+
readonly __wbg_set_rastertileinternalmaterial_flowSpeed: (a: number, b: number) => void;
|
|
2867
3959
|
readonly __wbg_set_rastertileinternalmaterial_hillshadeExaggeration: (a: number, b: number) => void;
|
|
2868
|
-
readonly __wbg_set_rastertileinternalmaterial_hillshadeGScaler: (a: number, b: number) => void;
|
|
2869
|
-
readonly __wbg_set_rastertileinternalmaterial_hillshadeMaxOffset: (a: number, b: number) => void;
|
|
2870
|
-
readonly __wbg_set_rastertileinternalmaterial_hillshadeMinOffset: (a: number, b: number) => void;
|
|
2871
|
-
readonly __wbg_set_rastertileinternalmaterial_hillshadeOffset: (a: number, b: number) => void;
|
|
2872
|
-
readonly __wbg_set_rastertileinternalmaterial_hillshadeRScaler: (a: number, b: number) => void;
|
|
2873
3960
|
readonly __wbg_set_rastertileinternalmaterial_isElevationHeatmaps: (a: number, b: number, c: number) => void;
|
|
2874
3961
|
readonly __wbg_set_rastertileinternalmaterial_isHillshades: (a: number, b: number, c: number) => void;
|
|
2875
3962
|
readonly __wbg_set_rastertileinternalmaterial_layerReproject: (a: number, b: number, c: number) => void;
|
|
2876
3963
|
readonly __wbg_set_rastertileinternalmaterial_lit: (a: number, b: number) => void;
|
|
2877
|
-
readonly
|
|
2878
|
-
readonly
|
|
3964
|
+
readonly __wbg_set_rastertileinternalmaterial_logBoundaries: (a: number, b: number, c: number) => void;
|
|
3965
|
+
readonly __wbg_set_rastertileinternalmaterial_logarithmics: (a: number, b: number, c: number) => void;
|
|
2879
3966
|
readonly __wbg_set_rastertileinternalmaterial_opacities: (a: number, b: number, c: number) => void;
|
|
2880
3967
|
readonly __wbg_set_rastertileinternalmaterial_receiveShadow: (a: number, b: number) => void;
|
|
2881
3968
|
readonly __wbg_set_rastertileinternalmaterial_showBoundingBox: (a: number, b: number) => void;
|
|
2882
3969
|
readonly __wbg_set_rastertileinternalmaterial_shows: (a: number, b: number, c: number) => void;
|
|
2883
3970
|
readonly __wbg_set_rastertileinternalmaterial_terrainLatRange: (a: number, b: number, c: number) => void;
|
|
3971
|
+
readonly __wbg_set_rastertileinternalmaterial_waterMaskColor: (a: number, b: number) => void;
|
|
3972
|
+
readonly __wbg_set_rastertileinternalmaterial_waveDirection: (a: number, b: number) => void;
|
|
3973
|
+
readonly __wbg_set_rastertileinternalmaterial_waveExaggeration: (a: number, b: number) => void;
|
|
3974
|
+
readonly __wbg_set_rastertileinternalmaterial_waveStrength: (a: number, b: number) => void;
|
|
2884
3975
|
readonly __wbg_set_terrainmaterial_castShadow: (a: number, b: number) => void;
|
|
2885
3976
|
readonly __wbg_set_terrainmaterial_lit: (a: number, b: number) => void;
|
|
2886
3977
|
readonly __wbg_set_terrainmaterial_receiveShadow: (a: number, b: number) => void;
|
|
2887
3978
|
readonly __wbg_set_terrainmaterial_show: (a: number, b: number) => void;
|
|
2888
|
-
readonly __wbg_set_terrainmaterial_showBoundingBox: (a: number, b: number) => void;
|
|
2889
3979
|
readonly __wbg_set_terrainmaterial_skirt: (a: number, b: number) => void;
|
|
2890
3980
|
readonly __wbg_set_textmaterial_backfaceCulling: (a: number, b: number) => void;
|
|
2891
3981
|
readonly __wbg_set_textmaterial_backgroundColor: (a: number, b: number) => void;
|
|
2892
3982
|
readonly __wbg_set_textmaterial_borderColor: (a: number, b: number) => void;
|
|
2893
3983
|
readonly __wbg_set_textmaterial_clampToGround: (a: number, b: number) => void;
|
|
2894
3984
|
readonly __wbg_set_textmaterial_declutter: (a: number, b: number) => void;
|
|
3985
|
+
readonly __wbg_set_textmaterial_declutterPadding: (a: number, b: number, c: number) => void;
|
|
2895
3986
|
readonly __wbg_set_textmaterial_declutterPriority: (a: number, b: number) => void;
|
|
3987
|
+
readonly __wbg_set_textmaterial_declutterRank: (a: number, b: number) => void;
|
|
2896
3988
|
readonly __wbg_set_textmaterial_depthTest: (a: number, b: number) => void;
|
|
2897
3989
|
readonly __wbg_set_textmaterial_effectIds: (a: number, b: number, c: number) => void;
|
|
2898
3990
|
readonly __wbg_set_textmaterial_emissiveColor: (a: number, b: number) => void;
|
|
3991
|
+
readonly __wbg_set_textmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
2899
3992
|
readonly __wbg_set_textmaterial_font: (a: number, b: number, c: number) => void;
|
|
2900
3993
|
readonly __wbg_set_textmaterial_geometryTypes: (a: number, b: number, c: number) => void;
|
|
2901
3994
|
readonly __wbg_set_textmaterial_highQuality: (a: number, b: number) => void;
|
|
3995
|
+
readonly __wbg_set_textmaterial_ignorePlacement: (a: number, b: number) => void;
|
|
3996
|
+
readonly __wbg_set_textmaterial_keepUpright: (a: number, b: number) => void;
|
|
2902
3997
|
readonly __wbg_set_textmaterial_lang: (a: number, b: number, c: number) => void;
|
|
3998
|
+
readonly __wbg_set_textmaterial_letterSpacing: (a: number, b: number) => void;
|
|
3999
|
+
readonly __wbg_set_textmaterial_lineHeight: (a: number, b: number) => void;
|
|
4000
|
+
readonly __wbg_set_textmaterial_maxWidth: (a: number, b: number) => void;
|
|
2903
4001
|
readonly __wbg_set_textmaterial_offsetDepth: (a: number, b: number) => void;
|
|
4002
|
+
readonly __wbg_set_textmaterial_opacity: (a: number, b: number) => void;
|
|
4003
|
+
readonly __wbg_set_textmaterial_outlineColor: (a: number, b: number) => void;
|
|
4004
|
+
readonly __wbg_set_textmaterial_outlineOpacity: (a: number, b: number) => void;
|
|
4005
|
+
readonly __wbg_set_textmaterial_overlap: (a: number, b: number, c: number) => void;
|
|
4006
|
+
readonly __wbg_set_textmaterial_placement: (a: number, b: number, c: number) => void;
|
|
2904
4007
|
readonly __wbg_set_textmaterial_rotateWithCamera: (a: number, b: number) => void;
|
|
2905
4008
|
readonly __wbg_set_textmaterial_show: (a: number, b: number) => void;
|
|
2906
4009
|
readonly __wbg_set_textmaterial_sizeInMeters: (a: number, b: number) => void;
|
|
4010
|
+
readonly __wbg_set_textmaterial_spreadGlyphs: (a: number, b: number) => void;
|
|
4011
|
+
readonly __wbg_set_textmaterial_standalone: (a: number, b: number) => void;
|
|
2907
4012
|
readonly __wbg_set_textmaterial_text: (a: number, b: number, c: number) => void;
|
|
2908
4013
|
readonly __wbg_set_textmaterial_textAlign: (a: number, b: number, c: number) => void;
|
|
2909
4014
|
readonly __wbg_set_textmaterial_textFacing: (a: number, b: number, c: number) => void;
|
|
4015
|
+
readonly __wbg_set_textmaterial_translateAnchor: (a: number, b: number, c: number) => void;
|
|
2910
4016
|
readonly __wbg_set_textmaterial_transparent: (a: number, b: number) => void;
|
|
4017
|
+
readonly __wbg_set_textmaterial_variableAnchors: (a: number, b: number, c: number) => void;
|
|
2911
4018
|
readonly __wbg_set_texturefragment_gen: (a: number, b: number) => void;
|
|
2912
4019
|
readonly __wbg_set_tileuvtransform_offset: (a: number, b: number) => void;
|
|
2913
4020
|
readonly __wbg_set_tileuvtransform_scale: (a: number, b: number) => void;
|
|
2914
|
-
readonly __wbg_set_tilexyz_z: (a: number, b: number) => void;
|
|
2915
4021
|
readonly __wbg_set_transferablehierarchy_expected_winding_order: (a: number, b: number) => void;
|
|
2916
4022
|
readonly __wbg_set_transferablepolygonbatchedfeature_crs: (a: number, b: number) => void;
|
|
2917
4023
|
readonly __wbg_set_transferablepolygonbatchedfeature_length: (a: number, b: number) => void;
|
|
2918
4024
|
readonly __wbg_set_transferablepolylinebatchedfeature_crs: (a: number, b: number) => void;
|
|
2919
4025
|
readonly __wbg_set_transferablepolylinebatchedfeature_length: (a: number, b: number) => void;
|
|
4026
|
+
readonly __wbg_set_transform_sz: (a: number, b: number) => void;
|
|
4027
|
+
readonly __wbg_set_variableanchor_anchor: (a: number, b: number, c: number) => void;
|
|
2920
4028
|
readonly __wbg_set_windingorder_0: (a: number, b: number) => void;
|
|
4029
|
+
readonly __wbg_terrainmaterial_free: (a: number, b: number) => void;
|
|
2921
4030
|
readonly __wbg_textmaterial_free: (a: number, b: number) => void;
|
|
2922
4031
|
readonly __wbg_texturefragment_free: (a: number, b: number) => void;
|
|
2923
4032
|
readonly __wbg_tilexyz_free: (a: number, b: number) => void;
|
|
@@ -2929,13 +4038,14 @@ export interface InitOutput {
|
|
|
2929
4038
|
readonly __wbg_transform_free: (a: number, b: number) => void;
|
|
2930
4039
|
readonly __wbg_uintattribute_free: (a: number, b: number) => void;
|
|
2931
4040
|
readonly __wbg_upsamplableterraingeometry_free: (a: number, b: number) => void;
|
|
4041
|
+
readonly __wbg_variableanchor_free: (a: number, b: number) => void;
|
|
2932
4042
|
readonly __wbg_vec2_free: (a: number, b: number) => void;
|
|
2933
4043
|
readonly __wbg_windingorder_free: (a: number, b: number) => void;
|
|
2934
4044
|
readonly aabb_new: (a: number, b: number) => number;
|
|
2935
4045
|
readonly boundingsphere_new: (a: number, b: number, c: number, d: number) => number;
|
|
2936
4046
|
readonly cachedmeshhandle_new: (a: number, b: number, c: number, d: number) => number;
|
|
2937
4047
|
readonly cameracontrolupdateevent_new: () => number;
|
|
2938
|
-
readonly compiledexpression_evaluate: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
4048
|
+
readonly compiledexpression_evaluate: (a: number, b: any, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
|
|
2939
4049
|
readonly compiledexpression_getRequiredProperties: (a: number) => any;
|
|
2940
4050
|
readonly compiledexpression_new: (a: any, b: number, c: number) => [number, number, number];
|
|
2941
4051
|
readonly compiledfilter_new: (a: any) => [number, number, number];
|
|
@@ -2975,27 +4085,29 @@ export interface InitOutput {
|
|
|
2975
4085
|
readonly constructedpolylinegeometry_end_high_size: (a: number) => number;
|
|
2976
4086
|
readonly constructedpolylinegeometry_end_low: (a: number) => any;
|
|
2977
4087
|
readonly constructedpolylinegeometry_end_low_size: (a: number) => number;
|
|
2978
|
-
readonly
|
|
2979
|
-
readonly
|
|
4088
|
+
readonly constructedpolylinegeometry_end_normal_and_segment_length: (a: number) => any;
|
|
4089
|
+
readonly constructedpolylinegeometry_end_normal_and_segment_length_size: (a: number) => number;
|
|
2980
4090
|
readonly constructedpolylinegeometry_extent: (a: number) => number;
|
|
2981
4091
|
readonly constructedpolylinegeometry_forward_offset: (a: number) => any;
|
|
2982
4092
|
readonly constructedpolylinegeometry_forward_offset_size: (a: number) => number;
|
|
2983
4093
|
readonly constructedpolylinegeometry_indices: (a: number) => any;
|
|
4094
|
+
readonly constructedpolylinegeometry_line_distance_and_ends: (a: number) => any;
|
|
4095
|
+
readonly constructedpolylinegeometry_line_segments: (a: number) => any;
|
|
2984
4096
|
readonly constructedpolylinegeometry_position: (a: number) => any;
|
|
2985
4097
|
readonly constructedpolylinegeometry_position_high: (a: number) => any;
|
|
2986
4098
|
readonly constructedpolylinegeometry_position_high_size: (a: number) => number;
|
|
2987
4099
|
readonly constructedpolylinegeometry_position_low: (a: number) => any;
|
|
2988
4100
|
readonly constructedpolylinegeometry_position_low_size: (a: number) => number;
|
|
2989
4101
|
readonly constructedpolylinegeometry_position_size: (a: number) => number;
|
|
2990
|
-
readonly
|
|
2991
|
-
readonly
|
|
4102
|
+
readonly constructedpolylinegeometry_right_normal_and_line_length: (a: number) => any;
|
|
4103
|
+
readonly constructedpolylinegeometry_right_normal_and_line_length_size: (a: number) => number;
|
|
2992
4104
|
readonly constructedpolylinegeometry_start: (a: number) => any;
|
|
2993
4105
|
readonly constructedpolylinegeometry_start_high: (a: number) => any;
|
|
2994
4106
|
readonly constructedpolylinegeometry_start_high_size: (a: number) => number;
|
|
2995
4107
|
readonly constructedpolylinegeometry_start_low: (a: number) => any;
|
|
2996
4108
|
readonly constructedpolylinegeometry_start_low_size: (a: number) => number;
|
|
2997
|
-
readonly
|
|
2998
|
-
readonly
|
|
4109
|
+
readonly constructedpolylinegeometry_start_normal_and_length_high: (a: number) => any;
|
|
4110
|
+
readonly constructedpolylinegeometry_start_normal_and_length_high_size: (a: number) => number;
|
|
2999
4111
|
readonly constructedpolylinegeometry_start_size: (a: number) => number;
|
|
3000
4112
|
readonly elevationdecoder_japanGSI: () => number;
|
|
3001
4113
|
readonly elevationdecoder_mapbox: () => number;
|
|
@@ -3012,13 +4124,14 @@ export interface InitOutput {
|
|
|
3012
4124
|
readonly geometry_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
3013
4125
|
readonly geometry_transferIndices: (a: number) => any;
|
|
3014
4126
|
readonly geometry_transferNormals: (a: number) => any;
|
|
4127
|
+
readonly geometry_transferSkirtHeights: (a: number) => any;
|
|
3015
4128
|
readonly geometry_transferSkirtIndices: (a: number) => any;
|
|
3016
4129
|
readonly geometry_transferSkirtNormals: (a: number) => any;
|
|
3017
4130
|
readonly geometry_transferSkirtUvs: (a: number) => any;
|
|
3018
4131
|
readonly geometry_transferSkirtVertices: (a: number) => any;
|
|
3019
4132
|
readonly geometry_transferUvs: (a: number) => any;
|
|
3020
4133
|
readonly geometry_transferVertices: (a: number) => any;
|
|
3021
|
-
readonly globe_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number
|
|
4134
|
+
readonly globe_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
3022
4135
|
readonly lle_new: (a: number, b: number, c: number) => number;
|
|
3023
4136
|
readonly polygongeometry_batch_id: (a: number) => any;
|
|
3024
4137
|
readonly polygongeometry_batch_id_size: (a: number) => number;
|
|
@@ -3058,26 +4171,28 @@ export interface InitOutput {
|
|
|
3058
4171
|
readonly polylinegeometry_end_high_size: (a: number) => number;
|
|
3059
4172
|
readonly polylinegeometry_end_low: (a: number) => any;
|
|
3060
4173
|
readonly polylinegeometry_end_low_size: (a: number) => number;
|
|
3061
|
-
readonly
|
|
3062
|
-
readonly
|
|
4174
|
+
readonly polylinegeometry_end_normal_and_segment_length: (a: number) => any;
|
|
4175
|
+
readonly polylinegeometry_end_normal_and_segment_length_size: (a: number) => number;
|
|
3063
4176
|
readonly polylinegeometry_forward_offset: (a: number) => any;
|
|
3064
4177
|
readonly polylinegeometry_forward_offset_size: (a: number) => number;
|
|
3065
4178
|
readonly polylinegeometry_indices: (a: number) => any;
|
|
4179
|
+
readonly polylinegeometry_line_distance_and_ends: (a: number) => any;
|
|
4180
|
+
readonly polylinegeometry_line_segments: (a: number) => any;
|
|
3066
4181
|
readonly polylinegeometry_position: (a: number) => any;
|
|
3067
4182
|
readonly polylinegeometry_position_high: (a: number) => any;
|
|
3068
4183
|
readonly polylinegeometry_position_high_size: (a: number) => number;
|
|
3069
4184
|
readonly polylinegeometry_position_low: (a: number) => any;
|
|
3070
4185
|
readonly polylinegeometry_position_low_size: (a: number) => number;
|
|
3071
4186
|
readonly polylinegeometry_position_size: (a: number) => number;
|
|
3072
|
-
readonly
|
|
3073
|
-
readonly
|
|
4187
|
+
readonly polylinegeometry_right_normal_and_line_length: (a: number) => any;
|
|
4188
|
+
readonly polylinegeometry_right_normal_and_line_length_size: (a: number) => number;
|
|
3074
4189
|
readonly polylinegeometry_start: (a: number) => any;
|
|
3075
4190
|
readonly polylinegeometry_start_high: (a: number) => any;
|
|
3076
4191
|
readonly polylinegeometry_start_high_size: (a: number) => number;
|
|
3077
4192
|
readonly polylinegeometry_start_low: (a: number) => any;
|
|
3078
4193
|
readonly polylinegeometry_start_low_size: (a: number) => number;
|
|
3079
|
-
readonly
|
|
3080
|
-
readonly
|
|
4194
|
+
readonly polylinegeometry_start_normal_and_length_high: (a: number) => any;
|
|
4195
|
+
readonly polylinegeometry_start_normal_and_length_high_size: (a: number) => number;
|
|
3081
4196
|
readonly polylinegeometry_start_size: (a: number) => number;
|
|
3082
4197
|
readonly polylinegeometryattributes_transfer_batch_id: (a: number) => any;
|
|
3083
4198
|
readonly polylinegeometryattributes_transfer_batch_id_size: (a: number) => number;
|
|
@@ -3087,25 +4202,27 @@ export interface InitOutput {
|
|
|
3087
4202
|
readonly polylinegeometryattributes_transfer_end_high_size: (a: number) => number;
|
|
3088
4203
|
readonly polylinegeometryattributes_transfer_end_low: (a: number) => any;
|
|
3089
4204
|
readonly polylinegeometryattributes_transfer_end_low_size: (a: number) => number;
|
|
3090
|
-
readonly
|
|
3091
|
-
readonly
|
|
4205
|
+
readonly polylinegeometryattributes_transfer_end_normal_and_segment_length: (a: number) => any;
|
|
4206
|
+
readonly polylinegeometryattributes_transfer_end_normal_and_segment_length_size: (a: number) => number;
|
|
3092
4207
|
readonly polylinegeometryattributes_transfer_forward_offset: (a: number) => any;
|
|
3093
4208
|
readonly polylinegeometryattributes_transfer_forward_offset_size: (a: number) => number;
|
|
4209
|
+
readonly polylinegeometryattributes_transfer_line_distance_and_ends: (a: number) => any;
|
|
4210
|
+
readonly polylinegeometryattributes_transfer_line_segments: (a: number) => any;
|
|
3094
4211
|
readonly polylinegeometryattributes_transfer_position: (a: number) => any;
|
|
3095
4212
|
readonly polylinegeometryattributes_transfer_position_high: (a: number) => any;
|
|
3096
4213
|
readonly polylinegeometryattributes_transfer_position_high_size: (a: number) => number;
|
|
3097
4214
|
readonly polylinegeometryattributes_transfer_position_low: (a: number) => any;
|
|
3098
4215
|
readonly polylinegeometryattributes_transfer_position_low_size: (a: number) => number;
|
|
3099
4216
|
readonly polylinegeometryattributes_transfer_position_size: (a: number) => number;
|
|
3100
|
-
readonly
|
|
3101
|
-
readonly
|
|
4217
|
+
readonly polylinegeometryattributes_transfer_right_normal_and_line_length: (a: number) => any;
|
|
4218
|
+
readonly polylinegeometryattributes_transfer_right_normal_and_line_length_size: (a: number) => number;
|
|
3102
4219
|
readonly polylinegeometryattributes_transfer_start: (a: number) => any;
|
|
3103
4220
|
readonly polylinegeometryattributes_transfer_start_high: (a: number) => any;
|
|
3104
4221
|
readonly polylinegeometryattributes_transfer_start_high_size: (a: number) => number;
|
|
3105
4222
|
readonly polylinegeometryattributes_transfer_start_low: (a: number) => any;
|
|
3106
4223
|
readonly polylinegeometryattributes_transfer_start_low_size: (a: number) => number;
|
|
3107
|
-
readonly
|
|
3108
|
-
readonly
|
|
4224
|
+
readonly polylinegeometryattributes_transfer_start_normal_and_length_high: (a: number) => any;
|
|
4225
|
+
readonly polylinegeometryattributes_transfer_start_normal_and_length_high_size: (a: number) => number;
|
|
3109
4226
|
readonly polylinegeometryattributes_transfer_start_size: (a: number) => number;
|
|
3110
4227
|
readonly polylinematerial_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
3111
4228
|
readonly rastertileinternalmaterial_layerUvTransforms: (a: number) => [number, number];
|
|
@@ -3118,6 +4235,7 @@ export interface InitOutput {
|
|
|
3118
4235
|
readonly returnedconstructedterrainmesh_transferHeights: (a: number) => any;
|
|
3119
4236
|
readonly returnedconstructedterrainmesh_transferIndices: (a: number) => any;
|
|
3120
4237
|
readonly returnedconstructedterrainmesh_transferNormals: (a: number) => any;
|
|
4238
|
+
readonly returnedconstructedterrainmesh_transferSkirtHeights: (a: number) => any;
|
|
3121
4239
|
readonly returnedconstructedterrainmesh_transferSkirtIndices: (a: number) => any;
|
|
3122
4240
|
readonly returnedconstructedterrainmesh_transferSkirtNormals: (a: number) => any;
|
|
3123
4241
|
readonly returnedconstructedterrainmesh_transferSkirtUvs: (a: number) => any;
|
|
@@ -3125,6 +4243,8 @@ export interface InitOutput {
|
|
|
3125
4243
|
readonly returnedconstructedterrainmesh_transferUvs: (a: number) => any;
|
|
3126
4244
|
readonly returnedconstructedterrainmesh_transferVertices: (a: number) => any;
|
|
3127
4245
|
readonly returnedconstructedterrainmesh_transferWatermask: (a: number) => any;
|
|
4246
|
+
readonly terrainmaterial_set_waterMaskColor: (a: number, b: number) => void;
|
|
4247
|
+
readonly terrainmaterial_waterMaskColor: (a: number) => number;
|
|
3128
4248
|
readonly tilexyz_new: (a: number, b: number, c: number) => number;
|
|
3129
4249
|
readonly transferableparsedmvtresult_f32_stream: (a: number) => any;
|
|
3130
4250
|
readonly transferableparsedmvtresult_f64_stream: (a: number) => any;
|
|
@@ -3166,227 +4286,278 @@ export interface InitOutput {
|
|
|
3166
4286
|
readonly uintattribute_transferData: (a: number) => any;
|
|
3167
4287
|
readonly upsamplableterraingeometry_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
3168
4288
|
readonly vec2_new: (a: number, b: number) => number;
|
|
3169
|
-
readonly __wbg_set_camerafrustum_near: (a: number, b: number) => void;
|
|
3170
|
-
readonly __wbg_set_cameraorientation_heading: (a: number, b: number) => void;
|
|
3171
|
-
readonly __wbg_set_elevationdecoder_r_scaler: (a: number, b: number) => void;
|
|
3172
|
-
readonly __wbg_set_lle_lat: (a: number, b: number) => void;
|
|
3173
|
-
readonly __wbg_set_nearfar_near: (a: number, b: number) => void;
|
|
3174
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationMinHeight: (a: number, b: number) => void;
|
|
3175
|
-
readonly __wbg_set_texturefragment_ind: (a: number, b: number) => void;
|
|
3176
|
-
readonly __wbg_set_tilexyz_x: (a: number, b: number) => void;
|
|
3177
|
-
readonly __wbg_set_transform_tx: (a: number, b: number) => void;
|
|
3178
|
-
readonly __wbg_set_vec2_x: (a: number, b: number) => void;
|
|
3179
|
-
readonly __wbg_set_vec3_x: (a: number, b: number) => void;
|
|
3180
|
-
readonly __wbg_set_window_width: (a: number, b: number) => void;
|
|
3181
|
-
readonly __wbg_set_cameracontrolupdateevent_spinDuration: (a: number, b: number) => void;
|
|
3182
|
-
readonly __wbg_set_cameracontrolupdateevent_translateDuration: (a: number, b: number) => void;
|
|
3183
|
-
readonly __wbg_set_cameracontrolupdateevent_zoomDuration: (a: number, b: number) => void;
|
|
3184
|
-
readonly __wbg_set_modelmaterial_reflectivity: (a: number, b: number) => void;
|
|
3185
|
-
readonly __wbg_set_modelmaterial_roughness: (a: number, b: number) => void;
|
|
3186
|
-
readonly __wbg_set_modelmaterial_shininess: (a: number, b: number) => void;
|
|
3187
|
-
readonly __wbg_set_modelmaterial_specularStrength: (a: number, b: number) => void;
|
|
3188
|
-
readonly __wbg_set_modelmaterial_waterScaleNormal: (a: number, b: number) => void;
|
|
3189
|
-
readonly __wbg_set_modelmaterial_waterSpeed: (a: number, b: number) => void;
|
|
3190
|
-
readonly __wbg_set_pointmaterial_declutterPriority: (a: number, b: number) => void;
|
|
3191
|
-
readonly __wbg_set_pointmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
3192
|
-
readonly __wbg_set_pointmaterial_height: (a: number, b: number) => void;
|
|
3193
|
-
readonly __wbg_set_pointmaterial_opacity: (a: number, b: number) => void;
|
|
3194
|
-
readonly __wbg_set_pointmaterial_rotation: (a: number, b: number) => void;
|
|
3195
|
-
readonly __wbg_set_pointmaterial_size: (a: number, b: number) => void;
|
|
3196
|
-
readonly __wbg_set_polylinematerial_emissiveIntensity: (a: number, b: number) => void;
|
|
3197
|
-
readonly __wbg_set_polylinematerial_height: (a: number, b: number) => void;
|
|
3198
|
-
readonly __wbg_set_polylinematerial_maxWidth: (a: number, b: number) => void;
|
|
3199
|
-
readonly __wbg_set_polylinematerial_width: (a: number, b: number) => void;
|
|
3200
|
-
readonly __wbg_set_rastermaterial_opacity: (a: number, b: number) => void;
|
|
3201
|
-
readonly __wbg_set_textmaterial_borderWidth: (a: number, b: number) => void;
|
|
3202
|
-
readonly __wbg_set_textmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
3203
|
-
readonly __wbg_set_textmaterial_height: (a: number, b: number) => void;
|
|
3204
|
-
readonly __wbg_set_textmaterial_lineHeight: (a: number, b: number) => void;
|
|
3205
|
-
readonly __wbg_set_textmaterial_maxWidth: (a: number, b: number) => void;
|
|
3206
|
-
readonly __wbg_set_textmaterial_opacity: (a: number, b: number) => void;
|
|
3207
|
-
readonly __wbg_set_textmaterial_outlineOpacity: (a: number, b: number) => void;
|
|
3208
|
-
readonly __wbg_set_textmaterial_outlineWidth: (a: number, b: number) => void;
|
|
3209
|
-
readonly __wbg_set_textmaterial_rotation: (a: number, b: number) => void;
|
|
3210
|
-
readonly __wbg_set_textmaterial_size: (a: number, b: number) => void;
|
|
3211
4289
|
readonly camerafrustum_new: (a: number, b: number, c: number, d: number) => number;
|
|
3212
|
-
readonly
|
|
3213
|
-
readonly __wbg_get_textmaterial_outlineColor: (a: number) => number;
|
|
3214
|
-
readonly __wbg_get_textmaterial_color: (a: number) => number;
|
|
3215
|
-
readonly __wbg_get_pointmaterial_color: (a: number) => number;
|
|
3216
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationMinOffset: (a: number) => number;
|
|
3217
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationEpsilon: (a: number) => number;
|
|
3218
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationMaxOffset: (a: number) => number;
|
|
3219
|
-
readonly __wbg_get_tilexyz_x: (a: number) => number;
|
|
3220
|
-
readonly __wbg_get_vec2_y: (a: number) => number;
|
|
3221
|
-
readonly __wbg_get_vec3_z: (a: number) => number;
|
|
3222
|
-
readonly __wbg_get_vec3_y: (a: number) => number;
|
|
3223
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationGScaler: (a: number) => number;
|
|
3224
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationRScaler: (a: number) => number;
|
|
3225
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationMaxHeight: (a: number) => number;
|
|
3226
|
-
readonly __wbg_get_plane_distance: (a: number) => number;
|
|
3227
|
-
readonly __wbg_get_cameraorientation_roll: (a: number) => number;
|
|
3228
|
-
readonly __wbg_get_cameraorientation_pitch: (a: number) => number;
|
|
3229
|
-
readonly __wbg_get_texturefragment_ind: (a: number) => number;
|
|
3230
|
-
readonly __wbg_get_elevationheatmapmaterial_logBoundary: (a: number) => [number, number];
|
|
3231
|
-
readonly __wbg_get_elevationheatmapmaterial_minHeight: (a: number) => [number, number];
|
|
3232
|
-
readonly __wbg_get_transform_tz: (a: number) => number;
|
|
3233
|
-
readonly __wbg_get_transform_ty: (a: number) => number;
|
|
3234
|
-
readonly __wbg_get_transform_sz: (a: number) => number;
|
|
3235
|
-
readonly __wbg_get_transform_sy: (a: number) => number;
|
|
3236
|
-
readonly __wbg_get_transform_sx: (a: number) => number;
|
|
3237
|
-
readonly __wbg_get_transform_qz: (a: number) => number;
|
|
3238
|
-
readonly __wbg_get_transform_qy: (a: number) => number;
|
|
3239
|
-
readonly __wbg_get_transform_qx: (a: number) => number;
|
|
3240
|
-
readonly __wbg_get_transform_qw: (a: number) => number;
|
|
3241
|
-
readonly __wbg_get_lle_lng: (a: number) => number;
|
|
3242
|
-
readonly __wbg_get_lle_height: (a: number) => number;
|
|
3243
|
-
readonly __wbg_get_camerafrustum_aspect_ratio: (a: number) => number;
|
|
3244
|
-
readonly __wbg_get_camerafrustum_fov: (a: number) => number;
|
|
3245
|
-
readonly __wbg_get_camerafrustum_far: (a: number) => number;
|
|
3246
|
-
readonly __wbg_get_nearfar_far: (a: number) => number;
|
|
3247
|
-
readonly __wbg_get_globe_maxSse: (a: number) => number;
|
|
3248
|
-
readonly __wbg_get_window_pixelRatio: (a: number) => number;
|
|
3249
|
-
readonly __wbg_get_window_height: (a: number) => number;
|
|
3250
|
-
readonly __wbg_get_elevationdecoder_offset: (a: number) => number;
|
|
3251
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationBoundary: (a: number) => number;
|
|
3252
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationBScaler: (a: number) => number;
|
|
3253
|
-
readonly __wbg_get_elevationdecoder_g_scaler: (a: number) => number;
|
|
3254
|
-
readonly __wbg_get_ellipsoidgeodesic_start_heading: (a: number) => number;
|
|
3255
|
-
readonly __wbg_get_ellipsoidgeodesic_distance: (a: number) => number;
|
|
3256
|
-
readonly __wbg_get_elevationdecoder_b_scaler: (a: number) => number;
|
|
3257
|
-
readonly __wbg_get_returnedconstructedterrainmesh_min_height: (a: number) => number;
|
|
3258
|
-
readonly __wbg_get_returnedconstructedterrainmesh_max_height: (a: number) => number;
|
|
4290
|
+
readonly vec3_new: (a: number, b: number, c: number) => number;
|
|
3259
4291
|
readonly window_new: (a: number, b: number, c: number) => number;
|
|
3260
4292
|
readonly encodedvec3_new: (a: number, b: number) => number;
|
|
3261
|
-
readonly
|
|
3262
|
-
readonly
|
|
3263
|
-
readonly
|
|
3264
|
-
readonly __wbg_set_textmaterial_center: (a: number, b: number) => void;
|
|
3265
|
-
readonly __wbg_set_polylinematerial_color: (a: number, b: number) => void;
|
|
3266
|
-
readonly __wbg_set_pointmaterial_center: (a: number, b: number) => void;
|
|
3267
|
-
readonly __wbg_set_terrainmaterial_skirtExaggeration: (a: number, b: number) => void;
|
|
3268
|
-
readonly __wbg_set_polylineinternalmaterial_minMaxHeights: (a: number, b: number, c: number) => void;
|
|
3269
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationMinOffset: (a: number, b: number) => void;
|
|
3270
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationEpsilon: (a: number, b: number) => void;
|
|
3271
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffset: (a: number, b: number) => void;
|
|
3272
|
-
readonly __wbg_set_ray_origin: (a: number, b: number) => void;
|
|
3273
|
-
readonly __wbg_set_ray_direction: (a: number, b: number) => void;
|
|
3274
|
-
readonly __wbg_set_modelinternalmaterial_pointCloudGeodeticNormal: (a: number, b: number) => void;
|
|
3275
|
-
readonly __wbg_set_tilexyz_y: (a: number, b: number) => void;
|
|
3276
|
-
readonly __wbg_set_vec2_y: (a: number, b: number) => void;
|
|
3277
|
-
readonly __wbg_set_vec3_z: (a: number, b: number) => void;
|
|
3278
|
-
readonly __wbg_set_vec3_y: (a: number, b: number) => void;
|
|
3279
|
-
readonly __wbg_set_polygonmaterial_color: (a: number, b: number) => void;
|
|
3280
|
-
readonly __wbg_set_plane_normal: (a: number, b: number) => void;
|
|
3281
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationGScaler: (a: number, b: number) => void;
|
|
3282
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationRScaler: (a: number, b: number) => void;
|
|
3283
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationMaxHeight: (a: number, b: number) => void;
|
|
3284
|
-
readonly __wbg_set_plane_distance: (a: number, b: number) => void;
|
|
3285
|
-
readonly __wbg_set_cameraorientation_roll: (a: number, b: number) => void;
|
|
3286
|
-
readonly __wbg_set_cameraorientation_pitch: (a: number, b: number) => void;
|
|
3287
|
-
readonly __wbg_set_elevationheatmapmaterial_logBoundary: (a: number, b: number, c: number) => void;
|
|
3288
|
-
readonly __wbg_set_elevationheatmapmaterial_maxHeight: (a: number, b: number, c: number) => void;
|
|
3289
|
-
readonly __wbg_set_elevationheatmapmaterial_minHeight: (a: number, b: number, c: number) => void;
|
|
3290
|
-
readonly __wbg_set_transform_tz: (a: number, b: number) => void;
|
|
3291
|
-
readonly __wbg_set_transform_ty: (a: number, b: number) => void;
|
|
3292
|
-
readonly __wbg_set_transform_sz: (a: number, b: number) => void;
|
|
3293
|
-
readonly __wbg_set_transform_sy: (a: number, b: number) => void;
|
|
3294
|
-
readonly __wbg_set_transform_sx: (a: number, b: number) => void;
|
|
3295
|
-
readonly __wbg_set_transform_qz: (a: number, b: number) => void;
|
|
3296
|
-
readonly __wbg_set_transform_qy: (a: number, b: number) => void;
|
|
3297
|
-
readonly __wbg_set_transform_qx: (a: number, b: number) => void;
|
|
3298
|
-
readonly __wbg_set_transform_qw: (a: number, b: number) => void;
|
|
3299
|
-
readonly __wbg_set_lle_lng: (a: number, b: number) => void;
|
|
3300
|
-
readonly __wbg_set_lle_height: (a: number, b: number) => void;
|
|
4293
|
+
readonly ray_new: (a: number, b: number) => number;
|
|
4294
|
+
readonly __wbg_get_tilexyz_y: (a: number) => number;
|
|
4295
|
+
readonly __wbg_get_tilexyz_z: (a: number) => number;
|
|
3301
4296
|
readonly __wbg_set_camerafrustum_aspect_ratio: (a: number, b: number) => void;
|
|
3302
|
-
readonly __wbg_set_camerafrustum_fov: (a: number, b: number) => void;
|
|
3303
4297
|
readonly __wbg_set_camerafrustum_far: (a: number, b: number) => void;
|
|
3304
|
-
readonly
|
|
3305
|
-
readonly
|
|
3306
|
-
readonly
|
|
3307
|
-
readonly
|
|
3308
|
-
readonly __wbg_set_window_pixelRatio: (a: number, b: number) => void;
|
|
3309
|
-
readonly __wbg_set_window_height: (a: number, b: number) => void;
|
|
3310
|
-
readonly __wbg_set_elevationdecoder_offset: (a: number, b: number) => void;
|
|
3311
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationBoundary: (a: number, b: number) => void;
|
|
3312
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationBScaler: (a: number, b: number) => void;
|
|
4298
|
+
readonly __wbg_set_camerafrustum_fov: (a: number, b: number) => void;
|
|
4299
|
+
readonly __wbg_set_cameraorientation_pitch: (a: number, b: number) => void;
|
|
4300
|
+
readonly __wbg_set_cameraorientation_roll: (a: number, b: number) => void;
|
|
4301
|
+
readonly __wbg_set_elevationdecoder_b_scaler: (a: number, b: number) => void;
|
|
3313
4302
|
readonly __wbg_set_elevationdecoder_g_scaler: (a: number, b: number) => void;
|
|
3314
|
-
readonly
|
|
4303
|
+
readonly __wbg_set_elevationdecoder_offset: (a: number, b: number) => void;
|
|
3315
4304
|
readonly __wbg_set_ellipsoidgeodesic_distance: (a: number, b: number) => void;
|
|
3316
|
-
readonly
|
|
3317
|
-
readonly
|
|
4305
|
+
readonly __wbg_set_ellipsoidgeodesic_start_heading: (a: number, b: number) => void;
|
|
4306
|
+
readonly __wbg_set_globe_opacity: (a: number, b: number) => void;
|
|
4307
|
+
readonly __wbg_set_globe_segments: (a: number, b: number) => void;
|
|
4308
|
+
readonly __wbg_set_lle_height: (a: number, b: number) => void;
|
|
4309
|
+
readonly __wbg_set_lle_lng: (a: number, b: number) => void;
|
|
4310
|
+
readonly __wbg_set_nearfar_far: (a: number, b: number) => void;
|
|
4311
|
+
readonly __wbg_set_plane_distance: (a: number, b: number) => void;
|
|
4312
|
+
readonly __wbg_set_rastertileinternalmaterial_hillshadeBScaler: (a: number, b: number) => void;
|
|
4313
|
+
readonly __wbg_set_rastertileinternalmaterial_hillshadeBoundary: (a: number, b: number) => void;
|
|
4314
|
+
readonly __wbg_set_rastertileinternalmaterial_hillshadeEpsilon: (a: number, b: number) => void;
|
|
4315
|
+
readonly __wbg_set_rastertileinternalmaterial_hillshadeGScaler: (a: number, b: number) => void;
|
|
4316
|
+
readonly __wbg_set_rastertileinternalmaterial_hillshadeMaxOffset: (a: number, b: number) => void;
|
|
4317
|
+
readonly __wbg_set_rastertileinternalmaterial_hillshadeMinOffset: (a: number, b: number) => void;
|
|
4318
|
+
readonly __wbg_set_rastertileinternalmaterial_hillshadeOffset: (a: number, b: number) => void;
|
|
4319
|
+
readonly __wbg_set_rastertileinternalmaterial_hillshadeRScaler: (a: number, b: number) => void;
|
|
3318
4320
|
readonly __wbg_set_returnedconstructedterrainmesh_max_height: (a: number, b: number) => void;
|
|
4321
|
+
readonly __wbg_set_returnedconstructedterrainmesh_min_height: (a: number, b: number) => void;
|
|
4322
|
+
readonly __wbg_set_tilexyz_y: (a: number, b: number) => void;
|
|
4323
|
+
readonly __wbg_set_tilexyz_z: (a: number, b: number) => void;
|
|
4324
|
+
readonly __wbg_set_transform_qw: (a: number, b: number) => void;
|
|
4325
|
+
readonly __wbg_set_transform_qx: (a: number, b: number) => void;
|
|
4326
|
+
readonly __wbg_set_transform_qy: (a: number, b: number) => void;
|
|
4327
|
+
readonly __wbg_set_transform_qz: (a: number, b: number) => void;
|
|
4328
|
+
readonly __wbg_set_transform_sx: (a: number, b: number) => void;
|
|
4329
|
+
readonly __wbg_set_transform_sy: (a: number, b: number) => void;
|
|
4330
|
+
readonly __wbg_set_transform_ty: (a: number, b: number) => void;
|
|
4331
|
+
readonly __wbg_set_transform_tz: (a: number, b: number) => void;
|
|
4332
|
+
readonly __wbg_set_vec2_y: (a: number, b: number) => void;
|
|
4333
|
+
readonly __wbg_set_vec3_y: (a: number, b: number) => void;
|
|
4334
|
+
readonly __wbg_set_vec3_z: (a: number, b: number) => void;
|
|
4335
|
+
readonly __wbg_set_window_height: (a: number, b: number) => void;
|
|
4336
|
+
readonly __wbg_set_window_pixelRatio: (a: number, b: number) => void;
|
|
4337
|
+
readonly __wbg_get_texturefragment_ind: (a: number) => number;
|
|
4338
|
+
readonly __wbg_get_tilexyz_x: (a: number) => number;
|
|
3319
4339
|
readonly __wbg_set_uintattribute_size: (a: number, b: number) => void;
|
|
3320
|
-
readonly
|
|
3321
|
-
readonly
|
|
4340
|
+
readonly __wbg_get_ellipsoidgeodesic_end: (a: number) => number;
|
|
4341
|
+
readonly __wbg_get_encodedvec3_low: (a: number) => number;
|
|
4342
|
+
readonly __wbg_get_pointmaterial_translate: (a: number) => number;
|
|
4343
|
+
readonly __wbg_get_ray_direction: (a: number) => number;
|
|
4344
|
+
readonly __wbg_get_textmaterial_translate: (a: number) => number;
|
|
4345
|
+
readonly __wbg_set_textmaterial_translate: (a: number, b: number) => void;
|
|
4346
|
+
readonly __wbg_set_pointmaterial_translate: (a: number, b: number) => void;
|
|
4347
|
+
readonly __wbg_set_polylineinternalmaterial_minMaxHeights: (a: number, b: number, c: number) => void;
|
|
4348
|
+
readonly __wbg_set_ray_direction: (a: number, b: number) => void;
|
|
4349
|
+
readonly __wbg_set_encodedvec3_low: (a: number, b: number) => void;
|
|
4350
|
+
readonly __wbg_get_textmaterial_anchor: (a: number) => [number, number];
|
|
4351
|
+
readonly __wbg_get_textmaterial_color: (a: number) => number;
|
|
4352
|
+
readonly __wbg_get_pointmaterial_color: (a: number) => number;
|
|
4353
|
+
readonly __wbg_get_terrainmaterial_exaggerationRelativeHeight: (a: number) => [number, number];
|
|
4354
|
+
readonly __wbg_get_elevationheatmapmaterial_logBoundary: (a: number) => [number, number];
|
|
4355
|
+
readonly __wbg_get_elevationheatmapmaterial_minHeight: (a: number) => [number, number];
|
|
4356
|
+
readonly __wbg_get_uintattribute_size: (a: number) => number;
|
|
4357
|
+
readonly __wbg_set_textmaterial_rotation: (a: number, b: number) => void;
|
|
4358
|
+
readonly __wbg_set_textmaterial_spacing: (a: number, b: number) => void;
|
|
4359
|
+
readonly __wbg_set_textmaterial_height: (a: number, b: number) => void;
|
|
4360
|
+
readonly __wbg_set_textmaterial_lineOffset: (a: number, b: number) => void;
|
|
4361
|
+
readonly __wbg_set_textmaterial_size: (a: number, b: number) => void;
|
|
4362
|
+
readonly __wbg_set_textmaterial_borderWidth: (a: number, b: number) => void;
|
|
4363
|
+
readonly __wbg_set_textmaterial_outlineWidth: (a: number, b: number) => void;
|
|
4364
|
+
readonly __wbg_set_textmaterial_maxAngle: (a: number, b: number) => void;
|
|
4365
|
+
readonly __wbg_set_textmaterial_outlineBlur: (a: number, b: number) => void;
|
|
3322
4366
|
readonly __wbg_get_textmaterial_rotation: (a: number) => number;
|
|
4367
|
+
readonly __wbg_get_textmaterial_spacing: (a: number) => number;
|
|
3323
4368
|
readonly __wbg_get_textmaterial_height: (a: number) => number;
|
|
3324
|
-
readonly
|
|
3325
|
-
readonly
|
|
3326
|
-
readonly
|
|
3327
|
-
readonly __wbg_get_textmaterial_lineHeight: (a: number) => number;
|
|
3328
|
-
readonly __wbg_get_textmaterial_maxWidth: (a: number) => number;
|
|
4369
|
+
readonly __wbg_get_textmaterial_lineOffset: (a: number) => number;
|
|
4370
|
+
readonly __wbg_get_textmaterial_size: (a: number) => number;
|
|
4371
|
+
readonly __wbg_get_textmaterial_borderWidth: (a: number) => number;
|
|
3329
4372
|
readonly __wbg_get_textmaterial_outlineWidth: (a: number) => number;
|
|
3330
|
-
readonly
|
|
4373
|
+
readonly __wbg_get_textmaterial_maxAngle: (a: number) => number;
|
|
4374
|
+
readonly __wbg_get_textmaterial_outlineBlur: (a: number) => number;
|
|
4375
|
+
readonly __wbg_set_pointmaterial_spacing: (a: number, b: number) => void;
|
|
4376
|
+
readonly __wbg_set_pointmaterial_size: (a: number, b: number) => void;
|
|
4377
|
+
readonly __wbg_set_pointmaterial_rotation: (a: number, b: number) => void;
|
|
4378
|
+
readonly __wbg_set_pointmaterial_opacity: (a: number, b: number) => void;
|
|
4379
|
+
readonly __wbg_set_textmaterial_offset: (a: number, b: number) => void;
|
|
4380
|
+
readonly __wbg_set_pointmaterial_height: (a: number, b: number) => void;
|
|
4381
|
+
readonly __wbg_set_pointmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
4382
|
+
readonly __wbg_set_pointmaterial_declutterRank: (a: number, b: number) => void;
|
|
4383
|
+
readonly __wbg_set_pointmaterial_declutterPriority: (a: number, b: number) => void;
|
|
3331
4384
|
readonly __wbg_set_textmaterial_color: (a: number, b: number) => void;
|
|
3332
|
-
readonly
|
|
4385
|
+
readonly __wbg_get_pointmaterial_spacing: (a: number) => number;
|
|
4386
|
+
readonly __wbg_get_pointmaterial_size: (a: number) => number;
|
|
3333
4387
|
readonly __wbg_get_pointmaterial_rotation: (a: number) => number;
|
|
3334
4388
|
readonly __wbg_get_pointmaterial_opacity: (a: number) => number;
|
|
4389
|
+
readonly __wbg_get_textmaterial_offset: (a: number) => number;
|
|
3335
4390
|
readonly __wbg_get_pointmaterial_height: (a: number) => number;
|
|
3336
4391
|
readonly __wbg_get_pointmaterial_emissiveIntensity: (a: number) => number;
|
|
4392
|
+
readonly __wbg_get_pointmaterial_declutterRank: (a: number) => number;
|
|
3337
4393
|
readonly __wbg_get_pointmaterial_declutterPriority: (a: number) => number;
|
|
3338
|
-
readonly
|
|
4394
|
+
readonly __wbg_set_variableanchor_offset: (a: number, b: number) => void;
|
|
4395
|
+
readonly __wbg_get_variableanchor_offset: (a: number) => number;
|
|
4396
|
+
readonly __wbg_set_rastermaterial_opacity: (a: number, b: number) => void;
|
|
3339
4397
|
readonly __wbg_set_rastermaterial_color: (a: number, b: number) => void;
|
|
3340
4398
|
readonly __wbg_get_rastermaterial_opacity: (a: number) => number;
|
|
3341
4399
|
readonly __wbg_get_rastermaterial_color: (a: number) => number;
|
|
4400
|
+
readonly __wbg_set_terrainmaterial_waveStrength: (a: number, b: number) => void;
|
|
4401
|
+
readonly __wbg_set_terrainmaterial_waveExaggeration: (a: number, b: number) => void;
|
|
4402
|
+
readonly __wbg_set_terrainmaterial_waveDirection: (a: number, b: number) => void;
|
|
4403
|
+
readonly __wbg_set_terrainmaterial_skirtExaggeration: (a: number, b: number) => void;
|
|
4404
|
+
readonly __wbg_set_terrainmaterial_flowSpeed: (a: number, b: number) => void;
|
|
4405
|
+
readonly __wbg_get_terrainmaterial_waveStrength: (a: number) => number;
|
|
4406
|
+
readonly __wbg_get_terrainmaterial_waveExaggeration: (a: number) => number;
|
|
4407
|
+
readonly __wbg_get_terrainmaterial_waveDirection: (a: number) => number;
|
|
4408
|
+
readonly __wbg_get_terrainmaterial_skirtExaggeration: (a: number) => number;
|
|
4409
|
+
readonly __wbg_get_terrainmaterial_flowSpeed: (a: number) => number;
|
|
4410
|
+
readonly __wbg_set_polylinematerial_width: (a: number, b: number) => void;
|
|
4411
|
+
readonly __wbg_set_polylinematerial_maxWidth: (a: number, b: number) => void;
|
|
4412
|
+
readonly __wbg_set_polylinematerial_height: (a: number, b: number) => void;
|
|
4413
|
+
readonly __wbg_set_polylinematerial_emissiveIntensity: (a: number, b: number) => void;
|
|
4414
|
+
readonly __wbg_set_polylinematerial_color: (a: number, b: number) => void;
|
|
3342
4415
|
readonly __wbg_get_polylinematerial_width: (a: number) => number;
|
|
3343
4416
|
readonly __wbg_get_polylinematerial_maxWidth: (a: number) => number;
|
|
3344
4417
|
readonly __wbg_get_polylinematerial_height: (a: number) => number;
|
|
3345
4418
|
readonly __wbg_get_polylinematerial_emissiveIntensity: (a: number) => number;
|
|
3346
4419
|
readonly __wbg_get_polylinematerial_color: (a: number) => number;
|
|
4420
|
+
readonly __wbg_set_modelmaterial_water: (a: number, b: number) => void;
|
|
4421
|
+
readonly __wbg_set_modelmaterial_normals: (a: number, b: number) => void;
|
|
4422
|
+
readonly __wbg_set_modelmaterial_waveDirection: (a: number, b: number) => void;
|
|
4423
|
+
readonly __wbg_set_modelmaterial_show: (a: number, b: number) => void;
|
|
4424
|
+
readonly __wbg_set_modelmaterial_reflectivity: (a: number, b: number) => void;
|
|
4425
|
+
readonly __wbg_set_modelmaterial_waveStrength: (a: number, b: number) => void;
|
|
4426
|
+
readonly __wbg_set_modelmaterial_shininess: (a: number, b: number) => void;
|
|
4427
|
+
readonly __wbg_set_modelmaterial_shouldRotateInDefault: (a: number, b: number) => void;
|
|
4428
|
+
readonly __wbg_set_pointmaterial_offset: (a: number, b: number) => void;
|
|
4429
|
+
readonly __wbg_set_modelmaterial_showBoundingBox: (a: number, b: number) => void;
|
|
4430
|
+
readonly __wbg_set_modelmaterial_flowSpeed: (a: number, b: number) => void;
|
|
4431
|
+
readonly __wbg_set_modelmaterial_pointSize: (a: number, b: number) => void;
|
|
4432
|
+
readonly __wbg_set_modelmaterial_receiveShadow: (a: number, b: number) => void;
|
|
4433
|
+
readonly __wbg_set_modelmaterial_ior: (a: number, b: number) => void;
|
|
4434
|
+
readonly __wbg_set_modelmaterial_animationSpeed: (a: number, b: number) => void;
|
|
4435
|
+
readonly __wbg_set_modelmaterial_specular: (a: number, b: number) => void;
|
|
3347
4436
|
readonly __wbg_set_pointmaterial_color: (a: number, b: number) => void;
|
|
3348
|
-
readonly
|
|
3349
|
-
readonly
|
|
3350
|
-
readonly
|
|
4437
|
+
readonly __wbg_set_modelmaterial_castShadow: (a: number, b: number) => void;
|
|
4438
|
+
readonly __wbg_set_modelmaterial_lit: (a: number, b: number) => void;
|
|
4439
|
+
readonly __wbg_set_modelmaterial_specularStrength: (a: number, b: number) => void;
|
|
4440
|
+
readonly __wbg_get_modelmaterial_water: (a: number) => number;
|
|
4441
|
+
readonly __wbg_get_modelmaterial_normals: (a: number) => number;
|
|
4442
|
+
readonly __wbg_get_modelmaterial_waveDirection: (a: number) => number;
|
|
4443
|
+
readonly __wbg_get_modelmaterial_show: (a: number) => number;
|
|
3351
4444
|
readonly __wbg_get_modelmaterial_reflectivity: (a: number) => number;
|
|
3352
|
-
readonly
|
|
4445
|
+
readonly __wbg_get_modelmaterial_waveStrength: (a: number) => number;
|
|
3353
4446
|
readonly __wbg_get_modelmaterial_shininess: (a: number) => number;
|
|
3354
|
-
readonly
|
|
3355
|
-
readonly
|
|
4447
|
+
readonly __wbg_get_modelmaterial_shouldRotateInDefault: (a: number) => number;
|
|
4448
|
+
readonly __wbg_get_pointmaterial_offset: (a: number) => number;
|
|
4449
|
+
readonly __wbg_get_modelmaterial_showBoundingBox: (a: number) => number;
|
|
4450
|
+
readonly __wbg_get_modelmaterial_flowSpeed: (a: number) => number;
|
|
4451
|
+
readonly __wbg_get_modelmaterial_pointSize: (a: number) => number;
|
|
4452
|
+
readonly __wbg_get_modelmaterial_receiveShadow: (a: number) => number;
|
|
4453
|
+
readonly __wbg_get_modelmaterial_ior: (a: number) => number;
|
|
4454
|
+
readonly __wbg_get_modelmaterial_animationSpeed: (a: number) => number;
|
|
4455
|
+
readonly __wbg_get_modelmaterial_specular: (a: number) => number;
|
|
4456
|
+
readonly __wbg_get_modelmaterial_castShadow: (a: number) => number;
|
|
4457
|
+
readonly __wbg_get_modelmaterial_lit: (a: number) => number;
|
|
4458
|
+
readonly __wbg_get_modelmaterial_specularStrength: (a: number) => number;
|
|
4459
|
+
readonly __wbg_polylineinternalmaterial_free: (a: number, b: number) => void;
|
|
4460
|
+
readonly __wbg_set_terrainmaterial_exaggerationRelativeHeight: (a: number, b: number, c: number) => void;
|
|
4461
|
+
readonly __wbg_set_terrainmaterial_exaggeration: (a: number, b: number, c: number) => void;
|
|
4462
|
+
readonly __wbg_set_terrainmaterial_showBoundingBox: (a: number, b: number) => void;
|
|
4463
|
+
readonly __wbg_get_terrainmaterial_exaggeration: (a: number) => [number, number];
|
|
4464
|
+
readonly __wbg_get_terrainmaterial_showBoundingBox: (a: number) => number;
|
|
3356
4465
|
readonly __wbg_get_polylineinternalmaterial_minMaxHeights: (a: number) => [number, number];
|
|
4466
|
+
readonly __wbg_get_rastertileinternalmaterial_hillshadeMinOffset: (a: number) => number;
|
|
3357
4467
|
readonly __wbg_get_modelinternalmaterial_pointCloudGeodeticNormal: (a: number) => number;
|
|
4468
|
+
readonly __wbg_get_rastertileinternalmaterial_hillshadeOffset: (a: number) => number;
|
|
4469
|
+
readonly __wbg_get_rastertileinternalmaterial_hillshadeMaxOffset: (a: number) => number;
|
|
4470
|
+
readonly __wbg_set_ray_origin: (a: number, b: number) => void;
|
|
3358
4471
|
readonly __wbg_get_ray_origin: (a: number) => number;
|
|
3359
|
-
readonly
|
|
3360
|
-
readonly
|
|
4472
|
+
readonly __wbg_set_modelinternalmaterial_pointCloudGeodeticNormal: (a: number, b: number) => void;
|
|
4473
|
+
readonly __wbg_get_encodedvec3_high: (a: number) => number;
|
|
4474
|
+
readonly __wbg_set_tilexyz_x: (a: number, b: number) => void;
|
|
4475
|
+
readonly __wbg_get_vec2_y: (a: number) => number;
|
|
4476
|
+
readonly __wbg_set_vec3_x: (a: number, b: number) => void;
|
|
4477
|
+
readonly __wbg_get_vec3_z: (a: number) => number;
|
|
4478
|
+
readonly __wbg_get_vec3_y: (a: number) => number;
|
|
3361
4479
|
readonly __wbg_get_vec3_x: (a: number) => number;
|
|
4480
|
+
readonly __wbg_set_polygonmaterial_color: (a: number, b: number) => void;
|
|
4481
|
+
readonly __wbg_get_polygonmaterial_color: (a: number) => number;
|
|
4482
|
+
readonly __wbg_set_nearfar_near: (a: number, b: number) => void;
|
|
4483
|
+
readonly __wbg_get_nearfar_far: (a: number) => number;
|
|
4484
|
+
readonly __wbg_get_nearfar_near: (a: number) => number;
|
|
4485
|
+
readonly __wbg_set_plane_normal: (a: number, b: number) => void;
|
|
3362
4486
|
readonly __wbg_get_plane_normal: (a: number) => number;
|
|
3363
|
-
readonly
|
|
4487
|
+
readonly __wbg_get_rastertileinternalmaterial_hillshadeBScaler: (a: number) => number;
|
|
4488
|
+
readonly __wbg_set_vec2_x: (a: number, b: number) => void;
|
|
4489
|
+
readonly __wbg_get_vec2_x: (a: number) => number;
|
|
4490
|
+
readonly __wbg_get_rastertileinternalmaterial_hillshadeGScaler: (a: number) => number;
|
|
4491
|
+
readonly __wbg_get_rastertileinternalmaterial_hillshadeRScaler: (a: number) => number;
|
|
4492
|
+
readonly __wbg_get_plane_distance: (a: number) => number;
|
|
3364
4493
|
readonly __wbg_plane_free: (a: number, b: number) => void;
|
|
4494
|
+
readonly __wbg_set_cameraorientation_heading: (a: number, b: number) => void;
|
|
4495
|
+
readonly __wbg_get_cameraorientation_roll: (a: number) => number;
|
|
4496
|
+
readonly __wbg_get_cameraorientation_pitch: (a: number) => number;
|
|
3365
4497
|
readonly __wbg_get_cameraorientation_heading: (a: number) => number;
|
|
4498
|
+
readonly __wbg_set_texturefragment_ind: (a: number, b: number) => void;
|
|
4499
|
+
readonly __wbg_set_cameracontrolupdateevent_zoomDuration: (a: number, b: number) => void;
|
|
4500
|
+
readonly __wbg_set_cameracontrolupdateevent_translateDuration: (a: number, b: number) => void;
|
|
4501
|
+
readonly __wbg_set_elevationheatmapmaterial_logBoundary: (a: number, b: number, c: number) => void;
|
|
4502
|
+
readonly __wbg_set_cameracontrolupdateevent_spinDuration: (a: number, b: number) => void;
|
|
4503
|
+
readonly __wbg_set_elevationheatmapmaterial_maxHeight: (a: number, b: number, c: number) => void;
|
|
4504
|
+
readonly __wbg_set_elevationheatmapmaterial_minHeight: (a: number, b: number, c: number) => void;
|
|
3366
4505
|
readonly __wbg_get_cameracontrolupdateevent_zoomDuration: (a: number) => number;
|
|
3367
4506
|
readonly __wbg_get_cameracontrolupdateevent_translateDuration: (a: number) => number;
|
|
3368
4507
|
readonly __wbg_get_cameracontrolupdateevent_spinDuration: (a: number) => number;
|
|
3369
4508
|
readonly __wbg_get_elevationheatmapmaterial_maxHeight: (a: number) => [number, number];
|
|
4509
|
+
readonly __wbg_set_transform_tx: (a: number, b: number) => void;
|
|
4510
|
+
readonly __wbg_get_transform_tz: (a: number) => number;
|
|
4511
|
+
readonly __wbg_get_transform_ty: (a: number) => number;
|
|
3370
4512
|
readonly __wbg_get_transform_tx: (a: number) => number;
|
|
4513
|
+
readonly __wbg_get_transform_sy: (a: number) => number;
|
|
4514
|
+
readonly __wbg_get_transform_sx: (a: number) => number;
|
|
4515
|
+
readonly __wbg_get_transform_qz: (a: number) => number;
|
|
4516
|
+
readonly __wbg_get_transform_qy: (a: number) => number;
|
|
4517
|
+
readonly __wbg_get_transform_qx: (a: number) => number;
|
|
4518
|
+
readonly __wbg_get_transform_qw: (a: number) => number;
|
|
4519
|
+
readonly __wbg_set_lle_lat: (a: number, b: number) => void;
|
|
3371
4520
|
readonly __wbg_lle_free: (a: number, b: number) => void;
|
|
4521
|
+
readonly __wbg_get_lle_lng: (a: number) => number;
|
|
3372
4522
|
readonly __wbg_get_lle_lat: (a: number) => number;
|
|
4523
|
+
readonly __wbg_get_lle_height: (a: number) => number;
|
|
4524
|
+
readonly __wbg_set_camerafrustum_near: (a: number, b: number) => void;
|
|
4525
|
+
readonly __wbg_get_camerafrustum_aspect_ratio: (a: number) => number;
|
|
4526
|
+
readonly __wbg_get_camerafrustum_fov: (a: number) => number;
|
|
4527
|
+
readonly __wbg_get_camerafrustum_far: (a: number) => number;
|
|
3373
4528
|
readonly __wbg_get_camerafrustum_near: (a: number) => number;
|
|
3374
4529
|
readonly __wbg_camerafrustum_free: (a: number, b: number) => void;
|
|
3375
|
-
readonly
|
|
3376
|
-
readonly
|
|
4530
|
+
readonly __wbg_set_globe_maxSse: (a: number, b: number) => void;
|
|
4531
|
+
readonly __wbg_get_globe_maxSse: (a: number) => number;
|
|
4532
|
+
readonly __wbg_get_globe_segments: (a: number) => number;
|
|
4533
|
+
readonly __wbg_get_globe_opacity: (a: number) => number;
|
|
4534
|
+
readonly __wbg_set_ellipsoidgeodesic_start: (a: number, b: number) => void;
|
|
4535
|
+
readonly __wbg_get_ellipsoidgeodesic_start: (a: number) => number;
|
|
3377
4536
|
readonly __wbg_encodedvec3_free: (a: number, b: number) => void;
|
|
3378
4537
|
readonly __wbg_window_free: (a: number, b: number) => void;
|
|
4538
|
+
readonly __wbg_set_window_width: (a: number, b: number) => void;
|
|
3379
4539
|
readonly __wbg_get_window_width: (a: number) => number;
|
|
4540
|
+
readonly __wbg_get_window_pixelRatio: (a: number) => number;
|
|
4541
|
+
readonly __wbg_get_window_height: (a: number) => number;
|
|
4542
|
+
readonly __wbg_set_elevationdecoder_r_scaler: (a: number, b: number) => void;
|
|
3380
4543
|
readonly __wbg_get_elevationdecoder_r_scaler: (a: number) => number;
|
|
3381
|
-
readonly
|
|
3382
|
-
readonly
|
|
3383
|
-
readonly
|
|
3384
|
-
readonly
|
|
4544
|
+
readonly __wbg_get_elevationdecoder_offset: (a: number) => number;
|
|
4545
|
+
readonly __wbg_get_rastertileinternalmaterial_hillshadeEpsilon: (a: number) => number;
|
|
4546
|
+
readonly __wbg_get_rastertileinternalmaterial_hillshadeBoundary: (a: number) => number;
|
|
4547
|
+
readonly __wbg_get_elevationdecoder_g_scaler: (a: number) => number;
|
|
4548
|
+
readonly __wbg_get_ellipsoidgeodesic_start_heading: (a: number) => number;
|
|
4549
|
+
readonly __wbg_get_ellipsoidgeodesic_distance: (a: number) => number;
|
|
4550
|
+
readonly __wbg_get_elevationdecoder_b_scaler: (a: number) => number;
|
|
4551
|
+
readonly __wbg_get_returnedconstructedterrainmesh_min_height: (a: number) => number;
|
|
4552
|
+
readonly __wbg_get_returnedconstructedterrainmesh_max_height: (a: number) => number;
|
|
4553
|
+
readonly __wbg_set_returnedconstructedterrainmesh_rtc_translation: (a: number, b: number) => void;
|
|
4554
|
+
readonly __wbg_get_returnedconstructedterrainmesh_rtc_translation: (a: number) => number;
|
|
4555
|
+
readonly __wbg_set_textmaterial_anchor: (a: number, b: number, c: number) => void;
|
|
4556
|
+
readonly __wbg_compiledfilter_free: (a: number, b: number) => void;
|
|
3385
4557
|
readonly __wbg_tileuvtransform_free: (a: number, b: number) => void;
|
|
3386
4558
|
readonly __wbg_vec3_free: (a: number, b: number) => void;
|
|
4559
|
+
readonly __wbg_set_encodedvec3_high: (a: number, b: number) => void;
|
|
3387
4560
|
readonly __wbg_set_ellipsoidgeodesic_end: (a: number, b: number) => void;
|
|
3388
|
-
readonly __wbg_set_ellipsoidgeodesic_start: (a: number, b: number) => void;
|
|
3389
|
-
readonly __wbg_compiledfilter_free: (a: number, b: number) => void;
|
|
3390
4561
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
3391
4562
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
3392
4563
|
readonly __wbindgen_exn_store: (a: number) => void;
|