@navaramap/engine 0.0.5 → 0.0.6

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.js CHANGED
@@ -64,91 +64,6 @@ export class Aabb {
64
64
  }
65
65
  if (Symbol.dispose) Aabb.prototype[Symbol.dispose] = Aabb.prototype.free;
66
66
 
67
- export class B3dmLayerDescription {
68
- __destroy_into_raw() {
69
- const ptr = this.__wbg_ptr;
70
- this.__wbg_ptr = 0;
71
- B3dmLayerDescriptionFinalization.unregister(this);
72
- return ptr;
73
- }
74
- free() {
75
- const ptr = this.__destroy_into_raw();
76
- wasm.__wbg_b3dmlayerdescription_free(ptr, 0);
77
- }
78
- /**
79
- * @returns {string | undefined}
80
- */
81
- get crs() {
82
- const ret = wasm.__wbg_get_b3dmlayerdescription_crs(this.__wbg_ptr);
83
- let v1;
84
- if (ret[0] !== 0) {
85
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
86
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
87
- }
88
- return v1;
89
- }
90
- /**
91
- * @returns {any}
92
- */
93
- get data() {
94
- const ret = wasm.__wbg_get_b3dmlayerdescription_data(this.__wbg_ptr);
95
- return ret;
96
- }
97
- /**
98
- * @returns {ModelMaterial | undefined}
99
- */
100
- get model() {
101
- const ret = wasm.__wbg_get_b3dmlayerdescription_model(this.__wbg_ptr);
102
- return ret === 0 ? undefined : ModelMaterial.__wrap(ret);
103
- }
104
- /**
105
- * @returns {string | undefined}
106
- */
107
- get type() {
108
- const ret = wasm.__wbg_get_b3dmlayerdescription_type(this.__wbg_ptr);
109
- let v1;
110
- if (ret[0] !== 0) {
111
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
112
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
113
- }
114
- return v1;
115
- }
116
- /**
117
- * @param {string | null} [arg0]
118
- */
119
- set crs(arg0) {
120
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
121
- var len0 = WASM_VECTOR_LEN;
122
- wasm.__wbg_set_b3dmlayerdescription_crs(this.__wbg_ptr, ptr0, len0);
123
- }
124
- /**
125
- * @param {any} arg0
126
- */
127
- set data(arg0) {
128
- wasm.__wbg_set_b3dmlayerdescription_data(this.__wbg_ptr, arg0);
129
- }
130
- /**
131
- * @param {ModelMaterial | null} [arg0]
132
- */
133
- set model(arg0) {
134
- let ptr0 = 0;
135
- if (!isLikeNone(arg0)) {
136
- _assertClass(arg0, ModelMaterial);
137
- ptr0 = arg0.__destroy_into_raw();
138
- }
139
- wasm.__wbg_set_b3dmlayerdescription_model(this.__wbg_ptr, ptr0);
140
- }
141
- /**
142
- * @param {string | null} [arg0]
143
- */
144
- set type(arg0) {
145
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
146
- var len0 = WASM_VECTOR_LEN;
147
- wasm.__wbg_set_b3dmlayerdescription_type(this.__wbg_ptr, ptr0, len0);
148
- }
149
- }
150
- if (Symbol.dispose) B3dmLayerDescription.prototype[Symbol.dispose] = B3dmLayerDescription.prototype.free;
151
-
152
67
  export class BatchPropResult {
153
68
  static __wrap(ptr) {
154
69
  const obj = Object.create(BatchPropResult.prototype);
@@ -1248,91 +1163,6 @@ export const CameraStatusType = Object.freeze({
1248
1163
  MoveEnd: 5, "5": "MoveEnd",
1249
1164
  });
1250
1165
 
1251
- export class Cesium3dTilesLayerDescription {
1252
- __destroy_into_raw() {
1253
- const ptr = this.__wbg_ptr;
1254
- this.__wbg_ptr = 0;
1255
- Cesium3dTilesLayerDescriptionFinalization.unregister(this);
1256
- return ptr;
1257
- }
1258
- free() {
1259
- const ptr = this.__destroy_into_raw();
1260
- wasm.__wbg_cesium3dtileslayerdescription_free(ptr, 0);
1261
- }
1262
- /**
1263
- * @returns {string | undefined}
1264
- */
1265
- get crs() {
1266
- const ret = wasm.__wbg_get_cesium3dtileslayerdescription_crs(this.__wbg_ptr);
1267
- let v1;
1268
- if (ret[0] !== 0) {
1269
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
1270
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
1271
- }
1272
- return v1;
1273
- }
1274
- /**
1275
- * @returns {any}
1276
- */
1277
- get data() {
1278
- const ret = wasm.__wbg_get_cesium3dtileslayerdescription_data(this.__wbg_ptr);
1279
- return ret;
1280
- }
1281
- /**
1282
- * @returns {ModelMaterial | undefined}
1283
- */
1284
- get model() {
1285
- const ret = wasm.__wbg_get_cesium3dtileslayerdescription_model(this.__wbg_ptr);
1286
- return ret === 0 ? undefined : ModelMaterial.__wrap(ret);
1287
- }
1288
- /**
1289
- * @returns {string | undefined}
1290
- */
1291
- get type() {
1292
- const ret = wasm.__wbg_get_cesium3dtileslayerdescription_type(this.__wbg_ptr);
1293
- let v1;
1294
- if (ret[0] !== 0) {
1295
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
1296
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
1297
- }
1298
- return v1;
1299
- }
1300
- /**
1301
- * @param {string | null} [arg0]
1302
- */
1303
- set crs(arg0) {
1304
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1305
- var len0 = WASM_VECTOR_LEN;
1306
- wasm.__wbg_set_cesium3dtileslayerdescription_crs(this.__wbg_ptr, ptr0, len0);
1307
- }
1308
- /**
1309
- * @param {any} arg0
1310
- */
1311
- set data(arg0) {
1312
- wasm.__wbg_set_cesium3dtileslayerdescription_data(this.__wbg_ptr, arg0);
1313
- }
1314
- /**
1315
- * @param {ModelMaterial | null} [arg0]
1316
- */
1317
- set model(arg0) {
1318
- let ptr0 = 0;
1319
- if (!isLikeNone(arg0)) {
1320
- _assertClass(arg0, ModelMaterial);
1321
- ptr0 = arg0.__destroy_into_raw();
1322
- }
1323
- wasm.__wbg_set_cesium3dtileslayerdescription_model(this.__wbg_ptr, ptr0);
1324
- }
1325
- /**
1326
- * @param {string | null} [arg0]
1327
- */
1328
- set type(arg0) {
1329
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1330
- var len0 = WASM_VECTOR_LEN;
1331
- wasm.__wbg_set_cesium3dtileslayerdescription_type(this.__wbg_ptr, ptr0, len0);
1332
- }
1333
- }
1334
- if (Symbol.dispose) Cesium3dTilesLayerDescription.prototype[Symbol.dispose] = Cesium3dTilesLayerDescription.prototype.free;
1335
-
1336
1166
  export class CompiledExpression {
1337
1167
  __destroy_into_raw() {
1338
1168
  const ptr = this.__wbg_ptr;
@@ -4922,38 +4752,22 @@ export class FloatAttribute {
4922
4752
  }
4923
4753
  if (Symbol.dispose) FloatAttribute.prototype[Symbol.dispose] = FloatAttribute.prototype.free;
4924
4754
 
4925
- /**
4926
- * GeoJSON layer description for configuring feature rendering.
4927
- *
4928
- * **Note**: Model appearance is intentionally not supported for GeoJSON layers.
4929
- * The batched feature pipeline requires per-batch coordinate transforms (model matrices)
4930
- * and animation support, which are incompatible with the current GeoJSON batching approach.
4931
- * For 3D model rendering at geographic coordinates, use a mesh description (e.g. `GLTFModelDesc`)
4932
- * instead.
4933
- */
4934
- export class GeoJsonLayerDescription {
4755
+ export class GeoJsonSourceDescription {
4935
4756
  __destroy_into_raw() {
4936
4757
  const ptr = this.__wbg_ptr;
4937
4758
  this.__wbg_ptr = 0;
4938
- GeoJsonLayerDescriptionFinalization.unregister(this);
4759
+ GeoJsonSourceDescriptionFinalization.unregister(this);
4939
4760
  return ptr;
4940
4761
  }
4941
4762
  free() {
4942
4763
  const ptr = this.__destroy_into_raw();
4943
- wasm.__wbg_geojsonlayerdescription_free(ptr, 0);
4944
- }
4945
- /**
4946
- * @returns {BillboardMaterial | undefined}
4947
- */
4948
- get billboard() {
4949
- const ret = wasm.__wbg_get_geojsonlayerdescription_billboard(this.__wbg_ptr);
4950
- return ret === 0 ? undefined : BillboardMaterial.__wrap(ret);
4764
+ wasm.__wbg_geojsonsourcedescription_free(ptr, 0);
4951
4765
  }
4952
4766
  /**
4953
4767
  * @returns {string | undefined}
4954
4768
  */
4955
4769
  get crs() {
4956
- const ret = wasm.__wbg_get_geojsonlayerdescription_crs(this.__wbg_ptr);
4770
+ const ret = wasm.__wbg_get_geojsonsourcedescription_crs(this.__wbg_ptr);
4957
4771
  let v1;
4958
4772
  if (ret[0] !== 0) {
4959
4773
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -4962,55 +4776,27 @@ export class GeoJsonLayerDescription {
4962
4776
  return v1;
4963
4777
  }
4964
4778
  /**
4779
+ * Inline GeoJSON document (`FeatureCollection` / `Feature` / `Geometry`).
4780
+ * Used when `url` is not given.
4965
4781
  * @returns {any}
4966
4782
  */
4967
4783
  get data() {
4968
- const ret = wasm.__wbg_get_geojsonlayerdescription_data(this.__wbg_ptr);
4784
+ const ret = wasm.__wbg_get_geojsonsourcedescription_data(this.__wbg_ptr);
4969
4785
  return ret;
4970
4786
  }
4971
4787
  /**
4972
- * Per-layer horizon dynamic-SSE relaxation strength for the tiled render
4973
- * path (`0.0` off … `1.0` raster-equivalent). Omit for a content-based
4974
- * default.
4975
- * @returns {number | undefined}
4976
- */
4977
- get dynamicSseScale() {
4978
- const ret = wasm.__wbg_get_geojsonlayerdescription_dynamicSseScale(this.__wbg_ptr);
4979
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4980
- }
4981
- /**
4982
- * @returns {PointMaterial | undefined}
4983
- */
4984
- get point() {
4985
- const ret = wasm.__wbg_get_geojsonlayerdescription_point(this.__wbg_ptr);
4986
- return ret === 0 ? undefined : PointMaterial.__wrap(ret);
4987
- }
4988
- /**
4989
- * @returns {PolygonMaterial | undefined}
4990
- */
4991
- get polygon() {
4992
- const ret = wasm.__wbg_get_geojsonlayerdescription_polygon(this.__wbg_ptr);
4993
- return ret === 0 ? undefined : PolygonMaterial.__wrap(ret);
4994
- }
4995
- /**
4996
- * @returns {PolylineMaterial | undefined}
4997
- */
4998
- get polyline() {
4999
- const ret = wasm.__wbg_get_geojsonlayerdescription_polyline(this.__wbg_ptr);
5000
- return ret === 0 ? undefined : PolylineMaterial.__wrap(ret);
5001
- }
5002
- /**
5003
- * @returns {TextMaterial | undefined}
4788
+ * Whether to build a tiled spatial index (GeoJSON-VT) for large datasets.
4789
+ * @returns {boolean | undefined}
5004
4790
  */
5005
- get text() {
5006
- const ret = wasm.__wbg_get_geojsonlayerdescription_text(this.__wbg_ptr);
5007
- return ret === 0 ? undefined : TextMaterial.__wrap(ret);
4791
+ get tiled() {
4792
+ const ret = wasm.__wbg_get_geojsonsourcedescription_tiled(this.__wbg_ptr);
4793
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
5008
4794
  }
5009
4795
  /**
5010
4796
  * @returns {string | undefined}
5011
4797
  */
5012
4798
  get type() {
5013
- const ret = wasm.__wbg_get_geojsonlayerdescription_type(this.__wbg_ptr);
4799
+ const ret = wasm.__wbg_get_geojsonsourcedescription_type(this.__wbg_ptr);
5014
4800
  let v1;
5015
4801
  if (ret[0] !== 0) {
5016
4802
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -5019,15 +4805,18 @@ export class GeoJsonLayerDescription {
5019
4805
  return v1;
5020
4806
  }
5021
4807
  /**
5022
- * @param {BillboardMaterial | null} [arg0]
4808
+ * URL to fetch the GeoJSON document from. Mutually exclusive with `data`;
4809
+ * like the other sources, the URL is given directly at the top level.
4810
+ * @returns {string | undefined}
5023
4811
  */
5024
- set billboard(arg0) {
5025
- let ptr0 = 0;
5026
- if (!isLikeNone(arg0)) {
5027
- _assertClass(arg0, BillboardMaterial);
5028
- ptr0 = arg0.__destroy_into_raw();
4812
+ get url() {
4813
+ const ret = wasm.__wbg_get_geojsonsourcedescription_url(this.__wbg_ptr);
4814
+ let v1;
4815
+ if (ret[0] !== 0) {
4816
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
4817
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5029
4818
  }
5030
- wasm.__wbg_set_geojsonlayerdescription_billboard(this.__wbg_ptr, ptr0);
4819
+ return v1;
5031
4820
  }
5032
4821
  /**
5033
4822
  * @param {string | null} [arg0]
@@ -5035,184 +4824,40 @@ export class GeoJsonLayerDescription {
5035
4824
  set crs(arg0) {
5036
4825
  var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5037
4826
  var len0 = WASM_VECTOR_LEN;
5038
- wasm.__wbg_set_geojsonlayerdescription_crs(this.__wbg_ptr, ptr0, len0);
4827
+ wasm.__wbg_set_geojsonsourcedescription_crs(this.__wbg_ptr, ptr0, len0);
5039
4828
  }
5040
4829
  /**
4830
+ * Inline GeoJSON document (`FeatureCollection` / `Feature` / `Geometry`).
4831
+ * Used when `url` is not given.
5041
4832
  * @param {any} arg0
5042
4833
  */
5043
4834
  set data(arg0) {
5044
- wasm.__wbg_set_geojsonlayerdescription_data(this.__wbg_ptr, arg0);
4835
+ wasm.__wbg_set_geojsonsourcedescription_data(this.__wbg_ptr, arg0);
5045
4836
  }
5046
4837
  /**
5047
- * Per-layer horizon dynamic-SSE relaxation strength for the tiled render
5048
- * path (`0.0` off … `1.0` raster-equivalent). Omit for a content-based
5049
- * default.
5050
- * @param {number | null} [arg0]
4838
+ * Whether to build a tiled spatial index (GeoJSON-VT) for large datasets.
4839
+ * @param {boolean | null} [arg0]
5051
4840
  */
5052
- set dynamicSseScale(arg0) {
5053
- wasm.__wbg_set_geojsonlayerdescription_dynamicSseScale(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4841
+ set tiled(arg0) {
4842
+ wasm.__wbg_set_geojsonsourcedescription_tiled(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
5054
4843
  }
5055
4844
  /**
5056
- * @param {PointMaterial | null} [arg0]
4845
+ * @param {string | null} [arg0]
5057
4846
  */
5058
- set point(arg0) {
5059
- let ptr0 = 0;
5060
- if (!isLikeNone(arg0)) {
5061
- _assertClass(arg0, PointMaterial);
5062
- ptr0 = arg0.__destroy_into_raw();
5063
- }
5064
- wasm.__wbg_set_geojsonlayerdescription_point(this.__wbg_ptr, ptr0);
4847
+ set type(arg0) {
4848
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4849
+ var len0 = WASM_VECTOR_LEN;
4850
+ wasm.__wbg_set_geojsonsourcedescription_type(this.__wbg_ptr, ptr0, len0);
5065
4851
  }
5066
4852
  /**
5067
- * @param {PolygonMaterial | null} [arg0]
4853
+ * URL to fetch the GeoJSON document from. Mutually exclusive with `data`;
4854
+ * like the other sources, the URL is given directly at the top level.
4855
+ * @param {string | null} [arg0]
5068
4856
  */
5069
- set polygon(arg0) {
5070
- let ptr0 = 0;
5071
- if (!isLikeNone(arg0)) {
5072
- _assertClass(arg0, PolygonMaterial);
5073
- ptr0 = arg0.__destroy_into_raw();
5074
- }
5075
- wasm.__wbg_set_geojsonlayerdescription_polygon(this.__wbg_ptr, ptr0);
5076
- }
5077
- /**
5078
- * @param {PolylineMaterial | null} [arg0]
5079
- */
5080
- set polyline(arg0) {
5081
- let ptr0 = 0;
5082
- if (!isLikeNone(arg0)) {
5083
- _assertClass(arg0, PolylineMaterial);
5084
- ptr0 = arg0.__destroy_into_raw();
5085
- }
5086
- wasm.__wbg_set_geojsonlayerdescription_polyline(this.__wbg_ptr, ptr0);
5087
- }
5088
- /**
5089
- * @param {TextMaterial | null} [arg0]
5090
- */
5091
- set text(arg0) {
5092
- let ptr0 = 0;
5093
- if (!isLikeNone(arg0)) {
5094
- _assertClass(arg0, TextMaterial);
5095
- ptr0 = arg0.__destroy_into_raw();
5096
- }
5097
- wasm.__wbg_set_geojsonlayerdescription_text(this.__wbg_ptr, ptr0);
5098
- }
5099
- /**
5100
- * @param {string | null} [arg0]
5101
- */
5102
- set type(arg0) {
5103
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5104
- var len0 = WASM_VECTOR_LEN;
5105
- wasm.__wbg_set_geojsonlayerdescription_type(this.__wbg_ptr, ptr0, len0);
5106
- }
5107
- }
5108
- if (Symbol.dispose) GeoJsonLayerDescription.prototype[Symbol.dispose] = GeoJsonLayerDescription.prototype.free;
5109
-
5110
- export class GeoJsonSourceDescription {
5111
- __destroy_into_raw() {
5112
- const ptr = this.__wbg_ptr;
5113
- this.__wbg_ptr = 0;
5114
- GeoJsonSourceDescriptionFinalization.unregister(this);
5115
- return ptr;
5116
- }
5117
- free() {
5118
- const ptr = this.__destroy_into_raw();
5119
- wasm.__wbg_geojsonsourcedescription_free(ptr, 0);
5120
- }
5121
- /**
5122
- * @returns {string | undefined}
5123
- */
5124
- get crs() {
5125
- const ret = wasm.__wbg_get_geojsonsourcedescription_crs(this.__wbg_ptr);
5126
- let v1;
5127
- if (ret[0] !== 0) {
5128
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
5129
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5130
- }
5131
- return v1;
5132
- }
5133
- /**
5134
- * Inline GeoJSON document (`FeatureCollection` / `Feature` / `Geometry`).
5135
- * Used when `url` is not given.
5136
- * @returns {any}
5137
- */
5138
- get data() {
5139
- const ret = wasm.__wbg_get_geojsonsourcedescription_data(this.__wbg_ptr);
5140
- return ret;
5141
- }
5142
- /**
5143
- * Whether to build a tiled spatial index (GeoJSON-VT) for large datasets.
5144
- * @returns {boolean | undefined}
5145
- */
5146
- get tiled() {
5147
- const ret = wasm.__wbg_get_geojsonsourcedescription_tiled(this.__wbg_ptr);
5148
- return ret === 0xFFFFFF ? undefined : ret !== 0;
5149
- }
5150
- /**
5151
- * @returns {string | undefined}
5152
- */
5153
- get type() {
5154
- const ret = wasm.__wbg_get_geojsonsourcedescription_type(this.__wbg_ptr);
5155
- let v1;
5156
- if (ret[0] !== 0) {
5157
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
5158
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5159
- }
5160
- return v1;
5161
- }
5162
- /**
5163
- * URL to fetch the GeoJSON document from. Mutually exclusive with `data`;
5164
- * like the other sources, the URL is given directly at the top level.
5165
- * @returns {string | undefined}
5166
- */
5167
- get url() {
5168
- const ret = wasm.__wbg_get_geojsonsourcedescription_url(this.__wbg_ptr);
5169
- let v1;
5170
- if (ret[0] !== 0) {
5171
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
5172
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5173
- }
5174
- return v1;
5175
- }
5176
- /**
5177
- * @param {string | null} [arg0]
5178
- */
5179
- set crs(arg0) {
5180
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5181
- var len0 = WASM_VECTOR_LEN;
5182
- wasm.__wbg_set_geojsonsourcedescription_crs(this.__wbg_ptr, ptr0, len0);
5183
- }
5184
- /**
5185
- * Inline GeoJSON document (`FeatureCollection` / `Feature` / `Geometry`).
5186
- * Used when `url` is not given.
5187
- * @param {any} arg0
5188
- */
5189
- set data(arg0) {
5190
- wasm.__wbg_set_geojsonsourcedescription_data(this.__wbg_ptr, arg0);
5191
- }
5192
- /**
5193
- * Whether to build a tiled spatial index (GeoJSON-VT) for large datasets.
5194
- * @param {boolean | null} [arg0]
5195
- */
5196
- set tiled(arg0) {
5197
- wasm.__wbg_set_geojsonsourcedescription_tiled(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
5198
- }
5199
- /**
5200
- * @param {string | null} [arg0]
5201
- */
5202
- set type(arg0) {
5203
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5204
- var len0 = WASM_VECTOR_LEN;
5205
- wasm.__wbg_set_geojsonsourcedescription_type(this.__wbg_ptr, ptr0, len0);
5206
- }
5207
- /**
5208
- * URL to fetch the GeoJSON document from. Mutually exclusive with `data`;
5209
- * like the other sources, the URL is given directly at the top level.
5210
- * @param {string | null} [arg0]
5211
- */
5212
- set url(arg0) {
5213
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5214
- var len0 = WASM_VECTOR_LEN;
5215
- wasm.__wbg_set_geojsonsourcedescription_url(this.__wbg_ptr, ptr0, len0);
4857
+ set url(arg0) {
4858
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4859
+ var len0 = WASM_VECTOR_LEN;
4860
+ wasm.__wbg_set_geojsonsourcedescription_url(this.__wbg_ptr, ptr0, len0);
5216
4861
  }
5217
4862
  }
5218
4863
  if (Symbol.dispose) GeoJsonSourceDescription.prototype[Symbol.dispose] = GeoJsonSourceDescription.prototype.free;
@@ -5738,6 +5383,10 @@ export class LLE {
5738
5383
  }
5739
5384
  if (Symbol.dispose) LLE.prototype[Symbol.dispose] = LLE.prototype.free;
5740
5385
 
5386
+ /**
5387
+ * Minimal discriminator that reads only a layer's `type` tag, so `add_layer`
5388
+ * can route the payload to the matching source-based builder.
5389
+ */
5741
5390
  export class LayerDescription {
5742
5391
  __destroy_into_raw() {
5743
5392
  const ptr = this.__wbg_ptr;
@@ -5745,977 +5394,32 @@ export class LayerDescription {
5745
5394
  LayerDescriptionFinalization.unregister(this);
5746
5395
  return ptr;
5747
5396
  }
5748
- free() {
5749
- const ptr = this.__destroy_into_raw();
5750
- wasm.__wbg_layerdescription_free(ptr, 0);
5751
- }
5752
- /**
5753
- * @returns {string | undefined}
5754
- */
5755
- get type() {
5756
- const ret = wasm.__wbg_get_layerdescription_type(this.__wbg_ptr);
5757
- let v1;
5758
- if (ret[0] !== 0) {
5759
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
5760
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5761
- }
5762
- return v1;
5763
- }
5764
- /**
5765
- * @param {string | null} [arg0]
5766
- */
5767
- set type(arg0) {
5768
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5769
- var len0 = WASM_VECTOR_LEN;
5770
- wasm.__wbg_set_layerdescription_type(this.__wbg_ptr, ptr0, len0);
5771
- }
5772
- }
5773
- if (Symbol.dispose) LayerDescription.prototype[Symbol.dispose] = LayerDescription.prototype.free;
5774
-
5775
- export class LayerDescriptionData {
5776
- __destroy_into_raw() {
5777
- const ptr = this.__wbg_ptr;
5778
- this.__wbg_ptr = 0;
5779
- LayerDescriptionDataFinalization.unregister(this);
5780
- return ptr;
5781
- }
5782
- free() {
5783
- const ptr = this.__destroy_into_raw();
5784
- wasm.__wbg_layerdescriptiondata_free(ptr, 0);
5785
- }
5786
- /**
5787
- * @returns {any}
5788
- */
5789
- get data() {
5790
- const ret = wasm.__wbg_get_layerdescriptiondata_data(this.__wbg_ptr);
5791
- return ret;
5792
- }
5793
- /**
5794
- * @param {any} arg0
5795
- */
5796
- set data(arg0) {
5797
- wasm.__wbg_set_layerdescriptiondata_data(this.__wbg_ptr, arg0);
5798
- }
5799
- }
5800
- if (Symbol.dispose) LayerDescriptionData.prototype[Symbol.dispose] = LayerDescriptionData.prototype.free;
5801
-
5802
- export class LayerDescriptionUrl {
5803
- __destroy_into_raw() {
5804
- const ptr = this.__wbg_ptr;
5805
- this.__wbg_ptr = 0;
5806
- LayerDescriptionUrlFinalization.unregister(this);
5807
- return ptr;
5808
- }
5809
- free() {
5810
- const ptr = this.__destroy_into_raw();
5811
- wasm.__wbg_layerdescriptionurl_free(ptr, 0);
5812
- }
5813
- /**
5814
- * @returns {string}
5815
- */
5816
- get url() {
5817
- let deferred1_0;
5818
- let deferred1_1;
5819
- try {
5820
- const ret = wasm.__wbg_get_layerdescriptionurl_url(this.__wbg_ptr);
5821
- deferred1_0 = ret[0];
5822
- deferred1_1 = ret[1];
5823
- return getStringFromWasm0(ret[0], ret[1]);
5824
- } finally {
5825
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
5826
- }
5827
- }
5828
- /**
5829
- * @param {string} arg0
5830
- */
5831
- set url(arg0) {
5832
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5833
- const len0 = WASM_VECTOR_LEN;
5834
- wasm.__wbg_set_layerdescriptionurl_url(this.__wbg_ptr, ptr0, len0);
5835
- }
5836
- }
5837
- if (Symbol.dispose) LayerDescriptionUrl.prototype[Symbol.dispose] = LayerDescriptionUrl.prototype.free;
5838
-
5839
- export class LegacyElevationHeatmapMaterial {
5840
- static __wrap(ptr) {
5841
- const obj = Object.create(LegacyElevationHeatmapMaterial.prototype);
5842
- obj.__wbg_ptr = ptr;
5843
- LegacyElevationHeatmapMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
5844
- return obj;
5845
- }
5846
- __destroy_into_raw() {
5847
- const ptr = this.__wbg_ptr;
5848
- this.__wbg_ptr = 0;
5849
- LegacyElevationHeatmapMaterialFinalization.unregister(this);
5850
- return ptr;
5851
- }
5852
- free() {
5853
- const ptr = this.__destroy_into_raw();
5854
- wasm.__wbg_legacyelevationheatmapmaterial_free(ptr, 0);
5855
- }
5856
- /**
5857
- * @returns {ElevationDecoder | undefined}
5858
- */
5859
- get elevationDecoder() {
5860
- const ret = wasm.__wbg_get_legacyelevationheatmapmaterial_elevationDecoder(this.__wbg_ptr);
5861
- return ret === 0 ? undefined : ElevationDecoder.__wrap(ret);
5862
- }
5863
- /**
5864
- * @returns {number | undefined}
5865
- */
5866
- get logBoundary() {
5867
- const ret = wasm.__wbg_get_legacyelevationheatmapmaterial_logBoundary(this.__wbg_ptr);
5868
- return ret[0] === 0 ? undefined : ret[1];
5869
- }
5870
- /**
5871
- * @returns {boolean | undefined}
5872
- */
5873
- get logarithmic() {
5874
- const ret = wasm.__wbg_get_legacyelevationheatmapmaterial_logarithmic(this.__wbg_ptr);
5875
- return ret === 0xFFFFFF ? undefined : ret !== 0;
5876
- }
5877
- /**
5878
- * @returns {number | undefined}
5879
- */
5880
- get maxHeight() {
5881
- const ret = wasm.__wbg_get_legacyelevationheatmapmaterial_maxHeight(this.__wbg_ptr);
5882
- return ret[0] === 0 ? undefined : ret[1];
5883
- }
5884
- /**
5885
- * @returns {number | undefined}
5886
- */
5887
- get minHeight() {
5888
- const ret = wasm.__wbg_get_legacyelevationheatmapmaterial_minHeight(this.__wbg_ptr);
5889
- return ret[0] === 0 ? undefined : ret[1];
5890
- }
5891
- /**
5892
- * @param {ElevationDecoder | null} [arg0]
5893
- */
5894
- set elevationDecoder(arg0) {
5895
- let ptr0 = 0;
5896
- if (!isLikeNone(arg0)) {
5897
- _assertClass(arg0, ElevationDecoder);
5898
- ptr0 = arg0.__destroy_into_raw();
5899
- }
5900
- wasm.__wbg_set_legacyelevationheatmapmaterial_elevationDecoder(this.__wbg_ptr, ptr0);
5901
- }
5902
- /**
5903
- * @param {number | null} [arg0]
5904
- */
5905
- set logBoundary(arg0) {
5906
- wasm.__wbg_set_legacyelevationheatmapmaterial_logBoundary(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
5907
- }
5908
- /**
5909
- * @param {boolean | null} [arg0]
5910
- */
5911
- set logarithmic(arg0) {
5912
- wasm.__wbg_set_legacyelevationheatmapmaterial_logarithmic(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
5913
- }
5914
- /**
5915
- * @param {number | null} [arg0]
5916
- */
5917
- set maxHeight(arg0) {
5918
- wasm.__wbg_set_legacyelevationheatmapmaterial_maxHeight(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
5919
- }
5920
- /**
5921
- * @param {number | null} [arg0]
5922
- */
5923
- set minHeight(arg0) {
5924
- wasm.__wbg_set_legacyelevationheatmapmaterial_minHeight(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
5925
- }
5926
- }
5927
- if (Symbol.dispose) LegacyElevationHeatmapMaterial.prototype[Symbol.dispose] = LegacyElevationHeatmapMaterial.prototype.free;
5928
-
5929
- export class LegacyEllipsoidTerrainMaterial {
5930
- static __wrap(ptr) {
5931
- const obj = Object.create(LegacyEllipsoidTerrainMaterial.prototype);
5932
- obj.__wbg_ptr = ptr;
5933
- LegacyEllipsoidTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
5934
- return obj;
5935
- }
5936
- __destroy_into_raw() {
5937
- const ptr = this.__wbg_ptr;
5938
- this.__wbg_ptr = 0;
5939
- LegacyEllipsoidTerrainMaterialFinalization.unregister(this);
5940
- return ptr;
5941
- }
5942
- free() {
5943
- const ptr = this.__destroy_into_raw();
5944
- wasm.__wbg_legacyellipsoidterrainmaterial_free(ptr, 0);
5945
- }
5946
- /**
5947
- * @returns {boolean | undefined}
5948
- */
5949
- get castShadow() {
5950
- const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_castShadow(this.__wbg_ptr);
5951
- return ret === 0xFFFFFF ? undefined : ret !== 0;
5952
- }
5953
- /**
5954
- * @returns {number | undefined}
5955
- */
5956
- get maxZoom() {
5957
- const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr);
5958
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5959
- }
5960
- /**
5961
- * @returns {number | undefined}
5962
- */
5963
- get minZoom() {
5964
- const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr);
5965
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5966
- }
5967
- /**
5968
- * @returns {boolean | undefined}
5969
- */
5970
- get receiveShadow() {
5971
- const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_receiveShadow(this.__wbg_ptr);
5972
- return ret === 0xFFFFFF ? undefined : ret !== 0;
5973
- }
5974
- /**
5975
- * @returns {boolean | undefined}
5976
- */
5977
- get showBoundingBox() {
5978
- const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_showBoundingBox(this.__wbg_ptr);
5979
- return ret === 0xFFFFFF ? undefined : ret !== 0;
5980
- }
5981
- /**
5982
- * @param {boolean | null} [arg0]
5983
- */
5984
- set castShadow(arg0) {
5985
- wasm.__wbg_set_legacyellipsoidterrainmaterial_castShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
5986
- }
5987
- /**
5988
- * @param {number | null} [arg0]
5989
- */
5990
- set maxZoom(arg0) {
5991
- wasm.__wbg_set_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5992
- }
5993
- /**
5994
- * @param {number | null} [arg0]
5995
- */
5996
- set minZoom(arg0) {
5997
- wasm.__wbg_set_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5998
- }
5999
- /**
6000
- * @param {boolean | null} [arg0]
6001
- */
6002
- set receiveShadow(arg0) {
6003
- wasm.__wbg_set_legacyellipsoidterrainmaterial_receiveShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6004
- }
6005
- /**
6006
- * @param {boolean | null} [arg0]
6007
- */
6008
- set showBoundingBox(arg0) {
6009
- wasm.__wbg_set_legacyellipsoidterrainmaterial_showBoundingBox(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6010
- }
6011
- }
6012
- if (Symbol.dispose) LegacyEllipsoidTerrainMaterial.prototype[Symbol.dispose] = LegacyEllipsoidTerrainMaterial.prototype.free;
6013
-
6014
- export class LegacyHillshadeMaterial {
6015
- static __wrap(ptr) {
6016
- const obj = Object.create(LegacyHillshadeMaterial.prototype);
6017
- obj.__wbg_ptr = ptr;
6018
- LegacyHillshadeMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
6019
- return obj;
6020
- }
6021
- __destroy_into_raw() {
6022
- const ptr = this.__wbg_ptr;
6023
- this.__wbg_ptr = 0;
6024
- LegacyHillshadeMaterialFinalization.unregister(this);
6025
- return ptr;
6026
- }
6027
- free() {
6028
- const ptr = this.__destroy_into_raw();
6029
- wasm.__wbg_legacyhillshadematerial_free(ptr, 0);
6030
- }
6031
- /**
6032
- * @returns {ElevationDecoder | undefined}
6033
- */
6034
- get elevationDecoder() {
6035
- const ret = wasm.__wbg_get_legacyhillshadematerial_elevationDecoder(this.__wbg_ptr);
6036
- return ret === 0 ? undefined : ElevationDecoder.__wrap(ret);
6037
- }
6038
- /**
6039
- * Exaggeration factor for hillshade effect (default: 1.0)
6040
- * @returns {number | undefined}
6041
- */
6042
- get exaggeration() {
6043
- const ret = wasm.__wbg_get_legacyhillshadematerial_exaggeration(this.__wbg_ptr);
6044
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6045
- }
6046
- /**
6047
- * @param {ElevationDecoder | null} [arg0]
6048
- */
6049
- set elevationDecoder(arg0) {
6050
- let ptr0 = 0;
6051
- if (!isLikeNone(arg0)) {
6052
- _assertClass(arg0, ElevationDecoder);
6053
- ptr0 = arg0.__destroy_into_raw();
6054
- }
6055
- wasm.__wbg_set_legacyhillshadematerial_elevationDecoder(this.__wbg_ptr, ptr0);
6056
- }
6057
- /**
6058
- * Exaggeration factor for hillshade effect (default: 1.0)
6059
- * @param {number | null} [arg0]
6060
- */
6061
- set exaggeration(arg0) {
6062
- wasm.__wbg_set_legacyhillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6063
- }
6064
- }
6065
- if (Symbol.dispose) LegacyHillshadeMaterial.prototype[Symbol.dispose] = LegacyHillshadeMaterial.prototype.free;
6066
-
6067
- export class LegacyQuantizedMeshTerrainMaterial {
6068
- static __wrap(ptr) {
6069
- const obj = Object.create(LegacyQuantizedMeshTerrainMaterial.prototype);
6070
- obj.__wbg_ptr = ptr;
6071
- LegacyQuantizedMeshTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
6072
- return obj;
6073
- }
6074
- __destroy_into_raw() {
6075
- const ptr = this.__wbg_ptr;
6076
- this.__wbg_ptr = 0;
6077
- LegacyQuantizedMeshTerrainMaterialFinalization.unregister(this);
6078
- return ptr;
6079
- }
6080
- free() {
6081
- const ptr = this.__destroy_into_raw();
6082
- wasm.__wbg_legacyquantizedmeshterrainmaterial_free(ptr, 0);
6083
- }
6084
- /**
6085
- * @returns {boolean | undefined}
6086
- */
6087
- get castShadow() {
6088
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_castShadow(this.__wbg_ptr);
6089
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6090
- }
6091
- /**
6092
- * @returns {boolean | undefined}
6093
- */
6094
- get geographic() {
6095
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_geographic(this.__wbg_ptr);
6096
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6097
- }
6098
- /**
6099
- * @returns {number | undefined}
6100
- */
6101
- get maxZoom() {
6102
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr);
6103
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6104
- }
6105
- /**
6106
- * @returns {number | undefined}
6107
- */
6108
- get minZoom() {
6109
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr);
6110
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6111
- }
6112
- /**
6113
- * @returns {number | undefined}
6114
- */
6115
- get overscaledMaxZoom() {
6116
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr);
6117
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6118
- }
6119
- /**
6120
- * @returns {boolean | undefined}
6121
- */
6122
- get receiveShadow() {
6123
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_receiveShadow(this.__wbg_ptr);
6124
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6125
- }
6126
- /**
6127
- * @returns {boolean | undefined}
6128
- */
6129
- get requestVertexNormals() {
6130
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_requestVertexNormals(this.__wbg_ptr);
6131
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6132
- }
6133
- /**
6134
- * @returns {boolean | undefined}
6135
- */
6136
- get requestWaterMask() {
6137
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_requestWaterMask(this.__wbg_ptr);
6138
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6139
- }
6140
- /**
6141
- * @returns {boolean | undefined}
6142
- */
6143
- get showBoundingBox() {
6144
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_showBoundingBox(this.__wbg_ptr);
6145
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6146
- }
6147
- /**
6148
- * @returns {boolean | undefined}
6149
- */
6150
- get show() {
6151
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_show(this.__wbg_ptr);
6152
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6153
- }
6154
- /**
6155
- * @returns {number | undefined}
6156
- */
6157
- get skirtExaggeration() {
6158
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr);
6159
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6160
- }
6161
- /**
6162
- * @returns {boolean | undefined}
6163
- */
6164
- get skirt() {
6165
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_skirt(this.__wbg_ptr);
6166
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6167
- }
6168
- /**
6169
- * @returns {boolean | undefined}
6170
- */
6171
- get tms() {
6172
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_tms(this.__wbg_ptr);
6173
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6174
- }
6175
- /**
6176
- * @returns {string | undefined}
6177
- */
6178
- get token() {
6179
- const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_token(this.__wbg_ptr);
6180
- let v1;
6181
- if (ret[0] !== 0) {
6182
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
6183
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
6184
- }
6185
- return v1;
6186
- }
6187
- /**
6188
- * @param {boolean | null} [arg0]
6189
- */
6190
- set castShadow(arg0) {
6191
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_castShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6192
- }
6193
- /**
6194
- * @param {boolean | null} [arg0]
6195
- */
6196
- set geographic(arg0) {
6197
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_geographic(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6198
- }
6199
- /**
6200
- * @param {number | null} [arg0]
6201
- */
6202
- set maxZoom(arg0) {
6203
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6204
- }
6205
- /**
6206
- * @param {number | null} [arg0]
6207
- */
6208
- set minZoom(arg0) {
6209
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6210
- }
6211
- /**
6212
- * @param {number | null} [arg0]
6213
- */
6214
- set overscaledMaxZoom(arg0) {
6215
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6216
- }
6217
- /**
6218
- * @param {boolean | null} [arg0]
6219
- */
6220
- set receiveShadow(arg0) {
6221
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_receiveShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6222
- }
6223
- /**
6224
- * @param {boolean | null} [arg0]
6225
- */
6226
- set requestVertexNormals(arg0) {
6227
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_requestVertexNormals(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6228
- }
6229
- /**
6230
- * @param {boolean | null} [arg0]
6231
- */
6232
- set requestWaterMask(arg0) {
6233
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_requestWaterMask(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6234
- }
6235
- /**
6236
- * @param {boolean | null} [arg0]
6237
- */
6238
- set showBoundingBox(arg0) {
6239
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_showBoundingBox(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6240
- }
6241
- /**
6242
- * @param {boolean | null} [arg0]
6243
- */
6244
- set show(arg0) {
6245
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_show(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6246
- }
6247
- /**
6248
- * @param {number | null} [arg0]
6249
- */
6250
- set skirtExaggeration(arg0) {
6251
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6252
- }
6253
- /**
6254
- * @param {boolean | null} [arg0]
6255
- */
6256
- set skirt(arg0) {
6257
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_skirt(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6258
- }
6259
- /**
6260
- * @param {boolean | null} [arg0]
6261
- */
6262
- set tms(arg0) {
6263
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_tms(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6264
- }
6265
- /**
6266
- * @param {string | null} [arg0]
6267
- */
6268
- set token(arg0) {
6269
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6270
- var len0 = WASM_VECTOR_LEN;
6271
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_token(this.__wbg_ptr, ptr0, len0);
6272
- }
6273
- }
6274
- if (Symbol.dispose) LegacyQuantizedMeshTerrainMaterial.prototype[Symbol.dispose] = LegacyQuantizedMeshTerrainMaterial.prototype.free;
6275
-
6276
- export class LegacyRasterTerrainMaterial {
6277
- static __wrap(ptr) {
6278
- const obj = Object.create(LegacyRasterTerrainMaterial.prototype);
6279
- obj.__wbg_ptr = ptr;
6280
- LegacyRasterTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
6281
- return obj;
6282
- }
6283
- __destroy_into_raw() {
6284
- const ptr = this.__wbg_ptr;
6285
- this.__wbg_ptr = 0;
6286
- LegacyRasterTerrainMaterialFinalization.unregister(this);
6287
- return ptr;
6288
- }
6289
- free() {
6290
- const ptr = this.__destroy_into_raw();
6291
- wasm.__wbg_legacyrasterterrainmaterial_free(ptr, 0);
6292
- }
6293
- /**
6294
- * @returns {boolean | undefined}
6295
- */
6296
- get castShadow() {
6297
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_castShadow(this.__wbg_ptr);
6298
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6299
- }
6300
- /**
6301
- * @returns {ElevationDecoder | undefined}
6302
- */
6303
- get elevationDecoder() {
6304
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_elevationDecoder(this.__wbg_ptr);
6305
- return ret === 0 ? undefined : ElevationDecoder.__wrap(ret);
6306
- }
6307
- /**
6308
- * @returns {number | undefined}
6309
- */
6310
- get maxZoom() {
6311
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr);
6312
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6313
- }
6314
- /**
6315
- * @returns {number | undefined}
6316
- */
6317
- get minZoom() {
6318
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr);
6319
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6320
- }
6321
- /**
6322
- * @returns {number | undefined}
6323
- */
6324
- get overscaledMaxZoom() {
6325
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr);
6326
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6327
- }
6328
- /**
6329
- * @returns {boolean | undefined}
6330
- */
6331
- get receiveShadow() {
6332
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_receiveShadow(this.__wbg_ptr);
6333
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6334
- }
6335
- /**
6336
- * @returns {boolean | undefined}
6337
- */
6338
- get showBoundingBox() {
6339
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_showBoundingBox(this.__wbg_ptr);
6340
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6341
- }
6342
- /**
6343
- * @returns {boolean | undefined}
6344
- */
6345
- get show() {
6346
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_show(this.__wbg_ptr);
6347
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6348
- }
6349
- /**
6350
- * @returns {number | undefined}
6351
- */
6352
- get skirtExaggeration() {
6353
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr);
6354
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6355
- }
6356
- /**
6357
- * @returns {boolean | undefined}
6358
- */
6359
- get skirt() {
6360
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_skirt(this.__wbg_ptr);
6361
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6362
- }
6363
- /**
6364
- * @returns {number | undefined}
6365
- */
6366
- get tileSize() {
6367
- const ret = wasm.__wbg_get_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr);
6368
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6369
- }
6370
- /**
6371
- * @param {boolean | null} [arg0]
6372
- */
6373
- set castShadow(arg0) {
6374
- wasm.__wbg_set_legacyrasterterrainmaterial_castShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6375
- }
6376
- /**
6377
- * @param {ElevationDecoder | null} [arg0]
6378
- */
6379
- set elevationDecoder(arg0) {
6380
- let ptr0 = 0;
6381
- if (!isLikeNone(arg0)) {
6382
- _assertClass(arg0, ElevationDecoder);
6383
- ptr0 = arg0.__destroy_into_raw();
6384
- }
6385
- wasm.__wbg_set_legacyrasterterrainmaterial_elevationDecoder(this.__wbg_ptr, ptr0);
6386
- }
6387
- /**
6388
- * @param {number | null} [arg0]
6389
- */
6390
- set maxZoom(arg0) {
6391
- wasm.__wbg_set_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6392
- }
6393
- /**
6394
- * @param {number | null} [arg0]
6395
- */
6396
- set minZoom(arg0) {
6397
- wasm.__wbg_set_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6398
- }
6399
- /**
6400
- * @param {number | null} [arg0]
6401
- */
6402
- set overscaledMaxZoom(arg0) {
6403
- wasm.__wbg_set_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6404
- }
6405
- /**
6406
- * @param {boolean | null} [arg0]
6407
- */
6408
- set receiveShadow(arg0) {
6409
- wasm.__wbg_set_legacyrasterterrainmaterial_receiveShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6410
- }
6411
- /**
6412
- * @param {boolean | null} [arg0]
6413
- */
6414
- set showBoundingBox(arg0) {
6415
- wasm.__wbg_set_legacyrasterterrainmaterial_showBoundingBox(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6416
- }
6417
- /**
6418
- * @param {boolean | null} [arg0]
6419
- */
6420
- set show(arg0) {
6421
- wasm.__wbg_set_legacyrasterterrainmaterial_show(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6422
- }
6423
- /**
6424
- * @param {number | null} [arg0]
6425
- */
6426
- set skirtExaggeration(arg0) {
6427
- wasm.__wbg_set_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6428
- }
6429
- /**
6430
- * @param {boolean | null} [arg0]
6431
- */
6432
- set skirt(arg0) {
6433
- wasm.__wbg_set_legacyrasterterrainmaterial_skirt(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6434
- }
6435
- /**
6436
- * @param {number | null} [arg0]
6437
- */
6438
- set tileSize(arg0) {
6439
- wasm.__wbg_set_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6440
- }
6441
- }
6442
- if (Symbol.dispose) LegacyRasterTerrainMaterial.prototype[Symbol.dispose] = LegacyRasterTerrainMaterial.prototype.free;
6443
-
6444
- export class LegacyRasterTileMaterial {
6445
- static __wrap(ptr) {
6446
- const obj = Object.create(LegacyRasterTileMaterial.prototype);
6447
- obj.__wbg_ptr = ptr;
6448
- LegacyRasterTileMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
6449
- return obj;
6450
- }
6451
- __destroy_into_raw() {
6452
- const ptr = this.__wbg_ptr;
6453
- this.__wbg_ptr = 0;
6454
- LegacyRasterTileMaterialFinalization.unregister(this);
6455
- return ptr;
6456
- }
6457
- free() {
6458
- const ptr = this.__destroy_into_raw();
6459
- wasm.__wbg_legacyrastertilematerial_free(ptr, 0);
6460
- }
6461
- /**
6462
- * @returns {number | undefined}
6463
- */
6464
- get color() {
6465
- const ret = wasm.__wbg_get_legacyrastertilematerial_color(this.__wbg_ptr);
6466
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6467
- }
6468
- /**
6469
- * @returns {number | undefined}
6470
- */
6471
- get maxZoom() {
6472
- const ret = wasm.__wbg_get_legacyrastertilematerial_maxZoom(this.__wbg_ptr);
6473
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6474
- }
6475
- /**
6476
- * @returns {number | undefined}
6477
- */
6478
- get minZoom() {
6479
- const ret = wasm.__wbg_get_legacyrastertilematerial_minZoom(this.__wbg_ptr);
6480
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6481
- }
6482
- /**
6483
- * @returns {number | undefined}
6484
- */
6485
- get opacity() {
6486
- const ret = wasm.__wbg_get_legacyrastertilematerial_opacity(this.__wbg_ptr);
6487
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6488
- }
6489
- /**
6490
- * @returns {number | undefined}
6491
- */
6492
- get overscaledMaxZoom() {
6493
- const ret = wasm.__wbg_get_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr);
6494
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6495
- }
6496
- /**
6497
- * @returns {boolean | undefined}
6498
- */
6499
- get showBoundingBox() {
6500
- const ret = wasm.__wbg_get_legacyrastertilematerial_showBoundingBox(this.__wbg_ptr);
6501
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6502
- }
6503
- /**
6504
- * @returns {boolean | undefined}
6505
- */
6506
- get show() {
6507
- const ret = wasm.__wbg_get_legacyrastertilematerial_show(this.__wbg_ptr);
6508
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6509
- }
6510
- /**
6511
- * @returns {boolean | undefined}
6512
- */
6513
- get tms() {
6514
- const ret = wasm.__wbg_get_legacyrastertilematerial_tms(this.__wbg_ptr);
6515
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6516
- }
6517
- /**
6518
- * @param {number | null} [arg0]
6519
- */
6520
- set color(arg0) {
6521
- wasm.__wbg_set_legacyrastertilematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6522
- }
6523
- /**
6524
- * @param {number | null} [arg0]
6525
- */
6526
- set maxZoom(arg0) {
6527
- wasm.__wbg_set_legacyrastertilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6528
- }
6529
- /**
6530
- * @param {number | null} [arg0]
6531
- */
6532
- set minZoom(arg0) {
6533
- wasm.__wbg_set_legacyrastertilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6534
- }
6535
- /**
6536
- * @param {number | null} [arg0]
6537
- */
6538
- set opacity(arg0) {
6539
- wasm.__wbg_set_legacyrastertilematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6540
- }
6541
- /**
6542
- * @param {number | null} [arg0]
6543
- */
6544
- set overscaledMaxZoom(arg0) {
6545
- wasm.__wbg_set_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6546
- }
6547
- /**
6548
- * @param {boolean | null} [arg0]
6549
- */
6550
- set showBoundingBox(arg0) {
6551
- wasm.__wbg_set_legacyrastertilematerial_showBoundingBox(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6552
- }
6553
- /**
6554
- * @param {boolean | null} [arg0]
6555
- */
6556
- set show(arg0) {
6557
- wasm.__wbg_set_legacyrastertilematerial_show(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6558
- }
6559
- /**
6560
- * @param {boolean | null} [arg0]
6561
- */
6562
- set tms(arg0) {
6563
- wasm.__wbg_set_legacyrastertilematerial_tms(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6564
- }
6565
- }
6566
- if (Symbol.dispose) LegacyRasterTileMaterial.prototype[Symbol.dispose] = LegacyRasterTileMaterial.prototype.free;
6567
-
6568
- export class LegacyVectorTileMaterial {
6569
- static __wrap(ptr) {
6570
- const obj = Object.create(LegacyVectorTileMaterial.prototype);
6571
- obj.__wbg_ptr = ptr;
6572
- LegacyVectorTileMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
6573
- return obj;
6574
- }
6575
- __destroy_into_raw() {
6576
- const ptr = this.__wbg_ptr;
6577
- this.__wbg_ptr = 0;
6578
- LegacyVectorTileMaterialFinalization.unregister(this);
6579
- return ptr;
6580
- }
6581
- free() {
6582
- const ptr = this.__destroy_into_raw();
6583
- wasm.__wbg_legacyvectortilematerial_free(ptr, 0);
6584
- }
6585
- /**
6586
- * @returns {boolean | undefined}
6587
- */
6588
- get castShadow() {
6589
- const ret = wasm.__wbg_get_legacyvectortilematerial_castShadow(this.__wbg_ptr);
6590
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6591
- }
6592
- /**
6593
- * Per-layer horizon dynamic-SSE relaxation strength (`0.0` off … `1.0`
6594
- * raster-equivalent). Omit for a content-based default.
6595
- * @returns {number | undefined}
6596
- */
6597
- get dynamicSseScale() {
6598
- const ret = wasm.__wbg_get_legacyvectortilematerial_dynamicSseScale(this.__wbg_ptr);
6599
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6600
- }
6601
- /**
6602
- * Sub-layer filter (MapLibre's `source-layer`). This is the only render-side
6603
- * field; the rest is fetch config carried onto the implicit source.
6604
- * @returns {string[] | undefined}
6605
- */
6606
- get layers() {
6607
- const ret = wasm.__wbg_get_legacyvectortilematerial_layers(this.__wbg_ptr);
6608
- let v1;
6609
- if (ret[0] !== 0) {
6610
- v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
6611
- wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
6612
- }
6613
- return v1;
6614
- }
6615
- /**
6616
- * @returns {number | undefined}
6617
- */
6618
- get maxSse() {
6619
- const ret = wasm.__wbg_get_legacyvectortilematerial_maxSse(this.__wbg_ptr);
6620
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6621
- }
6622
- /**
6623
- * @returns {number | undefined}
6624
- */
6625
- get maxZoom() {
6626
- const ret = wasm.__wbg_get_legacyvectortilematerial_maxZoom(this.__wbg_ptr);
6627
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6628
- }
6629
- /**
6630
- * @returns {number | undefined}
6631
- */
6632
- get minZoom() {
6633
- const ret = wasm.__wbg_get_legacyvectortilematerial_minZoom(this.__wbg_ptr);
6634
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6635
- }
6636
- /**
6637
- * @returns {number | undefined}
6638
- */
6639
- get overscaledMaxZoom() {
6640
- const ret = wasm.__wbg_get_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr);
6641
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6642
- }
6643
- /**
6644
- * @returns {boolean | undefined}
6645
- */
6646
- get receiveShadow() {
6647
- const ret = wasm.__wbg_get_legacyvectortilematerial_receiveShadow(this.__wbg_ptr);
6648
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6649
- }
6650
- /**
6651
- * @returns {boolean | undefined}
6652
- */
6653
- get show() {
6654
- const ret = wasm.__wbg_get_legacyvectortilematerial_show(this.__wbg_ptr);
6655
- return ret === 0xFFFFFF ? undefined : ret !== 0;
6656
- }
6657
- /**
6658
- * @param {boolean | null} [arg0]
6659
- */
6660
- set castShadow(arg0) {
6661
- wasm.__wbg_set_legacyvectortilematerial_castShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6662
- }
6663
- /**
6664
- * Per-layer horizon dynamic-SSE relaxation strength (`0.0` off … `1.0`
6665
- * raster-equivalent). Omit for a content-based default.
6666
- * @param {number | null} [arg0]
6667
- */
6668
- set dynamicSseScale(arg0) {
6669
- wasm.__wbg_set_legacyvectortilematerial_dynamicSseScale(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6670
- }
6671
- /**
6672
- * Sub-layer filter (MapLibre's `source-layer`). This is the only render-side
6673
- * field; the rest is fetch config carried onto the implicit source.
6674
- * @param {string[] | null} [arg0]
6675
- */
6676
- set layers(arg0) {
6677
- var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
6678
- var len0 = WASM_VECTOR_LEN;
6679
- wasm.__wbg_set_legacyvectortilematerial_layers(this.__wbg_ptr, ptr0, len0);
6680
- }
6681
- /**
6682
- * @param {number | null} [arg0]
6683
- */
6684
- set maxSse(arg0) {
6685
- wasm.__wbg_set_legacyvectortilematerial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6686
- }
6687
- /**
6688
- * @param {number | null} [arg0]
6689
- */
6690
- set maxZoom(arg0) {
6691
- wasm.__wbg_set_legacyvectortilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6692
- }
6693
- /**
6694
- * @param {number | null} [arg0]
6695
- */
6696
- set minZoom(arg0) {
6697
- wasm.__wbg_set_legacyvectortilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6698
- }
6699
- /**
6700
- * @param {number | null} [arg0]
6701
- */
6702
- set overscaledMaxZoom(arg0) {
6703
- wasm.__wbg_set_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5397
+ free() {
5398
+ const ptr = this.__destroy_into_raw();
5399
+ wasm.__wbg_layerdescription_free(ptr, 0);
6704
5400
  }
6705
5401
  /**
6706
- * @param {boolean | null} [arg0]
5402
+ * @returns {string | undefined}
6707
5403
  */
6708
- set receiveShadow(arg0) {
6709
- wasm.__wbg_set_legacyvectortilematerial_receiveShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
5404
+ get type() {
5405
+ const ret = wasm.__wbg_get_layerdescription_type(this.__wbg_ptr);
5406
+ let v1;
5407
+ if (ret[0] !== 0) {
5408
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
5409
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5410
+ }
5411
+ return v1;
6710
5412
  }
6711
5413
  /**
6712
- * @param {boolean | null} [arg0]
5414
+ * @param {string | null} [arg0]
6713
5415
  */
6714
- set show(arg0) {
6715
- wasm.__wbg_set_legacyvectortilematerial_show(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
5416
+ set type(arg0) {
5417
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5418
+ var len0 = WASM_VECTOR_LEN;
5419
+ wasm.__wbg_set_layerdescription_type(this.__wbg_ptr, ptr0, len0);
6716
5420
  }
6717
5421
  }
6718
- if (Symbol.dispose) LegacyVectorTileMaterial.prototype[Symbol.dispose] = LegacyVectorTileMaterial.prototype.free;
5422
+ if (Symbol.dispose) LayerDescription.prototype[Symbol.dispose] = LayerDescription.prototype.free;
6719
5423
 
6720
5424
  /**
6721
5425
  * Engine memory usage snapshot for diagnostics. Byte counts are `f64`
@@ -7450,6 +6154,16 @@ export class ModelMaterial {
7450
6154
  const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
7451
6155
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7452
6156
  }
6157
+ /**
6158
+ * Applies the lighting equation to the color output. When `false` the
6159
+ * material outputs plain albedo (for deferred lighting) while normals and
6160
+ * the shadow G-buffer keep being written.
6161
+ * @returns {boolean | undefined}
6162
+ */
6163
+ get lit() {
6164
+ const ret = wasm.__wbg_get_modelmaterial_lit(this.__wbg_ptr);
6165
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
6166
+ }
7453
6167
  /**
7454
6168
  * @returns {number | undefined}
7455
6169
  */
@@ -7699,6 +6413,15 @@ export class ModelMaterial {
7699
6413
  set ior(arg0) {
7700
6414
  wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7701
6415
  }
6416
+ /**
6417
+ * Applies the lighting equation to the color output. When `false` the
6418
+ * material outputs plain albedo (for deferred lighting) while normals and
6419
+ * the shadow G-buffer keep being written.
6420
+ * @param {boolean | null} [arg0]
6421
+ */
6422
+ set lit(arg0) {
6423
+ wasm.__wbg_set_modelmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6424
+ }
7702
6425
  /**
7703
6426
  * @param {number | null} [arg0]
7704
6427
  */
@@ -7954,181 +6677,6 @@ export class ModelMesh {
7954
6677
  }
7955
6678
  if (Symbol.dispose) ModelMesh.prototype[Symbol.dispose] = ModelMesh.prototype.free;
7956
6679
 
7957
- export class MvtLayerDescription {
7958
- __destroy_into_raw() {
7959
- const ptr = this.__wbg_ptr;
7960
- this.__wbg_ptr = 0;
7961
- MvtLayerDescriptionFinalization.unregister(this);
7962
- return ptr;
7963
- }
7964
- free() {
7965
- const ptr = this.__destroy_into_raw();
7966
- wasm.__wbg_mvtlayerdescription_free(ptr, 0);
7967
- }
7968
- /**
7969
- * @returns {BillboardMaterial | undefined}
7970
- */
7971
- get billboard() {
7972
- const ret = wasm.__wbg_get_mvtlayerdescription_billboard(this.__wbg_ptr);
7973
- return ret === 0 ? undefined : BillboardMaterial.__wrap(ret);
7974
- }
7975
- /**
7976
- * @returns {string | undefined}
7977
- */
7978
- get crs() {
7979
- const ret = wasm.__wbg_get_mvtlayerdescription_crs(this.__wbg_ptr);
7980
- let v1;
7981
- if (ret[0] !== 0) {
7982
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
7983
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
7984
- }
7985
- return v1;
7986
- }
7987
- /**
7988
- * @returns {any}
7989
- */
7990
- get data() {
7991
- const ret = wasm.__wbg_get_mvtlayerdescription_data(this.__wbg_ptr);
7992
- return ret;
7993
- }
7994
- /**
7995
- * @returns {PointMaterial | undefined}
7996
- */
7997
- get point() {
7998
- const ret = wasm.__wbg_get_mvtlayerdescription_point(this.__wbg_ptr);
7999
- return ret === 0 ? undefined : PointMaterial.__wrap(ret);
8000
- }
8001
- /**
8002
- * @returns {PolygonMaterial | undefined}
8003
- */
8004
- get polygon() {
8005
- const ret = wasm.__wbg_get_mvtlayerdescription_polygon(this.__wbg_ptr);
8006
- return ret === 0 ? undefined : PolygonMaterial.__wrap(ret);
8007
- }
8008
- /**
8009
- * @returns {PolylineMaterial | undefined}
8010
- */
8011
- get polyline() {
8012
- const ret = wasm.__wbg_get_mvtlayerdescription_polyline(this.__wbg_ptr);
8013
- return ret === 0 ? undefined : PolylineMaterial.__wrap(ret);
8014
- }
8015
- /**
8016
- * @returns {TextMaterial | undefined}
8017
- */
8018
- get text() {
8019
- const ret = wasm.__wbg_get_mvtlayerdescription_text(this.__wbg_ptr);
8020
- return ret === 0 ? undefined : TextMaterial.__wrap(ret);
8021
- }
8022
- /**
8023
- * @returns {string | undefined}
8024
- */
8025
- get type() {
8026
- const ret = wasm.__wbg_get_mvtlayerdescription_type(this.__wbg_ptr);
8027
- let v1;
8028
- if (ret[0] !== 0) {
8029
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
8030
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
8031
- }
8032
- return v1;
8033
- }
8034
- /**
8035
- * @returns {LegacyVectorTileMaterial | undefined}
8036
- */
8037
- get vectorTile() {
8038
- const ret = wasm.__wbg_get_mvtlayerdescription_vectorTile(this.__wbg_ptr);
8039
- return ret === 0 ? undefined : LegacyVectorTileMaterial.__wrap(ret);
8040
- }
8041
- /**
8042
- * @param {BillboardMaterial | null} [arg0]
8043
- */
8044
- set billboard(arg0) {
8045
- let ptr0 = 0;
8046
- if (!isLikeNone(arg0)) {
8047
- _assertClass(arg0, BillboardMaterial);
8048
- ptr0 = arg0.__destroy_into_raw();
8049
- }
8050
- wasm.__wbg_set_mvtlayerdescription_billboard(this.__wbg_ptr, ptr0);
8051
- }
8052
- /**
8053
- * @param {string | null} [arg0]
8054
- */
8055
- set crs(arg0) {
8056
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8057
- var len0 = WASM_VECTOR_LEN;
8058
- wasm.__wbg_set_mvtlayerdescription_crs(this.__wbg_ptr, ptr0, len0);
8059
- }
8060
- /**
8061
- * @param {any} arg0
8062
- */
8063
- set data(arg0) {
8064
- wasm.__wbg_set_mvtlayerdescription_data(this.__wbg_ptr, arg0);
8065
- }
8066
- /**
8067
- * @param {PointMaterial | null} [arg0]
8068
- */
8069
- set point(arg0) {
8070
- let ptr0 = 0;
8071
- if (!isLikeNone(arg0)) {
8072
- _assertClass(arg0, PointMaterial);
8073
- ptr0 = arg0.__destroy_into_raw();
8074
- }
8075
- wasm.__wbg_set_mvtlayerdescription_point(this.__wbg_ptr, ptr0);
8076
- }
8077
- /**
8078
- * @param {PolygonMaterial | null} [arg0]
8079
- */
8080
- set polygon(arg0) {
8081
- let ptr0 = 0;
8082
- if (!isLikeNone(arg0)) {
8083
- _assertClass(arg0, PolygonMaterial);
8084
- ptr0 = arg0.__destroy_into_raw();
8085
- }
8086
- wasm.__wbg_set_mvtlayerdescription_polygon(this.__wbg_ptr, ptr0);
8087
- }
8088
- /**
8089
- * @param {PolylineMaterial | null} [arg0]
8090
- */
8091
- set polyline(arg0) {
8092
- let ptr0 = 0;
8093
- if (!isLikeNone(arg0)) {
8094
- _assertClass(arg0, PolylineMaterial);
8095
- ptr0 = arg0.__destroy_into_raw();
8096
- }
8097
- wasm.__wbg_set_mvtlayerdescription_polyline(this.__wbg_ptr, ptr0);
8098
- }
8099
- /**
8100
- * @param {TextMaterial | null} [arg0]
8101
- */
8102
- set text(arg0) {
8103
- let ptr0 = 0;
8104
- if (!isLikeNone(arg0)) {
8105
- _assertClass(arg0, TextMaterial);
8106
- ptr0 = arg0.__destroy_into_raw();
8107
- }
8108
- wasm.__wbg_set_mvtlayerdescription_text(this.__wbg_ptr, ptr0);
8109
- }
8110
- /**
8111
- * @param {string | null} [arg0]
8112
- */
8113
- set type(arg0) {
8114
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8115
- var len0 = WASM_VECTOR_LEN;
8116
- wasm.__wbg_set_mvtlayerdescription_type(this.__wbg_ptr, ptr0, len0);
8117
- }
8118
- /**
8119
- * @param {LegacyVectorTileMaterial | null} [arg0]
8120
- */
8121
- set vectorTile(arg0) {
8122
- let ptr0 = 0;
8123
- if (!isLikeNone(arg0)) {
8124
- _assertClass(arg0, LegacyVectorTileMaterial);
8125
- ptr0 = arg0.__destroy_into_raw();
8126
- }
8127
- wasm.__wbg_set_mvtlayerdescription_vectorTile(this.__wbg_ptr, ptr0);
8128
- }
8129
- }
8130
- if (Symbol.dispose) MvtLayerDescription.prototype[Symbol.dispose] = MvtLayerDescription.prototype.free;
8131
-
8132
6680
  export class NearFar {
8133
6681
  __destroy_into_raw() {
8134
6682
  const ptr = this.__wbg_ptr;
@@ -8550,123 +7098,38 @@ export class Plane {
8550
7098
  }
8551
7099
  free() {
8552
7100
  const ptr = this.__destroy_into_raw();
8553
- wasm.__wbg_plane_free(ptr, 0);
8554
- }
8555
- /**
8556
- * @returns {number}
8557
- */
8558
- get distance() {
8559
- const ret = wasm.__wbg_get_plane_distance(this.__wbg_ptr);
8560
- return ret;
8561
- }
8562
- /**
8563
- * @returns {Vec3}
8564
- */
8565
- get normal() {
8566
- const ret = wasm.__wbg_get_plane_normal(this.__wbg_ptr);
8567
- return Vec3.__wrap(ret);
8568
- }
8569
- /**
8570
- * @param {number} arg0
8571
- */
8572
- set distance(arg0) {
8573
- wasm.__wbg_set_plane_distance(this.__wbg_ptr, arg0);
8574
- }
8575
- /**
8576
- * @param {Vec3} arg0
8577
- */
8578
- set normal(arg0) {
8579
- _assertClass(arg0, Vec3);
8580
- var ptr0 = arg0.__destroy_into_raw();
8581
- wasm.__wbg_set_plane_normal(this.__wbg_ptr, ptr0);
8582
- }
8583
- }
8584
- if (Symbol.dispose) Plane.prototype[Symbol.dispose] = Plane.prototype.free;
8585
-
8586
- export class PntsLayerDescription {
8587
- __destroy_into_raw() {
8588
- const ptr = this.__wbg_ptr;
8589
- this.__wbg_ptr = 0;
8590
- PntsLayerDescriptionFinalization.unregister(this);
8591
- return ptr;
8592
- }
8593
- free() {
8594
- const ptr = this.__destroy_into_raw();
8595
- wasm.__wbg_pntslayerdescription_free(ptr, 0);
8596
- }
8597
- /**
8598
- * @returns {string | undefined}
8599
- */
8600
- get crs() {
8601
- const ret = wasm.__wbg_get_pntslayerdescription_crs(this.__wbg_ptr);
8602
- let v1;
8603
- if (ret[0] !== 0) {
8604
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
8605
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
8606
- }
8607
- return v1;
8608
- }
8609
- /**
8610
- * @returns {any}
8611
- */
8612
- get data() {
8613
- const ret = wasm.__wbg_get_pntslayerdescription_data(this.__wbg_ptr);
8614
- return ret;
8615
- }
8616
- /**
8617
- * @returns {ModelMaterial | undefined}
8618
- */
8619
- get model() {
8620
- const ret = wasm.__wbg_get_pntslayerdescription_model(this.__wbg_ptr);
8621
- return ret === 0 ? undefined : ModelMaterial.__wrap(ret);
8622
- }
8623
- /**
8624
- * @returns {string | undefined}
8625
- */
8626
- get type() {
8627
- const ret = wasm.__wbg_get_pntslayerdescription_type(this.__wbg_ptr);
8628
- let v1;
8629
- if (ret[0] !== 0) {
8630
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
8631
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
8632
- }
8633
- return v1;
7101
+ wasm.__wbg_plane_free(ptr, 0);
8634
7102
  }
8635
7103
  /**
8636
- * @param {string | null} [arg0]
7104
+ * @returns {number}
8637
7105
  */
8638
- set crs(arg0) {
8639
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8640
- var len0 = WASM_VECTOR_LEN;
8641
- wasm.__wbg_set_pntslayerdescription_crs(this.__wbg_ptr, ptr0, len0);
7106
+ get distance() {
7107
+ const ret = wasm.__wbg_get_plane_distance(this.__wbg_ptr);
7108
+ return ret;
8642
7109
  }
8643
7110
  /**
8644
- * @param {any} arg0
7111
+ * @returns {Vec3}
8645
7112
  */
8646
- set data(arg0) {
8647
- wasm.__wbg_set_pntslayerdescription_data(this.__wbg_ptr, arg0);
7113
+ get normal() {
7114
+ const ret = wasm.__wbg_get_plane_normal(this.__wbg_ptr);
7115
+ return Vec3.__wrap(ret);
8648
7116
  }
8649
7117
  /**
8650
- * @param {ModelMaterial | null} [arg0]
7118
+ * @param {number} arg0
8651
7119
  */
8652
- set model(arg0) {
8653
- let ptr0 = 0;
8654
- if (!isLikeNone(arg0)) {
8655
- _assertClass(arg0, ModelMaterial);
8656
- ptr0 = arg0.__destroy_into_raw();
8657
- }
8658
- wasm.__wbg_set_pntslayerdescription_model(this.__wbg_ptr, ptr0);
7120
+ set distance(arg0) {
7121
+ wasm.__wbg_set_plane_distance(this.__wbg_ptr, arg0);
8659
7122
  }
8660
7123
  /**
8661
- * @param {string | null} [arg0]
7124
+ * @param {Vec3} arg0
8662
7125
  */
8663
- set type(arg0) {
8664
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8665
- var len0 = WASM_VECTOR_LEN;
8666
- wasm.__wbg_set_pntslayerdescription_type(this.__wbg_ptr, ptr0, len0);
7126
+ set normal(arg0) {
7127
+ _assertClass(arg0, Vec3);
7128
+ var ptr0 = arg0.__destroy_into_raw();
7129
+ wasm.__wbg_set_plane_normal(this.__wbg_ptr, ptr0);
8667
7130
  }
8668
7131
  }
8669
- if (Symbol.dispose) PntsLayerDescription.prototype[Symbol.dispose] = PntsLayerDescription.prototype.free;
7132
+ if (Symbol.dispose) Plane.prototype[Symbol.dispose] = Plane.prototype.free;
8670
7133
 
8671
7134
  export class PointMaterial {
8672
7135
  static __wrap(ptr) {
@@ -9395,6 +7858,16 @@ export class PolygonMaterial {
9395
7858
  const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
9396
7859
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9397
7860
  }
7861
+ /**
7862
+ * Applies the lighting equation to the color output. When `false` the
7863
+ * material outputs plain albedo (for deferred lighting) while normals and
7864
+ * the shadow G-buffer keep being written.
7865
+ * @returns {boolean | undefined}
7866
+ */
7867
+ get lit() {
7868
+ const ret = wasm.__wbg_get_polygonmaterial_lit(this.__wbg_ptr);
7869
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
7870
+ }
9398
7871
  /**
9399
7872
  * Need to enable `transparent`.
9400
7873
  * @returns {number | undefined}
@@ -9657,6 +8130,15 @@ export class PolygonMaterial {
9657
8130
  set ior(arg0) {
9658
8131
  wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9659
8132
  }
8133
+ /**
8134
+ * Applies the lighting equation to the color output. When `false` the
8135
+ * material outputs plain albedo (for deferred lighting) while normals and
8136
+ * the shadow G-buffer keep being written.
8137
+ * @param {boolean | null} [arg0]
8138
+ */
8139
+ set lit(arg0) {
8140
+ wasm.__wbg_set_polygonmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
8141
+ }
9660
8142
  /**
9661
8143
  * Need to enable `transparent`.
9662
8144
  * @param {number | null} [arg0]
@@ -10481,6 +8963,16 @@ export class PolylineMaterial {
10481
8963
  const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
10482
8964
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10483
8965
  }
8966
+ /**
8967
+ * Applies the lighting equation to the color output. When `false` the
8968
+ * material outputs plain albedo (for deferred lighting) while normals and
8969
+ * the shadow G-buffer keep being written.
8970
+ * @returns {boolean | undefined}
8971
+ */
8972
+ get lit() {
8973
+ const ret = wasm.__wbg_get_polylinematerial_lit(this.__wbg_ptr);
8974
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
8975
+ }
10484
8976
  /**
10485
8977
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
10486
8978
  * Smaller values are cheaper to render as they reduce fragment shader overdraw.
@@ -10627,6 +9119,15 @@ export class PolylineMaterial {
10627
9119
  set height(arg0) {
10628
9120
  wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10629
9121
  }
9122
+ /**
9123
+ * Applies the lighting equation to the color output. When `false` the
9124
+ * material outputs plain albedo (for deferred lighting) while normals and
9125
+ * the shadow G-buffer keep being written.
9126
+ * @param {boolean | null} [arg0]
9127
+ */
9128
+ set lit(arg0) {
9129
+ wasm.__wbg_set_polylinematerial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
9130
+ }
10630
9131
  /**
10631
9132
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
10632
9133
  * Smaller values are cheaper to render as they reduce fragment shader overdraw.
@@ -11124,9 +9625,6 @@ export class RasterLayerDescription {
11124
9625
  /**
11125
9626
  * Imagery rendering options for the raster texture. Parallel to `hillshade`
11126
9627
  * and `elevationHeatmap`; `show`/`color`/etc. apply only to the imagery.
11127
- * Accepts the legacy `rasterTile` key too so old-API tile layers can still
11128
- * be updated (extra legacy fields like `maxZoom`/`tms` are ignored here —
11129
- * they live on the source).
11130
9628
  * @returns {RasterMaterial | undefined}
11131
9629
  */
11132
9630
  get raster() {
@@ -11182,9 +9680,6 @@ export class RasterLayerDescription {
11182
9680
  /**
11183
9681
  * Imagery rendering options for the raster texture. Parallel to `hillshade`
11184
9682
  * and `elevationHeatmap`; `show`/`color`/etc. apply only to the imagery.
11185
- * Accepts the legacy `rasterTile` key too so old-API tile layers can still
11186
- * be updated (extra legacy fields like `maxZoom`/`tms` are ignored here —
11187
- * they live on the source).
11188
9683
  * @param {RasterMaterial | null} [arg0]
11189
9684
  */
11190
9685
  set raster(arg0) {
@@ -11484,6 +9979,16 @@ export class RasterTileInternalMaterial {
11484
9979
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
11485
9980
  return v1;
11486
9981
  }
9982
+ /**
9983
+ * Applies the lighting equation to the color output. When `false` the
9984
+ * material outputs plain albedo (for deferred lighting) while normals and
9985
+ * the shadow G-buffer keep being written.
9986
+ * @returns {boolean | undefined}
9987
+ */
9988
+ get lit() {
9989
+ const ret = wasm.__wbg_get_rastertileinternalmaterial_lit(this.__wbg_ptr);
9990
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
9991
+ }
11487
9992
  /**
11488
9993
  * @returns {number}
11489
9994
  */
@@ -11712,6 +10217,15 @@ export class RasterTileInternalMaterial {
11712
10217
  const len0 = WASM_VECTOR_LEN;
11713
10218
  wasm.__wbg_set_rastertileinternalmaterial_layerReproject(this.__wbg_ptr, ptr0, len0);
11714
10219
  }
10220
+ /**
10221
+ * Applies the lighting equation to the color output. When `false` the
10222
+ * material outputs plain albedo (for deferred lighting) while normals and
10223
+ * the shadow G-buffer keep being written.
10224
+ * @param {boolean | null} [arg0]
10225
+ */
10226
+ set lit(arg0) {
10227
+ wasm.__wbg_set_rastertileinternalmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
10228
+ }
11715
10229
  /**
11716
10230
  * @param {number} arg0
11717
10231
  */
@@ -12891,6 +11405,38 @@ export class ReturnedTransferablePolylineBatchedFeature {
12891
11405
  }
12892
11406
  if (Symbol.dispose) ReturnedTransferablePolylineBatchedFeature.prototype[Symbol.dispose] = ReturnedTransferablePolylineBatchedFeature.prototype.free;
12893
11407
 
11408
+ /**
11409
+ * Re-extracts a source description's inline `data` field. `serde` skips it on
11410
+ * the typed source structs (it can be an arbitrary GeoJSON document), so the
11411
+ * geojson source builder reads it back through this shape.
11412
+ */
11413
+ export class SourceData {
11414
+ __destroy_into_raw() {
11415
+ const ptr = this.__wbg_ptr;
11416
+ this.__wbg_ptr = 0;
11417
+ SourceDataFinalization.unregister(this);
11418
+ return ptr;
11419
+ }
11420
+ free() {
11421
+ const ptr = this.__destroy_into_raw();
11422
+ wasm.__wbg_sourcedata_free(ptr, 0);
11423
+ }
11424
+ /**
11425
+ * @returns {any}
11426
+ */
11427
+ get data() {
11428
+ const ret = wasm.__wbg_get_sourcedata_data(this.__wbg_ptr);
11429
+ return ret;
11430
+ }
11431
+ /**
11432
+ * @param {any} arg0
11433
+ */
11434
+ set data(arg0) {
11435
+ wasm.__wbg_set_sourcedata_data(this.__wbg_ptr, arg0);
11436
+ }
11437
+ }
11438
+ if (Symbol.dispose) SourceData.prototype[Symbol.dispose] = SourceData.prototype.free;
11439
+
12894
11440
  /**
12895
11441
  * Discriminator used to read the `type` tag (and optional caller-provided `id`)
12896
11442
  * before dispatching.
@@ -13040,110 +11586,6 @@ export class TerrainHeightUpdatedEvent {
13040
11586
  }
13041
11587
  if (Symbol.dispose) TerrainHeightUpdatedEvent.prototype[Symbol.dispose] = TerrainHeightUpdatedEvent.prototype.free;
13042
11588
 
13043
- export class TerrainLayerDescription {
13044
- __destroy_into_raw() {
13045
- const ptr = this.__wbg_ptr;
13046
- this.__wbg_ptr = 0;
13047
- TerrainLayerDescriptionFinalization.unregister(this);
13048
- return ptr;
13049
- }
13050
- free() {
13051
- const ptr = this.__destroy_into_raw();
13052
- wasm.__wbg_terrainlayerdescription_free(ptr, 0);
13053
- }
13054
- /**
13055
- * @returns {any}
13056
- */
13057
- get data() {
13058
- const ret = wasm.__wbg_get_terrainlayerdescription_data(this.__wbg_ptr);
13059
- return ret;
13060
- }
13061
- /**
13062
- * @returns {LegacyEllipsoidTerrainMaterial | undefined}
13063
- */
13064
- get ellipsoid() {
13065
- const ret = wasm.__wbg_get_terrainlayerdescription_ellipsoid(this.__wbg_ptr);
13066
- return ret === 0 ? undefined : LegacyEllipsoidTerrainMaterial.__wrap(ret);
13067
- }
13068
- /**
13069
- * @returns {LegacyQuantizedMeshTerrainMaterial | undefined}
13070
- */
13071
- get quantizedMesh() {
13072
- const ret = wasm.__wbg_get_terrainlayerdescription_quantizedMesh(this.__wbg_ptr);
13073
- return ret === 0 ? undefined : LegacyQuantizedMeshTerrainMaterial.__wrap(ret);
13074
- }
13075
- /**
13076
- * @returns {LegacyRasterTerrainMaterial | undefined}
13077
- */
13078
- get rasterTerrain() {
13079
- const ret = wasm.__wbg_get_terrainlayerdescription_rasterTerrain(this.__wbg_ptr);
13080
- return ret === 0 ? undefined : LegacyRasterTerrainMaterial.__wrap(ret);
13081
- }
13082
- /**
13083
- * @returns {string}
13084
- */
13085
- get type() {
13086
- let deferred1_0;
13087
- let deferred1_1;
13088
- try {
13089
- const ret = wasm.__wbg_get_terrainlayerdescription_type(this.__wbg_ptr);
13090
- deferred1_0 = ret[0];
13091
- deferred1_1 = ret[1];
13092
- return getStringFromWasm0(ret[0], ret[1]);
13093
- } finally {
13094
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
13095
- }
13096
- }
13097
- /**
13098
- * @param {any} arg0
13099
- */
13100
- set data(arg0) {
13101
- wasm.__wbg_set_terrainlayerdescription_data(this.__wbg_ptr, arg0);
13102
- }
13103
- /**
13104
- * @param {LegacyEllipsoidTerrainMaterial | null} [arg0]
13105
- */
13106
- set ellipsoid(arg0) {
13107
- let ptr0 = 0;
13108
- if (!isLikeNone(arg0)) {
13109
- _assertClass(arg0, LegacyEllipsoidTerrainMaterial);
13110
- ptr0 = arg0.__destroy_into_raw();
13111
- }
13112
- wasm.__wbg_set_terrainlayerdescription_ellipsoid(this.__wbg_ptr, ptr0);
13113
- }
13114
- /**
13115
- * @param {LegacyQuantizedMeshTerrainMaterial | null} [arg0]
13116
- */
13117
- set quantizedMesh(arg0) {
13118
- let ptr0 = 0;
13119
- if (!isLikeNone(arg0)) {
13120
- _assertClass(arg0, LegacyQuantizedMeshTerrainMaterial);
13121
- ptr0 = arg0.__destroy_into_raw();
13122
- }
13123
- wasm.__wbg_set_terrainlayerdescription_quantizedMesh(this.__wbg_ptr, ptr0);
13124
- }
13125
- /**
13126
- * @param {LegacyRasterTerrainMaterial | null} [arg0]
13127
- */
13128
- set rasterTerrain(arg0) {
13129
- let ptr0 = 0;
13130
- if (!isLikeNone(arg0)) {
13131
- _assertClass(arg0, LegacyRasterTerrainMaterial);
13132
- ptr0 = arg0.__destroy_into_raw();
13133
- }
13134
- wasm.__wbg_set_terrainlayerdescription_rasterTerrain(this.__wbg_ptr, ptr0);
13135
- }
13136
- /**
13137
- * @param {string} arg0
13138
- */
13139
- set type(arg0) {
13140
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
13141
- const len0 = WASM_VECTOR_LEN;
13142
- wasm.__wbg_set_terrainlayerdescription_type(this.__wbg_ptr, ptr0, len0);
13143
- }
13144
- }
13145
- if (Symbol.dispose) TerrainLayerDescription.prototype[Symbol.dispose] = TerrainLayerDescription.prototype.free;
13146
-
13147
11589
  /**
13148
11590
  * Render-only appearance for a `terrain` layer's mesh, regardless of the
13149
11591
  * referenced source's data format (raster-dem, quantized-mesh, or the
@@ -13174,6 +11616,16 @@ export class TerrainMaterial {
13174
11616
  const ret = wasm.__wbg_get_terrainmaterial_castShadow(this.__wbg_ptr);
13175
11617
  return ret === 0xFFFFFF ? undefined : ret !== 0;
13176
11618
  }
11619
+ /**
11620
+ * Applies the lighting equation to the color output. When `false` the
11621
+ * material outputs plain albedo (for deferred lighting) while normals and
11622
+ * the shadow G-buffer keep being written.
11623
+ * @returns {boolean | undefined}
11624
+ */
11625
+ get lit() {
11626
+ const ret = wasm.__wbg_get_terrainmaterial_lit(this.__wbg_ptr);
11627
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
11628
+ }
13177
11629
  /**
13178
11630
  * @returns {boolean | undefined}
13179
11631
  */
@@ -13219,6 +11671,15 @@ export class TerrainMaterial {
13219
11671
  set castShadow(arg0) {
13220
11672
  wasm.__wbg_set_terrainmaterial_castShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
13221
11673
  }
11674
+ /**
11675
+ * Applies the lighting equation to the color output. When `false` the
11676
+ * material outputs plain albedo (for deferred lighting) while normals and
11677
+ * the shadow G-buffer keep being written.
11678
+ * @param {boolean | null} [arg0]
11679
+ */
11680
+ set lit(arg0) {
11681
+ wasm.__wbg_set_terrainmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
11682
+ }
13222
11683
  /**
13223
11684
  * @param {boolean | null} [arg0]
13224
11685
  */
@@ -13287,9 +11748,8 @@ export class TerrainSourceLayerDescription {
13287
11748
  /**
13288
11749
  * Terrain mesh rendering options. Nested like the other layers' render
13289
11750
  * inputs (`raster`, `model`, ...); all fetch/geometry config lives on the
13290
- * referenced source. Accepts the legacy terrain material keys too so
13291
- * old-API terrain layers can still be updated (extra legacy fetch fields
13292
- * are ignored — they live on the source).
11751
+ * referenced source. A source-less terrain layer (a flat ellipsoid surface
11752
+ * to drape clamp-to-ground data on) is written with the `ellipsoid` key.
13293
11753
  * @returns {TerrainMaterial | undefined}
13294
11754
  */
13295
11755
  get terrain() {
@@ -13319,9 +11779,8 @@ export class TerrainSourceLayerDescription {
13319
11779
  /**
13320
11780
  * Terrain mesh rendering options. Nested like the other layers' render
13321
11781
  * inputs (`raster`, `model`, ...); all fetch/geometry config lives on the
13322
- * referenced source. Accepts the legacy terrain material keys too so
13323
- * old-API terrain layers can still be updated (extra legacy fetch fields
13324
- * are ignored — they live on the source).
11782
+ * referenced source. A source-less terrain layer (a flat ellipsoid surface
11783
+ * to drape clamp-to-ground data on) is written with the `ellipsoid` key.
13325
11784
  * @param {TerrainMaterial | null} [arg0]
13326
11785
  */
13327
11786
  set terrain(arg0) {
@@ -14053,107 +12512,6 @@ export const TextureFragmentStatus = Object.freeze({
14053
12512
  Pending: 2, "2": "Pending",
14054
12513
  });
14055
12514
 
14056
- export class TileLayerDescription {
14057
- __destroy_into_raw() {
14058
- const ptr = this.__wbg_ptr;
14059
- this.__wbg_ptr = 0;
14060
- TileLayerDescriptionFinalization.unregister(this);
14061
- return ptr;
14062
- }
14063
- free() {
14064
- const ptr = this.__destroy_into_raw();
14065
- wasm.__wbg_tilelayerdescription_free(ptr, 0);
14066
- }
14067
- /**
14068
- * @returns {any}
14069
- */
14070
- get data() {
14071
- const ret = wasm.__wbg_get_tilelayerdescription_data(this.__wbg_ptr);
14072
- return ret;
14073
- }
14074
- /**
14075
- * @returns {LegacyElevationHeatmapMaterial | undefined}
14076
- */
14077
- get elevationHeatmap() {
14078
- const ret = wasm.__wbg_get_tilelayerdescription_elevationHeatmap(this.__wbg_ptr);
14079
- return ret === 0 ? undefined : LegacyElevationHeatmapMaterial.__wrap(ret);
14080
- }
14081
- /**
14082
- * @returns {LegacyHillshadeMaterial | undefined}
14083
- */
14084
- get hillshade() {
14085
- const ret = wasm.__wbg_get_tilelayerdescription_hillshade(this.__wbg_ptr);
14086
- return ret === 0 ? undefined : LegacyHillshadeMaterial.__wrap(ret);
14087
- }
14088
- /**
14089
- * @returns {LegacyRasterTileMaterial | undefined}
14090
- */
14091
- get rasterTile() {
14092
- const ret = wasm.__wbg_get_tilelayerdescription_rasterTile(this.__wbg_ptr);
14093
- return ret === 0 ? undefined : LegacyRasterTileMaterial.__wrap(ret);
14094
- }
14095
- /**
14096
- * @returns {string | undefined}
14097
- */
14098
- get type() {
14099
- const ret = wasm.__wbg_get_tilelayerdescription_type(this.__wbg_ptr);
14100
- let v1;
14101
- if (ret[0] !== 0) {
14102
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
14103
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
14104
- }
14105
- return v1;
14106
- }
14107
- /**
14108
- * @param {any} arg0
14109
- */
14110
- set data(arg0) {
14111
- wasm.__wbg_set_tilelayerdescription_data(this.__wbg_ptr, arg0);
14112
- }
14113
- /**
14114
- * @param {LegacyElevationHeatmapMaterial | null} [arg0]
14115
- */
14116
- set elevationHeatmap(arg0) {
14117
- let ptr0 = 0;
14118
- if (!isLikeNone(arg0)) {
14119
- _assertClass(arg0, LegacyElevationHeatmapMaterial);
14120
- ptr0 = arg0.__destroy_into_raw();
14121
- }
14122
- wasm.__wbg_set_tilelayerdescription_elevationHeatmap(this.__wbg_ptr, ptr0);
14123
- }
14124
- /**
14125
- * @param {LegacyHillshadeMaterial | null} [arg0]
14126
- */
14127
- set hillshade(arg0) {
14128
- let ptr0 = 0;
14129
- if (!isLikeNone(arg0)) {
14130
- _assertClass(arg0, LegacyHillshadeMaterial);
14131
- ptr0 = arg0.__destroy_into_raw();
14132
- }
14133
- wasm.__wbg_set_tilelayerdescription_hillshade(this.__wbg_ptr, ptr0);
14134
- }
14135
- /**
14136
- * @param {LegacyRasterTileMaterial | null} [arg0]
14137
- */
14138
- set rasterTile(arg0) {
14139
- let ptr0 = 0;
14140
- if (!isLikeNone(arg0)) {
14141
- _assertClass(arg0, LegacyRasterTileMaterial);
14142
- ptr0 = arg0.__destroy_into_raw();
14143
- }
14144
- wasm.__wbg_set_tilelayerdescription_rasterTile(this.__wbg_ptr, ptr0);
14145
- }
14146
- /**
14147
- * @param {string | null} [arg0]
14148
- */
14149
- set type(arg0) {
14150
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
14151
- var len0 = WASM_VECTOR_LEN;
14152
- wasm.__wbg_set_tilelayerdescription_type(this.__wbg_ptr, ptr0, len0);
14153
- }
14154
- }
14155
- if (Symbol.dispose) TileLayerDescription.prototype[Symbol.dispose] = TileLayerDescription.prototype.free;
14156
-
14157
12515
  export class TileUvTransform {
14158
12516
  static __wrap(ptr) {
14159
12517
  const obj = Object.create(TileUvTransform.prototype);
@@ -17750,9 +16108,6 @@ function __wbg_get_imports() {
17750
16108
  const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
17751
16109
  ? { register: () => {}, unregister: () => {} }
17752
16110
  : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
17753
- const B3dmLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17754
- ? { register: () => {}, unregister: () => {} }
17755
- : new FinalizationRegistry(ptr => wasm.__wbg_b3dmlayerdescription_free(ptr, 1));
17756
16111
  const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
17757
16112
  ? { register: () => {}, unregister: () => {} }
17758
16113
  : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
@@ -17780,9 +16135,6 @@ const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefine
17780
16135
  const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
17781
16136
  ? { register: () => {}, unregister: () => {} }
17782
16137
  : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
17783
- const Cesium3dTilesLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17784
- ? { register: () => {}, unregister: () => {} }
17785
- : new FinalizationRegistry(ptr => wasm.__wbg_cesium3dtileslayerdescription_free(ptr, 1));
17786
16138
  const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
17787
16139
  ? { register: () => {}, unregister: () => {} }
17788
16140
  : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
@@ -17858,9 +16210,6 @@ const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined'
17858
16210
  const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
17859
16211
  ? { register: () => {}, unregister: () => {} }
17860
16212
  : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
17861
- const GeoJsonLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17862
- ? { register: () => {}, unregister: () => {} }
17863
- : new FinalizationRegistry(ptr => wasm.__wbg_geojsonlayerdescription_free(ptr, 1));
17864
16213
  const GeoJsonSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17865
16214
  ? { register: () => {}, unregister: () => {} }
17866
16215
  : new FinalizationRegistry(ptr => wasm.__wbg_geojsonsourcedescription_free(ptr, 1));
@@ -17882,33 +16231,6 @@ const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
17882
16231
  const LayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17883
16232
  ? { register: () => {}, unregister: () => {} }
17884
16233
  : new FinalizationRegistry(ptr => wasm.__wbg_layerdescription_free(ptr, 1));
17885
- const LayerDescriptionDataFinalization = (typeof FinalizationRegistry === 'undefined')
17886
- ? { register: () => {}, unregister: () => {} }
17887
- : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptiondata_free(ptr, 1));
17888
- const LayerDescriptionUrlFinalization = (typeof FinalizationRegistry === 'undefined')
17889
- ? { register: () => {}, unregister: () => {} }
17890
- : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptionurl_free(ptr, 1));
17891
- const LegacyElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17892
- ? { register: () => {}, unregister: () => {} }
17893
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyelevationheatmapmaterial_free(ptr, 1));
17894
- const LegacyEllipsoidTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17895
- ? { register: () => {}, unregister: () => {} }
17896
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyellipsoidterrainmaterial_free(ptr, 1));
17897
- const LegacyHillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17898
- ? { register: () => {}, unregister: () => {} }
17899
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyhillshadematerial_free(ptr, 1));
17900
- const LegacyQuantizedMeshTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17901
- ? { register: () => {}, unregister: () => {} }
17902
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyquantizedmeshterrainmaterial_free(ptr, 1));
17903
- const LegacyRasterTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17904
- ? { register: () => {}, unregister: () => {} }
17905
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyrasterterrainmaterial_free(ptr, 1));
17906
- const LegacyRasterTileMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17907
- ? { register: () => {}, unregister: () => {} }
17908
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyrastertilematerial_free(ptr, 1));
17909
- const LegacyVectorTileMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17910
- ? { register: () => {}, unregister: () => {} }
17911
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyvectortilematerial_free(ptr, 1));
17912
16234
  const MemoryStatsFinalization = (typeof FinalizationRegistry === 'undefined')
17913
16235
  ? { register: () => {}, unregister: () => {} }
17914
16236
  : new FinalizationRegistry(ptr => wasm.__wbg_memorystats_free(ptr, 1));
@@ -17930,9 +16252,6 @@ const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17930
16252
  const ModelMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17931
16253
  ? { register: () => {}, unregister: () => {} }
17932
16254
  : new FinalizationRegistry(ptr => wasm.__wbg_modelmesh_free(ptr, 1));
17933
- const MvtLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17934
- ? { register: () => {}, unregister: () => {} }
17935
- : new FinalizationRegistry(ptr => wasm.__wbg_mvtlayerdescription_free(ptr, 1));
17936
16255
  const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
17937
16256
  ? { register: () => {}, unregister: () => {} }
17938
16257
  : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
@@ -17954,9 +16273,6 @@ const ParseMvtTileResultFinalization = (typeof FinalizationRegistry === 'undefin
17954
16273
  const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
17955
16274
  ? { register: () => {}, unregister: () => {} }
17956
16275
  : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
17957
- const PntsLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17958
- ? { register: () => {}, unregister: () => {} }
17959
- : new FinalizationRegistry(ptr => wasm.__wbg_pntslayerdescription_free(ptr, 1));
17960
16276
  const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17961
16277
  ? { register: () => {}, unregister: () => {} }
17962
16278
  : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
@@ -18041,15 +16357,15 @@ const ReturnedTransferablePolygonBatchedFeatureFinalization = (typeof Finalizati
18041
16357
  const ReturnedTransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
18042
16358
  ? { register: () => {}, unregister: () => {} }
18043
16359
  : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolylinebatchedfeature_free(ptr, 1));
16360
+ const SourceDataFinalization = (typeof FinalizationRegistry === 'undefined')
16361
+ ? { register: () => {}, unregister: () => {} }
16362
+ : new FinalizationRegistry(ptr => wasm.__wbg_sourcedata_free(ptr, 1));
18044
16363
  const SourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
18045
16364
  ? { register: () => {}, unregister: () => {} }
18046
16365
  : new FinalizationRegistry(ptr => wasm.__wbg_sourcedescription_free(ptr, 1));
18047
16366
  const TerrainHeightUpdatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
18048
16367
  ? { register: () => {}, unregister: () => {} }
18049
16368
  : new FinalizationRegistry(ptr => wasm.__wbg_terrainheightupdatedevent_free(ptr, 1));
18050
- const TerrainLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
18051
- ? { register: () => {}, unregister: () => {} }
18052
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainlayerdescription_free(ptr, 1));
18053
16369
  const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
18054
16370
  ? { register: () => {}, unregister: () => {} }
18055
16371
  : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
@@ -18068,9 +16384,6 @@ const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined'
18068
16384
  const TextureFragmentRequestedEventFinalization = (typeof FinalizationRegistry === 'undefined')
18069
16385
  ? { register: () => {}, unregister: () => {} }
18070
16386
  : new FinalizationRegistry(ptr => wasm.__wbg_texturefragmentrequestedevent_free(ptr, 1));
18071
- const TileLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
18072
- ? { register: () => {}, unregister: () => {} }
18073
- : new FinalizationRegistry(ptr => wasm.__wbg_tilelayerdescription_free(ptr, 1));
18074
16387
  const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
18075
16388
  ? { register: () => {}, unregister: () => {} }
18076
16389
  : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));