@reearth/core 0.0.7-alpha.0 → 0.0.7-alpha.10
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/core.js +34320 -34354
- package/dist/core.umd.cjs +3868 -3826
- package/dist/{index-DqatWUTw.js → index-DqGWVPtz.js} +0 -1
- package/dist/index.d.ts +217 -212
- package/package.json +8 -8
- package/src/Map/ClusteredLayers/index.tsx +2 -2
- package/src/Map/Layer/index.tsx +3 -3
- package/src/Map/Layers/hooks.ts +10 -0
- package/src/Map/Layers/index.tsx +2 -2
- package/src/Map/Sketch/hooks.ts +52 -72
- package/src/Map/Sketch/index.tsx +2 -24
- package/src/Map/Sketch/preset.ts +2 -0
- package/src/Map/Sketch/types.ts +31 -0
- package/src/Map/hooks.ts +0 -4
- package/src/Map/index.tsx +8 -5
- package/src/Map/ref.ts +4 -7
- package/src/Map/types/index.ts +34 -216
- package/src/Map/types/viewerProperty.ts +215 -0
- package/src/Map/useTimelineManager.ts +5 -3
- package/src/Map/utils.ts +1 -43
- package/src/Visualizer/coreContext.tsx +1 -8
- package/src/Visualizer/hooks.ts +20 -77
- package/src/Visualizer/index.stories.tsx +4 -48
- package/src/Visualizer/index.tsx +8 -6
- package/src/Visualizer/useCoreAPI.ts +30 -0
- package/src/engines/Cesium/Feature/Ellipse/index.stories.tsx +1 -1
- package/src/engines/Cesium/Feature/Frustum/index.stories.tsx +1 -1
- package/src/engines/Cesium/Feature/Model/index.stories.tsx +1 -1
- package/src/engines/Cesium/Feature/Model/index.tsx +10 -9
- package/src/engines/Cesium/Feature/Polygon/index.stories.tsx +8 -6
- package/src/engines/Cesium/Feature/Raster/index.stories.tsx +2 -2
- package/src/engines/Cesium/Feature/Resource/index.stories.tsx +1 -1
- package/src/engines/Cesium/Feature/Tileset/hooks.ts +12 -11
- package/src/engines/Cesium/Feature/Tileset/index.stories.tsx +1 -1
- package/src/engines/Cesium/Feature/Tileset/index.tsx +4 -4
- package/src/engines/Cesium/Feature/Tileset/useClippingBox.ts +10 -1
- package/src/engines/Cesium/Feature/index.tsx +5 -4
- package/src/engines/Cesium/Feature/utils.tsx +3 -2
- package/src/engines/Cesium/Shaders/OverriddenShaders/GlobeFS/IBL.glsl +6 -10
- package/src/engines/Cesium/core/Globe.tsx +36 -68
- package/src/engines/Cesium/core/Imagery.test.ts +9 -9
- package/src/engines/Cesium/core/Imagery.tsx +17 -19
- package/src/engines/Cesium/core/Indicator/Indicator.tsx +8 -8
- package/src/engines/Cesium/hooks/useCamera.ts +135 -0
- package/src/engines/Cesium/{cameraLimiter.ts → hooks/useCameraLimiter.ts} +22 -45
- package/src/engines/Cesium/{useEngineRef.test.tsx → hooks/useEngineRef.test.tsx} +38 -34
- package/src/engines/Cesium/{useEngineRef.ts → hooks/useEngineRef.ts} +43 -41
- package/src/engines/Cesium/hooks/useExplicitRender.ts +65 -0
- package/src/engines/Cesium/hooks/useLayerDragDrop.ts +77 -0
- package/src/engines/Cesium/{VertexTerrainElevationMaterial.ts → hooks/useOverrideGlobeShader/VertexTerrainElevationMaterial.ts} +3 -2
- package/src/engines/Cesium/{useOverrideGlobeShader.ts → hooks/useOverrideGlobeShader/useOverrideGlobeShader.ts} +20 -17
- package/src/engines/Cesium/hooks/useViewerProperty.ts +90 -0
- package/src/engines/Cesium/hooks.ts +129 -366
- package/src/engines/Cesium/index.stories.tsx +1 -1
- package/src/engines/Cesium/index.tsx +60 -62
- package/src/engines/index.ts +1 -1
- package/src/mantle/atoms/compute.ts +5 -1
- package/src/mantle/compat/types.ts +7 -7
- package/src/mantle/data/geojson.ts +53 -22
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1
- package/dist/cesium/Assets/Images/bing_maps_credit.png +0 -0
- package/dist/cesium/Assets/Images/cesium_credit.png +0 -0
- package/dist/cesium/Assets/Images/google_earth_credit.png +0 -0
- package/dist/cesium/Assets/Images/ion-credit.png +0 -0
- package/dist/cesium/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist/cesium/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -14
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist/cesium/Assets/Textures/maki/airfield.png +0 -0
- package/dist/cesium/Assets/Textures/maki/airport.png +0 -0
- package/dist/cesium/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist/cesium/Assets/Textures/maki/america-football.png +0 -0
- package/dist/cesium/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bakery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bank.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bar.png +0 -0
- package/dist/cesium/Assets/Textures/maki/baseball.png +0 -0
- package/dist/cesium/Assets/Textures/maki/basketball.png +0 -0
- package/dist/cesium/Assets/Textures/maki/beer.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bicycle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/building.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bus.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cafe.png +0 -0
- package/dist/cesium/Assets/Textures/maki/camera.png +0 -0
- package/dist/cesium/Assets/Textures/maki/campsite.png +0 -0
- package/dist/cesium/Assets/Textures/maki/car.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cemetery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cesium.png +0 -0
- package/dist/cesium/Assets/Textures/maki/chemist.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cinema.png +0 -0
- package/dist/cesium/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/circle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/city.png +0 -0
- package/dist/cesium/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist/cesium/Assets/Textures/maki/college.png +0 -0
- package/dist/cesium/Assets/Textures/maki/commercial.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cricket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cross.png +0 -0
- package/dist/cesium/Assets/Textures/maki/dam.png +0 -0
- package/dist/cesium/Assets/Textures/maki/danger.png +0 -0
- package/dist/cesium/Assets/Textures/maki/disability.png +0 -0
- package/dist/cesium/Assets/Textures/maki/dog-park.png +0 -0
- package/dist/cesium/Assets/Textures/maki/embassy.png +0 -0
- package/dist/cesium/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/entrance.png +0 -0
- package/dist/cesium/Assets/Textures/maki/farm.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fast-food.png +0 -0
- package/dist/cesium/Assets/Textures/maki/ferry.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fire-station.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fuel.png +0 -0
- package/dist/cesium/Assets/Textures/maki/garden.png +0 -0
- package/dist/cesium/Assets/Textures/maki/gift.png +0 -0
- package/dist/cesium/Assets/Textures/maki/golf.png +0 -0
- package/dist/cesium/Assets/Textures/maki/grocery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist/cesium/Assets/Textures/maki/harbor.png +0 -0
- package/dist/cesium/Assets/Textures/maki/heart.png +0 -0
- package/dist/cesium/Assets/Textures/maki/heliport.png +0 -0
- package/dist/cesium/Assets/Textures/maki/hospital.png +0 -0
- package/dist/cesium/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist/cesium/Assets/Textures/maki/industrial.png +0 -0
- package/dist/cesium/Assets/Textures/maki/land-use.png +0 -0
- package/dist/cesium/Assets/Textures/maki/laundry.png +0 -0
- package/dist/cesium/Assets/Textures/maki/library.png +0 -0
- package/dist/cesium/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/lodging.png +0 -0
- package/dist/cesium/Assets/Textures/maki/logging.png +0 -0
- package/dist/cesium/Assets/Textures/maki/london-underground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/marker.png +0 -0
- package/dist/cesium/Assets/Textures/maki/minefield.png +0 -0
- package/dist/cesium/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/monument.png +0 -0
- package/dist/cesium/Assets/Textures/maki/museum.png +0 -0
- package/dist/cesium/Assets/Textures/maki/music.png +0 -0
- package/dist/cesium/Assets/Textures/maki/oil-well.png +0 -0
- package/dist/cesium/Assets/Textures/maki/park.png +0 -0
- package/dist/cesium/Assets/Textures/maki/park2.png +0 -0
- package/dist/cesium/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist/cesium/Assets/Textures/maki/parking.png +0 -0
- package/dist/cesium/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist/cesium/Assets/Textures/maki/pitch.png +0 -0
- package/dist/cesium/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist/cesium/Assets/Textures/maki/playground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/police.png +0 -0
- package/dist/cesium/Assets/Textures/maki/polling-place.png +0 -0
- package/dist/cesium/Assets/Textures/maki/post.png +0 -0
- package/dist/cesium/Assets/Textures/maki/prison.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-above.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-light.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist/cesium/Assets/Textures/maki/restaurant.png +0 -0
- package/dist/cesium/Assets/Textures/maki/roadblock.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rocket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/school.png +0 -0
- package/dist/cesium/Assets/Textures/maki/scooter.png +0 -0
- package/dist/cesium/Assets/Textures/maki/shop.png +0 -0
- package/dist/cesium/Assets/Textures/maki/skiing.png +0 -0
- package/dist/cesium/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/soccer.png +0 -0
- package/dist/cesium/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/square.png +0 -0
- package/dist/cesium/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/star.png +0 -0
- package/dist/cesium/Assets/Textures/maki/suitcase.png +0 -0
- package/dist/cesium/Assets/Textures/maki/swimming.png +0 -0
- package/dist/cesium/Assets/Textures/maki/telephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/tennis.png +0 -0
- package/dist/cesium/Assets/Textures/maki/theatre.png +0 -0
- package/dist/cesium/Assets/Textures/maki/toilets.png +0 -0
- package/dist/cesium/Assets/Textures/maki/town-hall.png +0 -0
- package/dist/cesium/Assets/Textures/maki/town.png +0 -0
- package/dist/cesium/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/triangle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/village.png +0 -0
- package/dist/cesium/Assets/Textures/maki/warehouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/water.png +0 -0
- package/dist/cesium/Assets/Textures/maki/wetland.png +0 -0
- package/dist/cesium/Assets/Textures/maki/zoo.png +0 -0
- package/dist/cesium/Assets/Textures/moonSmall.jpg +0 -0
- package/dist/cesium/Assets/Textures/pin.svg +0 -1
- package/dist/cesium/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/cesium/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/cesium/Assets/approximateTerrainHeights.json +0 -1
- package/dist/cesium/ThirdParty/Workers/package.json +0 -1
- package/dist/cesium/ThirdParty/Workers/pako_deflate.min.js +0 -1
- package/dist/cesium/ThirdParty/Workers/pako_inflate.min.js +0 -1
- package/dist/cesium/ThirdParty/Workers/z-worker-pako.js +0 -1
- package/dist/cesium/ThirdParty/basis_transcoder.wasm +0 -0
- package/dist/cesium/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/cesium/ThirdParty/google-earth-dbroot-parser.js +0 -1
- package/dist/cesium/Widgets/Animation/Animation.css +0 -127
- package/dist/cesium/Widgets/Animation/lighter.css +0 -70
- package/dist/cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -108
- package/dist/cesium/Widgets/BaseLayerPicker/lighter.css +0 -22
- package/dist/cesium/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -102
- package/dist/cesium/Widgets/CesiumInspector/CesiumInspector.css +0 -113
- package/dist/cesium/Widgets/CesiumWidget/CesiumWidget.css +0 -124
- package/dist/cesium/Widgets/CesiumWidget/lighter.css +0 -14
- package/dist/cesium/Widgets/FullscreenButton/FullscreenButton.css +0 -8
- package/dist/cesium/Widgets/Geocoder/Geocoder.css +0 -70
- package/dist/cesium/Widgets/Geocoder/lighter.css +0 -17
- package/dist/cesium/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -27
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/Mouse.svg +0 -84
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
- package/dist/cesium/Widgets/Images/NavigationHelp/Touch.svg +0 -120
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
- package/dist/cesium/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/dist/cesium/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/dist/cesium/Widgets/Images/TimelineIcons.png +0 -0
- package/dist/cesium/Widgets/Images/info-loading.gif +0 -0
- package/dist/cesium/Widgets/InfoBox/InfoBox.css +0 -92
- package/dist/cesium/Widgets/InfoBox/InfoBoxDescription.css +0 -178
- package/dist/cesium/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -93
- package/dist/cesium/Widgets/NavigationHelpButton/lighter.css +0 -38
- package/dist/cesium/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -15
- package/dist/cesium/Widgets/ProjectionPicker/ProjectionPicker.css +0 -38
- package/dist/cesium/Widgets/SceneModePicker/SceneModePicker.css +0 -56
- package/dist/cesium/Widgets/SelectionIndicator/SelectionIndicator.css +0 -20
- package/dist/cesium/Widgets/Timeline/Timeline.css +0 -103
- package/dist/cesium/Widgets/Timeline/lighter.css +0 -23
- package/dist/cesium/Widgets/VRButton/VRButton.css +0 -8
- package/dist/cesium/Widgets/Viewer/Viewer.css +0 -107
- package/dist/cesium/Widgets/VoxelInspector/VoxelInspector.css +0 -16
- package/dist/cesium/Widgets/lighter.css +0 -237
- package/dist/cesium/Widgets/lighterShared.css +0 -46
- package/dist/cesium/Widgets/shared.css +0 -103
- package/dist/cesium/Widgets/widgets.css +0 -1346
- package/dist/cesium/Workers/chunk-2ED5WI77.js +0 -26
- package/dist/cesium/Workers/chunk-2MBPFWCP.js +0 -26
- package/dist/cesium/Workers/chunk-3C74MLG3.js +0 -26
- package/dist/cesium/Workers/chunk-45U7TTT3.js +0 -26
- package/dist/cesium/Workers/chunk-4N7SRDH5.js +0 -26
- package/dist/cesium/Workers/chunk-4T6AS6BZ.js +0 -26
- package/dist/cesium/Workers/chunk-5AG2MVRM.js +0 -26
- package/dist/cesium/Workers/chunk-5Z6L2FHX.js +0 -26
- package/dist/cesium/Workers/chunk-6AUUBDOF.js +0 -26
- package/dist/cesium/Workers/chunk-74N6MC2V.js +0 -26
- package/dist/cesium/Workers/chunk-7VJK3KHI.js +0 -26
- package/dist/cesium/Workers/chunk-7VZHIB6P.js +0 -26
- package/dist/cesium/Workers/chunk-7X2YQ6I4.js +0 -27
- package/dist/cesium/Workers/chunk-B2SKQ7LU.js +0 -26
- package/dist/cesium/Workers/chunk-B4TQDFIE.js +0 -26
- package/dist/cesium/Workers/chunk-B6TRTFAA.js +0 -26
- package/dist/cesium/Workers/chunk-BK3HCS7I.js +0 -26
- package/dist/cesium/Workers/chunk-BOPB43LN.js +0 -26
- package/dist/cesium/Workers/chunk-C6DMEJQ7.js +0 -26
- package/dist/cesium/Workers/chunk-CN7UN2OZ.js +0 -26
- package/dist/cesium/Workers/chunk-CSISXEG7.js +0 -26
- package/dist/cesium/Workers/chunk-CUOR5F7T.js +0 -28
- package/dist/cesium/Workers/chunk-DGCK3LD2.js +0 -30
- package/dist/cesium/Workers/chunk-DXEZYE3K.js +0 -62
- package/dist/cesium/Workers/chunk-EXBFEYPQ.js +0 -26
- package/dist/cesium/Workers/chunk-FK5KFB6H.js +0 -26
- package/dist/cesium/Workers/chunk-HPBHKP5S.js +0 -26
- package/dist/cesium/Workers/chunk-JCJ24DHF.js +0 -26
- package/dist/cesium/Workers/chunk-JEWHFDAA.js +0 -26
- package/dist/cesium/Workers/chunk-JZLZJJQD.js +0 -26
- package/dist/cesium/Workers/chunk-KRZBI2MU.js +0 -26
- package/dist/cesium/Workers/chunk-KTTUANTJ.js +0 -26
- package/dist/cesium/Workers/chunk-LDCAXLGS.js +0 -26
- package/dist/cesium/Workers/chunk-LOPN5R3I.js +0 -26
- package/dist/cesium/Workers/chunk-MDLPQIMP.js +0 -26
- package/dist/cesium/Workers/chunk-MRR3RGFO.js +0 -26
- package/dist/cesium/Workers/chunk-NPBZI5YA.js +0 -26
- package/dist/cesium/Workers/chunk-NUSW5B6A.js +0 -26
- package/dist/cesium/Workers/chunk-OUXRUXNB.js +0 -26
- package/dist/cesium/Workers/chunk-QPOPEH3M.js +0 -26
- package/dist/cesium/Workers/chunk-R2AN7EKC.js +0 -26
- package/dist/cesium/Workers/chunk-RURL6ZX2.js +0 -26
- package/dist/cesium/Workers/chunk-SUQM3OSW.js +0 -28
- package/dist/cesium/Workers/chunk-UBIRX2SP.js +0 -26
- package/dist/cesium/Workers/chunk-VAKC5J5C.js +0 -26
- package/dist/cesium/Workers/chunk-VHNZBQTR.js +0 -27
- package/dist/cesium/Workers/chunk-VKV642QV.js +0 -26
- package/dist/cesium/Workers/chunk-VMSXG4OA.js +0 -26
- package/dist/cesium/Workers/chunk-VQZSIOZW.js +0 -26
- package/dist/cesium/Workers/chunk-WZUWQMI7.js +0 -26
- package/dist/cesium/Workers/chunk-YBI55DLZ.js +0 -26
- package/dist/cesium/Workers/chunk-YEJWCH6C.js +0 -26
- package/dist/cesium/Workers/chunk-YPDO7SPO.js +0 -26
- package/dist/cesium/Workers/chunk-ZYWD6OQH.js +0 -26
- package/dist/cesium/Workers/combineGeometry.js +0 -26
- package/dist/cesium/Workers/createBoxGeometry.js +0 -26
- package/dist/cesium/Workers/createBoxOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createCircleGeometry.js +0 -26
- package/dist/cesium/Workers/createCircleOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createCoplanarPolygonGeometry.js +0 -26
- package/dist/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createCorridorGeometry.js +0 -26
- package/dist/cesium/Workers/createCorridorOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createCylinderGeometry.js +0 -26
- package/dist/cesium/Workers/createCylinderOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createEllipseGeometry.js +0 -26
- package/dist/cesium/Workers/createEllipseOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createEllipsoidGeometry.js +0 -26
- package/dist/cesium/Workers/createEllipsoidOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createFrustumGeometry.js +0 -26
- package/dist/cesium/Workers/createFrustumOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createGeometry.js +0 -26
- package/dist/cesium/Workers/createGroundPolylineGeometry.js +0 -26
- package/dist/cesium/Workers/createPlaneGeometry.js +0 -26
- package/dist/cesium/Workers/createPlaneOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createPolygonGeometry.js +0 -26
- package/dist/cesium/Workers/createPolygonOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createPolylineGeometry.js +0 -26
- package/dist/cesium/Workers/createPolylineVolumeGeometry.js +0 -26
- package/dist/cesium/Workers/createPolylineVolumeOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createRectangleGeometry.js +0 -26
- package/dist/cesium/Workers/createRectangleOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createSimplePolylineGeometry.js +0 -26
- package/dist/cesium/Workers/createSphereGeometry.js +0 -26
- package/dist/cesium/Workers/createSphereOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createTaskProcessorWorker.js +0 -26
- package/dist/cesium/Workers/createVectorTileClampedPolylines.js +0 -26
- package/dist/cesium/Workers/createVectorTileGeometries.js +0 -26
- package/dist/cesium/Workers/createVectorTilePoints.js +0 -26
- package/dist/cesium/Workers/createVectorTilePolygons.js +0 -26
- package/dist/cesium/Workers/createVectorTilePolylines.js +0 -26
- package/dist/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -26
- package/dist/cesium/Workers/createVerticesFromHeightmap.js +0 -26
- package/dist/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -26
- package/dist/cesium/Workers/createWallGeometry.js +0 -26
- package/dist/cesium/Workers/createWallOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/decodeDraco.js +0 -26
- package/dist/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +0 -26
- package/dist/cesium/Workers/decodeI3S.js +0 -26
- package/dist/cesium/Workers/transcodeKTX2.js +0 -56
- package/dist/cesium/Workers/transferTypedArrayTest.js +0 -26
- package/dist/cesium/Workers/upsampleQuantizedTerrainMesh.js +0 -26
- /package/src/engines/Cesium/{JapanSeaLevelEllipsoid.ts → hooks/useOverrideGlobeShader/JapanSeaLevelEllipsoid.ts} +0 -0
- /package/src/engines/Cesium/{vertexTerrainElevationMaterial.glsl → hooks/useOverrideGlobeShader/vertexTerrainElevationMaterial.glsl} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,13 @@ import { RefObject } from 'react';
|
|
|
20
20
|
import { RequireExactlyOne } from 'type-fest';
|
|
21
21
|
import { WritableAtom } from 'jotai';
|
|
22
22
|
|
|
23
|
+
export declare type AmbientOcclusionProperty = {
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
quality?: "low" | "medium" | "high" | "extreme";
|
|
26
|
+
intensity?: number;
|
|
27
|
+
ambientOcclusionOnly?: boolean;
|
|
28
|
+
};
|
|
29
|
+
|
|
23
30
|
export declare const appearanceKeyObj: {
|
|
24
31
|
[k in keyof AppearanceTypes]: 1;
|
|
25
32
|
};
|
|
@@ -46,6 +53,18 @@ export declare type AppearanceTypes = {
|
|
|
46
53
|
declare type Array_2 = any[];
|
|
47
54
|
export { Array_2 as Array }
|
|
48
55
|
|
|
56
|
+
export declare type AssetsCesiumProperty = {
|
|
57
|
+
terrain?: {
|
|
58
|
+
ionAccessToken?: string;
|
|
59
|
+
ionAsset?: string;
|
|
60
|
+
ionUrl?: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export declare type AssetsProperty = {
|
|
65
|
+
cesium?: AssetsCesiumProperty;
|
|
66
|
+
};
|
|
67
|
+
|
|
49
68
|
export declare type Atom = ReturnType<typeof computeAtom>;
|
|
50
69
|
|
|
51
70
|
export declare type Bound = {
|
|
@@ -100,6 +119,14 @@ export declare type Camera = {
|
|
|
100
119
|
aspectRatio?: number;
|
|
101
120
|
};
|
|
102
121
|
|
|
122
|
+
export declare type CameraLimiterProperty = {
|
|
123
|
+
enabled?: boolean;
|
|
124
|
+
targetArea?: Camera;
|
|
125
|
+
targetWidth?: number;
|
|
126
|
+
targetLength?: number;
|
|
127
|
+
showHelper?: boolean;
|
|
128
|
+
};
|
|
129
|
+
|
|
103
130
|
export declare type CameraOptions = {
|
|
104
131
|
/** Seconds */
|
|
105
132
|
duration?: number;
|
|
@@ -110,23 +137,28 @@ export declare type CameraOptions = {
|
|
|
110
137
|
/** Represents the camera position and state */
|
|
111
138
|
export declare type CameraPosition = {
|
|
112
139
|
/** degrees */
|
|
113
|
-
lat
|
|
140
|
+
lat?: number;
|
|
114
141
|
/** degrees */
|
|
115
|
-
lng
|
|
142
|
+
lng?: number;
|
|
116
143
|
/** meters */
|
|
117
|
-
height
|
|
144
|
+
height?: number;
|
|
118
145
|
/** radians */
|
|
119
|
-
heading
|
|
146
|
+
heading?: number;
|
|
120
147
|
/** radians */
|
|
121
|
-
pitch
|
|
148
|
+
pitch?: number;
|
|
122
149
|
/** radians */
|
|
123
|
-
roll
|
|
150
|
+
roll?: number;
|
|
124
151
|
/** Field of view expressed in radians */
|
|
125
|
-
fov
|
|
152
|
+
fov?: number;
|
|
126
153
|
/** Aspect ratio of frustum */
|
|
127
154
|
aspectRatio?: number;
|
|
128
155
|
};
|
|
129
156
|
|
|
157
|
+
export declare type CameraProperty = {
|
|
158
|
+
allowEnterGround?: boolean;
|
|
159
|
+
limiter?: CameraLimiterProperty;
|
|
160
|
+
};
|
|
161
|
+
|
|
130
162
|
export declare type Cesium3DTilesAppearance = {
|
|
131
163
|
show?: boolean;
|
|
132
164
|
color?: string;
|
|
@@ -285,8 +317,6 @@ declare type CoreContext = {
|
|
|
285
317
|
};
|
|
286
318
|
selectedComputedFeature?: ComputedFeature | undefined;
|
|
287
319
|
viewport?: Viewport;
|
|
288
|
-
overriddenSceneProperty?: SceneProperty;
|
|
289
|
-
overrideSceneProperty?: (pluginId: string, property: SceneProperty) => void;
|
|
290
320
|
handleCameraForceHorizontalRollChange?: (enable?: boolean) => void;
|
|
291
321
|
handleInteractionModeChange?: (mode?: InteractionModeType | undefined) => void;
|
|
292
322
|
onSketchPluginFeatureCreate?: (cb: SketchEventCallback) => void;
|
|
@@ -309,9 +339,10 @@ export declare type CoreVisualizerProps = {
|
|
|
309
339
|
engine?: EngineType;
|
|
310
340
|
isBuilt?: boolean;
|
|
311
341
|
isEditable?: boolean;
|
|
312
|
-
|
|
342
|
+
viewerProperty?: ViewerProperty;
|
|
313
343
|
layers?: Layer[];
|
|
314
344
|
clusters?: Cluster[];
|
|
345
|
+
time?: string | Date;
|
|
315
346
|
camera?: Camera;
|
|
316
347
|
interactionMode?: InteractionModeType;
|
|
317
348
|
shouldRender?: boolean;
|
|
@@ -371,6 +402,11 @@ export declare type DataRange = {
|
|
|
371
402
|
|
|
372
403
|
export declare type DataType = "geojson" | "3dtiles" | "osm-buildings" | "google-photorealistic" | "czml" | "csv" | "wms" | "mvt" | "kml" | "gpx" | "shapefile" | "gtfs" | "gml" | "georss" | "gltf" | "tiles" | "tms" | "heatMap";
|
|
373
404
|
|
|
405
|
+
export declare type DebugProperty = {
|
|
406
|
+
showGlobeWireframe?: boolean;
|
|
407
|
+
showFramesPerSecond?: boolean;
|
|
408
|
+
};
|
|
409
|
+
|
|
374
410
|
export declare type DefaultInfobox = {
|
|
375
411
|
title?: string;
|
|
376
412
|
content: {
|
|
@@ -385,6 +421,14 @@ export declare type DefaultInfobox = {
|
|
|
385
421
|
};
|
|
386
422
|
};
|
|
387
423
|
|
|
424
|
+
export declare type ElevationHeatMapProperty = {
|
|
425
|
+
type?: "custom";
|
|
426
|
+
colorLUT?: LUT;
|
|
427
|
+
minHeight?: number;
|
|
428
|
+
maxHeight?: number;
|
|
429
|
+
logarithmic?: boolean;
|
|
430
|
+
};
|
|
431
|
+
|
|
388
432
|
export declare type EllipseAppearance = {
|
|
389
433
|
show?: boolean;
|
|
390
434
|
heightReference?: "none" | "clamp" | "relative";
|
|
@@ -428,7 +472,8 @@ export declare type EngineProps = {
|
|
|
428
472
|
style?: CSSProperties;
|
|
429
473
|
isEditable?: boolean;
|
|
430
474
|
isBuilt?: boolean;
|
|
431
|
-
property?:
|
|
475
|
+
property?: ViewerProperty;
|
|
476
|
+
time?: string | Date;
|
|
432
477
|
camera?: Camera;
|
|
433
478
|
cameraForceHorizontalRoll?: boolean;
|
|
434
479
|
small?: boolean;
|
|
@@ -475,7 +520,7 @@ export declare type EngineRef = {
|
|
|
475
520
|
getLocationFromScreen: (x: number, y: number, withTerrain?: boolean) => LatLngHeight | undefined;
|
|
476
521
|
sampleTerrainHeight: (lng: number, lat: number) => Promise<number | undefined>;
|
|
477
522
|
computeGlobeHeight: (lng: number, lat: number, height?: number) => number | undefined;
|
|
478
|
-
getGlobeHeight: () =>
|
|
523
|
+
getGlobeHeight: () => number | undefined;
|
|
479
524
|
toXYZ: (lng: number, lat: number, height: number, options?: {
|
|
480
525
|
useGlobeEllipsoid?: boolean;
|
|
481
526
|
}) => [x: number, y: number, z: number] | undefined;
|
|
@@ -655,7 +700,7 @@ export declare const FEATURE_FLAGS: {
|
|
|
655
700
|
|
|
656
701
|
export declare type FeatureComponentProps = {
|
|
657
702
|
layer: ComputedLayer;
|
|
658
|
-
|
|
703
|
+
viewerProperty?: ViewerProperty;
|
|
659
704
|
onFeatureRequest?: (range: DataRange) => void;
|
|
660
705
|
onLayerFetch?: (value: Partial<Pick<LayerSimple, "properties">>) => void;
|
|
661
706
|
onFeatureFetch?: (features: Feature[]) => void;
|
|
@@ -686,6 +731,11 @@ export declare type FlyToDestination = {
|
|
|
686
731
|
fov?: number;
|
|
687
732
|
};
|
|
688
733
|
|
|
734
|
+
export declare type FogProperty = {
|
|
735
|
+
enabled?: boolean;
|
|
736
|
+
density?: number;
|
|
737
|
+
};
|
|
738
|
+
|
|
689
739
|
export declare type FrustumAppearance = {
|
|
690
740
|
show?: boolean;
|
|
691
741
|
color?: string;
|
|
@@ -721,6 +771,21 @@ declare const globalDataFeaturesCache: {
|
|
|
721
771
|
getAll: Atom_2<(key: string) => Feature[][] | undefined>;
|
|
722
772
|
};
|
|
723
773
|
|
|
774
|
+
export declare type GlobeAtmosphereProperty = {
|
|
775
|
+
enabled?: boolean;
|
|
776
|
+
lightIntensity?: number;
|
|
777
|
+
brightnessShift?: number;
|
|
778
|
+
hueShift?: number;
|
|
779
|
+
saturationShift?: number;
|
|
780
|
+
};
|
|
781
|
+
|
|
782
|
+
export declare type GlobeProperty = {
|
|
783
|
+
baseColor?: string;
|
|
784
|
+
enableLighting?: boolean;
|
|
785
|
+
atmosphere?: GlobeAtmosphereProperty;
|
|
786
|
+
depthTestAgainstTerrain?: boolean;
|
|
787
|
+
};
|
|
788
|
+
|
|
724
789
|
export declare function guessType(url: string | undefined): DataType | undefined;
|
|
725
790
|
|
|
726
791
|
export declare type HeatMapAppearance = {
|
|
@@ -739,7 +804,18 @@ export declare type HeatMapAppearance = {
|
|
|
739
804
|
logarithmic?: boolean;
|
|
740
805
|
};
|
|
741
806
|
|
|
742
|
-
export declare type
|
|
807
|
+
export declare type ImageBasedLighting = {
|
|
808
|
+
enabled?: boolean;
|
|
809
|
+
intensity?: number;
|
|
810
|
+
specularEnvironmentMaps?: string;
|
|
811
|
+
sphericalHarmonicCoefficients?: [number, number, number][];
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
export declare type IndicatorProperty = {
|
|
815
|
+
type?: "default" | "crosshair" | "custom";
|
|
816
|
+
image?: string;
|
|
817
|
+
imageScale?: number;
|
|
818
|
+
};
|
|
743
819
|
|
|
744
820
|
declare type Infobox<BP = any> = {
|
|
745
821
|
featureId?: string;
|
|
@@ -878,6 +954,7 @@ export declare type LayersRef = {
|
|
|
878
954
|
}) | null) => void;
|
|
879
955
|
deleteLayer: (...ids: string[]) => void;
|
|
880
956
|
isLayer: (obj: any) => obj is LazyLayer;
|
|
957
|
+
isComputedLayer: (obj: any) => obj is ComputedLayer;
|
|
881
958
|
layers: () => LazyLayer[];
|
|
882
959
|
walk: <T>(fn: (layer: LazyLayer, index: number, parents: LazyLayer[]) => T | void) => T | undefined;
|
|
883
960
|
find: (fn: (layer: LazyLayer, index: number, parents: LazyLayer[]) => boolean) => LazyLayer | undefined;
|
|
@@ -967,100 +1044,11 @@ export declare type LegacyPhotooverlayAppearance = {
|
|
|
967
1044
|
far?: number;
|
|
968
1045
|
};
|
|
969
1046
|
|
|
970
|
-
declare type
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
bgcolor?: string;
|
|
976
|
-
ion?: string;
|
|
977
|
-
sceneMode?: SceneMode;
|
|
978
|
-
vr?: boolean;
|
|
979
|
-
} & TerrainProperty;
|
|
980
|
-
cameraLimiter?: {
|
|
981
|
-
cameraLimitterEnabled?: boolean;
|
|
982
|
-
cameraLimitterShowHelper?: boolean;
|
|
983
|
-
cameraLimitterTargetArea?: Camera;
|
|
984
|
-
cameraLimitterTargetWidth?: number;
|
|
985
|
-
cameraLimitterTargetLength?: number;
|
|
986
|
-
};
|
|
987
|
-
indicator?: {
|
|
988
|
-
indicator_type: IndicatorTypes;
|
|
989
|
-
indicator_image?: string;
|
|
990
|
-
indicator_image_scale?: number;
|
|
991
|
-
};
|
|
992
|
-
tiles?: {
|
|
993
|
-
id: string;
|
|
994
|
-
tile_type?: string;
|
|
995
|
-
tile_url?: string;
|
|
996
|
-
tile_zoomLevel?: number[];
|
|
997
|
-
tile_opacity?: number;
|
|
998
|
-
}[];
|
|
999
|
-
terrain?: TerrainProperty;
|
|
1000
|
-
atmosphere?: {
|
|
1001
|
-
enable_sun?: boolean;
|
|
1002
|
-
enableMoon?: boolean;
|
|
1003
|
-
enable_lighting?: boolean;
|
|
1004
|
-
ground_atmosphere?: boolean;
|
|
1005
|
-
sky_atmosphere?: boolean;
|
|
1006
|
-
shadows?: boolean;
|
|
1007
|
-
shadowResolution?: 1024 | 2048 | 4096;
|
|
1008
|
-
softShadow?: boolean;
|
|
1009
|
-
shadowDarkness?: number;
|
|
1010
|
-
shadowMaximumDistance?: number;
|
|
1011
|
-
fog?: boolean;
|
|
1012
|
-
fog_density?: number;
|
|
1013
|
-
hue_shift?: number;
|
|
1014
|
-
brightness_shift?: number;
|
|
1015
|
-
surturation_shift?: number;
|
|
1016
|
-
skyboxBrightnessShift?: number;
|
|
1017
|
-
skyboxSurturationShift?: number;
|
|
1018
|
-
globeShadowDarkness?: number;
|
|
1019
|
-
globeImageBasedLighting?: boolean;
|
|
1020
|
-
globeBaseColor?: string;
|
|
1021
|
-
};
|
|
1022
|
-
timeline?: {
|
|
1023
|
-
animation?: boolean;
|
|
1024
|
-
visible?: boolean;
|
|
1025
|
-
current?: string;
|
|
1026
|
-
start?: string;
|
|
1027
|
-
stop?: string;
|
|
1028
|
-
stepType?: "rate" | "fixed";
|
|
1029
|
-
multiplier?: number;
|
|
1030
|
-
step?: number;
|
|
1031
|
-
rangeType?: "unbounded" | "clamped" | "bounced";
|
|
1032
|
-
};
|
|
1033
|
-
googleAnalytics?: {
|
|
1034
|
-
enableGA?: boolean;
|
|
1035
|
-
trackingId?: string;
|
|
1036
|
-
};
|
|
1037
|
-
theme?: {
|
|
1038
|
-
themeType?: "light" | "dark" | "forest" | "custom";
|
|
1039
|
-
themeTextColor?: string;
|
|
1040
|
-
themeSelectColor?: string;
|
|
1041
|
-
themeBackgroundColor?: string;
|
|
1042
|
-
};
|
|
1043
|
-
ambientOcclusion?: {
|
|
1044
|
-
enabled?: boolean;
|
|
1045
|
-
quality?: "low" | "medium" | "high" | "extreme";
|
|
1046
|
-
intensity?: number;
|
|
1047
|
-
ambientOcclusionOnly?: boolean;
|
|
1048
|
-
};
|
|
1049
|
-
light?: {
|
|
1050
|
-
lightType?: "sunLight" | "directionalLight";
|
|
1051
|
-
lightDirectionX?: number;
|
|
1052
|
-
lightDirectionY?: number;
|
|
1053
|
-
lightDirectionZ?: number;
|
|
1054
|
-
lightColor?: string;
|
|
1055
|
-
lightIntensity?: number;
|
|
1056
|
-
specularEnvironmentMaps?: string;
|
|
1057
|
-
sphericalHarmonicCoefficients?: [x: number, y: number, z: number][];
|
|
1058
|
-
imageBasedLightIntensity?: number;
|
|
1059
|
-
};
|
|
1060
|
-
render?: {
|
|
1061
|
-
antialias?: "low" | "medium" | "high" | "extreme";
|
|
1062
|
-
debugFramePerSecond?: boolean;
|
|
1063
|
-
};
|
|
1047
|
+
export declare type LightProperty = {
|
|
1048
|
+
type?: "sunLight" | "directionalLight";
|
|
1049
|
+
direction?: [x: number, y: number, z: number];
|
|
1050
|
+
color?: string;
|
|
1051
|
+
intensity?: number;
|
|
1064
1052
|
};
|
|
1065
1053
|
|
|
1066
1054
|
export declare type LookAtDestination = {
|
|
@@ -1087,7 +1075,7 @@ export declare type LUT = readonly ColorTuple[];
|
|
|
1087
1075
|
declare const Map_2: ForwardRefExoticComponent< {
|
|
1088
1076
|
engines?: Record<string, Engine> | undefined;
|
|
1089
1077
|
engine?: string | undefined;
|
|
1090
|
-
} & Omit<Props_2, "Feature" | "selectionReason" | "delegatedDataTypes" | "clusterComponent" | "selectedLayerId"> & Omit<EngineProps, "onLayerSelect" | "selectedLayerId" | "layerSelectionReason"> & Omit<SketchProps, "engineRef" | "layersRef" | "SketchComponent"> & {
|
|
1078
|
+
} & Omit<Props_2, "Feature" | "viewerProperty" | "selectionReason" | "delegatedDataTypes" | "clusterComponent" | "selectedLayerId"> & Omit<EngineProps, "onLayerSelect" | "selectedLayerId" | "layerSelectionReason"> & Omit<SketchProps, "engineRef" | "layersRef" | "SketchComponent"> & {
|
|
1091
1079
|
cursor?: CursorType | undefined;
|
|
1092
1080
|
} & RefAttributes<MapRef>>;
|
|
1093
1081
|
export { Map_2 as Map }
|
|
@@ -1177,6 +1165,10 @@ export declare type ModifiedCameraEventType = {
|
|
|
1177
1165
|
modifier: OverideKeyboardEventModifier;
|
|
1178
1166
|
};
|
|
1179
1167
|
|
|
1168
|
+
export declare type MoonProperty = {
|
|
1169
|
+
show?: boolean;
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1180
1172
|
export declare type MouseEventCallback = (props: MouseEventProps) => void;
|
|
1181
1173
|
|
|
1182
1174
|
export declare type MouseEventCallbacks = {
|
|
@@ -1185,18 +1177,18 @@ export declare type MouseEventCallbacks = {
|
|
|
1185
1177
|
|
|
1186
1178
|
export declare type MouseEventHandles = {
|
|
1187
1179
|
onClick: (fn: MouseEvents["click"]) => void;
|
|
1188
|
-
onDoubleClick: (fn: MouseEvents["
|
|
1189
|
-
onMouseDown: (fn: MouseEvents["
|
|
1190
|
-
onMouseUp: (fn: MouseEvents["
|
|
1191
|
-
onRightClick: (fn: MouseEvents["
|
|
1192
|
-
onRightDown: (fn: MouseEvents["
|
|
1193
|
-
onRightUp: (fn: MouseEvents["
|
|
1194
|
-
onMiddleClick: (fn: MouseEvents["
|
|
1195
|
-
onMiddleDown: (fn: MouseEvents["
|
|
1196
|
-
onMiddleUp: (fn: MouseEvents["
|
|
1197
|
-
onMouseMove: (fn: MouseEvents["
|
|
1198
|
-
onMouseEnter: (fn: MouseEvents["
|
|
1199
|
-
onMouseLeave: (fn: MouseEvents["
|
|
1180
|
+
onDoubleClick: (fn: MouseEvents["doubleClick"]) => void;
|
|
1181
|
+
onMouseDown: (fn: MouseEvents["mouseDown"]) => void;
|
|
1182
|
+
onMouseUp: (fn: MouseEvents["mouseUp"]) => void;
|
|
1183
|
+
onRightClick: (fn: MouseEvents["rightClick"]) => void;
|
|
1184
|
+
onRightDown: (fn: MouseEvents["rightDown"]) => void;
|
|
1185
|
+
onRightUp: (fn: MouseEvents["rightUp"]) => void;
|
|
1186
|
+
onMiddleClick: (fn: MouseEvents["middleClick"]) => void;
|
|
1187
|
+
onMiddleDown: (fn: MouseEvents["middleDown"]) => void;
|
|
1188
|
+
onMiddleUp: (fn: MouseEvents["middleUp"]) => void;
|
|
1189
|
+
onMouseMove: (fn: MouseEvents["mouseMove"]) => void;
|
|
1190
|
+
onMouseEnter: (fn: MouseEvents["mouseEnter"]) => void;
|
|
1191
|
+
onMouseLeave: (fn: MouseEvents["mouseLeave"]) => void;
|
|
1200
1192
|
onWheel: (fn: MouseEvents["wheel"]) => void;
|
|
1201
1193
|
};
|
|
1202
1194
|
|
|
@@ -1216,7 +1208,7 @@ export declare type MouseEvents = {
|
|
|
1216
1208
|
wheel: MouseWheelEventCallback;
|
|
1217
1209
|
};
|
|
1218
1210
|
|
|
1219
|
-
export declare type MouseEventTypes = "click" | "
|
|
1211
|
+
export declare type MouseEventTypes = "click" | "doubleClick" | "mouseDown" | "mouseUp" | "rightClick" | "rightDown" | "rightUp" | "middleClick" | "middleDown" | "middleUp" | "mouseMove" | "mouseEnter" | "mouseLeave" | "wheel";
|
|
1220
1212
|
|
|
1221
1213
|
export declare type MouseWheelEventCallback = (props: MouseEventProps) => void;
|
|
1222
1214
|
|
|
@@ -1325,7 +1317,7 @@ declare type PropertyItem<T> = {
|
|
|
1325
1317
|
export declare type Props = {
|
|
1326
1318
|
engines?: Record<string, Engine>;
|
|
1327
1319
|
engine?: string;
|
|
1328
|
-
} & Omit<Props_2, "Feature" | "clusterComponent" | "selectionReason" | "delegatedDataTypes" | "selectedLayerId"> & Omit<EngineProps, "onLayerSelect" | "layerSelectionReason" | "selectedLayerId"> & Omit<SketchProps, "layersRef" | "engineRef" | "SketchComponent"> & {
|
|
1320
|
+
} & Omit<Props_2, "Feature" | "clusterComponent" | "selectionReason" | "delegatedDataTypes" | "selectedLayerId" | "viewerProperty"> & Omit<EngineProps, "onLayerSelect" | "layerSelectionReason" | "selectedLayerId"> & Omit<SketchProps, "layersRef" | "engineRef" | "SketchComponent"> & {
|
|
1329
1321
|
cursor?: CursorType;
|
|
1330
1322
|
};
|
|
1331
1323
|
|
|
@@ -1336,7 +1328,7 @@ declare type Props_2 = Omit<Props_3, "atomMap" | "isHidden" | "selectedLayerId">
|
|
|
1336
1328
|
reason?: LayerSelectionReason;
|
|
1337
1329
|
};
|
|
1338
1330
|
hiddenLayers?: string[];
|
|
1339
|
-
|
|
1331
|
+
viewerProperty?: ViewerProperty;
|
|
1340
1332
|
requestingRenderMode?: MutableRefObject<RequestingRenderMode>;
|
|
1341
1333
|
engineRef?: RefObject<EngineRef>;
|
|
1342
1334
|
onLayerSelect?: (layerId: string | undefined, featureId: string | undefined, layer: (() => Promise<ComputedLayer | undefined>) | undefined, reason: LayerSelectionReason | undefined, info: SelectedFeatureInfo | undefined) => void;
|
|
@@ -1353,7 +1345,7 @@ declare type Props_3 = {
|
|
|
1353
1345
|
isHidden?: (id: string) => boolean;
|
|
1354
1346
|
clusters?: Cluster[];
|
|
1355
1347
|
delegatedDataTypes?: DataType[];
|
|
1356
|
-
|
|
1348
|
+
viewerProperty?: ViewerProperty;
|
|
1357
1349
|
clusterComponent?: ClusterComponentType;
|
|
1358
1350
|
Feature?: Props_4["Feature"];
|
|
1359
1351
|
} & Omit<CommonProps, "isSelected" | "isHidden" | "selectedFeatureId">;
|
|
@@ -1363,7 +1355,7 @@ declare type Props_4 = {
|
|
|
1363
1355
|
atom?: Atom;
|
|
1364
1356
|
overrides?: Record<string, any>;
|
|
1365
1357
|
delegatedDataTypes?: DataType[];
|
|
1366
|
-
|
|
1358
|
+
viewerProperty?: ViewerProperty;
|
|
1367
1359
|
selectedFeatureId?: string;
|
|
1368
1360
|
/** Feature component should be injected by a map engine. */
|
|
1369
1361
|
Feature?: ComponentType<FeatureComponentProps>;
|
|
@@ -1386,6 +1378,11 @@ export declare type Rect = {
|
|
|
1386
1378
|
north: number;
|
|
1387
1379
|
};
|
|
1388
1380
|
|
|
1381
|
+
export declare type RenderPeropty = {
|
|
1382
|
+
antialias?: "low" | "medium" | "high" | "extreme";
|
|
1383
|
+
ambientOcclusion?: AmbientOcclusionProperty;
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1389
1386
|
export declare type RequestingRenderMode = -1 | 0 | 1;
|
|
1390
1387
|
|
|
1391
1388
|
export declare type ResourceAppearance = {
|
|
@@ -1404,67 +1401,15 @@ export declare type ResourceAppearance = {
|
|
|
1404
1401
|
export declare type SceneMode = "3d" | "2d" | "columbus";
|
|
1405
1402
|
|
|
1406
1403
|
export declare type SceneProperty = {
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
tile_zoomLevel?: number[];
|
|
1417
|
-
tile_zoomLevelForURL?: number[];
|
|
1418
|
-
tile_opacity?: number;
|
|
1419
|
-
heatmap?: boolean;
|
|
1420
|
-
}[];
|
|
1421
|
-
tileLabels?: {
|
|
1422
|
-
id: string;
|
|
1423
|
-
labelType: "japan_gsi_optimal_bvmap";
|
|
1424
|
-
style: Record<string, any>;
|
|
1425
|
-
}[];
|
|
1426
|
-
terrain?: {
|
|
1427
|
-
terrain?: boolean;
|
|
1428
|
-
terrainType?: "cesium" | "arcgis" | "cesiumion";
|
|
1429
|
-
terrainCesiumIonAsset?: string;
|
|
1430
|
-
terrainCesiumIonAccessToken?: string;
|
|
1431
|
-
terrainCesiumIonUrl?: string;
|
|
1432
|
-
terrainExaggeration?: number;
|
|
1433
|
-
terrainExaggerationRelativeHeight?: number;
|
|
1434
|
-
depthTestAgainstTerrain?: boolean;
|
|
1435
|
-
};
|
|
1436
|
-
globeLighting?: {
|
|
1437
|
-
globeLighting?: boolean;
|
|
1438
|
-
};
|
|
1439
|
-
globeShadow?: {
|
|
1440
|
-
globeShadow?: boolean;
|
|
1441
|
-
};
|
|
1442
|
-
globeAtmosphere?: {
|
|
1443
|
-
globeAtmosphere?: boolean;
|
|
1444
|
-
globeAtmosphereIntensity?: number;
|
|
1445
|
-
};
|
|
1446
|
-
skyBox?: {
|
|
1447
|
-
skyBox?: boolean;
|
|
1448
|
-
};
|
|
1449
|
-
sun?: {
|
|
1450
|
-
sun?: boolean;
|
|
1451
|
-
};
|
|
1452
|
-
moon?: {
|
|
1453
|
-
moon?: boolean;
|
|
1454
|
-
};
|
|
1455
|
-
skyAtmosphere?: {
|
|
1456
|
-
skyAtmosphere?: boolean;
|
|
1457
|
-
skyAtmosphereIntensity?: number;
|
|
1458
|
-
};
|
|
1459
|
-
camera?: {
|
|
1460
|
-
camera?: Camera;
|
|
1461
|
-
allowEnterGround?: boolean;
|
|
1462
|
-
fov?: number;
|
|
1463
|
-
};
|
|
1464
|
-
render?: {
|
|
1465
|
-
showWireframe?: boolean;
|
|
1466
|
-
};
|
|
1467
|
-
} & LegacySceneProperty;
|
|
1404
|
+
backgroundColor?: string;
|
|
1405
|
+
mode?: SceneMode;
|
|
1406
|
+
verticalExaggeration?: number;
|
|
1407
|
+
verticalExaggerationRelativeHeight?: number;
|
|
1408
|
+
vr?: boolean;
|
|
1409
|
+
light?: LightProperty;
|
|
1410
|
+
shadow?: ShadowProperty;
|
|
1411
|
+
imageBasedLighting?: ImageBasedLighting;
|
|
1412
|
+
};
|
|
1468
1413
|
|
|
1469
1414
|
export declare type ScreenSpaceCameraControllerOptions = {
|
|
1470
1415
|
zoomEventTypes?: (OverideCameraEventType | ModifiedCameraEventType)[];
|
|
@@ -1499,6 +1444,19 @@ declare type SetTimeCommand = {
|
|
|
1499
1444
|
};
|
|
1500
1445
|
};
|
|
1501
1446
|
|
|
1447
|
+
export declare type ShadowMapProperty = {
|
|
1448
|
+
size?: 1024 | 2048 | 4096;
|
|
1449
|
+
softShadows?: boolean;
|
|
1450
|
+
darkness?: number;
|
|
1451
|
+
maximumDistance?: number;
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
export declare type ShadowProperty = {
|
|
1455
|
+
enabled?: boolean;
|
|
1456
|
+
darkness?: number;
|
|
1457
|
+
shadowMap?: ShadowMapProperty;
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1502
1460
|
export declare type SketchAppearance = Partial<LayerAppearanceTypes>;
|
|
1503
1461
|
|
|
1504
1462
|
declare type SketchComponentProps = RequireExactlyOne<{
|
|
@@ -1527,6 +1485,16 @@ export declare type SketchFeature = Feature_2<Polygon_2 | MultiPolygon | Point |
|
|
|
1527
1485
|
extrudedHeight: number;
|
|
1528
1486
|
}>;
|
|
1529
1487
|
|
|
1488
|
+
export declare type SketchOptions = {
|
|
1489
|
+
color?: string;
|
|
1490
|
+
appearance?: SketchAppearance;
|
|
1491
|
+
dataOnly?: boolean;
|
|
1492
|
+
disableShadow?: boolean;
|
|
1493
|
+
enableRelativeHeight?: boolean;
|
|
1494
|
+
rightClickToAbort?: boolean;
|
|
1495
|
+
autoResetInteractionMode?: boolean;
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1530
1498
|
export declare type SketchProps = {
|
|
1531
1499
|
layersRef: RefObject<LayersRef>;
|
|
1532
1500
|
engineRef: RefObject<EngineRef>;
|
|
@@ -1541,18 +1509,33 @@ export declare type SketchProps = {
|
|
|
1541
1509
|
};
|
|
1542
1510
|
|
|
1543
1511
|
export declare type SketchRef = {
|
|
1512
|
+
getType: () => SketchType | undefined;
|
|
1544
1513
|
setType: (type: SketchType | undefined, from?: "editor" | "plugin") => void;
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
disableShadow: (disable: boolean) => void;
|
|
1548
|
-
enableRelativeHeight: (enable: boolean) => void;
|
|
1549
|
-
createDataOnly: (dataOnly: boolean) => void;
|
|
1550
|
-
allowRightClickToAbort: (allow: boolean) => void;
|
|
1551
|
-
allowAutoResetInteractionMode: (allow: boolean) => void;
|
|
1514
|
+
getOptions: () => SketchOptions;
|
|
1515
|
+
overrideOptions: (options: SketchOptions) => void;
|
|
1552
1516
|
};
|
|
1553
1517
|
|
|
1554
1518
|
export declare type SketchType = "marker" | "polyline" | "circle" | "rectangle" | "polygon" | "extrudedCircle" | "extrudedRectangle" | "extrudedPolygon";
|
|
1555
1519
|
|
|
1520
|
+
export declare type SkyAtmosphereProperty = {
|
|
1521
|
+
show?: boolean;
|
|
1522
|
+
lightIntensity?: number;
|
|
1523
|
+
saturationShift?: number;
|
|
1524
|
+
brightnessShift?: number;
|
|
1525
|
+
};
|
|
1526
|
+
|
|
1527
|
+
export declare type SkyBoxProperty = {
|
|
1528
|
+
show?: boolean;
|
|
1529
|
+
};
|
|
1530
|
+
|
|
1531
|
+
export declare type SkyProperty = {
|
|
1532
|
+
skyBox?: SkyBoxProperty;
|
|
1533
|
+
sun?: SunProperty;
|
|
1534
|
+
moon?: MoonProperty;
|
|
1535
|
+
fog?: FogProperty;
|
|
1536
|
+
skyAtmosphere?: SkyAtmosphereProperty;
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1556
1539
|
export declare type Spacing = {
|
|
1557
1540
|
bottom: number;
|
|
1558
1541
|
left: number;
|
|
@@ -1562,6 +1545,10 @@ export declare type Spacing = {
|
|
|
1562
1545
|
|
|
1563
1546
|
export declare type StyleExpression = ConditionsExpression | string;
|
|
1564
1547
|
|
|
1548
|
+
export declare type SunProperty = {
|
|
1549
|
+
show?: boolean;
|
|
1550
|
+
};
|
|
1551
|
+
|
|
1565
1552
|
export declare type Tag = {
|
|
1566
1553
|
id: string;
|
|
1567
1554
|
label: string;
|
|
@@ -1569,21 +1556,11 @@ export declare type Tag = {
|
|
|
1569
1556
|
};
|
|
1570
1557
|
|
|
1571
1558
|
export declare type TerrainProperty = {
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
terrainCesiumIonAsset?: string;
|
|
1578
|
-
terrainCesiumIonAccessToken?: string;
|
|
1579
|
-
terrainCesiumIonUrl?: string;
|
|
1580
|
-
terrainUrl?: string;
|
|
1581
|
-
terrainNormal?: boolean;
|
|
1582
|
-
heatmapType?: "custom";
|
|
1583
|
-
heatmapColorLUT?: LUT;
|
|
1584
|
-
heatmapMinHeight?: number;
|
|
1585
|
-
heatmapMaxHeight?: number;
|
|
1586
|
-
heatmapLogarithmic?: boolean;
|
|
1559
|
+
enabled?: boolean;
|
|
1560
|
+
type?: "cesium" | "arcgis" | "cesiumion";
|
|
1561
|
+
url?: string;
|
|
1562
|
+
normal?: boolean;
|
|
1563
|
+
elevationHeatMap?: ElevationHeatMapProperty;
|
|
1587
1564
|
};
|
|
1588
1565
|
|
|
1589
1566
|
export declare type TickEvent = (cb: TickEventCallback) => void;
|
|
@@ -1600,6 +1577,22 @@ declare type TickEventCallback_2 = (current: Date, clock: {
|
|
|
1600
1577
|
stop: Date;
|
|
1601
1578
|
}) => void;
|
|
1602
1579
|
|
|
1580
|
+
export declare type TileLabelProperty = {
|
|
1581
|
+
id: string;
|
|
1582
|
+
labelType: "japan_gsi_optimal_bvmap";
|
|
1583
|
+
style: Record<string, any>;
|
|
1584
|
+
};
|
|
1585
|
+
|
|
1586
|
+
export declare type TileProperty = {
|
|
1587
|
+
id: string;
|
|
1588
|
+
type?: string;
|
|
1589
|
+
url?: string;
|
|
1590
|
+
opacity?: number;
|
|
1591
|
+
zoomLevel?: number[];
|
|
1592
|
+
zoomLevelForURL?: number[];
|
|
1593
|
+
heatmap?: boolean;
|
|
1594
|
+
};
|
|
1595
|
+
|
|
1603
1596
|
export declare type TimeInterval = [start: Date, end?: Date];
|
|
1604
1597
|
|
|
1605
1598
|
export declare type Timeline = {
|
|
@@ -1619,7 +1612,7 @@ declare type TimelineCommit = (PlayCommand | PauseCommand | SetTimeCommand | Set
|
|
|
1619
1612
|
};
|
|
1620
1613
|
|
|
1621
1614
|
export declare type TimelineCommitter = {
|
|
1622
|
-
source: "
|
|
1615
|
+
source: "widgetContext" | "pluginAPI" | "featureResource" | "storyTimelineBlock" | "storyPage" | "initialize";
|
|
1623
1616
|
id?: string;
|
|
1624
1617
|
};
|
|
1625
1618
|
|
|
@@ -1683,8 +1676,6 @@ export declare type Undefinable<T extends object> = {
|
|
|
1683
1676
|
|
|
1684
1677
|
export declare function useGet<T>(value: T): () => T;
|
|
1685
1678
|
|
|
1686
|
-
export declare function useOverriddenProperty<T extends {}>(property: T | undefined): [T, (pluginId: string, property: T) => void];
|
|
1687
|
-
|
|
1688
1679
|
export declare const useVisualizer: () => RefObject<MapRef>;
|
|
1689
1680
|
|
|
1690
1681
|
export declare type ValueType = keyof ValueTypes;
|
|
@@ -1708,6 +1699,20 @@ export declare type ValueTypes = {
|
|
|
1708
1699
|
timeline: Timeline;
|
|
1709
1700
|
};
|
|
1710
1701
|
|
|
1702
|
+
export declare type ViewerProperty = {
|
|
1703
|
+
globe?: GlobeProperty;
|
|
1704
|
+
terrain?: TerrainProperty;
|
|
1705
|
+
scene?: SceneProperty;
|
|
1706
|
+
tiles?: TileProperty[];
|
|
1707
|
+
tileLabels?: TileLabelProperty[];
|
|
1708
|
+
sky?: SkyProperty;
|
|
1709
|
+
camera?: CameraProperty;
|
|
1710
|
+
render?: RenderPeropty;
|
|
1711
|
+
assets?: AssetsProperty;
|
|
1712
|
+
debug?: DebugProperty;
|
|
1713
|
+
indicator?: IndicatorProperty;
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1711
1716
|
export declare type Viewport = {
|
|
1712
1717
|
width: number | undefined;
|
|
1713
1718
|
height: number | undefined;
|