@maptalks/3dtiles 0.124.4 → 0.125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="gl-matrix" />
2
2
  /*!
3
- * @maptalks/3dtiles v0.124.4
3
+ * @maptalks/3dtiles v0.125.0
4
4
  * LICENSE : UNLICENSED
5
5
  * (c) 2016-2026 maptalks.org
6
6
  */
@@ -56,6 +56,7 @@ declare class Geo3DTilesLayer extends Geo3DTilesLayer_base {
56
56
  addService(info: Geo3DTilesService): this;
57
57
  updateService(idx: number, info: Geo3DTilesServiceOptions): this;
58
58
  removeService(idx: number): this;
59
+ _getTilesInfo(): any;
59
60
  getTileUrl(url: string, rootNode: RootTileNode): string;
60
61
  getExtent(index: number): maptalks.Extent | null;
61
62
  boundingVolumeToExtent(node: RootTileNode): maptalks.Extent | null;
@@ -299,6 +300,7 @@ type TileNode = {
299
300
  hasParentContent?: boolean;
300
301
  extent?: maptalks.Extent;
301
302
  service?: Record<string, any>;
303
+ _candidateNode?: CandidateNode;
302
304
  };
303
305
  type RootTileNode = {
304
306
  version: number;
@@ -313,12 +315,12 @@ type BoundingVolume = {
313
315
  heightOffset?: number;
314
316
  originalVolume?: number[];
315
317
  };
316
- type CandinateNode = {
318
+ type CandidateNode = {
317
319
  id?: string;
318
320
  node?: TileNode;
319
- children: CandinateNode[];
321
+ children: CandidateNode[];
320
322
  level: number;
321
- parent?: CandinateNode;
323
+ parent?: CandidateNode;
322
324
  content?: string;
323
325
  };
324
326
  type HighlightItem = {
@@ -360,8 +362,8 @@ type TileSphereBox = {
360
362
  sphereBox: [number[], number];
361
363
  } & TileBoxCenter;
362
364
  type QueriedTiles = {
363
- tiles: CandinateNode[];
364
- root?: CandinateNode;
365
+ tiles: CandidateNode[];
366
+ root?: CandidateNode;
365
367
  };
366
368
 
367
369
  declare function isNil(v: any): boolean;