@baidumap/mapv-three 1.3.3 → 1.4.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/README.md +3 -3
- package/dist/assets/textures/cloud/stbn.bin +0 -0
- package/dist/assets/textures/weather/thunder.jpg +0 -0
- package/dist/assets/wasm/lanelet.js +3296 -165
- package/dist/assets/wasm/lanelet.wasm +0 -0
- package/dist/assets/workers/{BaiduVectorParser.worker-d550338e.js → BaiduVectorParser.worker-486240e8.js} +977 -930
- package/dist/assets/workers/{CesiumTerrainParser.worker-20119751.js → CesiumTerrainParser.worker-ba35b937.js} +1032 -954
- package/dist/assets/workers/{MVTParser.worker-7dc8b0e4.js → MVTParser.worker-bb80e3b4.js} +755 -699
- package/dist/devtool/panel.js +108 -29
- package/dist/mapvthree.module.js +45540 -46298
- package/dist/mapvthree.umd.js +13 -7
- package/dist/types/Internal.d.ts +2 -0
- package/dist/types/adapters/bmap/Icon.d.ts +18 -0
- package/dist/types/adapters/bmap/InfoWindow.d.ts +124 -0
- package/dist/types/adapters/bmap/Label.d.ts +58 -0
- package/dist/types/adapters/bmap/Map.d.ts +124 -0
- package/dist/types/adapters/bmap/Marker.d.ts +28 -0
- package/dist/types/adapters/bmap/Overlay.d.ts +18 -0
- package/dist/types/adapters/bmap/Pixel.d.ts +1 -0
- package/dist/types/adapters/bmap/Point.d.ts +8 -0
- package/dist/types/adapters/bmap/Size.d.ts +8 -0
- package/dist/types/adapters/bmap/index.d.ts +8 -0
- package/dist/types/adapters/index.d.ts +1 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.open.d.ts +5 -0
- package/dist/types/threejs/controls/PointerLockControls.d.ts +2 -0
- package/dist/types/threejs/geometries/text/ScreenTextGeometry.d.ts +15 -0
- package/dist/types/threejs/loaders/utilities/BatchTableHierarchyExtension.d.ts +4 -4
- package/dist/types/threejs/loaders/utilities/FeatureTable.d.ts +1 -1
- package/dist/types/threejs/materials/effects/LightningBillboardMaterial.d.ts +3 -0
- package/dist/types/threejs/materials/effects/LightningMaterial.d.ts +9 -0
- package/dist/types/threejs/materials/extend/ExtendMeshStandardMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/natural/DynamicSkyMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/natural/StaticSkyMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/natural/VerticalGradientSkyMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/polygon/PolygonMaterial.d.ts +1 -0
- package/dist/types/threejs/materials/text/ScreenTextMaterial.d.ts +25 -0
- package/dist/types/threejs/objects/GeoInstancedMesh.d.ts +1 -0
- package/dist/types/threejs/objects/line/FatLineInternal.d.ts +4 -0
- package/dist/types/threejs/objects/line/Polyline.d.ts +1 -1
- package/dist/types/threejs/objects/point/Icon.d.ts +1 -0
- package/dist/types/threejs/objects/point/Label.d.ts +15 -2
- package/dist/types/threejs/objects/point/label/GeometryBufferBuilder.d.ts +3 -0
- package/dist/types/threejs/objects/point/label/TextBoxCalculator.d.ts +5 -3
- package/dist/types/threejs/objects/text/ScreenText.d.ts +273 -0
- package/dist/types/threejs/objects/text/font-atlas-manager.d.ts +10 -2
- package/dist/types/threejs/objects/text/utils.d.ts +1 -1
- package/dist/types/threemap/3dtiles/HDMap3DTiles.d.ts +26 -0
- package/dist/types/threemap/3dtiles/materials/Default3DTilesMaterialManager.d.ts +51 -3
- package/dist/types/threemap/Engine.d.ts +23 -4
- package/dist/types/threemap/animations/ObjectTracker.d.ts +73 -44
- package/dist/types/threemap/animations/PathTracker.d.ts +92 -24
- package/dist/types/threemap/animations/RotateTracker.d.ts +115 -21
- package/dist/types/threemap/animations/TrackerAbstract.d.ts +15 -11
- package/dist/types/threemap/controls/PointerLockControls.d.ts +8 -2
- package/dist/types/threemap/controls/controller/ColumbusController.d.ts +10 -0
- package/dist/types/threemap/controls/controller/Scene3DController.d.ts +9 -0
- package/dist/types/threemap/controls/editors/Editor.d.ts +3 -0
- package/dist/types/threemap/engine/Clock.d.ts +156 -0
- package/dist/types/threemap/engine/Controller.d.ts +141 -0
- package/dist/types/threemap/engine/Map.d.ts +34 -4
- package/dist/types/threemap/engine/Rendering.d.ts +15 -0
- package/dist/types/threemap/engine/event/EntityProxy.d.ts +1 -0
- package/dist/types/threemap/engine/map/BlankMap.d.ts +1 -1
- package/dist/types/threemap/engine/map/BlankMap3DControl.d.ts +4 -1
- package/dist/types/{threejs → threemap/engine/map}/controls/DraggingMovementAggregator.d.ts +3 -0
- package/dist/types/{threejs → threemap/engine/map}/controls/MapControl3D.d.ts +19 -2
- package/dist/types/{threejs → threemap/engine/map}/controls/PointerMovementAggregator.d.ts +3 -0
- package/dist/types/threemap/engine/map/earth/Earth.d.ts +1 -0
- package/dist/types/threemap/engine/rendering/Collision.d.ts +5 -0
- package/dist/types/threemap/engine/rendering/Label.d.ts +15 -0
- package/dist/types/threemap/engine/rendering/MainNew.d.ts +1 -1
- package/dist/types/threemap/engine/rendering/postprocessing/OpaquePostprocessings.d.ts +1 -1
- package/dist/types/threemap/engine/rendering/postprocessing/SkyAtmospherePass.d.ts +1 -0
- package/dist/types/threemap/engine/rendering/scene/DirectSceneRendering.d.ts +5 -0
- package/dist/types/threemap/mapView/geo/terrainData/QuantizedMeshTerrainData.d.ts +1 -1
- package/dist/types/threemap/mapView/grid/BaiduVectorOfflineGrid.d.ts +5 -0
- package/dist/types/threemap/mapView/map/MapView.d.ts +3 -0
- package/dist/types/threemap/mapView/parser/baidulane/ElementParser.d.ts +86 -0
- package/dist/types/threemap/mapView/parser/baidulane/StyleParser.d.ts +28 -0
- package/dist/types/threemap/mapView/parser/baidulane/constants/index.d.ts +25 -0
- package/dist/types/threemap/mapView/parser/baidulane/constants/types.d.ts +47 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/GeometryBuilder.d.ts +40 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/LayerManager.d.ts +41 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/MaterialFactory.d.ts +71 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/StyleManager.d.ts +50 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/TextureManager.d.ts +65 -0
- package/dist/types/threemap/mapView/parser/baidulane/core/wasmManager.d.ts +18 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Base.d.ts +46 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Building3d.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/FlatSymbol.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/LabelLine.d.ts +36 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Line.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Line3d.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Line3dTexture.d.ts +3 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/LineDash.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/LineTexture.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Poi.d.ts +26 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Polygon.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/Polygon3d.d.ts +40 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/PolygonExtrude.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/PolygonExtrudeTexture.d.ts +18 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/PolygonOpacity.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/generators/SimplePoint.d.ts +39 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Background.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Base.d.ts +27 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/BridgePier.d.ts +20 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/DebugLine.d.ts +16 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/DebugPoint.d.ts +5 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/DebugPolygon.d.ts +20 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingGradient.d.ts +16 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingGuide.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingLine.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingPoly.d.ts +15 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/GaoqingRoad.d.ts +13 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/HRegion.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/LineName.d.ts +48 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Link.d.ts +10 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Poi.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Poly.d.ts +11 -0
- package/dist/types/threemap/mapView/parser/baidulane/processors/Texture.d.ts +10 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/color.d.ts +13 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/coordinate.d.ts +18 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/geometry.d.ts +3 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/icon.d.ts +8 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/merge.d.ts +7 -0
- package/dist/types/threemap/mapView/parser/baidulane/utils/tracer.d.ts +7 -0
- package/dist/types/{util/mapbox.d.ts → threemap/mapView/parser/mapbox/util.d.ts} +1 -1
- package/dist/types/threemap/mapView/surface/GroundSceneRenderer.d.ts +7 -2
- package/dist/types/threemap/mapView/surface/MapSurface.d.ts +2 -0
- package/dist/types/threemap/mapView/surface/strategy/FastTileLoaderStrategy.d.ts +16 -0
- package/dist/types/threemap/mapView/tileProvider/terrain/CesiumTerrainTileProvider.d.ts +3 -0
- package/dist/types/threemap/mapView/tileProvider/vector/BaiduLaneVectorTileProvider.d.ts +7 -0
- package/dist/types/threemap/mapView/tileProvider/vector/BaiduVectorTileProvider.d.ts +3 -0
- package/dist/types/threemap/mapView/tileProvider/vector/MapboxVectorTileProvider.d.ts +6 -10
- package/dist/types/threemap/mapView/utils/createGroundTileMesh.d.ts +2 -1
- package/dist/types/threemap/mapView/utils/projectVertices.d.ts +1 -1
- package/dist/types/threemap/materials/BatchBuildingMaterial.d.ts +9 -11
- package/dist/types/threemap/materials/RoadMarkingMaterial.d.ts +2 -11
- package/dist/types/threemap/materials/TerrainClassificationMaterial.d.ts +9 -7
- package/dist/types/threemap/natural/DynamicSky.d.ts +68 -22
- package/dist/types/threemap/natural/DynamicWeather.d.ts +17 -105
- package/dist/types/threemap/natural/EmptySky.d.ts +48 -62
- package/dist/types/threemap/natural/PhysicalSky.d.ts +220 -0
- package/dist/types/threemap/natural/Rain.d.ts +5 -2
- package/dist/types/threemap/natural/Snow.d.ts +5 -2
- package/dist/types/threemap/natural/StaticSky.d.ts +1 -0
- package/dist/types/threemap/natural/Thunderstorm.d.ts +46 -0
- package/dist/types/threemap/natural/clouds/CascadedShadowMaps.d.ts +31 -0
- package/dist/types/threemap/natural/clouds/CloudLayer.d.ts +19 -0
- package/dist/types/threemap/natural/clouds/CloudLayers.d.ts +13 -0
- package/dist/types/threemap/natural/clouds/CloudShape.d.ts +4 -0
- package/dist/types/threemap/natural/clouds/CloudShapeDetail.d.ts +4 -0
- package/dist/types/threemap/natural/clouds/CloudsEffect.d.ts +173 -0
- package/dist/types/threemap/natural/clouds/CloudsMaterial.d.ts +35 -0
- package/dist/types/threemap/natural/clouds/CloudsPass.d.ts +39 -0
- package/dist/types/threemap/natural/clouds/CloudsPostPass.d.ts +10 -0
- package/dist/types/threemap/natural/clouds/CloudsResolveMaterial.d.ts +13 -0
- package/dist/types/threemap/natural/clouds/DensityProfile.d.ts +10 -0
- package/dist/types/threemap/natural/clouds/LocalWeather.d.ts +4 -0
- package/dist/types/threemap/natural/clouds/PassBase.d.ts +7 -0
- package/dist/types/threemap/natural/clouds/Procedural3DTexture.d.ts +15 -0
- package/dist/types/threemap/natural/clouds/ProceduralTexture.d.ts +15 -0
- package/dist/types/threemap/natural/clouds/ShaderArrayPass.d.ts +3 -0
- package/dist/types/threemap/natural/clouds/ShadowMaterial.d.ts +14 -0
- package/dist/types/threemap/natural/clouds/ShadowPass.d.ts +31 -0
- package/dist/types/threemap/natural/clouds/ShadowResolveMaterial.d.ts +8 -0
- package/dist/types/threemap/natural/clouds/Turbulence.d.ts +4 -0
- package/dist/types/threemap/natural/clouds/bayer.d.ts +2 -0
- package/dist/types/threemap/natural/clouds/constants.d.ts +6 -0
- package/dist/types/threemap/natural/clouds/helpers/FrustumCorners.d.ts +10 -0
- package/dist/types/threemap/natural/clouds/helpers/setArrayRenderTargetLayers.d.ts +1 -0
- package/dist/types/threemap/natural/clouds/helpers/splitFrustum.d.ts +6 -0
- package/dist/types/threemap/natural/clouds/qualityPresets.d.ts +130 -0
- package/dist/types/threemap/natural/clouds/uniforms.d.ts +44 -0
- package/dist/types/threemap/natural/core/ArrayBufferLoader.d.ts +3 -0
- package/dist/types/threemap/natural/core/DataTextureLoader.d.ts +11 -0
- package/dist/types/threemap/natural/core/Ellipsoid.d.ts +17 -0
- package/dist/types/threemap/natural/core/Geodetic.d.ts +23 -0
- package/dist/types/threemap/natural/core/TypedArrayLoader.d.ts +5 -0
- package/dist/types/threemap/natural/core/capabilities.d.ts +1 -0
- package/dist/types/threemap/natural/core/celestialDirections.d.ts +5 -0
- package/dist/types/threemap/natural/core/decorators.d.ts +61 -0
- package/dist/types/threemap/natural/core/defineShorthand.d.ts +2 -0
- package/dist/types/threemap/natural/core/helpers/projectOnEllipsoidSurface.d.ts +1 -0
- package/dist/types/threemap/natural/core/math.d.ts +15 -0
- package/dist/types/threemap/natural/core/requestIdleCallback.d.ts +2 -0
- package/dist/types/threemap/natural/core/resolveIncludes.d.ts +1 -0
- package/dist/types/threemap/natural/core/shaders/index.d.ts +10 -0
- package/dist/types/threemap/natural/core/unrollLoops.d.ts +1 -0
- package/dist/types/threemap/natural/effects/DepthEffect.d.ts +15 -0
- package/dist/types/threemap/natural/effects/DitheringEffect.d.ts +6 -0
- package/dist/types/threemap/natural/effects/DownsampleThresholdMaterial.d.ts +14 -0
- package/dist/types/threemap/natural/effects/GeometryEffect.d.ts +11 -0
- package/dist/types/threemap/natural/effects/GeometryPass.d.ts +6 -0
- package/dist/types/threemap/natural/effects/LensFlareEffect.d.ts +31 -0
- package/dist/types/threemap/natural/effects/LensFlareFeaturesMaterial.d.ts +17 -0
- package/dist/types/threemap/natural/effects/NormalEffect.d.ts +16 -0
- package/dist/types/threemap/natural/effects/createHaldLookupTexture.d.ts +1 -0
- package/dist/types/threemap/natural/effects/index.d.ts +7 -0
- package/dist/types/threemap/natural/effects/setupMaterialsForGeometryPass.d.ts +1 -0
- package/dist/types/threemap/natural/sky/AerialPerspectiveEffect.d.ts +95 -0
- package/dist/types/threemap/natural/sky/AtmosphereMaterialBase.d.ts +40 -0
- package/dist/types/threemap/natural/sky/AtmosphereParameters.d.ts +32 -0
- package/dist/types/threemap/natural/sky/AtmospherePostPass.d.ts +10 -0
- package/dist/types/threemap/natural/sky/PrecomputedTexturesGenerator.d.ts +66 -0
- package/dist/types/threemap/natural/sky/SkyMaterial.d.ts +26 -0
- package/dist/types/threemap/natural/sky/constants.d.ts +14 -0
- package/dist/types/threemap/natural/sky/getAltitudeCorrectionOffset.d.ts +1 -0
- package/dist/types/threemap/overlay/Marker.d.ts +3 -0
- package/dist/types/threemap/services/autoComplete/AutoComplete.d.ts +1 -1
- package/dist/types/threemap/services/boundary/Boundary.d.ts +3 -3
- package/dist/types/threemap/services/common/baiduRequest.d.ts +1 -1
- package/dist/types/threemap/services/configs.d.ts +2 -2
- package/dist/types/threemap/services/district/DistrictLayer.d.ts +3 -3
- package/dist/types/threemap/services/geocoder/Geocoder.d.ts +5 -5
- package/dist/types/threemap/services/localSearch/LocalSearch.d.ts +5 -5
- package/dist/types/threemap/services/routeSearch/DrivingRoute.d.ts +2 -2
- package/dist/types/threemap/services/routeSearch/TransitRoute.d.ts +3 -3
- package/dist/types/threemap/video/VideoConfig.d.ts +2 -2
- package/dist/types/util/graphics/line.d.ts +2 -2
- package/dist/types/util/request.d.ts +1 -1
- package/package.json +6 -3
- /package/dist/types/{threejs → threemap/engine/map}/controls/MapControl.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/color.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/background.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/fill-extrusion.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/fill.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/line.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/executer/symbol.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/compound_expression.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/assertion.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/at.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/case.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/coalesce.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/coercion.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/collator.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/comparison.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/format.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/image.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/in.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/index_of.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/interpolate.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/length.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/let.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/literal.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/match.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/number_format.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/slice.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/step.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/var.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/definitions/within.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/evaluation_context.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/expression.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/is_constant.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/parsing_context.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/parsing_error.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/scope.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/stops.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/types/collator.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/types/formatted.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/types/resolved_image.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/types.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/expression/values.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/feature_filter/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/function/convert.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/function/index.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/sourceLayer.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/sprite.d.ts +0 -0
- /package/dist/types/threemap/mapView/{mapbox → parser/mapbox}/style.d.ts +0 -0
package/dist/types/Internal.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export { EngineRendering } from "./threemap/engine/Rendering";
|
|
|
3
3
|
export { EngineEvent } from "./threemap/engine/Event";
|
|
4
4
|
export { EngineSelection } from "./threemap/engine/Selection";
|
|
5
5
|
export { EngineWidgets } from "./threemap/engine/Widgets";
|
|
6
|
+
export { EngineClock } from "./threemap/engine/Clock";
|
|
7
|
+
export { EngineController } from "./threemap/engine/Controller";
|
|
6
8
|
export { RenderingLabel } from "./threemap/engine/rendering/Label";
|
|
7
9
|
export { RenderingCollision } from "./threemap/engine/rendering/Collision";
|
|
8
10
|
export { RenderingAnimation } from "./threemap/engine/rendering/Animation";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export class Icon {
|
|
2
|
+
constructor(imageUrl: any, size: any, options?: {});
|
|
3
|
+
_size: any;
|
|
4
|
+
_imageUrl: any;
|
|
5
|
+
_imageSize: any;
|
|
6
|
+
_anchor: any;
|
|
7
|
+
_imageOffset: any;
|
|
8
|
+
set size(value: any);
|
|
9
|
+
get size(): any;
|
|
10
|
+
set anchor(value: any);
|
|
11
|
+
get anchor(): any;
|
|
12
|
+
set imageOffset(value: any);
|
|
13
|
+
get imageOffset(): any;
|
|
14
|
+
set imageUrl(value: any);
|
|
15
|
+
get imageUrl(): any;
|
|
16
|
+
set imageSize(value: any);
|
|
17
|
+
get imageSize(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 百度地图 InfoWindow 适配器类
|
|
3
|
+
* 此类表示地图上包含信息的窗口
|
|
4
|
+
*/
|
|
5
|
+
export class InfoWindow extends Overlay {
|
|
6
|
+
constructor(content: any, options?: {});
|
|
7
|
+
_content: any;
|
|
8
|
+
_options: {};
|
|
9
|
+
_width: any;
|
|
10
|
+
_height: any;
|
|
11
|
+
_maxWidth: any;
|
|
12
|
+
_title: any;
|
|
13
|
+
_offset: any;
|
|
14
|
+
_enableAutoPan: any;
|
|
15
|
+
_enableCloseOnClick: any;
|
|
16
|
+
_position: any;
|
|
17
|
+
_isOpen: boolean;
|
|
18
|
+
_isMaximized: boolean;
|
|
19
|
+
_maxContent: string;
|
|
20
|
+
_enableMaximizeButton: boolean;
|
|
21
|
+
_popup: any;
|
|
22
|
+
/**
|
|
23
|
+
* 初始化 Popup 实例
|
|
24
|
+
* @private
|
|
25
|
+
*/
|
|
26
|
+
private _initPopup;
|
|
27
|
+
/**
|
|
28
|
+
* 设置信息窗口的宽度,单位像素。取值范围:220 - 730
|
|
29
|
+
* @param {number} width 宽度值
|
|
30
|
+
*/
|
|
31
|
+
setWidth(width: number): void;
|
|
32
|
+
/**
|
|
33
|
+
* 设置信息窗口的高度,单位像素。取值范围:60 - 650
|
|
34
|
+
* @param {number} height 高度值
|
|
35
|
+
*/
|
|
36
|
+
setHeight(height: number): void;
|
|
37
|
+
/**
|
|
38
|
+
* 重绘信息窗口,当信息窗口内容发生变化时进行调用
|
|
39
|
+
*/
|
|
40
|
+
redraw(): void;
|
|
41
|
+
/**
|
|
42
|
+
* 设置信息窗口标题。支持HTML内容
|
|
43
|
+
* @param {string|HTMLElement} title 标题
|
|
44
|
+
*/
|
|
45
|
+
setTitle(title: string | HTMLElement): void;
|
|
46
|
+
/**
|
|
47
|
+
* 返回信息窗口标题
|
|
48
|
+
* @returns {string|HTMLElement} 标题
|
|
49
|
+
*/
|
|
50
|
+
getTitle(): string | HTMLElement;
|
|
51
|
+
/**
|
|
52
|
+
* 设置信息窗口内容。支持HTML内容
|
|
53
|
+
* @param {string|HTMLElement} content 内容
|
|
54
|
+
*/
|
|
55
|
+
setContent(content: string | HTMLElement): void;
|
|
56
|
+
/**
|
|
57
|
+
* 返回信息窗口内容
|
|
58
|
+
* @returns {string|HTMLElement} 内容
|
|
59
|
+
*/
|
|
60
|
+
getContent(): string | HTMLElement;
|
|
61
|
+
/**
|
|
62
|
+
* 返回信息窗口的位置
|
|
63
|
+
* @returns {Point} 位置坐标
|
|
64
|
+
*/
|
|
65
|
+
getPosition(): Point;
|
|
66
|
+
/**
|
|
67
|
+
* 设置信息窗口的位置(内部方法)
|
|
68
|
+
* @private
|
|
69
|
+
*/
|
|
70
|
+
private _setPosition;
|
|
71
|
+
/**
|
|
72
|
+
* 启用窗口最大化功能
|
|
73
|
+
*/
|
|
74
|
+
enableMaximize(): void;
|
|
75
|
+
/**
|
|
76
|
+
* 禁用窗口最大化功能
|
|
77
|
+
*/
|
|
78
|
+
disableMaximize(): void;
|
|
79
|
+
/**
|
|
80
|
+
* 返回信息窗口的打开状态
|
|
81
|
+
* @returns {boolean} 是否打开
|
|
82
|
+
*/
|
|
83
|
+
isOpen(): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 信息窗口最大化时所显示内容,支持HTML内容
|
|
86
|
+
* @param {string} content 最大化内容
|
|
87
|
+
*/
|
|
88
|
+
setMaxContent(content: string): void;
|
|
89
|
+
/**
|
|
90
|
+
* 最大化信息窗口
|
|
91
|
+
*/
|
|
92
|
+
maximize(): void;
|
|
93
|
+
/**
|
|
94
|
+
* 还原信息窗口
|
|
95
|
+
*/
|
|
96
|
+
restore(): void;
|
|
97
|
+
/**
|
|
98
|
+
* 开启打开信息窗口时地图自动平移
|
|
99
|
+
*/
|
|
100
|
+
enableAutoPan(): void;
|
|
101
|
+
/**
|
|
102
|
+
* 关闭打开信息窗口时地图自动平移
|
|
103
|
+
*/
|
|
104
|
+
disableAutoPan(): void;
|
|
105
|
+
/**
|
|
106
|
+
* 开启点击地图时关闭信息窗口
|
|
107
|
+
*/
|
|
108
|
+
enableCloseOnClick(): void;
|
|
109
|
+
/**
|
|
110
|
+
* 关闭点击地图时关闭信息窗口
|
|
111
|
+
*/
|
|
112
|
+
disableCloseOnClick(): void;
|
|
113
|
+
/**
|
|
114
|
+
* 打开信息窗口(内部方法,由 Map.openInfoWindow 调用)
|
|
115
|
+
* @private
|
|
116
|
+
*/
|
|
117
|
+
private _open;
|
|
118
|
+
/**
|
|
119
|
+
* 关闭信息窗口(内部方法,由 Map.closeInfoWindow 调用)
|
|
120
|
+
* @private
|
|
121
|
+
*/
|
|
122
|
+
private _close;
|
|
123
|
+
}
|
|
124
|
+
import { Overlay } from './Overlay';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export class Label extends Overlay {
|
|
2
|
+
constructor(content: any, options?: {});
|
|
3
|
+
_content: any;
|
|
4
|
+
_styles: any;
|
|
5
|
+
_title: any;
|
|
6
|
+
_offset: any;
|
|
7
|
+
_position: {
|
|
8
|
+
lng: any;
|
|
9
|
+
lat: any;
|
|
10
|
+
alt: any;
|
|
11
|
+
} | null;
|
|
12
|
+
_zIndex: any;
|
|
13
|
+
_isDomReady: boolean;
|
|
14
|
+
_pendingEvents: any[];
|
|
15
|
+
_listeners: Map<any, any>;
|
|
16
|
+
_domEventHandlers: {};
|
|
17
|
+
_label: LabelInternal;
|
|
18
|
+
setStyle(styles?: {}): void;
|
|
19
|
+
setContent(content: any): void;
|
|
20
|
+
setPosition(position: any): void;
|
|
21
|
+
getPosition(): {
|
|
22
|
+
lng: any;
|
|
23
|
+
lat: any;
|
|
24
|
+
alt: any;
|
|
25
|
+
} | null;
|
|
26
|
+
setOffset(offset: any): void;
|
|
27
|
+
getOffset(): any;
|
|
28
|
+
setTitle(title: any): void;
|
|
29
|
+
getTitle(): any;
|
|
30
|
+
setZIndex(zIndex: any): void;
|
|
31
|
+
addEventListener(event: any, handler: any): void;
|
|
32
|
+
removeEventListener(event: any, handler: any): void;
|
|
33
|
+
_applyContent(): void;
|
|
34
|
+
_applyStyles(): void;
|
|
35
|
+
_applyTitle(): void;
|
|
36
|
+
_applyOffset(): void;
|
|
37
|
+
_applyPosition(): void;
|
|
38
|
+
_applyZIndex(): void;
|
|
39
|
+
_flushPendingEvents(): void;
|
|
40
|
+
_ensureDomListener(event: any): void;
|
|
41
|
+
_removeDomListener(event: any): void;
|
|
42
|
+
_emitEvent(event: any, payload: any): void;
|
|
43
|
+
}
|
|
44
|
+
import { Overlay } from './Overlay';
|
|
45
|
+
declare class LabelInternal {
|
|
46
|
+
constructor(parameters?: {});
|
|
47
|
+
_initialParameters: {};
|
|
48
|
+
_content: any;
|
|
49
|
+
_styles: any;
|
|
50
|
+
_title: any;
|
|
51
|
+
initDom(): HTMLDivElement;
|
|
52
|
+
afterInit(): void;
|
|
53
|
+
setContent(content: any): void;
|
|
54
|
+
setStyle(styles?: {}): void;
|
|
55
|
+
setTitle(title: any): void;
|
|
56
|
+
onDispose(): void;
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
export class Map {
|
|
2
|
+
constructor(container: any, options?: {});
|
|
3
|
+
/** @internal */
|
|
4
|
+
_engine: any;
|
|
5
|
+
_isInitialized: boolean;
|
|
6
|
+
_initCenter: null;
|
|
7
|
+
_initZoom: null;
|
|
8
|
+
/** @internal */
|
|
9
|
+
_overlays: any[];
|
|
10
|
+
_enableDoubleClickZoomEvent: null;
|
|
11
|
+
_sky: any;
|
|
12
|
+
_tileProvider: any;
|
|
13
|
+
enableDragging(): void;
|
|
14
|
+
disableDragging(): void;
|
|
15
|
+
enableInertialDragging(): void;
|
|
16
|
+
disableInertialDragging(): void;
|
|
17
|
+
enableScrollWheelZoom(): void;
|
|
18
|
+
disableScrollWheelZoom(): void;
|
|
19
|
+
enableContinuousZoom(): void;
|
|
20
|
+
disableContinuousZoom(): void;
|
|
21
|
+
enableResizeOnCenter(): void;
|
|
22
|
+
disableResizeOnCenter(): void;
|
|
23
|
+
enableDoubleClickZoom(): void;
|
|
24
|
+
disableDoubleClickZoom(): void;
|
|
25
|
+
enableKeyboard(): void;
|
|
26
|
+
disableKeyboard(): void;
|
|
27
|
+
enablePinchToZoom(): void;
|
|
28
|
+
disablePinchToZoom(): void;
|
|
29
|
+
setHeading(heading: any): void;
|
|
30
|
+
setTilt(tilt: any): void;
|
|
31
|
+
enableAutoResize(): void;
|
|
32
|
+
disableAutoResize(): void;
|
|
33
|
+
checkResize(): void;
|
|
34
|
+
setDisplayOptions(displayOptions: any): void;
|
|
35
|
+
resize(): void;
|
|
36
|
+
getSize(): any;
|
|
37
|
+
getContainerSize(): any;
|
|
38
|
+
getZoomUnits(): number;
|
|
39
|
+
getContainer(): any;
|
|
40
|
+
pixelToPoint(pixel: any): any;
|
|
41
|
+
pointToPixel(point: any): any;
|
|
42
|
+
lnglatToMercator(lng: any, lat: any): any[];
|
|
43
|
+
mercatorToLnglat(McLng: any, McLat: any): any[];
|
|
44
|
+
isLoaded(): boolean;
|
|
45
|
+
addSpots(spots: any, options: any): void;
|
|
46
|
+
getSpots(id: any): void;
|
|
47
|
+
removeSpots(id: any): void;
|
|
48
|
+
clearSpots(): void;
|
|
49
|
+
clearLabels(): void;
|
|
50
|
+
addLabelsToMapTile(labels: any): void;
|
|
51
|
+
removeLabelsFromMapTile(labelUids: any): void;
|
|
52
|
+
getIconByClickPosition(clickPosition: any): void;
|
|
53
|
+
setBounds(bounds: any): void;
|
|
54
|
+
getBounds(): void;
|
|
55
|
+
getCoordType(): void;
|
|
56
|
+
getMapStyleId(): void;
|
|
57
|
+
getPanes(): void;
|
|
58
|
+
getInfoWindow(): any;
|
|
59
|
+
openInfoWindow(infoWindow: any, position: any): void;
|
|
60
|
+
_currentInfoWindow: any;
|
|
61
|
+
closeInfoWindow(): void;
|
|
62
|
+
setDefaultCursor(cursor: any): void;
|
|
63
|
+
getDefaultCursor(): void;
|
|
64
|
+
setDraggingCursor(cursor: any): void;
|
|
65
|
+
getDraggingCursor(): void;
|
|
66
|
+
setMinZoom(zoom: any): void;
|
|
67
|
+
setMaxZoom(zoom: any): void;
|
|
68
|
+
getDistance(start: any, end: any): void;
|
|
69
|
+
getMapType(): void;
|
|
70
|
+
setViewport(view: any, viewportOptions: any): void;
|
|
71
|
+
getViewport(view: any, viewportOptions: any): void;
|
|
72
|
+
centerAndZoom(center: any, zoom: any): void;
|
|
73
|
+
panTo(center: any): void;
|
|
74
|
+
panBy(x: any, y: any): void;
|
|
75
|
+
flyTo(center: any, zoom: any): void;
|
|
76
|
+
reset(): void;
|
|
77
|
+
setCenter(center: any, options: any): void;
|
|
78
|
+
getCenter(): any;
|
|
79
|
+
setMapType(mapTypeId: any): void;
|
|
80
|
+
setZoom(zoom: any, options: any): void;
|
|
81
|
+
getZoom(): number;
|
|
82
|
+
zoomIn(): void;
|
|
83
|
+
zoomOut(): void;
|
|
84
|
+
addControl(control: any): void;
|
|
85
|
+
removeControl(control: any): void;
|
|
86
|
+
addContextMenu(menu: any): void;
|
|
87
|
+
removeContextMenu(menu: any): void;
|
|
88
|
+
addOverlay(overlay: any): any;
|
|
89
|
+
removeOverlay(overlay: any): any;
|
|
90
|
+
clearOverlays(): void;
|
|
91
|
+
pointToOverlayPixel(point: any): void;
|
|
92
|
+
overlayPixelToPoint(pixel: any): void;
|
|
93
|
+
getOverlays(): void;
|
|
94
|
+
getCurrentMaxTilt(): void;
|
|
95
|
+
hightlightSpotByUid(uid: any, tilePosStr: any): void;
|
|
96
|
+
resetSpotStatus(): void;
|
|
97
|
+
addAreaSpot(): void;
|
|
98
|
+
getAreaSpot(id: any): void;
|
|
99
|
+
removeAreaSpot(id: any): void;
|
|
100
|
+
clearAreaSpots(): void;
|
|
101
|
+
setTrafficOn(): void;
|
|
102
|
+
setTrafficOff(): void;
|
|
103
|
+
showOverlayContainer(): void;
|
|
104
|
+
hideOverlayContainer(): void;
|
|
105
|
+
setMapStyleV2(config: any): void;
|
|
106
|
+
startViewAnimation(viewAnimation: any): void;
|
|
107
|
+
cancelViewAnimation(viewAnimation: any): void;
|
|
108
|
+
getMapScreenshot(): void;
|
|
109
|
+
setCopyrightOffset(logo: any, cpy: any): void;
|
|
110
|
+
destroy(): void;
|
|
111
|
+
isSupportEarth(): void;
|
|
112
|
+
_getZoomUnitsByZoom(zoom: any): number;
|
|
113
|
+
_getZoomByZoomUnits(zoomUnits: any): number;
|
|
114
|
+
_rangeToZoomUnits(range: any): number;
|
|
115
|
+
_rangeToZoom(range: any): number;
|
|
116
|
+
_zoomToRange(zoom: any): number;
|
|
117
|
+
_getGeocoder(): any;
|
|
118
|
+
_geocoder: any;
|
|
119
|
+
/**
|
|
120
|
+
* 获取引擎实例,该实例为mapvthree的Engine实例
|
|
121
|
+
* @returns {Engine}
|
|
122
|
+
*/
|
|
123
|
+
get engine(): Engine;
|
|
124
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class Marker extends Overlay {
|
|
2
|
+
constructor(point: any, options?: {});
|
|
3
|
+
_currentLabelInternal: null;
|
|
4
|
+
point: any;
|
|
5
|
+
_marker: any;
|
|
6
|
+
_massClear: any;
|
|
7
|
+
setIcon(icon: any): void;
|
|
8
|
+
_icon: any;
|
|
9
|
+
getIcon(): any;
|
|
10
|
+
setPosition(position: any): void;
|
|
11
|
+
getPosition(): any;
|
|
12
|
+
setOffset(offset: any): void;
|
|
13
|
+
_offset: any;
|
|
14
|
+
getOffset(): any;
|
|
15
|
+
setTitle(title: any): void;
|
|
16
|
+
getTitle(): any;
|
|
17
|
+
setLabel(label: any): void;
|
|
18
|
+
_label: any;
|
|
19
|
+
getLabel(): any;
|
|
20
|
+
enableDragging(): void;
|
|
21
|
+
disableDragging(): void;
|
|
22
|
+
setZIndex(zIndex: any): void;
|
|
23
|
+
setRotation(rotation: any): void;
|
|
24
|
+
getRotation(): void;
|
|
25
|
+
addEventListener(event: any, handler: any): void;
|
|
26
|
+
removeEventListener(event: any, handler: any): void;
|
|
27
|
+
}
|
|
28
|
+
import { Overlay } from './Overlay';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export class Overlay {
|
|
2
|
+
isOverlay: boolean;
|
|
3
|
+
_massClear: boolean;
|
|
4
|
+
_objects: any[];
|
|
5
|
+
get objects(): any[];
|
|
6
|
+
initialize(map: any): void;
|
|
7
|
+
_map: any;
|
|
8
|
+
draw(): void;
|
|
9
|
+
show(): void;
|
|
10
|
+
hide(): void;
|
|
11
|
+
isVisible(): any;
|
|
12
|
+
getMap(): any;
|
|
13
|
+
_addObject(object: any): void;
|
|
14
|
+
_removeObject(object: any): void;
|
|
15
|
+
enableMassClear(): void;
|
|
16
|
+
disableMassClear(): void;
|
|
17
|
+
get massClear(): boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { Engine } from "./threemap/Engine";
|
|
|
2
2
|
export { BaseMap } from "./threemap/engine/map/BaseMap";
|
|
3
3
|
export { EmptySky } from "./threemap/natural/EmptySky";
|
|
4
4
|
export { DynamicSky } from "./threemap/natural/DynamicSky";
|
|
5
|
+
export { PhysicalSky } from "./threemap/natural/PhysicalSky";
|
|
5
6
|
export { DefaultSky } from "./threemap/natural/DefaultSky";
|
|
6
7
|
export { StaticSky } from "./threemap/natural/StaticSky";
|
|
7
8
|
export { CustomStaticSky } from "./threemap/natural/CustomStaticSky";
|
|
@@ -74,6 +75,7 @@ export { TransformControl } from "./threemap/controls/TransformControl";
|
|
|
74
75
|
export { PointerLockControl } from "./threemap/controls/PointerLockControls";
|
|
75
76
|
export { FlyManager } from "./threemap/animations/FlyManager";
|
|
76
77
|
export { PathTracker } from "./threemap/animations/PathTracker";
|
|
78
|
+
export { RotateTracker } from "./threemap/animations/RotateTracker";
|
|
77
79
|
export { ObjectTracker } from "./threemap/animations/ObjectTracker";
|
|
78
80
|
export { SplineEditor } from "./threemap/controls/editors/SplineEditor";
|
|
79
81
|
export { SplineAreaEditor } from "./threemap/controls/editors/SplineAreaEditor";
|
|
@@ -102,6 +104,7 @@ export { DOMOverlay } from "./threemap/overlay/DOMOverlay";
|
|
|
102
104
|
export { Popup } from "./threemap/overlay/Popup";
|
|
103
105
|
export { Marker } from "./threemap/overlay/Marker";
|
|
104
106
|
export { LodModelCache } from "./threemap/model/LodModelCache";
|
|
107
|
+
export * as services from "./threemap/services/index";
|
|
105
108
|
export * as Services from "./threemap/services/index";
|
|
106
109
|
export { Twin } from "./threemap/twin/Twin";
|
|
107
110
|
export { MockTwin } from "./threemap/twin/MockTwin";
|
|
@@ -150,8 +153,6 @@ export { ScreenMaterial } from "./threejs/materials/element/ScreenMaterial";
|
|
|
150
153
|
export { TwinkleMaterial } from "./threejs/materials/effects/TwinkleMaterial";
|
|
151
154
|
export { ScanMaterial } from "./threejs/materials/effects/ScanMaterial";
|
|
152
155
|
export { WindowMaterial } from "./threejs/materials/effects/WindowMaterial";
|
|
153
|
-
export { WindowNodeMaterial } from "./threejs/materials/effects/WindowNodeMaterial";
|
|
154
|
-
export { ScanNodeMaterial } from "./threejs/materials/effects/ScanNodeMaterial";
|
|
155
156
|
export { WaterMaterial } from "./threejs/materials/natural/WaterMaterial";
|
|
156
157
|
export { FatLineMaterial } from "./threejs/materials/line/FatLineMaterial";
|
|
157
158
|
export { ExtendMeshStandardMaterial } from "./threejs/materials/extend/ExtendMeshStandardMaterial";
|
|
@@ -36,9 +36,14 @@ export { DataItem } from "./threemap/dataSource/DataItem";
|
|
|
36
36
|
export { GeoJSONDataSource } from "./threemap/dataSource/GeoJSONDataSource";
|
|
37
37
|
export { CSVDataSource } from "./threemap/dataSource/CSVDataSource";
|
|
38
38
|
export { JSONDataSource } from "./threemap/dataSource/JSONDataSource";
|
|
39
|
+
export { PointerLockControl } from "./threemap/controls/PointerLockControls";
|
|
40
|
+
export { PathTracker } from "./threemap/animations/PathTracker";
|
|
41
|
+
export { RotateTracker } from "./threemap/animations/RotateTracker";
|
|
42
|
+
export { ObjectTracker } from "./threemap/animations/ObjectTracker";
|
|
39
43
|
export { DOMOverlay } from "./threemap/overlay/DOMOverlay";
|
|
40
44
|
export { Popup } from "./threemap/overlay/Popup";
|
|
41
45
|
export { Marker } from "./threemap/overlay/Marker";
|
|
46
|
+
export * as services from "./threemap/services/index";
|
|
42
47
|
export * as Services from "./threemap/services/index";
|
|
43
48
|
export { GeoInstancedMesh } from "./threejs/objects/GeoInstancedMesh";
|
|
44
49
|
export { SimplePoint } from "./threejs/objects/point/SimplePoint";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export class PointerLockControls {
|
|
2
2
|
constructor(camera: any, domElement: any);
|
|
3
3
|
domElement: any;
|
|
4
|
+
camera: any;
|
|
4
5
|
isLocked: boolean;
|
|
5
6
|
minPolarAngle: number;
|
|
6
7
|
maxPolarAngle: number;
|
|
@@ -12,6 +13,7 @@ export class PointerLockControls {
|
|
|
12
13
|
getDirection: (v: any) => any;
|
|
13
14
|
moveForward: (distance: any) => void;
|
|
14
15
|
moveRight: (distance: any) => void;
|
|
16
|
+
moveUp: (distance: any) => void;
|
|
15
17
|
lock: () => void;
|
|
16
18
|
unlock: () => void;
|
|
17
19
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 屏幕文字几何体
|
|
3
|
+
* 每个字符是一个四边形(2个三角形)
|
|
4
|
+
* 存储屏幕坐标、UV、旋转角度等信息
|
|
5
|
+
*/
|
|
6
|
+
export class ScreenTextGeometry {
|
|
7
|
+
constructor(parameters: any);
|
|
8
|
+
parameters: any;
|
|
9
|
+
/**
|
|
10
|
+
* 设置文字数据
|
|
11
|
+
* @param {Array} chars - 字符数据数组
|
|
12
|
+
* @param {Object} atlasInfo - 字符图集信息 {char: {u, v, width, height}}
|
|
13
|
+
*/
|
|
14
|
+
setData(chars: any[], atlasInfo: Object): void;
|
|
15
|
+
}
|
|
@@ -3,10 +3,10 @@ export class BatchTableHierarchyExtension {
|
|
|
3
3
|
batchTable: any;
|
|
4
4
|
classes: any;
|
|
5
5
|
instancesLength: any;
|
|
6
|
-
classIds: any[] | Float32Array<any> |
|
|
7
|
-
parentCounts: any[] | Float32Array<any> |
|
|
8
|
-
parentIds: any[] | Float32Array<any> |
|
|
6
|
+
classIds: any[] | Float32Array<any> | Uint8Array<any> | Uint16Array<any> | Int8Array<any> | Int16Array<any> | Int32Array<any> | Uint32Array<any> | Float64Array<any>;
|
|
7
|
+
parentCounts: any[] | Float32Array<any> | Uint8Array<any> | Uint16Array<any> | Int8Array<any> | Int16Array<any> | Int32Array<any> | Uint32Array<any> | Float64Array<any>;
|
|
8
|
+
parentIds: any[] | Float32Array<any> | Uint8Array<any> | Uint16Array<any> | Int8Array<any> | Int16Array<any> | Int32Array<any> | Uint32Array<any> | Float64Array<any> | null;
|
|
9
9
|
instancesIds: any[];
|
|
10
|
-
_parseProperty(property: any, propertyLength: any, propertyName: any): any[] | Float32Array<any> |
|
|
10
|
+
_parseProperty(property: any, propertyLength: any, propertyName: any): any[] | Float32Array<any> | Uint8Array<any> | Uint16Array<any> | Int8Array<any> | Int16Array<any> | Int32Array<any> | Uint32Array<any> | Float64Array<any>;
|
|
11
11
|
getDataFromId(id: any, target?: {}): {};
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function parseBinArray(buffer: any, arrayStart: any, count: any, type: any, componentType: any, propertyName: any): Float32Array<any> |
|
|
1
|
+
export function parseBinArray(buffer: any, arrayStart: any, count: any, type: any, componentType: any, propertyName: any): Float32Array<any> | Uint8Array<any> | Uint16Array<any> | Int8Array<any> | Int16Array<any> | Int32Array<any> | Uint32Array<any> | Float64Array<any>;
|
|
2
2
|
export class FeatureTable {
|
|
3
3
|
constructor(buffer: any, start: any, headerLength: any, binLength: any);
|
|
4
4
|
buffer: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export class LightningMaterial extends CommonShaderMaterial {
|
|
2
|
+
transparent: boolean;
|
|
3
|
+
blending: any;
|
|
4
|
+
depthWrite: boolean;
|
|
5
|
+
vertexShader: string;
|
|
6
|
+
fragmentShader: string;
|
|
7
|
+
emissiveEnabled: boolean;
|
|
8
|
+
}
|
|
9
|
+
import { CommonShaderMaterial } from '../CommonShaderMaterial';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 屏幕文字材质
|
|
3
|
+
*/
|
|
4
|
+
export class ScreenTextMaterial {
|
|
5
|
+
constructor(parameters?: {});
|
|
6
|
+
vertexShader: any;
|
|
7
|
+
fragmentShader: any;
|
|
8
|
+
name: string;
|
|
9
|
+
uniforms: any;
|
|
10
|
+
transparent: boolean;
|
|
11
|
+
depthTest: boolean;
|
|
12
|
+
depthWrite: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* 将十六进制颜色转换为 RGBA 数组
|
|
15
|
+
* @private
|
|
16
|
+
*/
|
|
17
|
+
private _hexToRgba;
|
|
18
|
+
/**
|
|
19
|
+
* 将 RGBA 数组转换为十六进制颜色
|
|
20
|
+
* @private
|
|
21
|
+
*/
|
|
22
|
+
private _rgbaToHex;
|
|
23
|
+
_defineProxyProperties(properties: any): void;
|
|
24
|
+
_defineColorProperties(): void;
|
|
25
|
+
}
|
|
@@ -26,6 +26,7 @@ export class GeoInstancedMesh extends GeoObject {
|
|
|
26
26
|
/** @protected */ protected instanceColor: null;
|
|
27
27
|
/** @protected */ protected count: number;
|
|
28
28
|
/** @protected */ protected instanceMatrix: any;
|
|
29
|
+
/** @protected */ protected morphTexture: null;
|
|
29
30
|
/** @private */ private _enableInstanceColor;
|
|
30
31
|
/** @private */
|
|
31
32
|
private instanceMorphMatrix;
|
|
@@ -62,6 +62,7 @@ export class FatLineInternal extends GeoMesh {
|
|
|
62
62
|
* @param {number} [parameters.animationIdle] 动画空闲时间(毫秒)
|
|
63
63
|
* @param {boolean} [parameters.transparent] 是否启用透明
|
|
64
64
|
* @param {boolean} [parameters.antialias] 是否启用抗锯齿
|
|
65
|
+
* @param {number} [parameters.raycastBuffer] 拾取缓冲区,上调该值,拾取范围会变大,默认为0
|
|
65
66
|
* @param {boolean} [parameters.isCurve] 是否自动生成贝塞尔曲线数据,线坐标中除了首尾点之外的点会失效,只取线数据的首尾点生成3D贝塞尔曲线
|
|
66
67
|
*/
|
|
67
68
|
constructor(parameters: {
|
|
@@ -88,6 +89,7 @@ export class FatLineInternal extends GeoMesh {
|
|
|
88
89
|
animationIdle?: number | undefined;
|
|
89
90
|
transparent?: boolean | undefined;
|
|
90
91
|
antialias?: boolean | undefined;
|
|
92
|
+
raycastBuffer?: number | undefined;
|
|
91
93
|
isCurve?: boolean | undefined;
|
|
92
94
|
});
|
|
93
95
|
isEventEntitySupported: boolean;
|
|
@@ -223,8 +225,10 @@ export class FatLineInternal extends GeoMesh {
|
|
|
223
225
|
animationIdle?: number | undefined;
|
|
224
226
|
transparent?: boolean | undefined;
|
|
225
227
|
antialias?: boolean | undefined;
|
|
228
|
+
raycastBuffer?: number | undefined;
|
|
226
229
|
isCurve?: boolean | undefined;
|
|
227
230
|
};
|
|
231
|
+
raycastBuffer: number;
|
|
228
232
|
/** @internal */
|
|
229
233
|
getDefaultParams(): {
|
|
230
234
|
lineWidth: number;
|
|
@@ -40,7 +40,7 @@ export class Polyline {
|
|
|
40
40
|
* @param {number} [parameters.dashRatio] 实心部分占每段长度的占比,默认为0.5
|
|
41
41
|
* @param {boolean} [parameters.isCurve] 是否自动生成贝塞尔曲线数据,默认为false
|
|
42
42
|
*/
|
|
43
|
-
constructor(parameters
|
|
43
|
+
constructor(parameters?: {
|
|
44
44
|
flat?: boolean | undefined;
|
|
45
45
|
color?: string | undefined;
|
|
46
46
|
lineWidth?: number | undefined;
|