@baidumap/mapv-three 1.1.3 → 1.2.1
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/dist/devtool/panel.js +6 -2
- package/dist/mapvthree.module.js +37610 -35518
- package/dist/mapvthree.umd.js +7 -8
- package/dist/types/Internal.d.ts +0 -2
- package/dist/types/index.d.ts +8 -4
- package/dist/types/index.open.d.ts +8 -1
- package/dist/types/threejs/geometries/sphere/PillarGeometry.d.ts +4 -0
- package/dist/types/threejs/materials/point/Effect.d.ts +13 -0
- package/dist/types/threejs/materials/sphere/PillarMaterial.d.ts +5 -1
- package/dist/types/threejs/objects/FadeData.d.ts +1 -0
- package/dist/types/threejs/objects/element/OctahedralImpostor.d.ts +10 -20
- package/dist/types/threejs/objects/point/EffectModelPoint.d.ts +6 -0
- package/dist/types/threejs/objects/point/EffectPoint.d.ts +39 -26
- package/dist/types/threejs/objects/point/Label.d.ts +8 -0
- package/dist/types/threejs/objects/polygon/Polygon.d.ts +234 -66
- package/dist/types/threejs/objects/sphere/Pillar.d.ts +29 -17
- package/dist/types/threejs/objects/text/utils.d.ts +8 -1
- package/dist/types/threemap/3dtiles/HDMap3DTiles.d.ts +2 -0
- package/dist/types/threemap/3dtiles/cesium/Cesium3DTileset.d.ts +1 -0
- package/dist/types/threemap/3dtiles/cesium/content/Mesh3DTileContent.d.ts +1 -0
- package/dist/types/threemap/3dtiles/elements/TileInstancedElementManager.d.ts +25 -0
- package/dist/types/threemap/controls/editors/EditorManager.d.ts +51 -145
- package/dist/types/threemap/controls/editors/PolygonEditor.d.ts +14 -0
- package/dist/types/threemap/controls/editors/SplineEditor.d.ts +6 -0
- package/dist/types/threemap/dataSource/DataItem.d.ts +3 -1
- package/dist/types/threemap/dataSource/DataSource.d.ts +22 -0
- package/dist/types/threemap/engine/Map.d.ts +2 -0
- package/dist/types/threemap/engine/rendering/Label.d.ts +6 -1
- package/dist/types/threemap/engine/rendering/MicroTaskScheduler.d.ts +4 -0
- package/dist/types/threemap/mapView/baidu/TafficDataLoader.d.ts +13 -0
- package/dist/types/threemap/mapView/constants.d.ts +54 -0
- package/dist/types/threemap/mapView/geo/MapTile.d.ts +3 -0
- package/dist/types/threemap/mapView/geo/TileQuadtree.d.ts +2 -1
- package/dist/types/threemap/mapView/grid/BaiduVectorOnlineGrid.d.ts +10 -0
- package/dist/types/threemap/mapView/grid/Grid.d.ts +14 -0
- package/dist/types/threemap/mapView/map/MapView.d.ts +0 -10
- package/dist/types/threemap/mapView/mapbox/executer/fill.d.ts +2 -0
- package/dist/types/threemap/mapView/surface/MapSurface.d.ts +7 -4
- package/dist/types/threemap/mapView/surface/Placeholder.d.ts +1 -1
- package/dist/types/threemap/mapView/surface/VectorSurface.d.ts +1 -0
- package/dist/types/threemap/mapView/surface/strategy/FastTileLoaderStrategy.d.ts +3 -3
- package/dist/types/threemap/mapView/surface/strategy/HierarchicalTileLoaderStrategy.d.ts +0 -1
- package/dist/types/threemap/mapView/tileManager/RasterSurfaceTileManager.d.ts +4 -4
- package/dist/types/threemap/mapView/tileManager/SurfaceTileManager.d.ts +4 -1
- package/dist/types/threemap/mapView/tileManager/VectorSurfaceTileManager.d.ts +4 -5
- package/dist/types/threemap/mapView/tileProvider/AsyncCesiumTerrainDataLoader.d.ts +1 -1
- package/dist/types/threemap/mapView/tileProvider/AsyncDataTileLoader.d.ts +1 -0
- package/dist/types/threemap/mapView/tileProvider/BaseImageryTileProvider.d.ts +103 -0
- package/dist/types/threemap/mapView/tileProvider/TileProvider.d.ts +25 -9
- package/dist/types/threemap/mapView/tileProvider/imagery/Baidu09ImageryTileProvider.d.ts +71 -7
- package/dist/types/threemap/mapView/tileProvider/imagery/BingImageryTileProvider.d.ts +22 -3
- package/dist/types/threemap/mapView/tileProvider/imagery/GridCoordTileProvider.d.ts +2 -0
- package/dist/types/threemap/mapView/tileProvider/imagery/ImageryTileProvider.d.ts +56 -27
- package/dist/types/threemap/mapView/tileProvider/imagery/OSMImageryTileProvider.d.ts +0 -10
- package/dist/types/threemap/mapView/tileProvider/imagery/StadiaImageryTileProvider.d.ts +75 -0
- package/dist/types/threemap/mapView/tileProvider/imagery/WMSImageryTileProvider.d.ts +106 -13
- package/dist/types/threemap/mapView/tileProvider/imagery/WMTSImageryTileProvider.d.ts +114 -15
- package/dist/types/threemap/mapView/tileProvider/imagery/XYZImageryTileProvider.d.ts +53 -6
- package/dist/types/threemap/mapView/tileProvider/renderers/ImageTileLabelRenderer.d.ts +4 -0
- package/dist/types/threemap/mapView/{geo → tileProvider/renderers}/ImageryReprojector.d.ts +1 -1
- package/dist/types/threemap/mapView/tileProvider/renderers/VectorTileImageRenderer.d.ts +4 -0
- package/dist/types/threemap/mapView/tileProvider/vector/BaiduTrafficTileProvider.d.ts +165 -21
- package/dist/types/threemap/mapView/tileProvider/vector/BaiduVectorTileProvider.d.ts +3 -1
- package/dist/types/threemap/mapView/tileProvider/vector/GeoJSONVectorTileProvider.d.ts +1 -1
- package/dist/types/threemap/mapView/tileProvider/vector/HDTrafficTileProvider.d.ts +159 -24
- package/dist/types/threemap/mapView/tileProvider/vector/MapboxVectorTileProvider.d.ts +264 -40
- package/dist/types/threemap/mapView/tileProvider/vector/PlaneVectorTileProvider.d.ts +1 -1
- package/dist/types/threemap/mapView/tileProvider/vector/VectorTileProvider.d.ts +6 -4
- package/dist/types/threemap/mapView/utils/projectVertices.d.ts +1 -1
- package/dist/types/threemap/projections/BaiduMercatorProjection.d.ts +14 -0
- package/dist/types/threemap/projections/CoordTransformer.d.ts +13 -0
- package/dist/types/threemap/projections/GenericDefinedProjection.d.ts +10 -0
- package/dist/types/threemap/projections/Projection.d.ts +24 -7
- package/dist/types/threemap/projections/WebMercatorProjection.d.ts +16 -0
- package/dist/types/threemap/projections/extendCoordinate.d.ts +2 -0
- package/dist/types/threemap/projections/projections.d.ts +11 -0
- package/dist/types/util/LRUCacheNew.d.ts +1 -0
- package/dist/types/util/coordProjection.d.ts +0 -2
- package/dist/types/util/geojsonUtils.d.ts +1 -0
- package/dist/types/util/gradientMap.d.ts +16 -0
- package/package.json +2 -1
- package/dist/assets/models/hdmap/SM_Big-Pier_2.glb +0 -0
- package/dist/assets/models/hdmap/SM_Cone_Barrel.glb +0 -0
- package/dist/assets/models/hdmap/SM_Fence1-0.glb +0 -0
- package/dist/assets/models/hdmap/SM_Fence1-8.glb +0 -0
- package/dist/assets/models/hdmap/SM_Fence2-5.glb +0 -0
- package/dist/assets/models/hdmap/SM_Fence7-0.glb +0 -0
- package/dist/assets/models/hdmap/SM_Fence7-2.glb +0 -0
- package/dist/assets/models/hdmap/SM_Fence7-3.glb +0 -0
- package/dist/assets/models/hdmap/SM_Road_facility2.glb +0 -0
- package/dist/assets/models/hdmap/SM_Signboard_8.glb +0 -0
- package/dist/assets/models/hdmap/SM_fence1-5.glb +0 -0
- package/dist/assets/models/hdmap/tunnel_light.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_18_0_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_18_0_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_18_1_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_18_1_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_19_0_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_19_0_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_19_1_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_19_1_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_201_0_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_201_0_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_201_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_201_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_201_3.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_201_4.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_0_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_0_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_1_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_1_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_2_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_2_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_3_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_3_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_4_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_4_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_5_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_5_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_202_6.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_203_0.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_203_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_203_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_203_3.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_204_0_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_204_0_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_204_1_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_204_1_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_204_2_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_204_2_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_205_0.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_206_0.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_206_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_206_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_0_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_0_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_1_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_1_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_3_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_3_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_4.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_5_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_2_5_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_3_0.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_3_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_3_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_3_3.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_3_4.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_0.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_1_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_1_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_3_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_3_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_4_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_4_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_5_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_7_5_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_8_0.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_1_8_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_2_1_0.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_2_1_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_3_5_0.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_3_5_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_2_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_2_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_3_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_3_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_4.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_5.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_6.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_7.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_8.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_11_9.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_15_1.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_15_2.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_15_3.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_15_4.glb +0 -0
- package/dist/assets/models/hdmap/v2/BOU_4_15_5.glb +0 -0
- package/dist/assets/models/hdmap/v2//345/256/275/346/241/245/345/242/251_/346/237/261/345/255/220.glb +0 -0
- package/dist/assets/models/hdmap/v2//345/256/275/346/241/245/345/242/251_/351/241/266.glb +0 -0
- package/dist/assets/models/hdmap/v2//347/252/204/346/241/245/345/242/251_/346/237/261/345/255/220.glb +0 -0
- package/dist/assets/models/hdmap/v2//347/252/204/346/241/245/345/242/251_/351/241/266.glb +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_brick_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_brick_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_brick_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_frame_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_frame_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_frame_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_plant_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_plant_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_plant_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_stone_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_stone_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_embankment_stone_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_expansion_comb_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_expansion_comb_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_expansion_comb_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_green_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_green_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_1_Alpha.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_1_ORD.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_1_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_1_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_2_Alpha.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_2_ORD.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_2_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_2_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_3_ORD.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_3_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_3_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_block_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_block_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_block_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_concrete_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_concrete_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_concrete_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_gravel_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_gravel_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_road_gravel_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_brick_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_brick_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_brick_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_frame_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_frame_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_frame_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_plant_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_plant_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_plant_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_stone_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_stone_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopewall_stone_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopwall_frame_multi_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopwall_frame_multi_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_slopwall_frame_multi_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_wall_retaining_bold_albedo.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_wall_retaining_bold_normal.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/T_wall_retaining_bold_rso.PNG +0 -0
- package/dist/assets/textures/hdmap/v2/green_RSO.PNG +0 -0
- package/dist/assets/textures/hdmap/v2//345/217/215/345/205/211/346/274/206/350/255/246/345/221/212/351/235/242.PNG +0 -0
- package/dist/assets/textures/hdmap/v2//345/217/215/345/205/211/346/274/206/350/255/246/345/221/212/351/235/242_RSO.PNG +0 -0
- package/dist/assets/textures/hdmap/v2//345/217/215/345/205/211/346/274/206/350/255/246/345/221/212/351/235/242_normal.PNG +0 -0
- package/dist/types/addons/highwaymap/Viewer.d.ts +0 -164
- package/dist/types/addons/highwaymap/index.d.ts +0 -3
- package/dist/types/addons/highwaymap/map/Map.d.ts +0 -59
- package/dist/types/addons/highwaymap/map/MapControl.d.ts +0 -57
- package/dist/types/addons/highwaymap/service/index.d.ts +0 -3
- package/dist/types/addons/highwaymap/utils/eventTypes.d.ts +0 -15
- package/dist/types/addons/index.d.ts +0 -4
- package/dist/types/addons/traffic/config/assets.d.ts +0 -78
- package/dist/types/addons/traffic/config/element.d.ts +0 -23
- package/dist/types/addons/traffic/handler/AbstractLoadPolicy.d.ts +0 -13
- package/dist/types/addons/traffic/handler/DefaultLoadPolicy.d.ts +0 -5
- package/dist/types/addons/traffic/handler/ModelCreator.d.ts +0 -69
- package/dist/types/addons/traffic/handler/ModelHandler.d.ts +0 -131
- package/dist/types/addons/traffic/handler/assets.d.ts +0 -365
- package/dist/types/addons/traffic/handler/ceilManager.d.ts +0 -16
- package/dist/types/addons/traffic/handler/tools.d.ts +0 -17
- package/dist/types/addons/traffic/handler/trafficLight.d.ts +0 -253
- package/dist/types/addons/traffic/index.d.ts +0 -16
- package/dist/types/addons/traffic/objects/BasicLabel.d.ts +0 -226
- package/dist/types/addons/traffic/objects/Diamond.d.ts +0 -61
- package/dist/types/addons/traffic/objects/DynamicModel.d.ts +0 -129
- package/dist/types/addons/traffic/objects/InstancedModel.d.ts +0 -91
- package/dist/types/addons/traffic/objects/LineMesh.d.ts +0 -6
- package/dist/types/addons/traffic/objects/Model.d.ts +0 -169
- package/dist/types/addons/traffic/objects/TrafficGroup.d.ts +0 -16
- package/dist/types/addons/traffic/objects/TrafficInstancedObject.d.ts +0 -7
- package/dist/types/addons/traffic/objects/TrafficObject.d.ts +0 -14
- package/dist/types/addons/traffic/objects/curveLineMesh.d.ts +0 -29
- package/dist/types/addons/traffic/objects/shaders/Line2dShader.d.ts +0 -1
- package/dist/types/addons/traffic/objects/shaders/RingCircle.d.ts +0 -19
- package/dist/types/addons/traffic/objects/shaders/WaveCircle2.d.ts +0 -13
- package/dist/types/addons/traffic/objects/shaders/WaveCircle4.d.ts +0 -17
- package/dist/types/addons/traffic/objects/shaders/WaveCircle5.d.ts +0 -17
- package/dist/types/addons/traffic/service/assets.d.ts +0 -50
- package/dist/types/addons/traffic/utils/BasicLabel.d.ts +0 -3
- package/dist/types/addons/traffic/utils/MapMath.d.ts +0 -78
- package/dist/types/addons/traffic/utils/assets.d.ts +0 -108
- package/dist/types/addons/traffic/utils/freeTag.d.ts +0 -71
- package/dist/types/addons/traffic/utils/hooks.d.ts +0 -1
- package/dist/types/addons/traffic/utils/index.d.ts +0 -26
- package/dist/types/addons/traffic/utils/trafficLight.d.ts +0 -73
- package/dist/types/addons/traffic/utils/ws.d.ts +0 -23
- package/dist/types/addons/visual/core/LRU.d.ts +0 -27
- package/dist/types/addons/visual/core/defines.d.ts +0 -55
- package/dist/types/addons/visual/core/global.d.ts +0 -29
- package/dist/types/addons/visual/extension/AnimatePolygon.d.ts +0 -108
- package/dist/types/addons/visual/extension/DoubleLine.d.ts +0 -137
- package/dist/types/addons/visual/extension/FlyLineLayer.d.ts +0 -140
- package/dist/types/addons/visual/extension/MeshLine.d.ts +0 -61
- package/dist/types/addons/visual/extension/TubeLine.d.ts +0 -93
- package/dist/types/addons/visual/extension/Water/Reflector.d.ts +0 -26
- package/dist/types/addons/visual/extension/Water/Refractor.d.ts +0 -26
- package/dist/types/addons/visual/extension/Water/Water.d.ts +0 -60
- package/dist/types/addons/visual/extension/Water/WaterFive.d.ts +0 -20
- package/dist/types/addons/visual/extension/Water/WaterFour.d.ts +0 -17
- package/dist/types/addons/visual/extension/Water/WaterOne.d.ts +0 -10
- package/dist/types/addons/visual/extension/Water/WaterSix.d.ts +0 -15
- package/dist/types/addons/visual/extension/Water/WaterThree.d.ts +0 -14
- package/dist/types/addons/visual/extension/Water/WaterTwo.d.ts +0 -14
- package/dist/types/addons/visual/extension/specialEffect/LateralScan.d.ts +0 -32
- package/dist/types/addons/visual/extension/specialEffect/LineGradient.d.ts +0 -28
- package/dist/types/addons/visual/extension/specialEffect/TwinkleEffect.d.ts +0 -30
- package/dist/types/addons/visual/index.d.ts +0 -17
- package/dist/types/addons/visual/map/Fence.d.ts +0 -121
- package/dist/types/addons/visual/map/Polyline.d.ts +0 -178
- package/dist/types/addons/visual/mapTile/MapLayer.d.ts +0 -50
- package/dist/types/addons/visual/mapTile/MapLayerLoader.d.ts +0 -15
- package/dist/types/addons/visual/mapTile/MapLodLayer.d.ts +0 -15
- package/dist/types/addons/visual/mapTile/MapRequest.d.ts +0 -69
- package/dist/types/addons/visual/mapTile/MapTile.d.ts +0 -131
- package/dist/types/addons/visual/mapTile/MapTileLoader.d.ts +0 -26
- package/dist/types/addons/visual/mapTile/config.d.ts +0 -381
- package/dist/types/addons/visual/mapTile/workers/WorkerService.d.ts +0 -9
- package/dist/types/addons/visual/mapTile/workers/WorkerServiceManager.d.ts +0 -8
- package/dist/types/addons/visual/utils/AdaptedThree.d.ts +0 -22
- package/dist/types/addons/visual/utils/CombinePositions.d.ts +0 -23
- package/dist/types/addons/visual/utils/Extrude.d.ts +0 -92
- package/dist/types/addons/visual/utils/GenerateObject.d.ts +0 -32
- package/dist/types/addons/visual/utils/GeoJSONUtil.d.ts +0 -10
- package/dist/types/addons/visual/utils/MapMath.d.ts +0 -66
- package/dist/types/addons/visual/utils/MergeGeometries.d.ts +0 -13
- package/dist/types/addons/visual/utils/OrganizedGeometry.d.ts +0 -33
- package/dist/types/addons/visual/utils/OrganizedMaterial.d.ts +0 -5
- package/dist/types/addons/visual/utils/lines/Line2.d.ts +0 -7
- package/dist/types/addons/visual/utils/lines/LineDashShaderMaterial.d.ts +0 -4
- package/dist/types/addons/visual/utils/lines/LineGeometry.d.ts +0 -7
- package/dist/types/addons/visual/utils/lines/LineMaterial.d.ts +0 -4
- package/dist/types/addons/visual/utils/lines/LineSegments2.d.ts +0 -9
- package/dist/types/addons/visual/utils/lines/LineSegmentsGeometry.d.ts +0 -17
- package/dist/types/addons/visual/utils/util.d.ts +0 -269
- package/dist/types/threejs/objects/sphere/ConeInternal.d.ts +0 -63
- package/dist/types/threejs/objects/sphere/PillarInternal.d.ts +0 -24
- package/dist/types/threemap/mapView/BaiduVImageryMap.d.ts +0 -40
- package/dist/types/threemap/mapView/QuadMap.d.ts +0 -287
- package/dist/types/threemap/mapView/geo/TileManager.d.ts +0 -68
- package/dist/types/threemap/mapView/geo/globe.d.ts +0 -6
- package/dist/types/threemap/mapView/tileLoader/AsyncBinaryTileLoader.d.ts +0 -20
- package/dist/types/threemap/mapView/tileLoader/BaiduTrafficVectorTileLoader.d.ts +0 -13
- package/dist/types/threemap/mapView/tileLoader/BaiduVImageryTileLoader.d.ts +0 -59
- package/dist/types/threemap/mapView/tileLoader/BaiduVectorTileLoader.d.ts +0 -23
- package/dist/types/threemap/mapView/tileLoader/BinaryTileLoader.d.ts +0 -7
- package/dist/types/threemap/mapView/tileLoader/CesiumTerrainTileLoader.d.ts +0 -21
- package/dist/types/threemap/mapView/tileLoader/CompositionTileLoader.d.ts +0 -15
- package/dist/types/threemap/mapView/tileLoader/DebugTileLoader.d.ts +0 -4
- package/dist/types/threemap/mapView/tileLoader/HDTrafficTileLoader.d.ts +0 -16
- package/dist/types/threemap/mapView/tileLoader/ImageTileLoader.d.ts +0 -7
- package/dist/types/threemap/mapView/tileLoader/MapboxTerrainTileLoader.d.ts +0 -14
- package/dist/types/threemap/mapView/tileLoader/TileLoader.d.ts +0 -19
- package/dist/types/threemap/projections/EqualEarthProjection.d.ts +0 -31
- package/dist/types/threemap/projections/UTMProjection.d.ts +0 -72
- /package/dist/types/threemap/3dtiles/HDMap/{instanceConfig.d.ts → v2/instanceConfig.d.ts} +0 -0
- /package/dist/types/threemap/{mapView/tileLoader/worker/BaiduTrafficParser.worker.d.ts → 3dtiles/HDMap/v2/yaml_to_json.d.ts} +0 -0
- /package/dist/types/threemap/mapView/{tileLoader/worker → baidu}/binaryDecoder.d.ts +0 -0
- /package/dist/types/threemap/mapView/{terrainData → geo/terrainData}/QuantizedMeshTerrainData.d.ts +0 -0
- /package/dist/types/threemap/mapView/{terrainData → geo/terrainData}/TerrainMesh.d.ts +0 -0
- /package/dist/types/threemap/mapView/{materials → materialManager}/CustomMVTMaterialManager.d.ts +0 -0
- /package/dist/types/threemap/mapView/{materials → materialManager}/DarkMVTMaterialManager.d.ts +0 -0
- /package/dist/types/threemap/mapView/{materials → materialManager}/DefaultQuadMapMaterialManager.d.ts +0 -0
- /package/dist/types/threemap/mapView/{tileLoader/worker/BaiduVectorParser.worker.d.ts → tileProvider/worker/BaiduTrafficParser.worker.d.ts} +0 -0
- /package/dist/types/threemap/mapView/{tileLoader/worker/CesiumTerrainParser.worker.d.ts → tileProvider/worker/BaiduVectorParser.worker.d.ts} +0 -0
- /package/dist/types/threemap/mapView/{tileLoader/worker/GeoJSONVectorParser.worker.d.ts → tileProvider/worker/CesiumTerrainParser.worker.d.ts} +0 -0
- /package/dist/types/threemap/mapView/{tileLoader/worker/HDTrafficParser.worker.d.ts → tileProvider/worker/GeoJSONVectorParser.worker.d.ts} +0 -0
- /package/dist/types/threemap/mapView/{tileLoader/worker/LaCesiumTerrainParser.worker.d.ts → tileProvider/worker/HDTrafficParser.worker.d.ts} +0 -0
- /package/dist/types/threemap/mapView/{tileLoader → tileProvider}/worker/MVTParser.worker.d.ts +0 -0
- /package/dist/types/threemap/mapView/{tileLoader → tileProvider}/worker/MapboxTerrainParser.worker.d.ts +0 -0
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export namespace projectBoundingBoxMethods {
|
|
2
|
+
let MIN_MAX: number;
|
|
3
|
+
let FOUR_CORNERS: number;
|
|
4
|
+
let FOUR_CORNERS_WITH_EQUATOR: number;
|
|
5
|
+
}
|
|
1
6
|
/**
|
|
2
7
|
* 地图投影的基类,定义了投影坐标系统的基本接口
|
|
3
8
|
*
|
|
@@ -32,6 +37,12 @@ export class Projection {
|
|
|
32
37
|
* @readonly
|
|
33
38
|
*/
|
|
34
39
|
readonly isAxisAligned: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* 表示边界框的表示方法
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @readonly
|
|
44
|
+
*/
|
|
45
|
+
readonly projectBoundingBoxMethod: number;
|
|
35
46
|
/**
|
|
36
47
|
* 将地理坐标(经纬度)转换为投影坐标
|
|
37
48
|
* @param {Vector3} input 输入的地理坐标
|
|
@@ -52,7 +63,7 @@ export class Projection {
|
|
|
52
63
|
* @param {Box3} [projectedBox] 可选的输出边界框,如不提供则创建新的Box3
|
|
53
64
|
* @returns {Box3} 投影坐标系中的边界框
|
|
54
65
|
*/
|
|
55
|
-
geoBoxToProjectedBox(geoBox: Box3, projectedBox?: Box3): Box3;
|
|
66
|
+
geoBoxToProjectedBox(geoBox: Box3, projectedBox?: Box3, extend?: boolean): Box3;
|
|
56
67
|
/**
|
|
57
68
|
* 获取地理表面在指定坐标点的法线向量
|
|
58
69
|
* @param {Vector3} input 输入的地理坐标
|
|
@@ -73,18 +84,13 @@ export class Projection {
|
|
|
73
84
|
* @param {Box3} [geoBox] 可选的输出边界框,如不提供则创建新的Box3
|
|
74
85
|
* @returns {Box3} 地理坐标系中的边界框
|
|
75
86
|
*/
|
|
76
|
-
projectedBoxToGeoBox(projectedBox: Box3, geoBox?: Box3): Box3;
|
|
87
|
+
projectedBoxToGeoBox(projectedBox: Box3, geoBox?: Box3, extend?: boolean): Box3;
|
|
77
88
|
/**
|
|
78
89
|
* 判断两个投影是否相等
|
|
79
90
|
* @param {Projection} projection 要比较的投影对象
|
|
80
91
|
* @returns {boolean} 如果两个投影相等则返回true
|
|
81
92
|
*/
|
|
82
93
|
equals(projection: Projection): boolean;
|
|
83
|
-
/**
|
|
84
|
-
* 获取当前投影的世界边界框
|
|
85
|
-
* @returns {Box3} 投影的世界边界框
|
|
86
|
-
*/
|
|
87
|
-
getWorldBoundingBox(): Box3;
|
|
88
94
|
/**
|
|
89
95
|
* 将本地坐标系转换为固定坐标系
|
|
90
96
|
* @param {Vector3} origin 本地坐标系的原点
|
|
@@ -92,4 +98,15 @@ export class Projection {
|
|
|
92
98
|
* @returns {Matrix4} 转换后的固定坐标系矩阵
|
|
93
99
|
*/
|
|
94
100
|
localFrameToFixedFrame(origin: Vector3, fixedFrame?: Matrix4): Matrix4;
|
|
101
|
+
/**
|
|
102
|
+
* 获取投影的地理边界框
|
|
103
|
+
* @returns {Box3} 投影的地理边界框, 可为空
|
|
104
|
+
*/
|
|
105
|
+
get geoBoundingBox(): Box3;
|
|
106
|
+
/**
|
|
107
|
+
* 获取投影的投影边界框
|
|
108
|
+
* @returns {Box3} 投影的投影边界框
|
|
109
|
+
*/
|
|
110
|
+
get projectedBoundingBox(): Box3;
|
|
111
|
+
_projectedBoundingBox: any;
|
|
95
112
|
}
|
|
@@ -19,5 +19,21 @@ export class WebMercatorProjection extends Projection {
|
|
|
19
19
|
* @readonly
|
|
20
20
|
*/
|
|
21
21
|
readonly name: string;
|
|
22
|
+
/**
|
|
23
|
+
* 将地理坐标(经纬度)转换为Web墨卡托投影坐标
|
|
24
|
+
* @param {Vector3} input 输入的地理坐标,x,y分别为经度和纬度
|
|
25
|
+
* @param {Vector3} [output] 可选的输出向量,如不提供则创建新的Vector3
|
|
26
|
+
* @param {boolean} [extend=false] 是否扩展坐标,如果为true,则将超出范围的坐标扩展到范围外
|
|
27
|
+
* @returns {Vector3} 转换后的墨卡托投影坐标(单位:米)
|
|
28
|
+
*/
|
|
29
|
+
projectCoordinate(input: Vector3, output?: Vector3, extend?: boolean): Vector3;
|
|
30
|
+
/**
|
|
31
|
+
* 将Web墨卡托投影坐标转换为地理坐标(经纬度)
|
|
32
|
+
* @param {Vector3} input 输入的墨卡托投影坐标(单位:米)
|
|
33
|
+
* @param {Vector3} [output] 可选的输出向量,如不提供则创建新的Vector3
|
|
34
|
+
* @param {boolean} [extend=false] 是否扩展坐标,如果为true,则将超出范围的坐标扩展到范围外
|
|
35
|
+
* @returns {Vector3} 转换后的地理坐标,x,y分别为经度和纬度
|
|
36
|
+
*/
|
|
37
|
+
unprojectCoordinate(input: Vector3, output?: Vector3, extend?: boolean): Vector3;
|
|
22
38
|
}
|
|
23
39
|
import { Projection } from './Projection';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export function extendUnprojectCoordinate(inputValue: any, oldValue: any, maxGlobeValue: any, maxProjectedValue: any, keepMax?: boolean): any;
|
|
2
|
+
export function extendProjectCoordinate(inputValue: any, oldValue: any, maxGlobeValue: any, maxProjectedValue: any, keepMax?: boolean): any;
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
export const projectionDefs: {
|
|
2
|
+
'EPSG:5070': {
|
|
3
|
+
parameters: string;
|
|
4
|
+
projectBoundingBoxMethod: number;
|
|
5
|
+
geoBoundingBox: number[][];
|
|
6
|
+
};
|
|
7
|
+
'EPSG:8857': {
|
|
8
|
+
parameters: string;
|
|
9
|
+
projectBoundingBoxMethod: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
1
12
|
export function normalizeProjectionName(name: any): any;
|
|
2
13
|
export function getProjection(name: any): any;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export function extendUnprojectCoordinate(inputValue: any, oldValue: any, maxGlobeValue: any, maxProjectedValue: any): any;
|
|
2
|
-
export function extendProjectCoordinate(inputValue: any, oldValue: any, maxGlobeValue: any, maxProjectedValue: any): any;
|
|
3
1
|
/**
|
|
4
2
|
* Convert 900913 x/y values to lon/lat.
|
|
5
3
|
* (from https://github.com/mapbox/sphericalmercator)
|
|
@@ -19,6 +19,7 @@ export function projectArrayCoordinates(coordinates: Array<number>, projection:
|
|
|
19
19
|
* @param {string} projectionName 投影方式名
|
|
20
20
|
*/
|
|
21
21
|
export function unprojectArrayCoordinates(coordinates: Array<number>, projection: any): any;
|
|
22
|
+
export function transformArrayCoordinates(coordinates: any, sourceCoordType: any, targetCoordType: any): any;
|
|
22
23
|
/**
|
|
23
24
|
* 投影坐标转为原始经纬度坐标过程
|
|
24
25
|
* @internal
|
|
@@ -7,3 +7,19 @@ export function createGradientTexture(gradient?: {}, width?: number, height?: nu
|
|
|
7
7
|
* 更新已有 CanvasTexture 的渐变内容
|
|
8
8
|
*/
|
|
9
9
|
export function updateGradientTexture(canvasTexture: any, gradient: any, width?: number, height?: number): void;
|
|
10
|
+
/**
|
|
11
|
+
* 创建颜色分带贴图
|
|
12
|
+
* @param {string[]} bandColors - 分带颜色数组
|
|
13
|
+
* @param {number} width - 纹理宽度(建议保持与 gradientMap 相同)
|
|
14
|
+
* @param {number} height - 纹理高度
|
|
15
|
+
* @returns {CanvasTexture}
|
|
16
|
+
*/
|
|
17
|
+
export function createBandTexture(bandColors?: string[], width?: number, height?: number): CanvasTexture;
|
|
18
|
+
/**
|
|
19
|
+
* 更新已有 CanvasTexture 的颜色分带内容
|
|
20
|
+
* @param {CanvasTexture} canvasTexture - 需要更新的 CanvasTexture 实例
|
|
21
|
+
* @param {string[]} bandColors - 分带颜色数组
|
|
22
|
+
* @param {number} width - 纹理宽度
|
|
23
|
+
* @param {number} height - 纹理高度
|
|
24
|
+
*/
|
|
25
|
+
export function updateBandTexture(canvasTexture: CanvasTexture, bandColors?: string[], width?: number, height?: number): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baidumap/mapv-three",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "A powerful 3D map engine.",
|
|
5
5
|
"author": "mapopen-fe@baidu.com",
|
|
6
6
|
"main": "dist/mapvthree.umd.js",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"geojson-vt": "^4.0.2",
|
|
43
43
|
"js-md5": "^0.8.3",
|
|
44
44
|
"kdbush": "^3.0.0",
|
|
45
|
+
"mapbox-to-css-font": "^3.2.0",
|
|
45
46
|
"omggif": "^1.0.10",
|
|
46
47
|
"pbf": "^3.2.1",
|
|
47
48
|
"potpack": "^1.0.2",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|