@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,178 +0,0 @@
1
- /**
2
- * ```javascript
3
- * new Polyline({
4
- * linewidth: 3,
5
- * flatVertices: [[0, 0, 0], [10, 0, 0], [10, 10, 0]],
6
- * vertexColors: true,
7
- * colors: [1, 0, 0, 1, 1, 0],
8
- * dashed: true,
9
- * sizeAttenuation: false,
10
- * parabola: true,
11
- * parabolaAxleHeight: [10],
12
- * gapSize: 3,
13
- * startOpacity: .5,
14
- * })
15
- * ```
16
- */
17
- export class Polyline {
18
- /**
19
- *
20
- * @param {object} args 参数
21
- * @param {array} args.vertices 坐标
22
- * @param {boolean} args.vertexColors 是否使用顶点颜色,默认值为false
23
- * @param {any} args.color 线的颜色。vertexColors为false时,表示线为纯色,color可为Vector3或Array,默认值为红色;
24
- * vertexColors为true时,表示启用顶点颜色,color为数组,默认值为[]
25
- * @param {number} args.linewidth 线的宽度,默认值为1
26
- * @param {boolean} args.dashed 是否开启虚线模式,默认值为false
27
- * @param {number} args.dashScale 线条中虚线部分的占比,dashed为true时有效,默认值为1
28
- * @param {number} args.dashSize 虚线的实线的大小,dashed为true时有效,默认值为1
29
- * @param {number} args.gapSize 虚线的间隙的大小,dashed为true时有效,默认值为1
30
- * @param {number} args.dashOffset 虚线的线偏移量,dashed为true时有效,默认值为0
31
- * @param {number} args.opacity transparent为true时生效,线的透明度,默认值是1
32
- * @param {number} args.transparent 是否开启opcity,默认值为true
33
- * @param {boolean} args.parabola 是否开启抛物线模式,该模式下将改变线段上点的z坐标,默认值为false
34
- * @param {any} args.parabolaAxleHeight 抛物线模式下的轴高,值为number类型时,所有抛物线的轴高均为该值;若为number数组,
35
- * 则线段轴高与数组内值一一对应,若数组不够则轴高为两点间长度的1/3。默认值为0
36
- * @param {} args.interpolationTimes 抛物线模式下,每段线间的插值量。值为number类型时,所有线段的差值均为该值;
37
- * 若为number数组,则每段线间的插值量与数组内值一一对应,若数组不够则为默认值。默认值为20
38
- * @param {any} args.offset 线的位置偏移量,默认值是[0, 0, 0]
39
- * @param {number} args.speed 虚线模式下开启动画时,用于控制速度,默认值为1
40
- * @param {boolean} args.depthTest 是否在渲染此材质时启用深度测试。默认值为true
41
- * @param {boolean} args.depthWrite 渲染此材质是否对深度缓冲区有任何影响。默认为true
42
- * 以下为fatline独有属性
43
- * @param {number} args.startOpacity 线起始透明度,范围0-1,默认值1.
44
- * @param {number} args.endOpacity 线终止透明度,范围0-1,默认值1.
45
- * @param {boolean} args.sizeAttenuation 大小是否会被相机深度衰减,默认值为true
46
- * @param {object} args.resolution 视口分辨率,默认值为视口宽高
47
- * @param {boolean} args.alphaToCoverage 启用alpha to coverage. 只能在开启了MSAA的渲染环境中使用,默认为false
48
- * @param {boolean} args.useTexture 是否使用贴图,默认值为false不使用
49
- * @param {object} args.map 纹理图片地址或Texture类,仅useTexture为true时有效,默认值为null
50
- * @param {object} args.mapOffset 贴图的水平和竖直偏移量,仅useTexture为true时有效。默认值为Vector2(0,0)
51
- * @param {object} args.repeat 纹理在曲面上沿每个方向U和V重复多少次,仅useTexture为true时有效,默认new Vector2(1, 1)
52
- *
53
- */
54
- constructor(args?: {
55
- vertices: array;
56
- vertexColors: boolean;
57
- color: any;
58
- linewidth: number;
59
- dashed: boolean;
60
- dashScale: number;
61
- dashSize: number;
62
- gapSize: number;
63
- dashOffset: number;
64
- opacity: number;
65
- transparent: number;
66
- parabola: boolean;
67
- parabolaAxleHeight: any;
68
- interpolationTimes: any;
69
- offset: any;
70
- speed: number;
71
- depthTest: boolean;
72
- depthWrite: boolean;
73
- startOpacity: number;
74
- endOpacity: number;
75
- sizeAttenuation: boolean;
76
- resolution: object;
77
- alphaToCoverage: boolean;
78
- useTexture: boolean;
79
- map: object;
80
- mapOffset: object;
81
- repeat: object;
82
- });
83
- size: number;
84
- vertices: any;
85
- flatVertices: any[];
86
- vertexColors: boolean;
87
- color: any;
88
- linewidth: number;
89
- dashed: boolean;
90
- dashScale: number;
91
- dashSize: number;
92
- gapSize: number;
93
- dashOffset: number;
94
- opacity: number;
95
- offset: Object;
96
- parabola: boolean;
97
- parabolaAxleHeight: any;
98
- interpolationTimes: any;
99
- speed: number;
100
- transparent: number | boolean;
101
- depthTest: boolean;
102
- depthWrite: number | boolean;
103
- boundingBox: any;
104
- line: Object | null;
105
- _geometryType: string;
106
- startOpacity: any;
107
- endOpacity: any;
108
- sizeAttenuation: boolean;
109
- hasMapClip: unknown;
110
- resolution: object;
111
- alphaToCoverage: boolean;
112
- useTexture: boolean;
113
- repeat: object;
114
- mapOffset: object;
115
- receiveRaycast: any;
116
- map: any;
117
- /** @private */
118
- private afterAddToEngine;
119
- engine: any;
120
- /**
121
- *
122
- * 初始化
123
- *
124
- */
125
- init(): void;
126
- matrixAutoUpdate: boolean | undefined;
127
- /**
128
- * 设置几何点数组
129
- * @param {array} vertices 点数组
130
- */
131
- setVertices(vertices: array): void;
132
- /**
133
- *
134
- * 改变颜色
135
- *
136
- * @param {object} color 颜色
137
- *
138
- */
139
- setColor(color: object): void;
140
- /**
141
- *
142
- * 获取颜色
143
- *
144
- * @return {object} color 颜色
145
- *
146
- */
147
- getColor(): object;
148
- /**
149
- * 设置偏移量
150
- * @param {any} offset 偏移量
151
- */
152
- setOffset(offset: any): void;
153
- /**
154
- * 设置抛物线的轴线控制高度
155
- * @param {any} height 高度
156
- */
157
- setParabolaAxleHeight(height: any): void;
158
- /**
159
- * 设置抛物线两点间的插值量
160
- * @param {any} num 差值量
161
- */
162
- setInterpolationTimes(num: any): void;
163
- /**
164
- * 设置宽度
165
- * @param {number} width 宽度
166
- */
167
- setLinewidth(width: number): void;
168
- /**
169
- * 射线拾取
170
- */
171
- raycast(raycaster: any, intersects: any): void;
172
- /**
173
- *
174
- * 释放内存
175
- *
176
- */
177
- dispose(): void;
178
- }
@@ -1,50 +0,0 @@
1
- /**
2
- * 地图图层类(扩展自Object3D)
3
- * @param {Object} args 参数
4
- * @param {strign} [args.url] 网络地址
5
- * @param {number} [args.geometryBudget] 最大几何数
6
- * @param {Function} [args.initCallback] 初始化完成时的回调
7
- */
8
- export class MapLayer {
9
- constructor(args: any);
10
- root: any[];
11
- boundingBox: any;
12
- center: any;
13
- url: any;
14
- loaded: boolean;
15
- spacing: number;
16
- style: any;
17
- _visible: boolean;
18
- minimumTilePixelSize: number;
19
- numVisibleGeometries: number;
20
- numVisibleTiles: number;
21
- visibleTiles: Map<any, any>;
22
- deepestVisibleLevel: number;
23
- maxVisibledLevel: number;
24
- geometryBudget: number;
25
- loader: MapTileLoader;
26
- initCallback: any;
27
- _geometryType: string;
28
- /** @private */
29
- private afterAddToEngine;
30
- _engine: any;
31
- isLoaded(): boolean;
32
- isInitialized(): boolean;
33
- initialized(): void;
34
- baseUri: any;
35
- initRootTile(data: any, level?: number): void;
36
- updateMatrixWorld(force: any): void;
37
- matrixWorldNeedsUpdate: boolean | undefined;
38
- nodesOnRay(nodes: any, ray: any): any[];
39
- getBoundingBoxWorld(): any;
40
- getTilesByName(name: any): any[];
41
- addTile(tile: any): void;
42
- removeTile(tile: any): void;
43
- setVisible(value: any): void;
44
- getVisible(): boolean;
45
- setStyle(style: any): void;
46
- getStyle(): any;
47
- update(): void;
48
- dispose(): void;
49
- }
50
- import { MapTileLoader } from './MapTileLoader';
@@ -1,15 +0,0 @@
1
- /**
2
- * 地图图层加载类
3
- */
4
- export class MapLayerLoader {
5
- constructor(args?: {});
6
- name: string;
7
- debuggerMode: any;
8
- /**
9
- * 加载函数
10
- * @param {string} url 网络地址
11
- * @param {Function} callback 回调
12
- * @param {Object} mapLayer MapLayer实例
13
- */
14
- load(url: string, callback: Function, mapLayer: Object): void;
15
- }
@@ -1,15 +0,0 @@
1
- export class MapLodLayer {
2
- constructor(layerConfig: any);
3
- config: any;
4
- mapRequest: MapRequest;
5
- loader: MapLayerLoader;
6
- mapLayers: any[];
7
- handleBeforeRender: () => void;
8
- /** @private */
9
- private afterAddToEngine;
10
- engine: any;
11
- beforeRemoveFromEngine(engine: any): void;
12
- init(): Promise<any[]>;
13
- }
14
- import { MapRequest } from '../index';
15
- import { MapLayerLoader } from '../index';
@@ -1,69 +0,0 @@
1
- /**
2
- * 地图数据请求类
3
- * @constructor 新建实例
4
- * @param {Array} mapLayers 地图图层数组
5
- * @param {number} maxLevel 最大图层
6
- * @param {Function} callback 回调
7
- */
8
- export class MapRequest {
9
- constructor(mapLayers: any, maxLevel: any, callback: any);
10
- mapLayers: any;
11
- maxLevel: any;
12
- callback: any;
13
- priorityQueue: any;
14
- /**
15
- * 添加MapLayer
16
- * @param {Object} mapLayer MapLayer的实例
17
- */
18
- addMapLayer(mapLayer: Object): void;
19
- /**
20
- * 根据url获取MapLayer
21
- * @param {string} url 数据存储网址
22
- * @returns {Object} mapLayer
23
- */
24
- getMapLayer(url: string): Object;
25
- /**
26
- * 移除mapLayer
27
- * @param {Object} mapLayer MapLayer的实例
28
- */
29
- removeMapLayer(mapLayer: Object): void;
30
- /**
31
- * 初始化
32
- */
33
- initialize(): void;
34
- /**
35
- * 将根节点的tile添加至队列
36
- * @param {Object} root 根tile
37
- * @param {number} index mapLayer的索引位置
38
- */
39
- addRootTileToQueue(root: Object, index: number): void;
40
- /**
41
- * 将根节点的tile从队列中移除
42
- * @param {Object} root 根tile
43
- * @param {number} index mapLayer的索引
44
- */
45
- removeRootTileFromQueue(root: Object, index: number): void;
46
- /**
47
- * 更新可见mapLayer的结构
48
- * @param {Array} mapLayers mapLayer的数组
49
- * @param {Object} camera 相机
50
- * @returns {Object}
51
- */
52
- updateVisibilityStructures(mapLayers: any[], camera: Object): Object;
53
- /**
54
- * 更新瓦片地图的可见性
55
- * @param {Array} mapLayers mapLayer数组
56
- * @param {Object} camera 相机
57
- * @param {Object} renderer 渲染类实例
58
- * @returns {Object}
59
- */
60
- updateVisibility(mapLayers: any[], camera: Object, renderer: Object): Object;
61
- /**
62
- * 更新mapLayer
63
- * @param {Object} mapLayers 图层
64
- * @param {Object} camera 相机
65
- * @param {Object} renderer 渲染类实例
66
- * @returns {Object}
67
- */
68
- updateMapLayers(mapLayers: Object, camera: Object, renderer: Object): Object;
69
- }
@@ -1,131 +0,0 @@
1
- /**
2
- * 瓦片地图(扩展自Object3D)
3
- * @param {Object} args 参数
4
- * @param {Object} [args.mapLayer] MapLayer实例
5
- * @param {Object} [args.boundingBox] 最小包围盒
6
- */
7
- export class MapTile {
8
- constructor(args: any);
9
- _level: number;
10
- url: string;
11
- mapLayer: any;
12
- boundingBox: any;
13
- boundingSphere: any;
14
- loaded: boolean;
15
- loading: boolean;
16
- childTiles: any[];
17
- parentTile: any;
18
- _geometryType: string;
19
- numGeometries: number;
20
- spacing: number;
21
- /**
22
- * 加载
23
- */
24
- load(): void;
25
- startLoadTime: number | undefined;
26
- /**
27
- * 加载几何体
28
- */
29
- loadGeometries(): void;
30
- /**
31
- * 是否已加载
32
- */
33
- isLoaded(): boolean;
34
- /**
35
- *
36
- */
37
- set _loaded(value: boolean);
38
- /**
39
- *
40
- */
41
- get _loaded(): boolean;
42
- /**
43
- * 等级
44
- */
45
- set level(value: number);
46
- /**
47
- * 等级
48
- */
49
- get level(): number;
50
- /**
51
- * 获取url
52
- * @returns {string} url
53
- */
54
- getUrl(): string;
55
- /**
56
- * 获取url
57
- * @returns {string} url
58
- */
59
- setUrl(url: any): string;
60
- name: string | undefined;
61
- fileType: string | undefined;
62
- /**
63
- * 获取子几何体
64
- * @returns {Array} 子几何体
65
- */
66
- getChildren(): any[];
67
- /**
68
- * 获取子瓦片
69
- * @returns {Array} 子瓦片
70
- */
71
- getChildTiles(): any[];
72
- /**
73
- * 获取子结合体个数
74
- * @returns {number} 子结合体个数
75
- */
76
- getNumGeometries(): number;
77
- /**
78
- * 添加子结合体个数
79
- * @param {Object} geometry 几何体
80
- */
81
- addGeometry(geometry: Object): void;
82
- /**
83
- * 移除子结合体个数
84
- * @param {Object} geometry 几何体
85
- */
86
- removeGeometry(geometry: Object): void;
87
- /**
88
- * 获取最小包围盒
89
- * @returns {Object} 最小包围盒
90
- */
91
- getBoundingBox(): Object;
92
- /**
93
- * 设置最小包围盒
94
- * @param {Object} box 最小包围盒
95
- */
96
- setBoundingBox(box: Object): void;
97
- /**
98
- * 获取最小包围球
99
- * @returns {Object} 最小包围球
100
- */
101
- getBoundingSphere(): Object;
102
- /**
103
- * 设置最小包围球
104
- * @param {Object} sphere 最小包围球
105
- */
106
- setBoundingSphere(sphere: Object): void;
107
- /**
108
- * 设置位置
109
- * @param {Object} position 位置
110
- */
111
- setPosition(position: Object): void;
112
- /**
113
- * 更新矩阵
114
- * @param {boolean} force 强制
115
- */
116
- updateMatrixWorld(force: boolean): void;
117
- matrixWorldNeedsUpdate: boolean | undefined;
118
- setStyle(style: any): void;
119
- hideDescendants(): void;
120
- /**
121
- * 创建子瓦片
122
- * @returns {Array} 瓦片数组
123
- */
124
- createChildTiles(): any[];
125
- /**
126
- * 释放内存
127
- */
128
- dispose(): void;
129
- childrenTile: {} | undefined;
130
- children: any[] | undefined;
131
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * 瓦片地图加载类
3
- * @param {Object } mapLayer 地图图层
4
- * @param {Boolean } debugger 调试模式
5
- */
6
- export class MapTileLoader {
7
- constructor(mapLayer: any, debuggerMode: any);
8
- name: string;
9
- mapLayer: any;
10
- workerUrl: string | null;
11
- debuggerMode: any;
12
- /**
13
- * 加载tile数据
14
- * @param {Object} tile MapTile实例
15
- */
16
- load(tile: Object): void;
17
- /**
18
- * 生成几何体
19
- * @param {string} name 名字
20
- * @param {Object} data 组装好的数据
21
- * @param {Object} tile MapTile实例
22
- */
23
- generateObject(name: string, data: Object, tile: Object): null | undefined;
24
- onmessage(e: any, tile: any): void;
25
- saveAttribute2DB(url: any, e: any): void;
26
- }