@baidumap/mapv-three 1.0.1 → 1.2.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.
Files changed (267) hide show
  1. package/dist/assets/images/fallbackIcon.png +0 -0
  2. package/dist/assets/images/marker_red.png +0 -0
  3. package/dist/assets/models/effect/diamond.glb +0 -0
  4. package/dist/assets/textures/imposter/tree3/base.webp +0 -0
  5. package/dist/assets/textures/imposter/tree3/norm_depth.webp +0 -0
  6. package/dist/assets/textures/imposter/tree3/orm.webp +0 -0
  7. package/dist/devtool/panel.js +10 -5
  8. package/dist/mapvthree.module.js +41964 -35175
  9. package/dist/mapvthree.umd.js +7 -8
  10. package/dist/types/Internal.d.ts +0 -2
  11. package/dist/types/index.d.ts +12 -8
  12. package/dist/types/index.open.d.ts +18 -1
  13. package/dist/types/threejs/controls/MapControl3D.d.ts +1 -1
  14. package/dist/types/threejs/geometries/line/PolylineGeometry.d.ts +1 -0
  15. package/dist/types/threejs/geometries/sphere/PillarGeometry.d.ts +4 -0
  16. package/dist/types/threejs/materials/effects/ScanMaterial.d.ts +69 -58
  17. package/dist/types/threejs/materials/effects/TwinkleMaterial.d.ts +56 -43
  18. package/dist/types/threejs/materials/effects/WindowMaterial.d.ts +37 -26
  19. package/dist/types/threejs/materials/heatmap/Heatmap3D.d.ts +2 -0
  20. package/dist/types/threejs/materials/natural/WaterMaterial.d.ts +152 -18
  21. package/dist/types/threejs/materials/point/Ballon.d.ts +1 -0
  22. package/dist/types/threejs/materials/point/Effect.d.ts +13 -0
  23. package/dist/types/threejs/materials/point/Icon.d.ts +4 -0
  24. package/dist/types/threejs/materials/polygon/PolygonMaterial.d.ts +2 -0
  25. package/dist/types/threejs/materials/sphere/GridMaterial.d.ts +6 -1
  26. package/dist/types/threejs/materials/sphere/PillarMaterial.d.ts +5 -1
  27. package/dist/types/threejs/objects/FadeData.d.ts +1 -0
  28. package/dist/types/threejs/objects/GeoInstancedMesh.d.ts +1 -2
  29. package/dist/types/threejs/objects/GeoObject.d.ts +24 -0
  30. package/dist/types/threejs/objects/ThreeObject.d.ts +4 -2
  31. package/dist/types/threejs/objects/element/OctahedralImpostor.d.ts +15 -21
  32. package/dist/types/threejs/objects/heatmap/Heatmap3D.d.ts +43 -23
  33. package/dist/types/threejs/objects/instance/InstancedModel.d.ts +2 -0
  34. package/dist/types/threejs/objects/line/FatLine.d.ts +3 -245
  35. package/dist/types/threejs/objects/line/FatLineInternal.d.ts +246 -0
  36. package/dist/types/threejs/objects/line/Polyline.d.ts +53 -76
  37. package/dist/types/threejs/objects/line/PolylineInternal.d.ts +85 -0
  38. package/dist/types/threejs/objects/line/SimpleLine.d.ts +1 -1
  39. package/dist/types/threejs/objects/line/TrafficLink.d.ts +2 -2
  40. package/dist/types/threejs/objects/natural/BillboardTree.d.ts +1 -0
  41. package/dist/types/threejs/objects/point/ActiveMesh.d.ts +0 -1
  42. package/dist/types/threejs/objects/point/BallonPoint.d.ts +54 -7
  43. package/dist/types/threejs/objects/point/BubblePoint.d.ts +8 -1
  44. package/dist/types/threejs/objects/point/Circle.d.ts +0 -9
  45. package/dist/types/threejs/objects/point/DOMPoint.d.ts +4 -4
  46. package/dist/types/threejs/objects/point/EffectModelPoint.d.ts +55 -27
  47. package/dist/types/threejs/objects/point/EffectPoint.d.ts +70 -0
  48. package/dist/types/threejs/objects/point/GeoInstancedPointMesh.d.ts +10 -0
  49. package/dist/types/threejs/objects/point/Icon.d.ts +1 -1
  50. package/dist/types/threejs/objects/point/Label.d.ts +142 -30
  51. package/dist/types/threejs/objects/point/ShapePoint.d.ts +0 -1
  52. package/dist/types/threejs/objects/point/Spark.d.ts +37 -38
  53. package/dist/types/threejs/objects/point/label/GeometryBufferBuilder.d.ts +41 -0
  54. package/dist/types/threejs/objects/point/label/TextBoxCalculator.d.ts +38 -0
  55. package/dist/types/threejs/objects/polygon/Polygon.d.ts +200 -66
  56. package/dist/types/threejs/objects/sphere/Cone.d.ts +3 -63
  57. package/dist/types/threejs/objects/sphere/Grid.d.ts +3 -2
  58. package/dist/types/threejs/objects/sphere/Pillar.d.ts +49 -7
  59. package/dist/types/threejs/objects/text/utils.d.ts +8 -1
  60. package/dist/types/threejs/particles/Fireflies.d.ts +57 -13
  61. package/dist/types/threejs/utils/sprite.d.ts +1 -1
  62. package/dist/types/threemap/3dtiles/HDMap/v2/instanceConfig.d.ts +166 -0
  63. package/dist/types/threemap/3dtiles/HDMap3DTiles.d.ts +2 -0
  64. package/dist/types/threemap/3dtiles/cesium/Cesium3DTileset.d.ts +4 -2
  65. package/dist/types/threemap/3dtiles/cesium/content/Mesh3DTileContent.d.ts +1 -0
  66. package/dist/types/threemap/3dtiles/elements/TileInstancedElementManager.d.ts +41 -9
  67. package/dist/types/threemap/controls/editors/EditorManager.d.ts +51 -145
  68. package/dist/types/threemap/controls/editors/PolygonEditor.d.ts +14 -0
  69. package/dist/types/threemap/controls/editors/SplineEditor.d.ts +6 -0
  70. package/dist/types/threemap/dataSource/DataItem.d.ts +3 -1
  71. package/dist/types/threemap/dataSource/DataSource.d.ts +29 -0
  72. package/dist/types/threemap/engine/Map.d.ts +2 -0
  73. package/dist/types/threemap/engine/rendering/Collision.d.ts +15 -0
  74. package/dist/types/threemap/engine/rendering/Label.d.ts +6 -1
  75. package/dist/types/threemap/engine/rendering/MicroTaskScheduler.d.ts +4 -0
  76. package/dist/types/threemap/mapView/baidu/TafficDataLoader.d.ts +13 -0
  77. package/dist/types/threemap/mapView/constants.d.ts +54 -0
  78. package/dist/types/threemap/mapView/geo/MapTile.d.ts +3 -0
  79. package/dist/types/threemap/mapView/geo/TileQuadtree.d.ts +2 -1
  80. package/dist/types/threemap/mapView/grid/BaiduVectorOnlineGrid.d.ts +10 -0
  81. package/dist/types/threemap/mapView/grid/Grid.d.ts +14 -0
  82. package/dist/types/threemap/mapView/map/MapView.d.ts +0 -10
  83. package/dist/types/threemap/mapView/mapbox/executer/fill.d.ts +2 -0
  84. package/dist/types/threemap/mapView/surface/MapSurface.d.ts +7 -4
  85. package/dist/types/threemap/mapView/surface/Placeholder.d.ts +1 -1
  86. package/dist/types/threemap/mapView/surface/VectorSurface.d.ts +1 -0
  87. package/dist/types/threemap/mapView/surface/strategy/FastTileLoaderStrategy.d.ts +3 -3
  88. package/dist/types/threemap/mapView/surface/strategy/HierarchicalTileLoaderStrategy.d.ts +0 -1
  89. package/dist/types/threemap/mapView/tileManager/RasterSurfaceTileManager.d.ts +4 -4
  90. package/dist/types/threemap/mapView/tileManager/SurfaceTileManager.d.ts +4 -1
  91. package/dist/types/threemap/mapView/tileManager/VectorSurfaceTileManager.d.ts +4 -5
  92. package/dist/types/threemap/mapView/tileProvider/AsyncCesiumTerrainDataLoader.d.ts +1 -1
  93. package/dist/types/threemap/mapView/tileProvider/AsyncDataTileLoader.d.ts +1 -0
  94. package/dist/types/threemap/mapView/tileProvider/BaseImageryTileProvider.d.ts +103 -0
  95. package/dist/types/threemap/mapView/tileProvider/TileProvider.d.ts +25 -9
  96. package/dist/types/threemap/mapView/tileProvider/imagery/Baidu09ImageryTileProvider.d.ts +71 -7
  97. package/dist/types/threemap/mapView/tileProvider/imagery/BingImageryTileProvider.d.ts +22 -3
  98. package/dist/types/threemap/mapView/tileProvider/imagery/GridCoordTileProvider.d.ts +2 -0
  99. package/dist/types/threemap/mapView/tileProvider/imagery/ImageryTileProvider.d.ts +56 -27
  100. package/dist/types/threemap/mapView/tileProvider/imagery/OSMImageryTileProvider.d.ts +0 -10
  101. package/dist/types/threemap/mapView/tileProvider/imagery/StadiaImageryTileProvider.d.ts +75 -0
  102. package/dist/types/threemap/mapView/tileProvider/imagery/WMSImageryTileProvider.d.ts +106 -13
  103. package/dist/types/threemap/mapView/tileProvider/imagery/WMTSImageryTileProvider.d.ts +114 -15
  104. package/dist/types/threemap/mapView/tileProvider/imagery/XYZImageryTileProvider.d.ts +53 -6
  105. package/dist/types/threemap/mapView/tileProvider/renderers/ImageTileLabelRenderer.d.ts +4 -0
  106. package/dist/types/threemap/mapView/{geo → tileProvider/renderers}/ImageryReprojector.d.ts +1 -1
  107. package/dist/types/threemap/mapView/tileProvider/renderers/VectorTileImageRenderer.d.ts +4 -0
  108. package/dist/types/threemap/mapView/tileProvider/vector/BaiduTrafficTileProvider.d.ts +165 -21
  109. package/dist/types/threemap/mapView/tileProvider/vector/BaiduVectorTileProvider.d.ts +3 -1
  110. package/dist/types/threemap/mapView/tileProvider/vector/GeoJSONVectorTileProvider.d.ts +1 -1
  111. package/dist/types/threemap/mapView/tileProvider/vector/HDTrafficTileProvider.d.ts +159 -24
  112. package/dist/types/threemap/mapView/tileProvider/vector/MapboxVectorTileProvider.d.ts +264 -40
  113. package/dist/types/threemap/mapView/tileProvider/vector/PlaneVectorTileProvider.d.ts +1 -1
  114. package/dist/types/threemap/mapView/tileProvider/vector/VectorTileProvider.d.ts +6 -4
  115. package/dist/types/threemap/mapView/utils/projectVertices.d.ts +1 -1
  116. package/dist/types/threemap/model/AnimationModel.d.ts +86 -6
  117. package/dist/types/threemap/natural/DynamicWeather.d.ts +92 -0
  118. package/dist/types/threemap/natural/EmptySky.d.ts +1 -0
  119. package/dist/types/threemap/natural/StaticSky.d.ts +32 -5
  120. package/dist/types/threemap/projections/BaiduMercatorProjection.d.ts +14 -0
  121. package/dist/types/threemap/projections/CoordTransformer.d.ts +13 -0
  122. package/dist/types/threemap/projections/GenericDefinedProjection.d.ts +10 -0
  123. package/dist/types/threemap/projections/Projection.d.ts +24 -7
  124. package/dist/types/threemap/projections/ScreenPixelProjection.d.ts +26 -7
  125. package/dist/types/threemap/projections/WebMercatorProjection.d.ts +16 -0
  126. package/dist/types/threemap/projections/extendCoordinate.d.ts +2 -0
  127. package/dist/types/threemap/projections/projections.d.ts +11 -0
  128. package/dist/types/util/LRUCacheNew.d.ts +1 -0
  129. package/dist/types/util/coordProjection.d.ts +0 -2
  130. package/dist/types/util/geojsonUtils.d.ts +1 -0
  131. package/dist/types/util/gradientMap.d.ts +25 -0
  132. package/dist/types/util/graphics/bezier.d.ts +8 -1
  133. package/package.json +2 -1
  134. package/dist/assets/models/hdmap/SM_Big-Pier_2.glb +0 -0
  135. package/dist/assets/models/hdmap/SM_Cone_Barrel.glb +0 -0
  136. package/dist/assets/models/hdmap/SM_Fence1-0.glb +0 -0
  137. package/dist/assets/models/hdmap/SM_Fence1-8.glb +0 -0
  138. package/dist/assets/models/hdmap/SM_Fence2-5.glb +0 -0
  139. package/dist/assets/models/hdmap/SM_Fence7-0.glb +0 -0
  140. package/dist/assets/models/hdmap/SM_Fence7-2.glb +0 -0
  141. package/dist/assets/models/hdmap/SM_Fence7-3.glb +0 -0
  142. package/dist/assets/models/hdmap/SM_Road_facility2.glb +0 -0
  143. package/dist/assets/models/hdmap/SM_Signboard_8.glb +0 -0
  144. package/dist/assets/models/hdmap/SM_fence1-5.glb +0 -0
  145. package/dist/assets/models/hdmap/tunnel_light.glb +0 -0
  146. package/dist/types/addons/highwaymap/Viewer.d.ts +0 -164
  147. package/dist/types/addons/highwaymap/index.d.ts +0 -3
  148. package/dist/types/addons/highwaymap/map/Map.d.ts +0 -59
  149. package/dist/types/addons/highwaymap/map/MapControl.d.ts +0 -57
  150. package/dist/types/addons/highwaymap/service/index.d.ts +0 -3
  151. package/dist/types/addons/highwaymap/utils/eventTypes.d.ts +0 -15
  152. package/dist/types/addons/index.d.ts +0 -4
  153. package/dist/types/addons/traffic/config/assets.d.ts +0 -78
  154. package/dist/types/addons/traffic/config/element.d.ts +0 -23
  155. package/dist/types/addons/traffic/handler/AbstractLoadPolicy.d.ts +0 -13
  156. package/dist/types/addons/traffic/handler/DefaultLoadPolicy.d.ts +0 -5
  157. package/dist/types/addons/traffic/handler/ModelCreator.d.ts +0 -69
  158. package/dist/types/addons/traffic/handler/ModelHandler.d.ts +0 -131
  159. package/dist/types/addons/traffic/handler/assets.d.ts +0 -365
  160. package/dist/types/addons/traffic/handler/ceilManager.d.ts +0 -16
  161. package/dist/types/addons/traffic/handler/tools.d.ts +0 -17
  162. package/dist/types/addons/traffic/handler/trafficLight.d.ts +0 -253
  163. package/dist/types/addons/traffic/index.d.ts +0 -16
  164. package/dist/types/addons/traffic/objects/BasicLabel.d.ts +0 -226
  165. package/dist/types/addons/traffic/objects/Diamond.d.ts +0 -61
  166. package/dist/types/addons/traffic/objects/DynamicModel.d.ts +0 -129
  167. package/dist/types/addons/traffic/objects/InstancedModel.d.ts +0 -91
  168. package/dist/types/addons/traffic/objects/LineMesh.d.ts +0 -6
  169. package/dist/types/addons/traffic/objects/Model.d.ts +0 -169
  170. package/dist/types/addons/traffic/objects/TrafficGroup.d.ts +0 -16
  171. package/dist/types/addons/traffic/objects/TrafficInstancedObject.d.ts +0 -7
  172. package/dist/types/addons/traffic/objects/TrafficObject.d.ts +0 -14
  173. package/dist/types/addons/traffic/objects/curveLineMesh.d.ts +0 -29
  174. package/dist/types/addons/traffic/objects/shaders/Line2dShader.d.ts +0 -1
  175. package/dist/types/addons/traffic/objects/shaders/RingCircle.d.ts +0 -19
  176. package/dist/types/addons/traffic/objects/shaders/WaveCircle2.d.ts +0 -13
  177. package/dist/types/addons/traffic/objects/shaders/WaveCircle4.d.ts +0 -17
  178. package/dist/types/addons/traffic/objects/shaders/WaveCircle5.d.ts +0 -17
  179. package/dist/types/addons/traffic/service/assets.d.ts +0 -50
  180. package/dist/types/addons/traffic/utils/BasicLabel.d.ts +0 -3
  181. package/dist/types/addons/traffic/utils/MapMath.d.ts +0 -78
  182. package/dist/types/addons/traffic/utils/assets.d.ts +0 -108
  183. package/dist/types/addons/traffic/utils/freeTag.d.ts +0 -71
  184. package/dist/types/addons/traffic/utils/hooks.d.ts +0 -1
  185. package/dist/types/addons/traffic/utils/index.d.ts +0 -26
  186. package/dist/types/addons/traffic/utils/trafficLight.d.ts +0 -73
  187. package/dist/types/addons/traffic/utils/ws.d.ts +0 -23
  188. package/dist/types/addons/visual/core/LRU.d.ts +0 -27
  189. package/dist/types/addons/visual/core/defines.d.ts +0 -55
  190. package/dist/types/addons/visual/core/global.d.ts +0 -29
  191. package/dist/types/addons/visual/extension/AnimatePolygon.d.ts +0 -108
  192. package/dist/types/addons/visual/extension/DoubleLine.d.ts +0 -137
  193. package/dist/types/addons/visual/extension/FlyLineLayer.d.ts +0 -140
  194. package/dist/types/addons/visual/extension/MeshLine.d.ts +0 -61
  195. package/dist/types/addons/visual/extension/TubeLine.d.ts +0 -93
  196. package/dist/types/addons/visual/extension/Water/Reflector.d.ts +0 -26
  197. package/dist/types/addons/visual/extension/Water/Refractor.d.ts +0 -26
  198. package/dist/types/addons/visual/extension/Water/Water.d.ts +0 -60
  199. package/dist/types/addons/visual/extension/Water/WaterFive.d.ts +0 -20
  200. package/dist/types/addons/visual/extension/Water/WaterFour.d.ts +0 -17
  201. package/dist/types/addons/visual/extension/Water/WaterOne.d.ts +0 -10
  202. package/dist/types/addons/visual/extension/Water/WaterSix.d.ts +0 -15
  203. package/dist/types/addons/visual/extension/Water/WaterThree.d.ts +0 -14
  204. package/dist/types/addons/visual/extension/Water/WaterTwo.d.ts +0 -14
  205. package/dist/types/addons/visual/extension/specialEffect/LateralScan.d.ts +0 -32
  206. package/dist/types/addons/visual/extension/specialEffect/LineGradient.d.ts +0 -28
  207. package/dist/types/addons/visual/extension/specialEffect/TwinkleEffect.d.ts +0 -30
  208. package/dist/types/addons/visual/index.d.ts +0 -17
  209. package/dist/types/addons/visual/map/Fence.d.ts +0 -121
  210. package/dist/types/addons/visual/map/Polyline.d.ts +0 -178
  211. package/dist/types/addons/visual/mapTile/MapLayer.d.ts +0 -50
  212. package/dist/types/addons/visual/mapTile/MapLayerLoader.d.ts +0 -15
  213. package/dist/types/addons/visual/mapTile/MapLodLayer.d.ts +0 -15
  214. package/dist/types/addons/visual/mapTile/MapRequest.d.ts +0 -69
  215. package/dist/types/addons/visual/mapTile/MapTile.d.ts +0 -131
  216. package/dist/types/addons/visual/mapTile/MapTileLoader.d.ts +0 -26
  217. package/dist/types/addons/visual/mapTile/config.d.ts +0 -381
  218. package/dist/types/addons/visual/mapTile/workers/WorkerService.d.ts +0 -9
  219. package/dist/types/addons/visual/mapTile/workers/WorkerServiceManager.d.ts +0 -8
  220. package/dist/types/addons/visual/utils/AdaptedThree.d.ts +0 -22
  221. package/dist/types/addons/visual/utils/CombinePositions.d.ts +0 -23
  222. package/dist/types/addons/visual/utils/Extrude.d.ts +0 -92
  223. package/dist/types/addons/visual/utils/GenerateObject.d.ts +0 -32
  224. package/dist/types/addons/visual/utils/GeoJSONUtil.d.ts +0 -10
  225. package/dist/types/addons/visual/utils/MapMath.d.ts +0 -66
  226. package/dist/types/addons/visual/utils/MergeGeometries.d.ts +0 -13
  227. package/dist/types/addons/visual/utils/OrganizedGeometry.d.ts +0 -33
  228. package/dist/types/addons/visual/utils/OrganizedMaterial.d.ts +0 -5
  229. package/dist/types/addons/visual/utils/lines/Line2.d.ts +0 -7
  230. package/dist/types/addons/visual/utils/lines/LineDashShaderMaterial.d.ts +0 -4
  231. package/dist/types/addons/visual/utils/lines/LineGeometry.d.ts +0 -7
  232. package/dist/types/addons/visual/utils/lines/LineMaterial.d.ts +0 -4
  233. package/dist/types/addons/visual/utils/lines/LineSegments2.d.ts +0 -9
  234. package/dist/types/addons/visual/utils/lines/LineSegmentsGeometry.d.ts +0 -17
  235. package/dist/types/addons/visual/utils/util.d.ts +0 -269
  236. package/dist/types/threemap/mapView/BaiduVImageryMap.d.ts +0 -40
  237. package/dist/types/threemap/mapView/QuadMap.d.ts +0 -287
  238. package/dist/types/threemap/mapView/geo/TileManager.d.ts +0 -68
  239. package/dist/types/threemap/mapView/geo/globe.d.ts +0 -6
  240. package/dist/types/threemap/mapView/tileLoader/AsyncBinaryTileLoader.d.ts +0 -20
  241. package/dist/types/threemap/mapView/tileLoader/BaiduTrafficVectorTileLoader.d.ts +0 -13
  242. package/dist/types/threemap/mapView/tileLoader/BaiduVImageryTileLoader.d.ts +0 -59
  243. package/dist/types/threemap/mapView/tileLoader/BaiduVectorTileLoader.d.ts +0 -23
  244. package/dist/types/threemap/mapView/tileLoader/BinaryTileLoader.d.ts +0 -7
  245. package/dist/types/threemap/mapView/tileLoader/CesiumTerrainTileLoader.d.ts +0 -21
  246. package/dist/types/threemap/mapView/tileLoader/CompositionTileLoader.d.ts +0 -15
  247. package/dist/types/threemap/mapView/tileLoader/DebugTileLoader.d.ts +0 -4
  248. package/dist/types/threemap/mapView/tileLoader/HDTrafficTileLoader.d.ts +0 -16
  249. package/dist/types/threemap/mapView/tileLoader/ImageTileLoader.d.ts +0 -7
  250. package/dist/types/threemap/mapView/tileLoader/MapboxTerrainTileLoader.d.ts +0 -14
  251. package/dist/types/threemap/mapView/tileLoader/TileLoader.d.ts +0 -19
  252. package/dist/types/threemap/projections/EqualEarthProjection.d.ts +0 -11
  253. package/dist/types/threemap/projections/UTMProjection.d.ts +0 -21
  254. /package/dist/types/threemap/{mapView/tileLoader/worker/BaiduTrafficParser.worker.d.ts → 3dtiles/HDMap/v2/yaml_to_json.d.ts} +0 -0
  255. /package/dist/types/threemap/mapView/{tileLoader/worker → baidu}/binaryDecoder.d.ts +0 -0
  256. /package/dist/types/threemap/mapView/{terrainData → geo/terrainData}/QuantizedMeshTerrainData.d.ts +0 -0
  257. /package/dist/types/threemap/mapView/{terrainData → geo/terrainData}/TerrainMesh.d.ts +0 -0
  258. /package/dist/types/threemap/mapView/{materials → materialManager}/CustomMVTMaterialManager.d.ts +0 -0
  259. /package/dist/types/threemap/mapView/{materials → materialManager}/DarkMVTMaterialManager.d.ts +0 -0
  260. /package/dist/types/threemap/mapView/{materials → materialManager}/DefaultQuadMapMaterialManager.d.ts +0 -0
  261. /package/dist/types/threemap/mapView/{tileLoader/worker/BaiduVectorParser.worker.d.ts → tileProvider/worker/BaiduTrafficParser.worker.d.ts} +0 -0
  262. /package/dist/types/threemap/mapView/{tileLoader/worker/CesiumTerrainParser.worker.d.ts → tileProvider/worker/BaiduVectorParser.worker.d.ts} +0 -0
  263. /package/dist/types/threemap/mapView/{tileLoader/worker/GeoJSONVectorParser.worker.d.ts → tileProvider/worker/CesiumTerrainParser.worker.d.ts} +0 -0
  264. /package/dist/types/threemap/mapView/{tileLoader/worker/HDTrafficParser.worker.d.ts → tileProvider/worker/GeoJSONVectorParser.worker.d.ts} +0 -0
  265. /package/dist/types/threemap/mapView/{tileLoader/worker/LaCesiumTerrainParser.worker.d.ts → tileProvider/worker/HDTrafficParser.worker.d.ts} +0 -0
  266. /package/dist/types/threemap/mapView/{tileLoader → tileProvider}/worker/MVTParser.worker.d.ts +0 -0
  267. /package/dist/types/threemap/mapView/{tileLoader → tileProvider}/worker/MapboxTerrainParser.worker.d.ts +0 -0
@@ -1,91 +0,0 @@
1
- /**
2
- * 实例模型类
3
- * @param {Object} geometry 几何数据
4
- * @param {Object} material 材质
5
- * @param {Object} count 数量
6
- */
7
- export class InstancedModel extends TrafficInstancedObject {
8
- constructor(geometry: any, material: any, count: any);
9
- unused: number[];
10
- _geometryType: string;
11
- used: any[];
12
- sizeAttenuation: boolean;
13
- size: any;
14
- geometryScales: {};
15
- /**
16
- * 初始化实例矩阵
17
- */
18
- initInstanceMatrix(): void;
19
- /**
20
- * 初始化实例颜色
21
- */
22
- initInstanceColor(): void;
23
- instanceColor: any;
24
- /**
25
- * 根据id设置位置
26
- * @param {Number} id 物体id
27
- * @param {Any} position 位置,例如:[1,1,1],{x:1,y:1,z:2},Vector3(1,1,1)
28
- */
29
- setPosition(id: number, position: Any): void;
30
- /**
31
- * 根据id设置矩阵
32
- * @param {Number} id 物体id
33
- * @param {Any} matrix 矩阵
34
- */
35
- setMatrix(id: number, matrix: Any): void;
36
- /**
37
- * 根据id设置颜色
38
- * @param {Number} id 物体id
39
- * @param {Any} color 颜色
40
- */
41
- setColor(id: number, color: Any): void;
42
- /**
43
- * 根据id设置缩放
44
- * @param {Number} id 物体id
45
- * @param {Vector3} scale 缩放,例如:[1,1,1],{x:1,y:1,z:2},Vector3(1,1,1)
46
- */
47
- setScale(id: number, scale: Vector3): void;
48
- /**
49
- * 根据id返回缩放
50
- * @param {Number} id 物体id
51
- * @return {Vector3} scale 缩放,Vector3(1,1,1)
52
- */
53
- getScale(id: number): Vector3;
54
- /**
55
- * 根据id设置旋转
56
- * @param {Number} id 物体id
57
- * @param {Number} angle 旋转角,弧度,例如:Math.PI,默认值:0
58
- * @param {string} axis 旋转轴,x,y,z,默认值:x
59
- */
60
- setRotate(id: number, angle?: number, axis?: string): void;
61
- /**
62
- * 根据id返回旋转值
63
- * @param {Number} id 物体id
64
- * @return {Vector3} Euler 旋转,Euler(0,0,0,'xyz');
65
- */
66
- getRotation(id: number): Vector3;
67
- /**
68
- * 取用
69
- * @param {Number} id 物体id
70
- * @returns Boolean
71
- */
72
- take(id: number): boolean;
73
- /**
74
- * 释放单个物体
75
- * @param {Number} id 物体id
76
- * @returns Boolean
77
- */
78
- release(id: number): boolean;
79
- /**
80
- * 更新所有的几何,根据相机位置计算缩放比例
81
- * @param {Number} pr projected radius
82
- * @param {Vector3} cp camera position
83
- */
84
- updateAllByScale(pr: number, cp: Vector3): void;
85
- /**
86
- * 释放所有
87
- *
88
- */
89
- dispose(): void;
90
- }
91
- import { TrafficInstancedObject } from './TrafficInstancedObject';
@@ -1,6 +0,0 @@
1
- export class LineMesh {
2
- constructor(path: any, opt: any);
3
- vertexColors: boolean | undefined;
4
- update(path: any, closed: any): void;
5
- updateColors(colors: any, itemSize?: number): void;
6
- }
@@ -1,169 +0,0 @@
1
- /**
2
- * 统一作为模型的基类
3
- * @param { Object } args 参数
4
- * @param { number } [args.rotation=[0,0,0]] [x,y,z],绕各坐标轴的旋转角,弧度制,正北方向为0,右手坐标系,默认值[0,0,0]
5
- * @param { number } [args.scale=[1,1,1]] [x,y,z],缩放比例,默认值[1,1,1]
6
- * @param { number } [args.speed=0.0] 速度,m/s, 标量,默认值0.0
7
- * @param {string} [args.name] 名字, 默认值 空
8
- * @param {any} [args.color] 颜色,默认值new THREE.Color(1.0, 1.0, 1.0), 可以接受0xff0000,"rgb(255, 0, 0)","rgb(100%, 0%, 0%)",'skyblue',"hsl(0, 100%, 50%)"等格式
9
- * @param {boolean} [args.colorChangable] 颜色是否可变,默认值true
10
- * @param {boolean} [args.movable] 位置是否可变,默认值true
11
- * @param {string} [args.modelType] 模型类型,轿车,公交车,自行车等,默认值"car",可选参数(car,bus,truck,bicycle,pedestrian,traffic_cone),如果是自定义的模型,可以自己命名,然后配合modelUrl使用
12
- * @param {string} [args.modelUrl] 模型链接地址,目前支持gltf格式数据,默认值 null,如果是自定义模型类型,该值必须有
13
- * @param {Object} [args.models] 模型几何体
14
- * @param {Object} [args.text] 文字,可以在模型上添加文字,默认为 null
15
- * @param {Object} [args.labelOffset] 注记偏移量,默认值THREE.Vector3(0, 0, 1.0),可以接受[x,y,z]或者{x:,y:,z:}或者new THREE.Vector3()
16
- * @param {Object} [label] 注记几何体,{@link Label}
17
- * @param {string} [args.encoding] 编码规则 默认-1, 0 为LinearEncoding 线性;1为 sRGBEncoding 非线性
18
- */
19
- export class Model extends TrafficObject {
20
- constructor(args?: {});
21
- _rotation: Object;
22
- _scale: any;
23
- speed: any;
24
- name: any;
25
- color: any;
26
- _geometryType: string;
27
- colorChangable: any;
28
- movable: any;
29
- opacity: any;
30
- modelType: any;
31
- modelUrl: any;
32
- models: any[];
33
- text: any;
34
- labelOffset: Object;
35
- label: any;
36
- loaded: boolean;
37
- onLoad: any;
38
- onError: any;
39
- isLoadScene: any;
40
- isReceiveShadow: any;
41
- isCastShadow: any;
42
- isBloom: any;
43
- _display: boolean;
44
- enableLOD: any;
45
- minPixel: number;
46
- maps: any;
47
- encoding: any;
48
- roughness: any;
49
- metalness: any;
50
- needTrans: any;
51
- renderer: any;
52
- /**
53
- * 初始化
54
- */
55
- init(): void;
56
- renderOrder: any;
57
- initModel(): void;
58
- /**
59
- *
60
- * @param {Object} meshs 赋值样式
61
- */
62
- setScene(scene: any): false | undefined;
63
- /**
64
- *
65
- * @param {Object} meshs 赋值样式
66
- */
67
- setModels(meshs: Object): false | undefined;
68
- boundingBox: any;
69
- /**
70
- *
71
- * 修改编码值
72
- *
73
- * @param {Object} mesh 几何
74
- * @param {string} encoding 编码值 encoding规则 LinearEncoding 0 sRGBEncoding 1
75
- */
76
- setEncoding(mesh: Object, encoding: string): void;
77
- /**
78
- * 改变模型类型
79
- * @param {string} mt 模型类型
80
- *
81
- */
82
- setModelType(mt: string): void;
83
- /**
84
- * 改变标注
85
- * @param {string} text 文字
86
- */
87
- setText(text: string): void;
88
- /**
89
- * 设置标注的偏移量
90
- * @param {Object} lo 偏移
91
- */
92
- setLabelOffset(lo: Object): void;
93
- /**
94
- * 修改模型的颜色
95
- * @param {*} color 颜色
96
- */
97
- setColor(color: any): void;
98
- /**
99
- * 修改模型的颜色
100
- * @param {*} name 名称
101
- * @param {*} color 颜色
102
- */
103
- setNameColor(name: any, color: any): void;
104
- /**
105
- * 修改模型的可见性
106
- * @param {boolean} visible 颜色
107
- */
108
- setVisible(visible: boolean): void;
109
- visible: any;
110
- getBoundingBoxWorld(): any;
111
- onBeforeRender(): void;
112
- _visible: any;
113
- onAfterRender(): void;
114
- raycast(raycaster: any, intersects: any): void;
115
- /**
116
- * 克隆
117
- * @param {boolean} recursive 递归
118
- */
119
- clone(recursive: boolean): any;
120
- /**
121
- * 拷贝
122
- * @param {Object3D} source 源
123
- * @param {boolean} recursive 递归
124
- * @returns Model
125
- */
126
- copy(source: Object3D, recursive?: boolean): this;
127
- matrixAutoUpdate: any;
128
- matrixWorldNeedsUpdate: any;
129
- castShadow: any;
130
- receiveShadow: any;
131
- frustumCulled: any;
132
- userData: any;
133
- /**
134
- * 释放内存
135
- */
136
- dispose(): void;
137
- children: any[] | undefined;
138
- /**
139
- * 龙门架
140
- * @returns {boolean}
141
- */
142
- get isLMJ(): boolean;
143
- /**
144
- * 信号灯
145
- * @returns {boolean}
146
- */
147
- get isSignalLight(): boolean;
148
- /**
149
- * 摄像头
150
- * @returns {boolean}
151
- */
152
- get isDeviceCamera(): boolean;
153
- /**
154
- * 杆件(横、竖杆,灯杆)
155
- * @returns {boolean}
156
- */
157
- get isPole(): boolean;
158
- /**
159
- * 标牌
160
- * @returns {boolean}
161
- */
162
- get isBoard(): boolean;
163
- /**
164
- * 动态情报板
165
- * @returns {boolean}
166
- */
167
- get isScreenBoard(): boolean;
168
- }
169
- import { TrafficObject } from './TrafficObject';
@@ -1,16 +0,0 @@
1
- export class TrafficGroup {
2
- needTrans: boolean;
3
- point: any;
4
- afterAddToEngine(engine: any): void;
5
- engine: any;
6
- onBeforeScenePrepareRender(): void;
7
- rawQuaternion: any;
8
- raycast(raycaster: any, intersects: any): any;
9
- beforeRemoveFromEngine(): void;
10
- get hasLMJ(): any;
11
- get hasSignalLight(): any;
12
- get hasCamera(): any;
13
- get hasPole(): any;
14
- get hasBoard(): any;
15
- get hasScreenBoard(): any;
16
- }
@@ -1,7 +0,0 @@
1
- export class TrafficInstancedObject {
2
- needTrans: boolean;
3
- point: any;
4
- afterAddToEngine(engine: any): void;
5
- engine: any;
6
- onBeforeScenePrepareRender(): void;
7
- }
@@ -1,14 +0,0 @@
1
- export class TrafficObject {
2
- deviceType: string;
3
- needTrans: boolean;
4
- _receiveRaycast: boolean;
5
- point: any;
6
- /** @private */
7
- private afterAddToEngine;
8
- engine: any;
9
- onBeforeScenePrepareRender(): void;
10
- rawQuaternion: any;
11
- beforeRemoveFromEngine(): void;
12
- set receiveRaycast(value: boolean);
13
- get receiveRaycast(): boolean;
14
- }
@@ -1,29 +0,0 @@
1
- /**
2
- *
3
- * 车道轨迹线
4
- *
5
- * @example
6
- * let curveLineMesh = new curveLineMesh({vertices:[[x,y,z],[x,y,z],[x,y,z],[x,y,z]],color:new Color(1.0,0,0)})
7
- * @param {Object} args 参数
8
- * @requires @param {Array} [args.vertices=[]] 点坐标数组
9
- * @param {any} [args.colors] 颜色,默认值[[255, 255, 255, 1],[255, 255, 255, 1],[255, 255, 255, 1]] rgba
10
- * @param {number} [args.width=50.0] 宽度,取值范围0.0 - 10.0
11
- *
12
- */
13
- export class curveLineMesh {
14
- constructor(args?: {});
15
- vertices: any;
16
- colors: any;
17
- width: any;
18
- distance: any;
19
- mesh: any;
20
- typeLine: any;
21
- isUpdateColor: boolean;
22
- /**
23
- *
24
- * 更新数据
25
- *
26
- */
27
- updateMesh(): void;
28
- updateVertexColors(colors: any): any[];
29
- }
@@ -1 +0,0 @@
1
- export default function getMaterial(args: any): any;
@@ -1,19 +0,0 @@
1
- /**
2
- * 返回自定义的特效纹理,类似标靶
3
- * @param {Object} [args] 传参
4
- * @param {Object} args.color 中心点的颜色,默认值rgb(242, 202, 126)
5
- * @param {Object} args.colorRing 外环颜色,默认值 new THREE.Color(1.0, 0, 0)
6
- * @param {number} args.radius1 内心的半径,默认值10.0
7
- * @param {number} args.radius2 外环的半径,默认值20.0
8
- * @param {number} args.width 外环的宽度,默认值4.0
9
- * @param {number} args.speed 旋转的速度,默认值1.0,取值范围1-10
10
- * @returns {Object} 几何体 @instance THREE.Mesh
11
- */
12
- export default function createRingCircle(args?: {
13
- color: Object;
14
- colorRing: Object;
15
- radius1: number;
16
- radius2: number;
17
- width: number;
18
- speed: number;
19
- }): Object;
@@ -1,13 +0,0 @@
1
- /**
2
- * 返回自定义的特效纹理,类似由大到小的水波纹
3
- * @param {Object} [args] 传参
4
- * @param {Object} args.color 颜色,默认值new THREE.Color(0.45, 0.45, 0.45)
5
- * @param {number} args.radius 圆环的半径,默认值10.0
6
- * @param {number} args.speed 旋转的速度,默认值1.0,取值范围1-50
7
- * @returns {Object} 几何体 @instance THREE.Mesh
8
- */
9
- export default function createWaveCircle2(args?: {
10
- color: Object;
11
- radius: number;
12
- speed: number;
13
- }): Object;
@@ -1,17 +0,0 @@
1
- /**
2
- * 返回自定义的特效纹理,竖向扩散效果
3
- * @param {Object} [args] 传参
4
- * @param {Object} args.color 颜色,默认值new THREE.Color(0.45, 0.45, 0.45)
5
- * @param {number} args.radius 圆环的半径,默认值5.0
6
- * @param {number} args.height 圆环的高度,默认值10.0,取值范围1-50
7
- * @param {number} args.iTime 圆环的升降速度,默认值1.0
8
- * @param {number} args.width 单个圆环的宽度,默认值0.2,取值范围0-2.0
9
- * @returns {Object} 几何体 @instance THREE.Mesh
10
- */
11
- export default function createWaveCircle4(args?: {
12
- color: Object;
13
- radius: number;
14
- height: number;
15
- iTime: number;
16
- width: number;
17
- }): Object;
@@ -1,17 +0,0 @@
1
- /**
2
- * 返回自定义的特效纹理,类似由大到小的水波纹
3
- * @param {Object} [args] 传参
4
- * @param {Object} args.color 颜色,默认值new THREE.Color(0.45, 0.45, 0.45)
5
- * @param {number} args.radius 圆环的横半径,默认值10.0
6
- * @param {number} args.height 圆环的竖半径,默认值1.0
7
- * @param {number} args.speed 旋转的速度,默认值1.0,取值范围1-50
8
- * @param {number} args.opacity 透明度,默认值1.0,取值范围0-1.0
9
- * @returns {Object} 几何体 @instance THREE.Group
10
- */
11
- export default function createWaveCircle5(args?: {
12
- color: Object;
13
- radius: number;
14
- height: number;
15
- speed: number;
16
- opacity: number;
17
- }): Object;
@@ -1,50 +0,0 @@
1
- export function setAssetsPath(path: any): void;
2
- export function setHost(host: any): void;
3
- export function setProjectID(projectId: any): void;
4
- export function setSystem(system: any): void;
5
- export function setStaticResourceAK(ak: any): void;
6
- export function setHeaders(headers: any): void;
7
- /**
8
- * 从接口获取全部数据
9
- * @param config
10
- * @returns {Promise<{sceneConfig: {}, deviceList: [], lodUrl: string}>}
11
- */
12
- export function getAllData(config?: {}): Promise<{
13
- sceneConfig: {};
14
- deviceList: [];
15
- lodUrl: string;
16
- }>;
17
- export function queryDeviceByRadius(config?: {}): Promise<any>;
18
- export function combineModelUrl(resourceUrl?: {}, data?: any[]): any[];
19
- export function combineDeviceUrl(resourceUrl?: {}, data?: any[]): any;
20
- export function combineMaterialUrl(resourceUrl?: {}, data?: any[]): any[];
21
- export function combineSceneUrl(resourceUrl?: {}, data?: {}): {};
22
- export function combineBaseMapUrl(resourceUrl?: {}, mapList?: any[]): any[];
23
- export function updateDeviceInfo(data: any): Promise<any>;
24
- export function deleteDevice(uuid: any, project_id: any): Promise<any>;
25
- export function getGroup3dDeviceinfo(info?: {}): Promise<any>;
26
- export function getSceneParadeBySceneId(scene_id: any): Promise<any>;
27
- export function getWorkMapInfo(body: any): Promise<any>;
28
- export function searchLayerInfo(uuidList: any, type: any): Promise<any>;
29
- export function getStaticResourceConfig(): {
30
- ak: string;
31
- authList: any[];
32
- };
33
- export function getEncryptToken(url: any): string;
34
- export function getScene(sceneId: any): Promise<any>;
35
- export function getProjectDetail(projectId: any): Promise<any>;
36
- export function getMaterialInfo(): Promise<any>;
37
- export function getAllModels(projectId: any): Promise<any[]>;
38
- export function getDeviceListByUUID(projectId: any, uuid: any): Promise<any>;
39
- export function getResourcePrefix(): Promise<any>;
40
- export function getDeviceByRadius(params: any): Promise<any>;
41
- export function connectAssetsSync(host: any): Promise<{
42
- ws: Ws;
43
- connect: any;
44
- }>;
45
- export function checkAuth(params: any, host: any, path?: string): Promise<any>;
46
- export function connectDeviceActiveInfo(host: any, path?: string): Promise<{
47
- ws: Ws;
48
- connect: any;
49
- }>;
50
- import { Ws } from '../utils/ws';
@@ -1,3 +0,0 @@
1
- export function setLabelScale(num: any, originConfig: any): any;
2
- export function disposeObject(obj: any): void;
3
- export const MAP_CACHE: {};
@@ -1,78 +0,0 @@
1
- /**
2
- * 获取Vector2
3
- * @param {Any} position 坐标
4
- * @returns {Object} Vector2
5
- */
6
- export function getVector2(position: Any, defaultVector: any): Object;
7
- /**
8
- * 获取Vector3
9
- * @param {Any} position 坐标
10
- * @param {number} z 默认z值
11
- * @returns {Object} Vector3
12
- */
13
- export function getVector3(position: Any, z: number | undefined, defaultVector: any): Object;
14
- /**
15
- * 获取Box3
16
- * @param {Any} box 坐标
17
- * @returns {Object} Box3
18
- */
19
- export function getBox3(box: Any): Object;
20
- /**
21
- * 获取Color
22
- * @param {Any} color 坐标
23
- * @returns {Object} Color
24
- */
25
- export function getColor(color: Any): Object;
26
- /**
27
- * 删除重复点
28
- * @param {*} points 点数组
29
- */
30
- export function removeDupEndPts(points: any): void;
31
- export function convertToClockwise(vertices: any, holes: any): void;
32
- export function area(points: any, start: any, end: any): number;
33
- export function equals(arr1: any, arr2: any): boolean;
34
- export function getMatrixFromCameraParams(translation?: any, quaternion?: any, scale?: any): any;
35
- export function getEulerRotationFromCameraParams(quaternion: any): any;
36
- export function fromSreenToNdc(x: any, y: any, container: any): {
37
- x: number;
38
- y: number;
39
- z: number;
40
- };
41
- export function fromNdcToScreen(x: any, y: any, container: any): {
42
- x: number;
43
- y: number;
44
- };
45
- export function intersectsBox(box1: any, box2: any): any;
46
- export function webMercator2Tile(x: any, y: any, level?: number): {
47
- position: {
48
- x: number;
49
- y: number;
50
- };
51
- tileinfo: {
52
- x: number;
53
- y: number;
54
- level: number;
55
- };
56
- offset: {
57
- x: number;
58
- y: number;
59
- };
60
- };
61
- /**
62
- * 通过web墨卡托坐标和半径获取当前范围内瓦片的列表
63
- * @param {*} center
64
- * @param {*} radius
65
- * @param {*} level
66
- * @returns
67
- */
68
- export function getTileListByRadius(center: any, radius: any, level: any): string;
69
- export function getTileInfoListByRange(center: any, range: any, level: any, engine: any): {
70
- tile: string;
71
- position: number[];
72
- radius: number;
73
- }[];
74
- export function getTileInfoListByFrustum(camera: any, options?: {}): {
75
- tile: string;
76
- position: number[];
77
- radius: number;
78
- }[];
@@ -1,108 +0,0 @@
1
- /**
2
- * 修改颜色
3
- * @param model
4
- * @param value
5
- */
6
- export function modifyColor(model: any, value: any): void;
7
- /**
8
- * 修改透明度
9
- * @param model
10
- * @param value
11
- */
12
- export function modifyOpacity(model: any, value: any): void;
13
- /**
14
- * 修改缩放
15
- * @param model
16
- * @param value 目标值
17
- * @param delta 目标值与当前值的偏差值
18
- */
19
- export function modifyScale(model: any, value: any, delta: any): void;
20
- /**
21
- * 修改模型X坐标
22
- * @param model
23
- * @param value
24
- */
25
- export function modifyPositionX(model: any, value: any): void;
26
- /**
27
- * 修改模型Y坐标(WGS84坐标)
28
- * @param model
29
- * @param coordinate 数组或者这个结构{x: 116.474402, y: 39.127744}
30
- */
31
- export function modifyPositionXByWGS84(model: any, coordinate?: any[]): void;
32
- /**
33
- * 修改模型Y坐标(UTM坐标)
34
- * @param model
35
- * @param value
36
- */
37
- export function modifyPositionY(model: any, value: any): void;
38
- /**
39
- * 修改模型Y坐标(WGS84坐标)
40
- * @param model
41
- * @param coordinate 数组或者这个结构{x: 116.474402, y: 39.127744}
42
- */
43
- export function modifyPositionYByWGS84(model: any, coordinate?: any[]): void;
44
- /**
45
- * 修改模型高程(UTM坐标)
46
- * @param model
47
- * @param value
48
- */
49
- export function modifyPositionZ(model: any, value: any): void;
50
- /**
51
- * 修改Z轴旋转
52
- * @param model
53
- * @param deltaValue 目标值与当前值的偏差值
54
- */
55
- export function modifyRotateZ(model: any, deltaValue: any): void;
56
- /**
57
- * 修改X轴旋转
58
- * @param model
59
- * @param deltaValue 目标值与当前值的偏差值
60
- */
61
- export function modifyRotateX(model: any, deltaValue: any): void;
62
- /**
63
- * 按照x,y,z周顺序旋转,避免顺序差异导致的错误
64
- * @param model
65
- * @param x
66
- * @param y
67
- * @param z
68
- */
69
- export function modifyRotateXYZ(model: any, x: any, y: any, z: any): void;
70
- /**
71
- * 修改Y轴旋转
72
- * @param model
73
- * @param deltaValue 目标值与当前值的偏差值
74
- */
75
- export function modifyRotateY(model: any, deltaValue: any): void;
76
- /**
77
- *
78
- * @param {Object} model
79
- * @param {String} value
80
- * @param {String} name
81
- * @param {String} type
82
- */
83
- export function modifyModelMaterial(model: Object, value: string, name: string, type: string): void;
84
- export function updateMaterial(model: any, name: any, params: any): void;
85
- export function updateAllMaterial(model: any, name: any, params: any): void;
86
- /**
87
- * 更新InstanceMeh中uuid的部分显示或隐藏
88
- * @param viewer maptv.Viewer
89
- * @param uuid 设备的uuid
90
- * @param status true:显示,false:隐藏
91
- */
92
- export function toggleDisplay(viewer: any, uuid?: string, status?: boolean): void;
93
- export function initAreaTag(params: any): void;
94
- export const dynamicArr: string[];
95
- export function setDirectionalLight(viewer: Object, params?: Object): void;
96
- export function setAmbientLight(viewer: any, params?: {}): void;
97
- export function initLabelTag(tag: any, callback: any): Promise<{
98
- content: any;
99
- content2Top?: undefined;
100
- content2Center?: undefined;
101
- } | {
102
- content2Top: any;
103
- content2Center: any;
104
- content?: undefined;
105
- }>;
106
- export function initLineTag(params: any): void;
107
- export function modelVisible(children: any, name: any, visible: any): void;
108
- export function dataProcessor(promiseFn: any, options?: {}): (...args: [any][]) => any;