@reearth/core 0.0.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 +18 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- 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 +14 -0
- 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 +1 -0
- package/dist/cesium/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/cesium/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/cesium/Assets/approximateTerrainHeights.json +1 -0
- package/dist/cesium/ThirdParty/Workers/package.json +1 -0
- package/dist/cesium/ThirdParty/Workers/pako_deflate.min.js +1 -0
- package/dist/cesium/ThirdParty/Workers/pako_inflate.min.js +1 -0
- package/dist/cesium/ThirdParty/Workers/z-worker-pako.js +1 -0
- 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 +1 -0
- package/dist/cesium/Widgets/Animation/Animation.css +127 -0
- package/dist/cesium/Widgets/Animation/lighter.css +70 -0
- package/dist/cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
- package/dist/cesium/Widgets/BaseLayerPicker/lighter.css +22 -0
- package/dist/cesium/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
- package/dist/cesium/Widgets/CesiumInspector/CesiumInspector.css +113 -0
- package/dist/cesium/Widgets/CesiumWidget/CesiumWidget.css +124 -0
- package/dist/cesium/Widgets/CesiumWidget/lighter.css +14 -0
- package/dist/cesium/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/dist/cesium/Widgets/Geocoder/Geocoder.css +70 -0
- package/dist/cesium/Widgets/Geocoder/lighter.css +17 -0
- package/dist/cesium/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- 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 +84 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- 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 +92 -0
- package/dist/cesium/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/dist/cesium/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
- package/dist/cesium/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/dist/cesium/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/dist/cesium/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
- package/dist/cesium/Widgets/SceneModePicker/SceneModePicker.css +56 -0
- package/dist/cesium/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
- package/dist/cesium/Widgets/Timeline/Timeline.css +103 -0
- package/dist/cesium/Widgets/Timeline/lighter.css +23 -0
- package/dist/cesium/Widgets/VRButton/VRButton.css +8 -0
- package/dist/cesium/Widgets/Viewer/Viewer.css +107 -0
- package/dist/cesium/Widgets/VoxelInspector/VoxelInspector.css +16 -0
- package/dist/cesium/Widgets/lighter.css +237 -0
- package/dist/cesium/Widgets/lighterShared.css +46 -0
- package/dist/cesium/Widgets/shared.css +103 -0
- package/dist/cesium/Widgets/widgets.css +1346 -0
- package/dist/cesium/Workers/chunk-2ED5WI77.js +26 -0
- package/dist/cesium/Workers/chunk-2MBPFWCP.js +26 -0
- package/dist/cesium/Workers/chunk-3C74MLG3.js +26 -0
- package/dist/cesium/Workers/chunk-45U7TTT3.js +26 -0
- package/dist/cesium/Workers/chunk-4N7SRDH5.js +26 -0
- package/dist/cesium/Workers/chunk-4T6AS6BZ.js +26 -0
- package/dist/cesium/Workers/chunk-5AG2MVRM.js +26 -0
- package/dist/cesium/Workers/chunk-5Z6L2FHX.js +26 -0
- package/dist/cesium/Workers/chunk-6AUUBDOF.js +26 -0
- package/dist/cesium/Workers/chunk-74N6MC2V.js +26 -0
- package/dist/cesium/Workers/chunk-7VJK3KHI.js +26 -0
- package/dist/cesium/Workers/chunk-7VZHIB6P.js +26 -0
- package/dist/cesium/Workers/chunk-7X2YQ6I4.js +27 -0
- package/dist/cesium/Workers/chunk-B2SKQ7LU.js +26 -0
- package/dist/cesium/Workers/chunk-B4TQDFIE.js +26 -0
- package/dist/cesium/Workers/chunk-B6TRTFAA.js +26 -0
- package/dist/cesium/Workers/chunk-BK3HCS7I.js +26 -0
- package/dist/cesium/Workers/chunk-BOPB43LN.js +26 -0
- package/dist/cesium/Workers/chunk-C6DMEJQ7.js +26 -0
- package/dist/cesium/Workers/chunk-CN7UN2OZ.js +26 -0
- package/dist/cesium/Workers/chunk-CSISXEG7.js +26 -0
- package/dist/cesium/Workers/chunk-CUOR5F7T.js +28 -0
- package/dist/cesium/Workers/chunk-DGCK3LD2.js +30 -0
- package/dist/cesium/Workers/chunk-DXEZYE3K.js +62 -0
- package/dist/cesium/Workers/chunk-EXBFEYPQ.js +26 -0
- package/dist/cesium/Workers/chunk-FK5KFB6H.js +26 -0
- package/dist/cesium/Workers/chunk-HPBHKP5S.js +26 -0
- package/dist/cesium/Workers/chunk-JCJ24DHF.js +26 -0
- package/dist/cesium/Workers/chunk-JEWHFDAA.js +26 -0
- package/dist/cesium/Workers/chunk-JZLZJJQD.js +26 -0
- package/dist/cesium/Workers/chunk-KRZBI2MU.js +26 -0
- package/dist/cesium/Workers/chunk-KTTUANTJ.js +26 -0
- package/dist/cesium/Workers/chunk-LDCAXLGS.js +26 -0
- package/dist/cesium/Workers/chunk-LOPN5R3I.js +26 -0
- package/dist/cesium/Workers/chunk-MDLPQIMP.js +26 -0
- package/dist/cesium/Workers/chunk-MRR3RGFO.js +26 -0
- package/dist/cesium/Workers/chunk-NPBZI5YA.js +26 -0
- package/dist/cesium/Workers/chunk-NUSW5B6A.js +26 -0
- package/dist/cesium/Workers/chunk-OUXRUXNB.js +26 -0
- package/dist/cesium/Workers/chunk-QPOPEH3M.js +26 -0
- package/dist/cesium/Workers/chunk-R2AN7EKC.js +26 -0
- package/dist/cesium/Workers/chunk-RURL6ZX2.js +26 -0
- package/dist/cesium/Workers/chunk-SUQM3OSW.js +28 -0
- package/dist/cesium/Workers/chunk-UBIRX2SP.js +26 -0
- package/dist/cesium/Workers/chunk-VAKC5J5C.js +26 -0
- package/dist/cesium/Workers/chunk-VHNZBQTR.js +27 -0
- package/dist/cesium/Workers/chunk-VKV642QV.js +26 -0
- package/dist/cesium/Workers/chunk-VMSXG4OA.js +26 -0
- package/dist/cesium/Workers/chunk-VQZSIOZW.js +26 -0
- package/dist/cesium/Workers/chunk-WZUWQMI7.js +26 -0
- package/dist/cesium/Workers/chunk-YBI55DLZ.js +26 -0
- package/dist/cesium/Workers/chunk-YEJWCH6C.js +26 -0
- package/dist/cesium/Workers/chunk-YPDO7SPO.js +26 -0
- package/dist/cesium/Workers/chunk-ZYWD6OQH.js +26 -0
- package/dist/cesium/Workers/combineGeometry.js +26 -0
- package/dist/cesium/Workers/createBoxGeometry.js +26 -0
- package/dist/cesium/Workers/createBoxOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createCircleGeometry.js +26 -0
- package/dist/cesium/Workers/createCircleOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createCoplanarPolygonGeometry.js +26 -0
- package/dist/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createCorridorGeometry.js +26 -0
- package/dist/cesium/Workers/createCorridorOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createCylinderGeometry.js +26 -0
- package/dist/cesium/Workers/createCylinderOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createEllipseGeometry.js +26 -0
- package/dist/cesium/Workers/createEllipseOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createEllipsoidGeometry.js +26 -0
- package/dist/cesium/Workers/createEllipsoidOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createFrustumGeometry.js +26 -0
- package/dist/cesium/Workers/createFrustumOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createGeometry.js +26 -0
- package/dist/cesium/Workers/createGroundPolylineGeometry.js +26 -0
- package/dist/cesium/Workers/createPlaneGeometry.js +26 -0
- package/dist/cesium/Workers/createPlaneOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createPolygonGeometry.js +26 -0
- package/dist/cesium/Workers/createPolygonOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createPolylineGeometry.js +26 -0
- package/dist/cesium/Workers/createPolylineVolumeGeometry.js +26 -0
- package/dist/cesium/Workers/createPolylineVolumeOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createRectangleGeometry.js +26 -0
- package/dist/cesium/Workers/createRectangleOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createSimplePolylineGeometry.js +26 -0
- package/dist/cesium/Workers/createSphereGeometry.js +26 -0
- package/dist/cesium/Workers/createSphereOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createTaskProcessorWorker.js +26 -0
- package/dist/cesium/Workers/createVectorTileClampedPolylines.js +26 -0
- package/dist/cesium/Workers/createVectorTileGeometries.js +26 -0
- package/dist/cesium/Workers/createVectorTilePoints.js +26 -0
- package/dist/cesium/Workers/createVectorTilePolygons.js +26 -0
- package/dist/cesium/Workers/createVectorTilePolylines.js +26 -0
- package/dist/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +26 -0
- package/dist/cesium/Workers/createVerticesFromHeightmap.js +26 -0
- package/dist/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +26 -0
- package/dist/cesium/Workers/createWallGeometry.js +26 -0
- package/dist/cesium/Workers/createWallOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/decodeDraco.js +26 -0
- package/dist/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +26 -0
- package/dist/cesium/Workers/decodeI3S.js +26 -0
- package/dist/cesium/Workers/transcodeKTX2.js +56 -0
- package/dist/cesium/Workers/transferTypedArrayTest.js +26 -0
- package/dist/cesium/Workers/upsampleQuantizedTerrainMesh.js +26 -0
- package/dist/core.js +83397 -0
- package/dist/core.umd.cjs +6710 -0
- package/dist/index-DqatWUTw.js +3225 -0
- package/dist/index.d.ts +1760 -0
- package/package.json +115 -0
- package/src/Map/ClusteredLayers/index.tsx +106 -0
- package/src/Map/Layer/hooks.ts +180 -0
- package/src/Map/Layer/index.tsx +92 -0
- package/src/Map/Layers/hooks.test.ts +819 -0
- package/src/Map/Layers/hooks.ts +955 -0
- package/src/Map/Layers/index.test.tsx +188 -0
- package/src/Map/Layers/index.tsx +76 -0
- package/src/Map/Layers/keys.ts +51 -0
- package/src/Map/Layers/utils.test.ts +53 -0
- package/src/Map/Layers/utils.ts +37 -0
- package/src/Map/Sketch/hooks.ts +641 -0
- package/src/Map/Sketch/index.tsx +101 -0
- package/src/Map/Sketch/preset.ts +29 -0
- package/src/Map/Sketch/sketchMachine.ts +323 -0
- package/src/Map/Sketch/sketchMachine.typegen.ts +72 -0
- package/src/Map/Sketch/types.ts +52 -0
- package/src/Map/Sketch/utils.ts +24 -0
- package/src/Map/hooks.ts +127 -0
- package/src/Map/index.tsx +147 -0
- package/src/Map/ref.ts +147 -0
- package/src/Map/types/event.ts +104 -0
- package/src/Map/types/index.ts +545 -0
- package/src/Map/useTimelineManager.ts +215 -0
- package/src/Map/utils.test.ts +62 -0
- package/src/Map/utils.ts +71 -0
- package/src/Visualizer/DropHolder.tsx +41 -0
- package/src/Visualizer/Error.tsx +15 -0
- package/src/Visualizer/context.tsx +27 -0
- package/src/Visualizer/coreContext.tsx +47 -0
- package/src/Visualizer/engines.ts +7 -0
- package/src/Visualizer/featureFlags.ts +9 -0
- package/src/Visualizer/hooks.ts +403 -0
- package/src/Visualizer/index.stories.tsx +128 -0
- package/src/Visualizer/index.tsx +187 -0
- package/src/Visualizer/interactionMode.ts +25 -0
- package/src/Visualizer/useViewport.ts +74 -0
- package/src/e2eConfig.ts +20 -0
- package/src/engines/Cesium/Cluster.tsx +90 -0
- package/src/engines/Cesium/Event.tsx +15 -0
- package/src/engines/Cesium/Feature/Box/Edge.tsx +94 -0
- package/src/engines/Cesium/Feature/Box/ScalePoints.tsx +158 -0
- package/src/engines/Cesium/Feature/Box/Side.tsx +70 -0
- package/src/engines/Cesium/Feature/Box/constants.ts +63 -0
- package/src/engines/Cesium/Feature/Box/hooks/box.ts +375 -0
- package/src/engines/Cesium/Feature/Box/hooks/edge.ts +112 -0
- package/src/engines/Cesium/Feature/Box/hooks/scalePoint.ts +174 -0
- package/src/engines/Cesium/Feature/Box/hooks/side.ts +72 -0
- package/src/engines/Cesium/Feature/Box/index.tsx +156 -0
- package/src/engines/Cesium/Feature/Box/utils.ts +168 -0
- package/src/engines/Cesium/Feature/Ellipse/index.stories.tsx +48 -0
- package/src/engines/Cesium/Feature/Ellipse/index.tsx +91 -0
- package/src/engines/Cesium/Feature/Ellipsoid/index.tsx +84 -0
- package/src/engines/Cesium/Feature/Frustum/FrustumColorAppearance.ts +38 -0
- package/src/engines/Cesium/Feature/Frustum/getFieldOfView.ts +23 -0
- package/src/engines/Cesium/Feature/Frustum/index.stories.tsx +49 -0
- package/src/engines/Cesium/Feature/Frustum/index.tsx +163 -0
- package/src/engines/Cesium/Feature/Frustum/shaders/frustumAppearance.frag.glsl +31 -0
- package/src/engines/Cesium/Feature/Frustum/shaders/frustumAppearance.vert.glsl +29 -0
- package/src/engines/Cesium/Feature/HeatMap/HeatmapMesh.tsx +186 -0
- package/src/engines/Cesium/Feature/HeatMap/HeatmapMeshMaterial.ts +81 -0
- package/src/engines/Cesium/Feature/HeatMap/colorMap.ts +47 -0
- package/src/engines/Cesium/Feature/HeatMap/constants.ts +781 -0
- package/src/engines/Cesium/Feature/HeatMap/createMeshImageData.ts +108 -0
- package/src/engines/Cesium/Feature/HeatMap/index.tsx +169 -0
- package/src/engines/Cesium/Feature/HeatMap/shaders/heatmapMeshMaterial.glsl +78 -0
- package/src/engines/Cesium/Feature/HeatMap/shaders/makeContour.glsl +13 -0
- package/src/engines/Cesium/Feature/HeatMap/shaders/sampleBicubic.glsl +57 -0
- package/src/engines/Cesium/Feature/Marker/index.tsx +296 -0
- package/src/engines/Cesium/Feature/Marker/marker.svg +3 -0
- package/src/engines/Cesium/Feature/Model/index.stories.tsx +48 -0
- package/src/engines/Cesium/Feature/Model/index.tsx +223 -0
- package/src/engines/Cesium/Feature/PhotoOverlay/hooks.ts +98 -0
- package/src/engines/Cesium/Feature/PhotoOverlay/index.tsx +163 -0
- package/src/engines/Cesium/Feature/PhotoOverlay/primPhotoIcon.svg +3 -0
- package/src/engines/Cesium/Feature/Polygon/index.stories.tsx +174 -0
- package/src/engines/Cesium/Feature/Polygon/index.tsx +182 -0
- package/src/engines/Cesium/Feature/Polyline/index.tsx +98 -0
- package/src/engines/Cesium/Feature/Raster/hooks.ts +52 -0
- package/src/engines/Cesium/Feature/Raster/index.stories.tsx +77 -0
- package/src/engines/Cesium/Feature/Raster/index.tsx +37 -0
- package/src/engines/Cesium/Feature/Raster/mvt.ts +33 -0
- package/src/engines/Cesium/Feature/Raster/tiles.ts +27 -0
- package/src/engines/Cesium/Feature/Raster/tms.ts +31 -0
- package/src/engines/Cesium/Feature/Raster/types.ts +5 -0
- package/src/engines/Cesium/Feature/Raster/utils.test.ts +14 -0
- package/src/engines/Cesium/Feature/Raster/utils.ts +10 -0
- package/src/engines/Cesium/Feature/Raster/wms.ts +28 -0
- package/src/engines/Cesium/Feature/Resource/index.stories.tsx +46 -0
- package/src/engines/Cesium/Feature/Resource/index.tsx +218 -0
- package/src/engines/Cesium/Feature/Resource/utils.test.ts +69 -0
- package/src/engines/Cesium/Feature/Resource/utils.ts +377 -0
- package/src/engines/Cesium/Feature/Tileset/DrawClippingPolygon/index.tsx +77 -0
- package/src/engines/Cesium/Feature/Tileset/TilesetFeatureIndex.ts +46 -0
- package/src/engines/Cesium/Feature/Tileset/hooks.ts +793 -0
- package/src/engines/Cesium/Feature/Tileset/index.stories.tsx +41 -0
- package/src/engines/Cesium/Feature/Tileset/index.tsx +127 -0
- package/src/engines/Cesium/Feature/Tileset/types.ts +5 -0
- package/src/engines/Cesium/Feature/Tileset/useClippingBox.ts +457 -0
- package/src/engines/Cesium/Feature/Tileset/useDrawClipping.ts +200 -0
- package/src/engines/Cesium/Feature/context.ts +33 -0
- package/src/engines/Cesium/Feature/index.tsx +250 -0
- package/src/engines/Cesium/Feature/utils.test.tsx +30 -0
- package/src/engines/Cesium/Feature/utils.tsx +289 -0
- package/src/engines/Cesium/FeatureIndex.ts +15 -0
- package/src/engines/Cesium/JapanSeaLevelEllipsoid.ts +20 -0
- package/src/engines/Cesium/PostProcesses/README.md +1 -0
- package/src/engines/Cesium/PostProcesses/hbao/AmbientOcclusion.tsx +120 -0
- package/src/engines/Cesium/PostProcesses/hbao/AmbientOcclusionOutputType.ts +7 -0
- package/src/engines/Cesium/PostProcesses/hbao/README.md +3 -0
- package/src/engines/Cesium/PostProcesses/hbao/config.ts +29 -0
- package/src/engines/Cesium/PostProcesses/hbao/createAmbientOcclusionStage.ts +173 -0
- package/src/engines/Cesium/PostProcesses/hbao/createCrossBilateralFilterStage.ts +94 -0
- package/src/engines/Cesium/PostProcesses/hbao/index.ts +3 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/ambientOcclusionGenerate.glsl +151 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/ambientOcclusionModulate.glsl +46 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/crossBilateralFilter.glsl +108 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/depth.glsl +3 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/globeDepth.glsl +15 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/highPassRandom.glsl +28 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/packing.glsl +7 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/reconstructNormal.glsl +109 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/reconstructPosition.glsl +10 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/turboColorMap.glsl +20 -0
- package/src/engines/Cesium/PostProcesses/hbao/shaders/vogelDisk.glsl +13 -0
- package/src/engines/Cesium/Shaders/CustomShaders/NonPBRLightingShader.ts +66 -0
- package/src/engines/Cesium/Shaders/OverriddenShaders/GlobeFS/Definitions.glsl +5 -0
- package/src/engines/Cesium/Shaders/OverriddenShaders/GlobeFS/HeatmapForTerrain.glsl +13 -0
- package/src/engines/Cesium/Shaders/OverriddenShaders/GlobeFS/IBL.glsl +57 -0
- package/src/engines/Cesium/Shaders/OverriddenShaders/README.md +13 -0
- package/src/engines/Cesium/Sketch/ControlPoint.tsx +67 -0
- package/src/engines/Cesium/Sketch/Entity.tsx +43 -0
- package/src/engines/Cesium/Sketch/ExtrudedControlPoints.tsx +51 -0
- package/src/engines/Cesium/Sketch/ExtrudedMeasurement.tsx +70 -0
- package/src/engines/Cesium/Sketch/ExtrudedPolygonEntity.tsx +75 -0
- package/src/engines/Cesium/Sketch/MeasurementText.tsx +13 -0
- package/src/engines/Cesium/Sketch/PolygonEntity.tsx +48 -0
- package/src/engines/Cesium/Sketch/PolylineEntity.tsx +44 -0
- package/src/engines/Cesium/Sketch/ScreenSpaceElement.tsx +87 -0
- package/src/engines/Cesium/Sketch/SurfaceControlPoints.tsx +67 -0
- package/src/engines/Cesium/Sketch/SurfaceMeasurement.tsx +80 -0
- package/src/engines/Cesium/Sketch/createGeometry.ts +224 -0
- package/src/engines/Cesium/Sketch/index.tsx +119 -0
- package/src/engines/Cesium/Sketch/utils.ts +27 -0
- package/src/engines/Cesium/VertexTerrainElevationMaterial.ts +33 -0
- package/src/engines/Cesium/cameraLimiter.ts +256 -0
- package/src/engines/Cesium/common.test.ts +38 -0
- package/src/engines/Cesium/common.ts +901 -0
- package/src/engines/Cesium/constants.ts +25 -0
- package/src/engines/Cesium/core/Clock.tsx +58 -0
- package/src/engines/Cesium/core/Globe.tsx +136 -0
- package/src/engines/Cesium/core/Imagery.test.ts +102 -0
- package/src/engines/Cesium/core/Imagery.tsx +184 -0
- package/src/engines/Cesium/core/Indicator/Indicator.tsx +141 -0
- package/src/engines/Cesium/core/Indicator/crosshair.svg +3 -0
- package/src/engines/Cesium/core/labels/JapanGSIOptimalBVmapVectorMapLabel/JapanGSIOptimalBVmapLabelImagery.tsx +321 -0
- package/src/engines/Cesium/core/labels/JapanGSIOptimalBVmapVectorMapLabel/JapanGSIOptimalBVmapLabelImageryLayer.tsx +56 -0
- package/src/engines/Cesium/core/labels/JapanGSIOptimalBVmapVectorMapLabel/JapanGSIOptimalBVmapLabelImageryProvider.ts +146 -0
- package/src/engines/Cesium/core/labels/JapanGSIOptimalBVmapVectorMapLabel/JapanGSIOptimalBVmapVectorMapLabel.tsx +258 -0
- package/src/engines/Cesium/core/labels/JapanGSIOptimalBVmapVectorMapLabel/getAnnotationType.ts +117 -0
- package/src/engines/Cesium/core/labels/JapanGSIOptimalBVmapVectorMapLabel/helpers.ts +24 -0
- package/src/engines/Cesium/core/labels/JapanGSIOptimalBVmapVectorMapLabel/index.ts +3 -0
- package/src/engines/Cesium/core/labels/JapanGSIOptimalBVmapVectorMapLabel/types.ts +26 -0
- package/src/engines/Cesium/core/labels/LabelImageryLayers.tsx +39 -0
- package/src/engines/Cesium/core/presets.ts +95 -0
- package/src/engines/Cesium/helpers/createUniforms.ts +64 -0
- package/src/engines/Cesium/helpers/sphericalHaromic.test.ts +33 -0
- package/src/engines/Cesium/helpers/sphericalHaromic.ts +27 -0
- package/src/engines/Cesium/hooks/useInstance.ts +98 -0
- package/src/engines/Cesium/hooks/useLayerSelectWithRect.ts +157 -0
- package/src/engines/Cesium/hooks/useSceneEvent.ts +47 -0
- package/src/engines/Cesium/hooks.ts +1004 -0
- package/src/engines/Cesium/index.stories.tsx +42 -0
- package/src/engines/Cesium/index.tsx +285 -0
- package/src/engines/Cesium/pickMany.ts +310 -0
- package/src/engines/Cesium/type.d.ts +47 -0
- package/src/engines/Cesium/types.ts +24 -0
- package/src/engines/Cesium/useEngineRef.test.tsx +627 -0
- package/src/engines/Cesium/useEngineRef.ts +945 -0
- package/src/engines/Cesium/useOverrideGlobeShader.ts +322 -0
- package/src/engines/Cesium/utils/mouse.ts +16 -0
- package/src/engines/Cesium/utils/polygon.ts +48 -0
- package/src/engines/Cesium/utils/utils.ts +446 -0
- package/src/engines/Cesium/vertexTerrainElevationMaterial.glsl +25 -0
- package/src/engines/index.ts +37 -0
- package/src/env.d.ts +3 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useRefFunction.ts +10 -0
- package/src/hooks/useRefValue.ts +7 -0
- package/src/index.ts +4 -0
- package/src/mantle/README.md +7 -0
- package/src/mantle/atoms/cache.test.ts +61 -0
- package/src/mantle/atoms/cache.ts +55 -0
- package/src/mantle/atoms/compute.test.ts +794 -0
- package/src/mantle/atoms/compute.ts +344 -0
- package/src/mantle/atoms/data.test.ts +182 -0
- package/src/mantle/atoms/data.ts +114 -0
- package/src/mantle/atoms/index.ts +1 -0
- package/src/mantle/compat/backward.test.ts +368 -0
- package/src/mantle/compat/backward.ts +189 -0
- package/src/mantle/compat/forward.test.ts +688 -0
- package/src/mantle/compat/forward.ts +272 -0
- package/src/mantle/compat/index.ts +4 -0
- package/src/mantle/compat/types.ts +73 -0
- package/src/mantle/data/csv.test.ts +478 -0
- package/src/mantle/data/csv.ts +194 -0
- package/src/mantle/data/geojson.ts +72 -0
- package/src/mantle/data/georss.ts +172 -0
- package/src/mantle/data/gml.ts +244 -0
- package/src/mantle/data/gpx.test.ts +65 -0
- package/src/mantle/data/gpx.ts +551 -0
- package/src/mantle/data/gtfs.ts +116 -0
- package/src/mantle/data/gtfsReader.ts +454 -0
- package/src/mantle/data/index.test.ts +16 -0
- package/src/mantle/data/index.ts +73 -0
- package/src/mantle/data/shapefile.ts +232 -0
- package/src/mantle/data/utils.ts +21 -0
- package/src/mantle/evaluator/index.ts +40 -0
- package/src/mantle/evaluator/simple/conditionalExpression/index.ts +60 -0
- package/src/mantle/evaluator/simple/expression/constants.ts +204 -0
- package/src/mantle/evaluator/simple/expression/expression.test.ts +63 -0
- package/src/mantle/evaluator/simple/expression/expression.ts +116 -0
- package/src/mantle/evaluator/simple/expression/functions/binaryFunctions.ts +43 -0
- package/src/mantle/evaluator/simple/expression/functions/colors.ts +189 -0
- package/src/mantle/evaluator/simple/expression/functions/index.ts +3 -0
- package/src/mantle/evaluator/simple/expression/functions/unaryFunctions.ts +54 -0
- package/src/mantle/evaluator/simple/expression/index.ts +1 -0
- package/src/mantle/evaluator/simple/expression/node.ts +570 -0
- package/src/mantle/evaluator/simple/expression/runtime.ts +266 -0
- package/src/mantle/evaluator/simple/expression/variableReplacer.test.ts +54 -0
- package/src/mantle/evaluator/simple/expression/variableReplacer.ts +121 -0
- package/src/mantle/evaluator/simple/index.test.ts +656 -0
- package/src/mantle/evaluator/simple/index.ts +178 -0
- package/src/mantle/evaluator/simple/interval.test.ts +102 -0
- package/src/mantle/evaluator/simple/interval.ts +27 -0
- package/src/mantle/evaluator/simple/utils.test.ts +56 -0
- package/src/mantle/evaluator/simple/utils.ts +31 -0
- package/src/mantle/index.ts +6 -0
- package/src/mantle/types/appearance.ts +318 -0
- package/src/mantle/types/events.ts +16 -0
- package/src/mantle/types/expression.ts +9 -0
- package/src/mantle/types/index.ts +156 -0
- package/src/mantle/types/value.ts +153 -0
- package/src/mantle/utils.test.ts +74 -0
- package/src/mantle/utils.ts +53 -0
- package/src/reearthTypes.ts +64 -0
- package/src/setupTests.ts +1 -0
- package/src/test/setup.ts +40 -0
- package/src/test/utils.tsx +40 -0
- package/src/types.ts +66 -0
- package/src/utils/StringMatcher.test.ts +132 -0
- package/src/utils/StringMatcher.ts +104 -0
- package/src/utils/assertType.ts +1 -0
- package/src/utils/generate-random-string.ts +9 -0
- package/src/utils/idle.ts +22 -0
- package/src/utils/image.ts +35 -0
- package/src/utils/index.ts +11 -0
- package/src/utils/object.ts +70 -0
- package/src/utils/raf.ts +58 -0
- package/src/utils/time.ts +18 -0
- package/src/utils/use-delayed-count.test.ts +139 -0
- package/src/utils/use-delayed-count.ts +65 -0
- package/src/utils/use-dnd/drag.ts +34 -0
- package/src/utils/use-dnd/drop.ts +93 -0
- package/src/utils/use-dnd/index.tsx +20 -0
- package/src/utils/use-dnd/types.ts +47 -0
- package/src/utils/util.ts +81 -0
- package/src/utils/value.ts +260 -0
- package/src/vite-env.d.ts +1 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1760 @@
|
|
|
1
|
+
import { Atom as Atom_2 } from 'jotai';
|
|
2
|
+
import { Cartesian3 } from 'cesium';
|
|
3
|
+
import { ComponentType } from 'react';
|
|
4
|
+
import { Context } from 'react';
|
|
5
|
+
import { CSSProperties } from 'react';
|
|
6
|
+
import { Feature as Feature_2 } from 'geojson';
|
|
7
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
8
|
+
import { LineString } from 'geojson';
|
|
9
|
+
import { MemoExoticComponent } from 'react';
|
|
10
|
+
import { MultiLineString } from 'geojson';
|
|
11
|
+
import { MultiPoint } from 'geojson';
|
|
12
|
+
import { MultiPolygon } from 'geojson';
|
|
13
|
+
import { MutableRefObject } from 'react';
|
|
14
|
+
import { Point } from 'geojson';
|
|
15
|
+
import { Polygon as Polygon_2 } from 'geojson';
|
|
16
|
+
import { PropsWithoutRef } from 'react';
|
|
17
|
+
import { ReactNode } from 'react';
|
|
18
|
+
import { RefAttributes } from 'react';
|
|
19
|
+
import { RefObject } from 'react';
|
|
20
|
+
import { RequireExactlyOne } from 'type-fest';
|
|
21
|
+
import { WritableAtom } from 'jotai';
|
|
22
|
+
|
|
23
|
+
export declare const appearanceKeyObj: {
|
|
24
|
+
[k in keyof AppearanceTypes]: 1;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export declare const appearanceKeys: (keyof AppearanceTypes)[];
|
|
28
|
+
|
|
29
|
+
export declare type AppearanceTypes = {
|
|
30
|
+
marker: MarkerAppearance;
|
|
31
|
+
polyline: PolylineAppearance;
|
|
32
|
+
polygon: PolygonAppearance;
|
|
33
|
+
model: ModelAppearance;
|
|
34
|
+
"3dtiles": Cesium3DTilesAppearance;
|
|
35
|
+
ellipsoid: EllipsoidAppearance;
|
|
36
|
+
ellipse: EllipseAppearance;
|
|
37
|
+
box: BoxAppearance;
|
|
38
|
+
photooverlay: LegacyPhotooverlayAppearance;
|
|
39
|
+
resource: ResourceAppearance;
|
|
40
|
+
raster: RasterAppearance;
|
|
41
|
+
heatMap: HeatMapAppearance;
|
|
42
|
+
frustum: FrustumAppearance;
|
|
43
|
+
transition: TransitionAppearance;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
declare type Array_2 = any[];
|
|
47
|
+
export { Array_2 as Array }
|
|
48
|
+
|
|
49
|
+
export declare type Atom = ReturnType<typeof computeAtom>;
|
|
50
|
+
|
|
51
|
+
export declare type Bound = {
|
|
52
|
+
east: number;
|
|
53
|
+
north: number;
|
|
54
|
+
south: number;
|
|
55
|
+
west: number;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export declare type BoxAppearance = {
|
|
59
|
+
show?: boolean;
|
|
60
|
+
height?: number;
|
|
61
|
+
width?: number;
|
|
62
|
+
length?: number;
|
|
63
|
+
heading?: number;
|
|
64
|
+
pitch?: number;
|
|
65
|
+
roll?: number;
|
|
66
|
+
fillColor?: string;
|
|
67
|
+
outlineColor?: string;
|
|
68
|
+
activeOutlineColor?: string;
|
|
69
|
+
outlineWidth?: number;
|
|
70
|
+
draggableOutlineColor?: string;
|
|
71
|
+
activeDraggableOutlineColor?: string;
|
|
72
|
+
draggableOutlineWidth?: number;
|
|
73
|
+
scalePoint?: boolean;
|
|
74
|
+
axisLine?: boolean;
|
|
75
|
+
pointFillColor?: string;
|
|
76
|
+
pointOutlineColor?: string;
|
|
77
|
+
activePointOutlineColor?: string;
|
|
78
|
+
pointOutlineWidth?: number;
|
|
79
|
+
axisLineColor?: string;
|
|
80
|
+
axisLineWidth?: number;
|
|
81
|
+
allowEnterGround?: boolean;
|
|
82
|
+
cursor?: string;
|
|
83
|
+
activeBox?: boolean;
|
|
84
|
+
activeScalePointIndex?: number;
|
|
85
|
+
activeEdgeIndex?: number;
|
|
86
|
+
near?: number;
|
|
87
|
+
far?: number;
|
|
88
|
+
hideIndicator?: boolean;
|
|
89
|
+
disabledSelection?: boolean;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export declare type Camera = {
|
|
93
|
+
lat: number;
|
|
94
|
+
lng: number;
|
|
95
|
+
height: number;
|
|
96
|
+
heading: number;
|
|
97
|
+
pitch: number;
|
|
98
|
+
roll: number;
|
|
99
|
+
fov: number;
|
|
100
|
+
aspectRatio?: number;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export declare type CameraOptions = {
|
|
104
|
+
/** Seconds */
|
|
105
|
+
duration?: number;
|
|
106
|
+
easing?: (time: number) => number;
|
|
107
|
+
withoutAnimation?: boolean;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/** Represents the camera position and state */
|
|
111
|
+
export declare type CameraPosition = {
|
|
112
|
+
/** degrees */
|
|
113
|
+
lat: number;
|
|
114
|
+
/** degrees */
|
|
115
|
+
lng: number;
|
|
116
|
+
/** meters */
|
|
117
|
+
height: number;
|
|
118
|
+
/** radians */
|
|
119
|
+
heading: number;
|
|
120
|
+
/** radians */
|
|
121
|
+
pitch: number;
|
|
122
|
+
/** radians */
|
|
123
|
+
roll: number;
|
|
124
|
+
/** Field of view expressed in radians */
|
|
125
|
+
fov: number;
|
|
126
|
+
/** Aspect ratio of frustum */
|
|
127
|
+
aspectRatio?: number;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export declare type Cesium3DTilesAppearance = {
|
|
131
|
+
show?: boolean;
|
|
132
|
+
color?: string;
|
|
133
|
+
styleUrl?: string;
|
|
134
|
+
shadows?: "disabled" | "enabled" | "cast_only" | "receive_only";
|
|
135
|
+
colorBlendMode?: "highlight" | "replace" | "mix" | "default";
|
|
136
|
+
edgeWidth?: number;
|
|
137
|
+
edgeColor?: string;
|
|
138
|
+
selectedFeatureColor?: string;
|
|
139
|
+
disableIndexingFeature?: boolean;
|
|
140
|
+
tileset?: string;
|
|
141
|
+
apiKey?: string;
|
|
142
|
+
experimental_clipping?: EXPERIMENTAL_clipping;
|
|
143
|
+
pointSize?: number;
|
|
144
|
+
meta?: unknown;
|
|
145
|
+
pbr?: boolean | "withTexture";
|
|
146
|
+
specularEnvironmentMaps?: string;
|
|
147
|
+
sphericalHarmonicCoefficients?: [x: number, y: number, z: number][];
|
|
148
|
+
imageBasedLightIntensity?: number;
|
|
149
|
+
showWireframe?: boolean;
|
|
150
|
+
showBoundingVolume?: boolean;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export declare type ClassificationType = "both" | "terrain" | "3dtiles";
|
|
154
|
+
|
|
155
|
+
export declare function clearAllExpressionCaches(layer: LayerSimple | undefined, feature: Feature | undefined): void;
|
|
156
|
+
|
|
157
|
+
export declare type Clock = {
|
|
158
|
+
current?: Date;
|
|
159
|
+
start?: Date;
|
|
160
|
+
stop?: Date;
|
|
161
|
+
speed?: number;
|
|
162
|
+
playing?: boolean;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
export declare type Cluster = {
|
|
166
|
+
id: string;
|
|
167
|
+
property?: ClusterProperty;
|
|
168
|
+
layers?: string[];
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
export declare type ClusterComponentProps = {
|
|
172
|
+
cluster: Cluster;
|
|
173
|
+
property?: ClusterProperty;
|
|
174
|
+
children?: ReactNode;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
export declare type ClusterComponentType = ComponentType<ClusterComponentProps>;
|
|
178
|
+
|
|
179
|
+
export declare type ClusterProperty = {
|
|
180
|
+
default?: {
|
|
181
|
+
clusterPixelRange: number;
|
|
182
|
+
clusterMinSize: number;
|
|
183
|
+
clusterLabelTypography?: Typography;
|
|
184
|
+
clusterImage?: string;
|
|
185
|
+
clusterImageHeight?: number;
|
|
186
|
+
clusterImageWidth?: number;
|
|
187
|
+
};
|
|
188
|
+
layers?: {
|
|
189
|
+
layer?: string;
|
|
190
|
+
}[];
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export declare type ColorTuple = [number, number, number];
|
|
194
|
+
|
|
195
|
+
declare type Command = {
|
|
196
|
+
type: "setLayer";
|
|
197
|
+
layer?: Layer;
|
|
198
|
+
} | {
|
|
199
|
+
type: "writeLayer";
|
|
200
|
+
value: Partial<Pick<LayerSimple, "properties">>;
|
|
201
|
+
} | {
|
|
202
|
+
type: "requestFetch";
|
|
203
|
+
range: DataRange;
|
|
204
|
+
} | {
|
|
205
|
+
type: "writeFeatures";
|
|
206
|
+
features: Feature[];
|
|
207
|
+
} | {
|
|
208
|
+
type: "writeComputedFeatures";
|
|
209
|
+
value: {
|
|
210
|
+
feature: Feature[];
|
|
211
|
+
computed: ComputedFeature[];
|
|
212
|
+
needComputingLayer?: boolean;
|
|
213
|
+
};
|
|
214
|
+
} | {
|
|
215
|
+
type: "deleteFeatures";
|
|
216
|
+
features: string[];
|
|
217
|
+
} | {
|
|
218
|
+
type: "deleteComputedFeatures";
|
|
219
|
+
features: string[];
|
|
220
|
+
} | {
|
|
221
|
+
type: "override";
|
|
222
|
+
overrides?: Record<string, any>;
|
|
223
|
+
} | {
|
|
224
|
+
type: "updateDelegatedDataTypes";
|
|
225
|
+
delegatedDataTypes: DataType[];
|
|
226
|
+
} | {
|
|
227
|
+
type: "forceUpdateFeatures";
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
export declare type CommonFeature<T extends "feature" | "computedFeature"> = {
|
|
231
|
+
type: T;
|
|
232
|
+
id: string;
|
|
233
|
+
geometry?: Geometry;
|
|
234
|
+
interval?: TimeInterval;
|
|
235
|
+
properties?: any;
|
|
236
|
+
metaData?: {
|
|
237
|
+
description?: string;
|
|
238
|
+
};
|
|
239
|
+
range?: DataRange;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
declare type CommonProps = {
|
|
243
|
+
isBuilt?: boolean;
|
|
244
|
+
isEditable?: boolean;
|
|
245
|
+
isHidden?: boolean;
|
|
246
|
+
isSelected?: boolean;
|
|
247
|
+
meta?: Record<string, unknown>;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
export declare function computeAtom(cache?: typeof globalDataFeaturesCache): WritableAtom<ComputedLayer | undefined, Command, void>;
|
|
251
|
+
|
|
252
|
+
export declare type ComputedFeature = CommonFeature<"computedFeature"> & Partial<AppearanceTypes>;
|
|
253
|
+
|
|
254
|
+
export declare type ComputedLayer = {
|
|
255
|
+
id: string;
|
|
256
|
+
status: ComputedLayerStatus;
|
|
257
|
+
layer: Layer;
|
|
258
|
+
originalFeatures: Feature[];
|
|
259
|
+
features: ComputedFeature[];
|
|
260
|
+
properties?: any;
|
|
261
|
+
} & Partial<AppearanceTypes>;
|
|
262
|
+
|
|
263
|
+
export declare type ComputedLayerStatus = "fetching" | "ready";
|
|
264
|
+
|
|
265
|
+
export declare type ConditionsExpression = {
|
|
266
|
+
conditions: [string, string][];
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
export declare function convertLayer(l: Layer): LegacyLayer | undefined;
|
|
270
|
+
|
|
271
|
+
export declare function convertLegacyCluster(clusters: LegacyCluster[]): Cluster[];
|
|
272
|
+
|
|
273
|
+
export declare function convertLegacyLayer(l: LegacyLayer | undefined): Layer | undefined;
|
|
274
|
+
|
|
275
|
+
export declare type Coordinates = LatLngHeight[];
|
|
276
|
+
|
|
277
|
+
declare type CoreContext = {
|
|
278
|
+
interactionMode?: InteractionModeType;
|
|
279
|
+
selectedLayer?: {
|
|
280
|
+
layerId?: string | undefined;
|
|
281
|
+
featureId?: string | undefined;
|
|
282
|
+
layer?: ComputedLayer | undefined;
|
|
283
|
+
reason?: LayerSelectionReason | undefined;
|
|
284
|
+
};
|
|
285
|
+
selectedComputedFeature?: ComputedFeature | undefined;
|
|
286
|
+
viewport?: Viewport;
|
|
287
|
+
overriddenSceneProperty?: SceneProperty;
|
|
288
|
+
overrideSceneProperty?: (pluginId: string, property: SceneProperty) => void;
|
|
289
|
+
handleCameraForceHorizontalRollChange?: (enable?: boolean) => void;
|
|
290
|
+
handleInteractionModeChange?: (mode?: InteractionModeType | undefined) => void;
|
|
291
|
+
onSketchPluginFeatureCreate?: (cb: SketchEventCallback) => void;
|
|
292
|
+
onSketchTypeChange?: (cb: (type: SketchType | undefined) => void) => void;
|
|
293
|
+
onLayerVisibility?: (cb: (e: LayerVisibilityEvent) => void) => void;
|
|
294
|
+
onLayerLoad?: (cb: (e: LayerLoadEvent) => void) => void;
|
|
295
|
+
onLayerEdit?: (cb: (e: LayerEditEvent) => void) => void;
|
|
296
|
+
onLayerSelectWithRectStart?: (cb: (e: LayerSelectWithRectStart) => void) => void;
|
|
297
|
+
onLayerSelectWithRectMove?: (cb: (e: LayerSelectWithRectMove) => void) => void;
|
|
298
|
+
onLayerSelectWithRectEnd?: (cb: (e: LayerSelectWithRectEnd) => void) => void;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
export declare const coreContext: Context<CoreContext>;
|
|
302
|
+
|
|
303
|
+
export declare const CoreVisualizer: MemoExoticComponent<ForwardRefExoticComponent<CoreVisualizerProps & {
|
|
304
|
+
children?: ReactNode;
|
|
305
|
+
} & RefAttributes<MapRef>>>;
|
|
306
|
+
|
|
307
|
+
export declare type CoreVisualizerProps = {
|
|
308
|
+
engine?: EngineType;
|
|
309
|
+
isBuilt?: boolean;
|
|
310
|
+
isEditable?: boolean;
|
|
311
|
+
sceneProperty?: SceneProperty;
|
|
312
|
+
layers?: Layer[];
|
|
313
|
+
clusters?: Cluster[];
|
|
314
|
+
camera?: Camera;
|
|
315
|
+
interactionMode?: InteractionModeType;
|
|
316
|
+
shouldRender?: boolean;
|
|
317
|
+
meta?: Record<string, unknown>;
|
|
318
|
+
style?: CSSProperties;
|
|
319
|
+
small?: boolean;
|
|
320
|
+
ready?: boolean;
|
|
321
|
+
hiddenLayers?: string[];
|
|
322
|
+
zoomedLayerId?: string;
|
|
323
|
+
onCameraChange?: (camera: Camera) => void;
|
|
324
|
+
onLayerDrop?: (layerId: string, propertyKey: string, position: LatLng | undefined) => void;
|
|
325
|
+
onLayerSelect?: (layerId: string | undefined, layer: (() => Promise<ComputedLayer | undefined>) | undefined, feature: ComputedFeature | undefined, reason: LayerSelectionReason | undefined) => void;
|
|
326
|
+
onZoomToLayer?: (layerId: string | undefined) => void;
|
|
327
|
+
onMount?: () => void;
|
|
328
|
+
onSketchTypeChangeProp?: (type: SketchType | undefined) => void;
|
|
329
|
+
onSketchFeatureCreate?: (feature: SketchFeature | null) => void;
|
|
330
|
+
onInteractionModeChange?: (mode: InteractionModeType) => void;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export declare type CursorType = "auto" | "grab" | "crosshair";
|
|
334
|
+
|
|
335
|
+
declare type CursorType_2 = "default" | "auto" | "help" | "pointer" | "grab" | "crosshair";
|
|
336
|
+
|
|
337
|
+
export declare type Data = {
|
|
338
|
+
type: DataType;
|
|
339
|
+
url?: string;
|
|
340
|
+
value?: any;
|
|
341
|
+
layers?: string | string[];
|
|
342
|
+
jsonProperties?: string[];
|
|
343
|
+
isSketchLayer?: boolean;
|
|
344
|
+
updateInterval?: number;
|
|
345
|
+
parameters?: Record<string, any>;
|
|
346
|
+
idProperty?: string;
|
|
347
|
+
time?: {
|
|
348
|
+
property?: string;
|
|
349
|
+
interval?: number;
|
|
350
|
+
updateClockOnLoad?: boolean;
|
|
351
|
+
};
|
|
352
|
+
csv?: {
|
|
353
|
+
idColumn?: string | number;
|
|
354
|
+
latColumn?: string | number;
|
|
355
|
+
lngColumn?: string | number;
|
|
356
|
+
heightColumn?: string | number;
|
|
357
|
+
noHeader?: boolean;
|
|
358
|
+
disableTypeConversion?: boolean;
|
|
359
|
+
};
|
|
360
|
+
geojson?: {
|
|
361
|
+
useAsResource?: boolean;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
export declare type DataRange = {
|
|
366
|
+
x: number;
|
|
367
|
+
y: number;
|
|
368
|
+
z: number;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
export declare type DataType = "geojson" | "3dtiles" | "osm-buildings" | "google-photorealistic" | "czml" | "csv" | "wms" | "mvt" | "kml" | "gpx" | "shapefile" | "gtfs" | "gml" | "georss" | "gltf" | "tiles" | "tms" | "heatMap";
|
|
372
|
+
|
|
373
|
+
export declare type DefaultInfobox = {
|
|
374
|
+
title?: string;
|
|
375
|
+
content: {
|
|
376
|
+
type: "table";
|
|
377
|
+
value: {
|
|
378
|
+
key: string;
|
|
379
|
+
value: string;
|
|
380
|
+
}[];
|
|
381
|
+
} | {
|
|
382
|
+
type: "html";
|
|
383
|
+
value: string;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
export declare type EllipseAppearance = {
|
|
388
|
+
show?: boolean;
|
|
389
|
+
heightReference?: "none" | "clamp" | "relative";
|
|
390
|
+
classificationType?: ClassificationType;
|
|
391
|
+
shadows?: "disabled" | "enabled" | "cast_only" | "receive_only";
|
|
392
|
+
radius?: number;
|
|
393
|
+
fill?: boolean;
|
|
394
|
+
fillColor?: string;
|
|
395
|
+
near?: number;
|
|
396
|
+
far?: number;
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
export declare type EllipsoidAppearance = {
|
|
400
|
+
show?: boolean;
|
|
401
|
+
heightReference?: "none" | "clamp" | "relative";
|
|
402
|
+
shadows?: "disabled" | "enabled" | "cast_only" | "receive_only";
|
|
403
|
+
radius?: number;
|
|
404
|
+
fillColor?: string;
|
|
405
|
+
near?: number;
|
|
406
|
+
far?: number;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
export declare type Engine = {
|
|
410
|
+
component: EngineComponent;
|
|
411
|
+
featureComponent: FeatureComponentType;
|
|
412
|
+
clusterComponent: ClusterComponentType;
|
|
413
|
+
sketchComponent: SketchComponentType;
|
|
414
|
+
delegatedDataTypes?: DataType[];
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
declare type EngineClock = {
|
|
418
|
+
current: Date | undefined;
|
|
419
|
+
start: Date | undefined;
|
|
420
|
+
stop: Date | undefined;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
export declare type EngineComponent = ForwardRefExoticComponent<PropsWithoutRef<EngineProps> & RefAttributes<EngineRef>>;
|
|
424
|
+
|
|
425
|
+
export declare type EngineProps = {
|
|
426
|
+
className?: string;
|
|
427
|
+
style?: CSSProperties;
|
|
428
|
+
isEditable?: boolean;
|
|
429
|
+
isBuilt?: boolean;
|
|
430
|
+
property?: SceneProperty;
|
|
431
|
+
camera?: Camera;
|
|
432
|
+
cameraForceHorizontalRoll?: boolean;
|
|
433
|
+
small?: boolean;
|
|
434
|
+
children?: ReactNode;
|
|
435
|
+
ready?: boolean;
|
|
436
|
+
selectedLayerId?: {
|
|
437
|
+
layerId?: string;
|
|
438
|
+
featureId?: string;
|
|
439
|
+
};
|
|
440
|
+
featureFlags: number;
|
|
441
|
+
layerSelectionReason?: LayerSelectionReason;
|
|
442
|
+
isLayerDraggable?: boolean;
|
|
443
|
+
isLayerDragging?: boolean;
|
|
444
|
+
shouldRender?: boolean;
|
|
445
|
+
meta?: Record<string, unknown>;
|
|
446
|
+
layersRef?: RefObject<LayersRef>;
|
|
447
|
+
requestingRenderMode?: MutableRefObject<RequestingRenderMode>;
|
|
448
|
+
timelineManagerRef?: TimelineManagerRef;
|
|
449
|
+
onLayerSelect?: (layerId: string | undefined, featureId?: string, options?: LayerSelectionReason, info?: SelectedFeatureInfo) => void;
|
|
450
|
+
onCameraChange?: (camera: Camera) => void;
|
|
451
|
+
onLayerDrag?: (layerId: string, featureId: string | undefined, position: LatLng) => void;
|
|
452
|
+
onLayerDrop?: (layerId: string, featureId: string | undefined, position: LatLng | undefined) => void;
|
|
453
|
+
onLayerEdit?: (e: LayerEditEvent) => void;
|
|
454
|
+
onMount?: () => void;
|
|
455
|
+
onLayerVisibility?: (e: LayerVisibilityEvent) => void;
|
|
456
|
+
onLayerLoad?: (e: LayerLoadEvent) => void;
|
|
457
|
+
onLayerSelectWithRectStart?: (e: LayerSelectWithRectStart) => void;
|
|
458
|
+
onLayerSelectWithRectMove?: (e: LayerSelectWithRectMove) => void;
|
|
459
|
+
onLayerSelectWithRectEnd?: (e: LayerSelectWithRectEnd) => void;
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
export declare type EngineRef = {
|
|
463
|
+
name: string;
|
|
464
|
+
requestRender: () => void;
|
|
465
|
+
getViewport: () => Rect | undefined;
|
|
466
|
+
getCamera: () => Camera | undefined;
|
|
467
|
+
getCameraFovInfo: (options: {
|
|
468
|
+
withTerrain?: boolean;
|
|
469
|
+
calcViewSize?: boolean;
|
|
470
|
+
}) => {
|
|
471
|
+
center?: LatLngHeight;
|
|
472
|
+
viewSize?: number;
|
|
473
|
+
} | undefined;
|
|
474
|
+
getLocationFromScreen: (x: number, y: number, withTerrain?: boolean) => LatLngHeight | undefined;
|
|
475
|
+
sampleTerrainHeight: (lng: number, lat: number) => Promise<number | undefined>;
|
|
476
|
+
computeGlobeHeight: (lng: number, lat: number, height?: number) => number | undefined;
|
|
477
|
+
getGlobeHeight: () => void;
|
|
478
|
+
toXYZ: (lng: number, lat: number, height: number, options?: {
|
|
479
|
+
useGlobeEllipsoid?: boolean;
|
|
480
|
+
}) => [x: number, y: number, z: number] | undefined;
|
|
481
|
+
toLngLatHeight: (x: number, y: number, z: number, options?: {
|
|
482
|
+
useGlobeEllipsoid?: boolean;
|
|
483
|
+
}) => [lng: number, lat: number, height: number] | undefined;
|
|
484
|
+
convertScreenToPositionOffset: (rawPosition: [x: number, y: number, z: number], screenOffset: [x: number, y: number]) => [x: number, y: number, z: number] | undefined;
|
|
485
|
+
isPositionVisible: (position: [x: number, y: number, z: number]) => boolean;
|
|
486
|
+
setView: (camera: CameraPosition) => void;
|
|
487
|
+
toWindowPosition: (position: [x: number, y: number, z: number]) => [x: number, y: number] | undefined;
|
|
488
|
+
getExtrudedHeight: (position: [x: number, y: number, z: number], windowPosition: [x: number, y: number]) => number | undefined;
|
|
489
|
+
getSurfaceDistance: (point1: Cartesian3, point2: Cartesian3) => number | undefined;
|
|
490
|
+
equalsEpsilon2d: (point1: Position2d, point2: Position2d, relativeEpsilon: number | undefined, absoluteEpsilon: number | undefined) => boolean;
|
|
491
|
+
equalsEpsilon3d: (point1: Position3d, point2: Position3d, relativeEpsilon: number | undefined, absoluteEpsilon: number | undefined) => boolean;
|
|
492
|
+
createGeometry: ({ type, controlPoints, }: {
|
|
493
|
+
type: SketchType;
|
|
494
|
+
controlPoints: Position3d[];
|
|
495
|
+
}) => LineString | Polygon_2 | MultiPolygon | Point | undefined;
|
|
496
|
+
setCursor: (cursor: CursorType_2) => void;
|
|
497
|
+
flyTo: FlyTo;
|
|
498
|
+
flyToBBox: (bbox: [number, number, number, number], options?: CameraOptions & {
|
|
499
|
+
heading?: number;
|
|
500
|
+
pitch?: number;
|
|
501
|
+
range?: number;
|
|
502
|
+
}) => void;
|
|
503
|
+
rotateOnCenter: (radian: number) => void;
|
|
504
|
+
overrideScreenSpaceController: (options: ScreenSpaceCameraControllerOptions) => void;
|
|
505
|
+
lookAt: (destination: LookAtDestination, options?: CameraOptions) => void;
|
|
506
|
+
lookAtLayer: (layerId: string) => void;
|
|
507
|
+
zoomIn: (amount: number, options?: CameraOptions) => void;
|
|
508
|
+
zoomOut: (amount: number, options?: CameraOptions) => void;
|
|
509
|
+
orbit: (radians: number) => void;
|
|
510
|
+
rotateRight: (radians: number) => void;
|
|
511
|
+
changeSceneMode: (sceneMode: SceneMode | undefined, duration?: number) => void;
|
|
512
|
+
getClock: () => Clock | undefined;
|
|
513
|
+
captureScreen: (type?: string, encoderOptions?: number) => string | undefined;
|
|
514
|
+
enableScreenSpaceCameraController: (enabled: boolean) => void;
|
|
515
|
+
lookHorizontal: (amount: number) => void;
|
|
516
|
+
lookVertical: (amount: number) => void;
|
|
517
|
+
moveForward: (amount: number) => void;
|
|
518
|
+
moveBackward: (amount: number) => void;
|
|
519
|
+
moveUp: (amount: number) => void;
|
|
520
|
+
moveDown: (amount: number) => void;
|
|
521
|
+
moveLeft: (amount: number) => void;
|
|
522
|
+
moveRight: (amount: number) => void;
|
|
523
|
+
moveOverTerrain: (offset?: number) => void;
|
|
524
|
+
flyToGround: (destination: FlyToDestination, options?: CameraOptions, offset?: number) => void;
|
|
525
|
+
mouseEventCallbacks: MouseEventCallbacks;
|
|
526
|
+
pause: () => void;
|
|
527
|
+
play: () => void;
|
|
528
|
+
changeSpeed: (speed: number) => void;
|
|
529
|
+
changeStart: (start: Date) => void;
|
|
530
|
+
changeStop: (stop: Date) => void;
|
|
531
|
+
changeTime: (time: Date) => void;
|
|
532
|
+
tick: () => Date | void;
|
|
533
|
+
inViewport: (location?: LatLng) => boolean;
|
|
534
|
+
onTick: TickEvent;
|
|
535
|
+
tickEventCallback?: RefObject<TickEventCallback[]>;
|
|
536
|
+
removeTickEventListener: TickEvent;
|
|
537
|
+
findFeatureById: (layerId: string, featureId: string) => Feature | undefined;
|
|
538
|
+
bringToFront: (layerId: string) => void;
|
|
539
|
+
sendToBack: (layerId: string) => void;
|
|
540
|
+
findFeaturesByIds: (layerId: string, featureId: string[]) => Feature[] | undefined;
|
|
541
|
+
findComputedFeatureById: (layerId: string, featureId: string) => ComputedFeature | undefined;
|
|
542
|
+
findComputedFeaturesByIds: (layerId: string, featureId: string[]) => ComputedFeature[] | undefined;
|
|
543
|
+
selectFeatures: (layerId: string, featureId: string[]) => void;
|
|
544
|
+
unselectFeatures: (layerId: string, featureId: string[]) => void;
|
|
545
|
+
pickManyFromViewport: (windowPosition: [x: number, y: number], windowWidth: number, windowHeight: number, condition?: (f: PickedFeature) => boolean) => PickedFeature[] | undefined;
|
|
546
|
+
} & MouseEventHandles;
|
|
547
|
+
|
|
548
|
+
export declare const engines: {
|
|
549
|
+
cesium: Engine;
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
export declare type EngineType = keyof typeof engines;
|
|
553
|
+
|
|
554
|
+
export declare function evalExpression(expressionContainer: any, layer?: LayerSimple, feature?: Feature): unknown | undefined;
|
|
555
|
+
|
|
556
|
+
export declare type EvalFeature = (layer: Layer, feature: Feature) => ComputedFeature | undefined;
|
|
557
|
+
|
|
558
|
+
export declare function evalFeature(layer: Layer, feature: Feature): ComputedFeature | undefined;
|
|
559
|
+
|
|
560
|
+
export declare type EventCallback<T extends any[] = any[]> = (...args: T) => void;
|
|
561
|
+
|
|
562
|
+
export declare type EventEmitter<E extends {
|
|
563
|
+
[P in string]: any[];
|
|
564
|
+
} = {
|
|
565
|
+
[P in string]: any[];
|
|
566
|
+
}> = <T extends keyof E>(type: T, ...args: E[T]) => void;
|
|
567
|
+
|
|
568
|
+
export declare type Events<E extends {
|
|
569
|
+
[P in string]: any[];
|
|
570
|
+
} = {
|
|
571
|
+
[P in string]: any[];
|
|
572
|
+
}> = {
|
|
573
|
+
readonly on: <T extends keyof E>(type: T, callback: EventCallback<E[T]>) => void;
|
|
574
|
+
readonly off: <T extends keyof E>(type: T, callback: EventCallback<E[T]>) => void;
|
|
575
|
+
readonly once: <T extends keyof E>(type: T, callback: EventCallback<E[T]>) => void;
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
export declare function events<E extends {
|
|
579
|
+
[P in string]: any[];
|
|
580
|
+
} = {
|
|
581
|
+
[P in string]: any[];
|
|
582
|
+
}>(): [
|
|
583
|
+
Events<E>,
|
|
584
|
+
EventEmitter<E>
|
|
585
|
+
];
|
|
586
|
+
|
|
587
|
+
declare type Events_2 = {
|
|
588
|
+
select?: SelectEvent;
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
export declare type EXPERIMENTAL_clipping = {
|
|
592
|
+
useBuiltinBox?: boolean;
|
|
593
|
+
allowEnterGround?: boolean;
|
|
594
|
+
planes?: {
|
|
595
|
+
normal: {
|
|
596
|
+
x: number;
|
|
597
|
+
y: number;
|
|
598
|
+
z: number;
|
|
599
|
+
};
|
|
600
|
+
distance: number;
|
|
601
|
+
}[];
|
|
602
|
+
visible?: boolean;
|
|
603
|
+
location?: LatLngHeight;
|
|
604
|
+
coordinates?: number[];
|
|
605
|
+
/**
|
|
606
|
+
* x-axis
|
|
607
|
+
*/
|
|
608
|
+
width?: number;
|
|
609
|
+
/**
|
|
610
|
+
* y-axis
|
|
611
|
+
*/
|
|
612
|
+
length?: number;
|
|
613
|
+
/**
|
|
614
|
+
* z-axis
|
|
615
|
+
*/
|
|
616
|
+
height?: number;
|
|
617
|
+
heading?: number;
|
|
618
|
+
pitch?: number;
|
|
619
|
+
roll?: number;
|
|
620
|
+
direction?: "inside" | "outside";
|
|
621
|
+
disabledSelection?: boolean;
|
|
622
|
+
draw?: {
|
|
623
|
+
enabled?: boolean;
|
|
624
|
+
surfacePoints?: LatLng[];
|
|
625
|
+
top?: number;
|
|
626
|
+
bottom?: number;
|
|
627
|
+
visible?: boolean;
|
|
628
|
+
direction?: "inside" | "outside";
|
|
629
|
+
style?: {
|
|
630
|
+
fill?: boolean;
|
|
631
|
+
fillColor?: string;
|
|
632
|
+
stroke?: boolean;
|
|
633
|
+
strokeColor?: string;
|
|
634
|
+
strokeWidth?: number;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
export declare type ExpressionContainer = {
|
|
640
|
+
expression: StyleExpression;
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
export declare type Feature = CommonFeature<"feature">;
|
|
644
|
+
|
|
645
|
+
export declare const FEATURE_FLAGS: {
|
|
646
|
+
CAMERA_MOVE: number;
|
|
647
|
+
CAMERA_ZOOM: number;
|
|
648
|
+
CAMERA_TILT: number;
|
|
649
|
+
CAMERA_LOOK: number;
|
|
650
|
+
SINGLE_SELECTION: number;
|
|
651
|
+
MULTIPLE_SELECTION: number;
|
|
652
|
+
SKETCH: number;
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
export declare type FeatureComponentProps = {
|
|
656
|
+
layer: ComputedLayer;
|
|
657
|
+
sceneProperty?: SceneProperty;
|
|
658
|
+
onFeatureRequest?: (range: DataRange) => void;
|
|
659
|
+
onLayerFetch?: (value: Partial<Pick<LayerSimple, "properties">>) => void;
|
|
660
|
+
onFeatureFetch?: (features: Feature[]) => void;
|
|
661
|
+
onComputedFeatureFetch?: (feature: Feature[], computed: ComputedFeature[]) => void;
|
|
662
|
+
onFeatureDelete?: (features: string[]) => void;
|
|
663
|
+
onComputedFeatureDelete?: (features: string[]) => void;
|
|
664
|
+
evalFeature: EvalFeature;
|
|
665
|
+
} & CommonProps;
|
|
666
|
+
|
|
667
|
+
export declare type FeatureComponentType = ComponentType<FeatureComponentProps>;
|
|
668
|
+
|
|
669
|
+
export declare type FlyTo = (target: string | FlyToDestination, options?: CameraOptions) => void;
|
|
670
|
+
|
|
671
|
+
export declare type FlyToDestination = {
|
|
672
|
+
/** Degrees */
|
|
673
|
+
lat?: number;
|
|
674
|
+
/** Degrees */
|
|
675
|
+
lng?: number;
|
|
676
|
+
/** Meters */
|
|
677
|
+
height?: number;
|
|
678
|
+
/** Radian */
|
|
679
|
+
heading?: number;
|
|
680
|
+
/** Radian */
|
|
681
|
+
pitch?: number;
|
|
682
|
+
/** Radian */
|
|
683
|
+
roll?: number;
|
|
684
|
+
/** Radian */
|
|
685
|
+
fov?: number;
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
export declare type FrustumAppearance = {
|
|
689
|
+
show?: boolean;
|
|
690
|
+
color?: string;
|
|
691
|
+
opacity?: number;
|
|
692
|
+
zoom?: number;
|
|
693
|
+
aspectRatio?: number;
|
|
694
|
+
length?: number;
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
export declare type Geometry = Point | LineString | Polygon_2 | MultiPoint | MultiLineString | MultiPolygon;
|
|
698
|
+
|
|
699
|
+
declare type GeometryOptions = {
|
|
700
|
+
type: SketchType;
|
|
701
|
+
controlPoints: readonly Position3d[];
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
export declare type GeometryOptionsXYZ = {
|
|
705
|
+
type: SketchType;
|
|
706
|
+
controlPoints: Position3d[];
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
export declare function getCompat(l: Layer | undefined): LayerCompat | undefined;
|
|
710
|
+
|
|
711
|
+
declare const globalDataFeaturesCache: {
|
|
712
|
+
get: Atom_2<(key: string, key2: string) => Feature[] | undefined>;
|
|
713
|
+
set: WritableAtom<null, {
|
|
714
|
+
key: string;
|
|
715
|
+
key2: string;
|
|
716
|
+
value?: Feature[] | undefined;
|
|
717
|
+
}, void> & {
|
|
718
|
+
init: null;
|
|
719
|
+
};
|
|
720
|
+
getAll: Atom_2<(key: string) => Feature[][] | undefined>;
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
export declare function guessType(url: string | undefined): DataType | undefined;
|
|
724
|
+
|
|
725
|
+
export declare type HeatMapAppearance = {
|
|
726
|
+
valueMap: string;
|
|
727
|
+
bounds: Bound;
|
|
728
|
+
colorMap?: LUT;
|
|
729
|
+
cropBounds?: Bound;
|
|
730
|
+
width?: number;
|
|
731
|
+
height?: number;
|
|
732
|
+
minValue?: number;
|
|
733
|
+
maxValue?: number;
|
|
734
|
+
opacity?: number;
|
|
735
|
+
contourSpacing?: number;
|
|
736
|
+
contourThickness?: number;
|
|
737
|
+
contourAlpha?: number;
|
|
738
|
+
logarithmic?: boolean;
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
export declare type IndicatorTypes = "default" | "crosshair" | "custom";
|
|
742
|
+
|
|
743
|
+
declare type Infobox<BP = any> = {
|
|
744
|
+
featureId?: string;
|
|
745
|
+
property?: InfoboxProperty;
|
|
746
|
+
blocks?: InfoboxBlock<BP>[];
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
declare type InfoboxBlock<P = any> = {
|
|
750
|
+
id: string;
|
|
751
|
+
name?: string;
|
|
752
|
+
pluginId?: string;
|
|
753
|
+
extensionId?: string;
|
|
754
|
+
property?: P;
|
|
755
|
+
propertyId?: string;
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
declare type InfoboxProperty = {
|
|
759
|
+
default?: {
|
|
760
|
+
enabled?: PropertyItem<boolean>;
|
|
761
|
+
position?: PropertyItem<"right" | "left">;
|
|
762
|
+
padding?: PropertyItem<Spacing>;
|
|
763
|
+
gap?: PropertyItem<number>;
|
|
764
|
+
};
|
|
765
|
+
defaultContent?: "description" | "attributes";
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
export declare const INTERACTION_MODES: Record<InteractionModeType, number>;
|
|
769
|
+
|
|
770
|
+
export declare type InteractionModeType = "default" | "move" | "selection" | "sketch";
|
|
771
|
+
|
|
772
|
+
export declare function isSketchType(value: unknown): value is SketchType;
|
|
773
|
+
|
|
774
|
+
export declare type LatLng = {
|
|
775
|
+
lat: number;
|
|
776
|
+
lng: number;
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
export declare type LatLngHeight = {
|
|
780
|
+
lat: number;
|
|
781
|
+
lng: number;
|
|
782
|
+
height: number;
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
export declare type Layer = LayerSimple | LayerGroup;
|
|
786
|
+
|
|
787
|
+
export declare type LayerAppearance<T> = {
|
|
788
|
+
[K in keyof T]?: T[K] | LayerAppearance<T[K]> | ExpressionContainer;
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
export declare type LayerAppearanceTypes = {
|
|
792
|
+
[K in keyof AppearanceTypes]: LayerAppearance<AppearanceTypes[K]>;
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
export declare type LayerCommon = {
|
|
796
|
+
id: string;
|
|
797
|
+
title?: string;
|
|
798
|
+
/** default is true */
|
|
799
|
+
visible?: boolean;
|
|
800
|
+
infobox?: Infobox;
|
|
801
|
+
tags?: Tag[];
|
|
802
|
+
creator?: string;
|
|
803
|
+
compat?: LayerCompat;
|
|
804
|
+
_updateStyle?: number;
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
export declare type LayerCompat = {
|
|
808
|
+
extensionId?: string;
|
|
809
|
+
property?: any;
|
|
810
|
+
propertyId?: string;
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
export declare type LayerEditEvent = {
|
|
814
|
+
layerId: string | undefined;
|
|
815
|
+
scale?: {
|
|
816
|
+
width: number;
|
|
817
|
+
length: number;
|
|
818
|
+
height: number;
|
|
819
|
+
location: LatLngHeight;
|
|
820
|
+
};
|
|
821
|
+
rotate?: {
|
|
822
|
+
heading: number;
|
|
823
|
+
pitch: number;
|
|
824
|
+
roll: number;
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
export declare type LayerGroup = {
|
|
829
|
+
type: "group";
|
|
830
|
+
children: Layer[];
|
|
831
|
+
} & LayerCommon;
|
|
832
|
+
|
|
833
|
+
export declare type LayerLoadEvent = {
|
|
834
|
+
layerId: string | undefined;
|
|
835
|
+
};
|
|
836
|
+
|
|
837
|
+
export declare type LayerSelectionReason = {
|
|
838
|
+
reason?: string;
|
|
839
|
+
defaultInfobox?: DefaultInfobox;
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
export declare type LayerSelectWithRect = MouseEventProps & {
|
|
843
|
+
pressedKey?: "shift";
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
export declare type LayerSelectWithRectEnd = LayerSelectWithRect & {
|
|
847
|
+
features: PickedFeature[] | undefined;
|
|
848
|
+
isClick: boolean;
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
export declare type LayerSelectWithRectMove = LayerSelectWithRect & {
|
|
852
|
+
startX?: number;
|
|
853
|
+
startY?: number;
|
|
854
|
+
width?: number;
|
|
855
|
+
height?: number;
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
export declare type LayerSelectWithRectStart = LayerSelectWithRect;
|
|
859
|
+
|
|
860
|
+
export declare type LayerSimple = {
|
|
861
|
+
type: "simple";
|
|
862
|
+
data?: Data;
|
|
863
|
+
properties?: any;
|
|
864
|
+
defines?: Record<string, string>;
|
|
865
|
+
events?: Events_2;
|
|
866
|
+
layerStyleId?: string;
|
|
867
|
+
} & Partial<LayerAppearanceTypes> & LayerCommon;
|
|
868
|
+
|
|
869
|
+
export declare type LayersRef = {
|
|
870
|
+
findById: (id: string) => LazyLayer | undefined;
|
|
871
|
+
findByIds: (...ids: string[]) => (LazyLayer | undefined)[];
|
|
872
|
+
add: (layer: NaiveLayer) => LazyLayer | undefined;
|
|
873
|
+
addAll: (...layers: NaiveLayer[]) => (LazyLayer | undefined)[];
|
|
874
|
+
replace: (...layers: Layer[]) => void;
|
|
875
|
+
override: (id: string, layer?: (Partial<Layer> & {
|
|
876
|
+
property?: any;
|
|
877
|
+
}) | null) => void;
|
|
878
|
+
deleteLayer: (...ids: string[]) => void;
|
|
879
|
+
isLayer: (obj: any) => obj is LazyLayer;
|
|
880
|
+
layers: () => LazyLayer[];
|
|
881
|
+
walk: <T>(fn: (layer: LazyLayer, index: number, parents: LazyLayer[]) => T | void) => T | undefined;
|
|
882
|
+
find: (fn: (layer: LazyLayer, index: number, parents: LazyLayer[]) => boolean) => LazyLayer | undefined;
|
|
883
|
+
findAll: (fn: (layer: LazyLayer, index: number, parents: LazyLayer[]) => boolean) => LazyLayer[];
|
|
884
|
+
findByTags: (...tagIds: string[]) => LazyLayer[];
|
|
885
|
+
findByTagLabels: (...tagLabels: string[]) => LazyLayer[];
|
|
886
|
+
hide: (...layers: string[]) => void;
|
|
887
|
+
show: (...layers: string[]) => void;
|
|
888
|
+
select: (layerId: string | undefined, reason?: LayerSelectionReason, info?: SelectedFeatureInfo) => void;
|
|
889
|
+
selectFeature: (layerId: string | undefined, featureId: string | undefined, reason?: LayerSelectionReason, info?: SelectedFeatureInfo) => void;
|
|
890
|
+
selectFeatures: (layers: {
|
|
891
|
+
layerId?: string;
|
|
892
|
+
featureId?: string[];
|
|
893
|
+
}[], reason?: LayerSelectionReason, info?: SelectedFeatureInfo) => void;
|
|
894
|
+
selectedLayer: () => LazyLayer | undefined;
|
|
895
|
+
selectedFeature: () => ComputedFeature | undefined;
|
|
896
|
+
overriddenLayers: () => OverriddenLayer[];
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
export declare type LayerVisibilityEvent = {
|
|
900
|
+
layerId: string | undefined;
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Same as a Layer, but all fields except id is lazily evaluated,
|
|
905
|
+
* in order to reduce unnecessary sending and receiving of data to and from
|
|
906
|
+
* QuickJS (a plugin runtime) and to improve performance.
|
|
907
|
+
*/
|
|
908
|
+
export declare type LazyLayer = Readonly<Layer> & {
|
|
909
|
+
computed?: Readonly<ComputedLayer>;
|
|
910
|
+
pluginId?: string;
|
|
911
|
+
extensionId?: string;
|
|
912
|
+
property?: any;
|
|
913
|
+
propertyId?: string;
|
|
914
|
+
isVisible?: boolean;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
export declare type LegacyCluster = {
|
|
918
|
+
id: string;
|
|
919
|
+
default?: {
|
|
920
|
+
clusterPixelRange: number;
|
|
921
|
+
clusterMinSize: number;
|
|
922
|
+
clusterLabelTypography?: Typography_2;
|
|
923
|
+
clusterImage?: string;
|
|
924
|
+
clusterImageHeight?: number;
|
|
925
|
+
clusterImageWidth?: number;
|
|
926
|
+
};
|
|
927
|
+
layers?: {
|
|
928
|
+
layer?: string;
|
|
929
|
+
}[];
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
export declare type LegacyLayer<P = any, IBP = any> = {
|
|
933
|
+
id: string;
|
|
934
|
+
type?: string;
|
|
935
|
+
pluginId?: string;
|
|
936
|
+
extensionId?: string;
|
|
937
|
+
title?: string;
|
|
938
|
+
property?: P;
|
|
939
|
+
infobox?: Infobox<IBP>;
|
|
940
|
+
isVisible?: boolean;
|
|
941
|
+
propertyId?: string;
|
|
942
|
+
tags?: Tag[];
|
|
943
|
+
readonly children?: LegacyLayer[];
|
|
944
|
+
creator?: string;
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
export declare type LegacyPhotooverlayAppearance = {
|
|
948
|
+
show?: boolean;
|
|
949
|
+
location?: LatLng;
|
|
950
|
+
height?: number;
|
|
951
|
+
heightReference?: "none" | "clamp" | "relative";
|
|
952
|
+
camera?: Camera;
|
|
953
|
+
image?: string;
|
|
954
|
+
imageSize?: number;
|
|
955
|
+
imageHorizontalOrigin?: "left" | "center" | "right";
|
|
956
|
+
imageVerticalOrigin?: "top" | "center" | "baseline" | "bottom";
|
|
957
|
+
imageCrop?: "none" | "rounded" | "circle";
|
|
958
|
+
imageShadow?: boolean;
|
|
959
|
+
imageShadowColor?: string;
|
|
960
|
+
imageShadowBlur?: number;
|
|
961
|
+
imageShadowPositionX?: number;
|
|
962
|
+
imageShadowPositionY?: number;
|
|
963
|
+
photoOverlayImage?: string;
|
|
964
|
+
photoOverlayDescription?: string;
|
|
965
|
+
near?: number;
|
|
966
|
+
far?: number;
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
declare type LegacySceneProperty = {
|
|
970
|
+
default?: {
|
|
971
|
+
camera?: Camera;
|
|
972
|
+
allowEnterGround?: boolean;
|
|
973
|
+
skybox?: boolean;
|
|
974
|
+
bgcolor?: string;
|
|
975
|
+
ion?: string;
|
|
976
|
+
sceneMode?: SceneMode;
|
|
977
|
+
vr?: boolean;
|
|
978
|
+
} & TerrainProperty;
|
|
979
|
+
cameraLimiter?: {
|
|
980
|
+
cameraLimitterEnabled?: boolean;
|
|
981
|
+
cameraLimitterShowHelper?: boolean;
|
|
982
|
+
cameraLimitterTargetArea?: Camera;
|
|
983
|
+
cameraLimitterTargetWidth?: number;
|
|
984
|
+
cameraLimitterTargetLength?: number;
|
|
985
|
+
};
|
|
986
|
+
indicator?: {
|
|
987
|
+
indicator_type: IndicatorTypes;
|
|
988
|
+
indicator_image?: string;
|
|
989
|
+
indicator_image_scale?: number;
|
|
990
|
+
};
|
|
991
|
+
tiles?: {
|
|
992
|
+
id: string;
|
|
993
|
+
tile_type?: string;
|
|
994
|
+
tile_url?: string;
|
|
995
|
+
tile_zoomLevel?: number[];
|
|
996
|
+
tile_opacity?: number;
|
|
997
|
+
}[];
|
|
998
|
+
terrain?: TerrainProperty;
|
|
999
|
+
atmosphere?: {
|
|
1000
|
+
enable_sun?: boolean;
|
|
1001
|
+
enableMoon?: boolean;
|
|
1002
|
+
enable_lighting?: boolean;
|
|
1003
|
+
ground_atmosphere?: boolean;
|
|
1004
|
+
sky_atmosphere?: boolean;
|
|
1005
|
+
shadows?: boolean;
|
|
1006
|
+
shadowResolution?: 1024 | 2048 | 4096;
|
|
1007
|
+
softShadow?: boolean;
|
|
1008
|
+
shadowDarkness?: number;
|
|
1009
|
+
shadowMaximumDistance?: number;
|
|
1010
|
+
fog?: boolean;
|
|
1011
|
+
fog_density?: number;
|
|
1012
|
+
hue_shift?: number;
|
|
1013
|
+
brightness_shift?: number;
|
|
1014
|
+
surturation_shift?: number;
|
|
1015
|
+
skyboxBrightnessShift?: number;
|
|
1016
|
+
skyboxSurturationShift?: number;
|
|
1017
|
+
globeShadowDarkness?: number;
|
|
1018
|
+
globeImageBasedLighting?: boolean;
|
|
1019
|
+
globeBaseColor?: string;
|
|
1020
|
+
};
|
|
1021
|
+
timeline?: {
|
|
1022
|
+
animation?: boolean;
|
|
1023
|
+
visible?: boolean;
|
|
1024
|
+
current?: string;
|
|
1025
|
+
start?: string;
|
|
1026
|
+
stop?: string;
|
|
1027
|
+
stepType?: "rate" | "fixed";
|
|
1028
|
+
multiplier?: number;
|
|
1029
|
+
step?: number;
|
|
1030
|
+
rangeType?: "unbounded" | "clamped" | "bounced";
|
|
1031
|
+
};
|
|
1032
|
+
googleAnalytics?: {
|
|
1033
|
+
enableGA?: boolean;
|
|
1034
|
+
trackingId?: string;
|
|
1035
|
+
};
|
|
1036
|
+
theme?: {
|
|
1037
|
+
themeType?: "light" | "dark" | "forest" | "custom";
|
|
1038
|
+
themeTextColor?: string;
|
|
1039
|
+
themeSelectColor?: string;
|
|
1040
|
+
themeBackgroundColor?: string;
|
|
1041
|
+
};
|
|
1042
|
+
ambientOcclusion?: {
|
|
1043
|
+
enabled?: boolean;
|
|
1044
|
+
quality?: "low" | "medium" | "high" | "extreme";
|
|
1045
|
+
intensity?: number;
|
|
1046
|
+
ambientOcclusionOnly?: boolean;
|
|
1047
|
+
};
|
|
1048
|
+
light?: {
|
|
1049
|
+
lightType?: "sunLight" | "directionalLight";
|
|
1050
|
+
lightDirectionX?: number;
|
|
1051
|
+
lightDirectionY?: number;
|
|
1052
|
+
lightDirectionZ?: number;
|
|
1053
|
+
lightColor?: string;
|
|
1054
|
+
lightIntensity?: number;
|
|
1055
|
+
specularEnvironmentMaps?: string;
|
|
1056
|
+
sphericalHarmonicCoefficients?: [x: number, y: number, z: number][];
|
|
1057
|
+
imageBasedLightIntensity?: number;
|
|
1058
|
+
};
|
|
1059
|
+
render?: {
|
|
1060
|
+
antialias?: "low" | "medium" | "high" | "extreme";
|
|
1061
|
+
debugFramePerSecond?: boolean;
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
1064
|
+
|
|
1065
|
+
export declare type LookAtDestination = {
|
|
1066
|
+
/** Degrees */
|
|
1067
|
+
lat?: number;
|
|
1068
|
+
/** Degrees */
|
|
1069
|
+
lng?: number;
|
|
1070
|
+
/** Meters */
|
|
1071
|
+
height?: number;
|
|
1072
|
+
/** Radian */
|
|
1073
|
+
heading?: number;
|
|
1074
|
+
/** Radian */
|
|
1075
|
+
pitch?: number;
|
|
1076
|
+
/** Radian */
|
|
1077
|
+
range?: number;
|
|
1078
|
+
/** Radian */
|
|
1079
|
+
fov?: number;
|
|
1080
|
+
/** Meters */
|
|
1081
|
+
radius?: number;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
export declare type LUT = readonly ColorTuple[];
|
|
1085
|
+
|
|
1086
|
+
declare const Map_2: ForwardRefExoticComponent< {
|
|
1087
|
+
engines?: Record<string, Engine> | undefined;
|
|
1088
|
+
engine?: string | undefined;
|
|
1089
|
+
} & Omit<Props_2, "Feature" | "selectionReason" | "delegatedDataTypes" | "clusterComponent" | "selectedLayerId"> & Omit<EngineProps, "onLayerSelect" | "selectedLayerId" | "layerSelectionReason"> & Omit<SketchProps, "engineRef" | "layersRef" | "SketchComponent"> & {
|
|
1090
|
+
cursor?: CursorType | undefined;
|
|
1091
|
+
} & RefAttributes<MapRef>>;
|
|
1092
|
+
export { Map_2 as Map }
|
|
1093
|
+
|
|
1094
|
+
export declare type MapRef = {
|
|
1095
|
+
engine: WrappedRef<EngineRef>;
|
|
1096
|
+
layers: WrappedRef<LayersRef>;
|
|
1097
|
+
sketch: WrappedRef<SketchRef>;
|
|
1098
|
+
timeline?: TimelineManagerRef;
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
export declare type MarkerAppearance = {
|
|
1102
|
+
show?: boolean;
|
|
1103
|
+
height?: number;
|
|
1104
|
+
heightReference?: "none" | "clamp" | "relative";
|
|
1105
|
+
style?: "none" | "point" | "image";
|
|
1106
|
+
pointSize?: number;
|
|
1107
|
+
pointColor?: string;
|
|
1108
|
+
pointOutlineColor?: string;
|
|
1109
|
+
pointOutlineWidth?: number;
|
|
1110
|
+
image?: string;
|
|
1111
|
+
imageSize?: number;
|
|
1112
|
+
imageSizeInMeters?: boolean;
|
|
1113
|
+
imageHorizontalOrigin?: "left" | "center" | "right";
|
|
1114
|
+
imageVerticalOrigin?: "top" | "center" | "baseline" | "bottom";
|
|
1115
|
+
imageColor?: string;
|
|
1116
|
+
imageCrop?: "none" | "rounded" | "circle";
|
|
1117
|
+
imageShadow?: boolean;
|
|
1118
|
+
imageShadowColor?: string;
|
|
1119
|
+
imageShadowBlur?: number;
|
|
1120
|
+
imageShadowPositionX?: number;
|
|
1121
|
+
imageShadowPositionY?: number;
|
|
1122
|
+
label?: boolean;
|
|
1123
|
+
labelText?: string;
|
|
1124
|
+
labelPosition?: "left" | "right" | "top" | "bottom" | "lefttop" | "leftbottom" | "righttop" | "rightbottom";
|
|
1125
|
+
labelTypography?: Typography;
|
|
1126
|
+
labelBackground?: boolean;
|
|
1127
|
+
labelBackgroundColor?: string;
|
|
1128
|
+
labelBackgroundPaddingHorizontal?: number;
|
|
1129
|
+
labelBackgroundPaddingVertical?: number;
|
|
1130
|
+
extrude?: boolean;
|
|
1131
|
+
near?: number;
|
|
1132
|
+
far?: number;
|
|
1133
|
+
pixelOffset?: [number, number];
|
|
1134
|
+
eyeOffset?: [number, number, number];
|
|
1135
|
+
hideIndicator?: boolean;
|
|
1136
|
+
selectedFeatureColor?: string;
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
export declare function mergeEvents<E extends {
|
|
1140
|
+
[x: string]: any[];
|
|
1141
|
+
} = {
|
|
1142
|
+
[x: string]: any[];
|
|
1143
|
+
}>(source: Events<E>, dest: EventEmitter<E>, types: (keyof E)[]): () => void;
|
|
1144
|
+
|
|
1145
|
+
export declare type ModelAppearance = {
|
|
1146
|
+
show?: boolean;
|
|
1147
|
+
model?: string;
|
|
1148
|
+
url?: string;
|
|
1149
|
+
heightReference?: "none" | "clamp" | "relative";
|
|
1150
|
+
heading?: number;
|
|
1151
|
+
pitch?: number;
|
|
1152
|
+
roll?: number;
|
|
1153
|
+
scale?: number;
|
|
1154
|
+
maximumScale?: number;
|
|
1155
|
+
minimumPixelSize?: number;
|
|
1156
|
+
animation?: boolean;
|
|
1157
|
+
shadows?: "disabled" | "enabled" | "cast_only" | "receive_only";
|
|
1158
|
+
colorBlend?: "none" | "highlight" | "replace" | "mix";
|
|
1159
|
+
color?: string;
|
|
1160
|
+
colorBlendAmount?: number;
|
|
1161
|
+
lightColor?: string;
|
|
1162
|
+
silhouette?: boolean;
|
|
1163
|
+
silhouetteColor?: string;
|
|
1164
|
+
bearing?: number;
|
|
1165
|
+
silhouetteSize?: number;
|
|
1166
|
+
near?: number;
|
|
1167
|
+
far?: number;
|
|
1168
|
+
pbr?: boolean | "withTexture";
|
|
1169
|
+
specularEnvironmentMaps?: string;
|
|
1170
|
+
sphericalHarmonicCoefficients?: [x: number, y: number, z: number][];
|
|
1171
|
+
imageBasedLightIntensity?: number;
|
|
1172
|
+
};
|
|
1173
|
+
|
|
1174
|
+
export declare type ModifiedCameraEventType = {
|
|
1175
|
+
eventType: OverideCameraEventType;
|
|
1176
|
+
modifier: OverideKeyboardEventModifier;
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1179
|
+
export declare type MouseEventCallback = (props: MouseEventProps) => void;
|
|
1180
|
+
|
|
1181
|
+
export declare type MouseEventCallbacks = {
|
|
1182
|
+
[key in keyof MouseEvents]: MouseEvents[key][];
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
export declare type MouseEventHandles = {
|
|
1186
|
+
onClick: (fn: MouseEvents["click"]) => void;
|
|
1187
|
+
onDoubleClick: (fn: MouseEvents["doubleclick"]) => void;
|
|
1188
|
+
onMouseDown: (fn: MouseEvents["mousedown"]) => void;
|
|
1189
|
+
onMouseUp: (fn: MouseEvents["mouseup"]) => void;
|
|
1190
|
+
onRightClick: (fn: MouseEvents["rightclick"]) => void;
|
|
1191
|
+
onRightDown: (fn: MouseEvents["rightdown"]) => void;
|
|
1192
|
+
onRightUp: (fn: MouseEvents["rightup"]) => void;
|
|
1193
|
+
onMiddleClick: (fn: MouseEvents["middleclick"]) => void;
|
|
1194
|
+
onMiddleDown: (fn: MouseEvents["middledown"]) => void;
|
|
1195
|
+
onMiddleUp: (fn: MouseEvents["middleup"]) => void;
|
|
1196
|
+
onMouseMove: (fn: MouseEvents["mousemove"]) => void;
|
|
1197
|
+
onMouseEnter: (fn: MouseEvents["mouseenter"]) => void;
|
|
1198
|
+
onMouseLeave: (fn: MouseEvents["mouseleave"]) => void;
|
|
1199
|
+
onWheel: (fn: MouseEvents["wheel"]) => void;
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
export declare type MouseEventProps = {
|
|
1203
|
+
x?: number;
|
|
1204
|
+
y?: number;
|
|
1205
|
+
lat?: number;
|
|
1206
|
+
lng?: number;
|
|
1207
|
+
height?: number;
|
|
1208
|
+
layerId?: string;
|
|
1209
|
+
delta?: number;
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
export declare type MouseEvents = {
|
|
1213
|
+
[key in MouseEventTypes]: MouseEventCallback;
|
|
1214
|
+
} & {
|
|
1215
|
+
wheel: MouseWheelEventCallback;
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
export declare type MouseEventTypes = "click" | "doubleclick" | "mousedown" | "mouseup" | "rightclick" | "rightdown" | "rightup" | "middleclick" | "middledown" | "middleup" | "mousemove" | "mouseenter" | "mouseleave" | "wheel";
|
|
1219
|
+
|
|
1220
|
+
export declare type MouseWheelEventCallback = (props: MouseEventProps) => void;
|
|
1221
|
+
|
|
1222
|
+
export declare type NaiveBlock<P = any> = Omit<InfoboxBlock<P>, "id">;
|
|
1223
|
+
|
|
1224
|
+
export declare type NaiveInfobox = Omit<Infobox, "id" | "blocks"> & {
|
|
1225
|
+
blocks?: NaiveBlock[];
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
/** Same as a Layer, but its ID is unknown. */
|
|
1229
|
+
export declare type NaiveLayer = NaiveLayerSimple | NaiveLayerGroup;
|
|
1230
|
+
|
|
1231
|
+
export declare type NaiveLayerGroup = Omit<LayerGroup, "id" | "children" | "infobox"> & {
|
|
1232
|
+
infobox?: NaiveInfobox;
|
|
1233
|
+
children?: NaiveLayer[];
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
export declare type NaiveLayerSimple = Omit<LayerSimple, "id" | "infobox"> & {
|
|
1237
|
+
infobox?: NaiveInfobox;
|
|
1238
|
+
};
|
|
1239
|
+
|
|
1240
|
+
export declare type OnLayerSelectType = (layerId: string | undefined, featureId: string | undefined, layer: (() => Promise<ComputedLayer | undefined>) | undefined, reason: LayerSelectionReason | undefined, info: SelectedFeatureInfo | undefined) => void;
|
|
1241
|
+
|
|
1242
|
+
declare type OpenUrlEvent = {
|
|
1243
|
+
url?: string;
|
|
1244
|
+
urlKey?: string;
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
export declare type OverideCameraEventType = "left_drag" | "right_drag" | "middle_drag" | "wheel" | "pinch";
|
|
1248
|
+
|
|
1249
|
+
export declare type OverideKeyboardEventModifier = "ctrl" | "shift" | "alt";
|
|
1250
|
+
|
|
1251
|
+
export declare type OverriddenLayer = Omit<Layer, "type" | "children">;
|
|
1252
|
+
|
|
1253
|
+
declare type PauseCommand = {
|
|
1254
|
+
cmd: "PAUSE";
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
declare type PickedFeature = ComputedFeature & {
|
|
1258
|
+
layerId?: string;
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
export declare type Plane = {
|
|
1262
|
+
location: LatLngHeight;
|
|
1263
|
+
width: number;
|
|
1264
|
+
height: number;
|
|
1265
|
+
length: number;
|
|
1266
|
+
heading: number;
|
|
1267
|
+
pitch: number;
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
declare type PlayCommand = {
|
|
1271
|
+
cmd: "PLAY";
|
|
1272
|
+
};
|
|
1273
|
+
|
|
1274
|
+
export declare type Polygon = LatLngHeight[][];
|
|
1275
|
+
|
|
1276
|
+
export declare type PolygonAppearance = {
|
|
1277
|
+
show?: boolean;
|
|
1278
|
+
fill?: boolean;
|
|
1279
|
+
fillColor?: string;
|
|
1280
|
+
stroke?: boolean;
|
|
1281
|
+
strokeColor?: string;
|
|
1282
|
+
strokeWidth?: number;
|
|
1283
|
+
heightReference?: "none" | "clamp" | "relative";
|
|
1284
|
+
shadows?: "disabled" | "enabled" | "cast_only" | "receive_only";
|
|
1285
|
+
lineJoin?: CanvasLineJoin;
|
|
1286
|
+
near?: number;
|
|
1287
|
+
far?: number;
|
|
1288
|
+
extrudedHeight?: number;
|
|
1289
|
+
classificationType?: ClassificationType;
|
|
1290
|
+
hideIndicator?: boolean;
|
|
1291
|
+
selectedFeatureColor?: string;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
export declare type PolylineAppearance = {
|
|
1295
|
+
show?: boolean;
|
|
1296
|
+
clampToGround?: boolean;
|
|
1297
|
+
strokeColor?: string;
|
|
1298
|
+
strokeWidth?: number;
|
|
1299
|
+
shadows?: "disabled" | "enabled" | "cast_only" | "receive_only";
|
|
1300
|
+
near?: number;
|
|
1301
|
+
far?: number;
|
|
1302
|
+
classificationType?: ClassificationType;
|
|
1303
|
+
hideIndicator?: boolean;
|
|
1304
|
+
selectedFeatureColor?: string;
|
|
1305
|
+
};
|
|
1306
|
+
|
|
1307
|
+
export declare type Position2d = [x: number, y: number];
|
|
1308
|
+
|
|
1309
|
+
export declare type Position3d = [x: number, y: number, z: number];
|
|
1310
|
+
|
|
1311
|
+
declare type PropertyItem<T> = {
|
|
1312
|
+
type?: string;
|
|
1313
|
+
ui?: string;
|
|
1314
|
+
title?: string;
|
|
1315
|
+
description?: string;
|
|
1316
|
+
value?: T;
|
|
1317
|
+
min?: number;
|
|
1318
|
+
max?: number;
|
|
1319
|
+
choices?: {
|
|
1320
|
+
[key: string]: string;
|
|
1321
|
+
}[];
|
|
1322
|
+
};
|
|
1323
|
+
|
|
1324
|
+
export declare type Props = {
|
|
1325
|
+
engines?: Record<string, Engine>;
|
|
1326
|
+
engine?: string;
|
|
1327
|
+
} & Omit<Props_2, "Feature" | "clusterComponent" | "selectionReason" | "delegatedDataTypes" | "selectedLayerId"> & Omit<EngineProps, "onLayerSelect" | "layerSelectionReason" | "selectedLayerId"> & Omit<SketchProps, "layersRef" | "engineRef" | "SketchComponent"> & {
|
|
1328
|
+
cursor?: CursorType;
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
declare type Props_2 = Omit<Props_3, "atomMap" | "isHidden" | "selectedLayerId"> & {
|
|
1332
|
+
selectedLayer?: {
|
|
1333
|
+
layerId?: string;
|
|
1334
|
+
featureId?: string;
|
|
1335
|
+
reason?: LayerSelectionReason;
|
|
1336
|
+
};
|
|
1337
|
+
hiddenLayers?: string[];
|
|
1338
|
+
sceneProperty?: any;
|
|
1339
|
+
requestingRenderMode?: MutableRefObject<RequestingRenderMode>;
|
|
1340
|
+
engineRef?: RefObject<EngineRef>;
|
|
1341
|
+
onLayerSelect?: (layerId: string | undefined, featureId: string | undefined, layer: (() => Promise<ComputedLayer | undefined>) | undefined, reason: LayerSelectionReason | undefined, info: SelectedFeatureInfo | undefined) => void;
|
|
1342
|
+
};
|
|
1343
|
+
|
|
1344
|
+
declare type Props_3 = {
|
|
1345
|
+
layers?: Layer[];
|
|
1346
|
+
atomMap?: Map<string, Atom>;
|
|
1347
|
+
overrides?: Record<string, Record<string, any>>;
|
|
1348
|
+
selectedLayer?: {
|
|
1349
|
+
layerId?: string;
|
|
1350
|
+
featureId?: string;
|
|
1351
|
+
};
|
|
1352
|
+
isHidden?: (id: string) => boolean;
|
|
1353
|
+
clusters?: Cluster[];
|
|
1354
|
+
delegatedDataTypes?: DataType[];
|
|
1355
|
+
sceneProperty?: any;
|
|
1356
|
+
clusterComponent?: ClusterComponentType;
|
|
1357
|
+
Feature?: Props_4["Feature"];
|
|
1358
|
+
} & Omit<CommonProps, "isSelected" | "isHidden" | "selectedFeatureId">;
|
|
1359
|
+
|
|
1360
|
+
declare type Props_4 = {
|
|
1361
|
+
layer?: Layer;
|
|
1362
|
+
atom?: Atom;
|
|
1363
|
+
overrides?: Record<string, any>;
|
|
1364
|
+
delegatedDataTypes?: DataType[];
|
|
1365
|
+
sceneProperty?: any;
|
|
1366
|
+
selectedFeatureId?: string;
|
|
1367
|
+
/** Feature component should be injected by a map engine. */
|
|
1368
|
+
Feature?: ComponentType<FeatureComponentProps>;
|
|
1369
|
+
} & CommonProps;
|
|
1370
|
+
|
|
1371
|
+
export declare type RasterAppearance = {
|
|
1372
|
+
show?: boolean;
|
|
1373
|
+
minimumLevel?: number;
|
|
1374
|
+
maximumLevel?: number;
|
|
1375
|
+
credit?: string;
|
|
1376
|
+
alpha?: number;
|
|
1377
|
+
hideIndicator?: boolean;
|
|
1378
|
+
bounds?: string;
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
export declare type Rect = {
|
|
1382
|
+
west: number;
|
|
1383
|
+
south: number;
|
|
1384
|
+
east: number;
|
|
1385
|
+
north: number;
|
|
1386
|
+
};
|
|
1387
|
+
|
|
1388
|
+
export declare type RequestingRenderMode = -1 | 0 | 1;
|
|
1389
|
+
|
|
1390
|
+
export declare type ResourceAppearance = {
|
|
1391
|
+
show?: boolean;
|
|
1392
|
+
url?: string;
|
|
1393
|
+
type?: "geojson" | "kml" | "czml" | "auto";
|
|
1394
|
+
clampToGround?: boolean;
|
|
1395
|
+
markerSize?: number;
|
|
1396
|
+
markerColor?: string;
|
|
1397
|
+
stroke?: string;
|
|
1398
|
+
strokeWidth?: number;
|
|
1399
|
+
fill?: string;
|
|
1400
|
+
hideIndicator?: boolean;
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
export declare type SceneMode = "3d" | "2d" | "columbus";
|
|
1404
|
+
|
|
1405
|
+
export declare type SceneProperty = {
|
|
1406
|
+
main?: {
|
|
1407
|
+
sceneMode?: SceneMode;
|
|
1408
|
+
ion?: string;
|
|
1409
|
+
vr?: boolean;
|
|
1410
|
+
};
|
|
1411
|
+
tiles?: {
|
|
1412
|
+
id: string;
|
|
1413
|
+
tile_type?: string;
|
|
1414
|
+
tile_url?: string;
|
|
1415
|
+
tile_zoomLevel?: number[];
|
|
1416
|
+
tile_zoomLevelForURL?: number[];
|
|
1417
|
+
tile_opacity?: number;
|
|
1418
|
+
heatmap?: boolean;
|
|
1419
|
+
}[];
|
|
1420
|
+
tileLabels?: {
|
|
1421
|
+
id: string;
|
|
1422
|
+
labelType: "japan_gsi_optimal_bvmap";
|
|
1423
|
+
style: Record<string, any>;
|
|
1424
|
+
}[];
|
|
1425
|
+
terrain?: {
|
|
1426
|
+
terrain?: boolean;
|
|
1427
|
+
terrainType?: "cesium" | "arcgis" | "cesiumion";
|
|
1428
|
+
terrainCesiumIonAsset?: string;
|
|
1429
|
+
terrainCesiumIonAccessToken?: string;
|
|
1430
|
+
terrainCesiumIonUrl?: string;
|
|
1431
|
+
terrainExaggeration?: number;
|
|
1432
|
+
terrainExaggerationRelativeHeight?: number;
|
|
1433
|
+
depthTestAgainstTerrain?: boolean;
|
|
1434
|
+
};
|
|
1435
|
+
globeLighting?: {
|
|
1436
|
+
globeLighting?: boolean;
|
|
1437
|
+
};
|
|
1438
|
+
globeShadow?: {
|
|
1439
|
+
globeShadow?: boolean;
|
|
1440
|
+
};
|
|
1441
|
+
globeAtmosphere?: {
|
|
1442
|
+
globeAtmosphere?: boolean;
|
|
1443
|
+
globeAtmosphereIntensity?: number;
|
|
1444
|
+
};
|
|
1445
|
+
skyBox?: {
|
|
1446
|
+
skyBox?: boolean;
|
|
1447
|
+
};
|
|
1448
|
+
sun?: {
|
|
1449
|
+
sun?: boolean;
|
|
1450
|
+
};
|
|
1451
|
+
moon?: {
|
|
1452
|
+
moon?: boolean;
|
|
1453
|
+
};
|
|
1454
|
+
skyAtmosphere?: {
|
|
1455
|
+
skyAtmosphere?: boolean;
|
|
1456
|
+
skyAtmosphereIntensity?: number;
|
|
1457
|
+
};
|
|
1458
|
+
camera?: {
|
|
1459
|
+
camera?: Camera;
|
|
1460
|
+
allowEnterGround?: boolean;
|
|
1461
|
+
fov?: number;
|
|
1462
|
+
};
|
|
1463
|
+
render?: {
|
|
1464
|
+
showWireframe?: boolean;
|
|
1465
|
+
};
|
|
1466
|
+
} & LegacySceneProperty;
|
|
1467
|
+
|
|
1468
|
+
export declare type ScreenSpaceCameraControllerOptions = {
|
|
1469
|
+
zoomEventTypes?: (OverideCameraEventType | ModifiedCameraEventType)[];
|
|
1470
|
+
rotateEventTypes?: (OverideCameraEventType | ModifiedCameraEventType)[];
|
|
1471
|
+
tiltEventTypes?: (OverideCameraEventType | ModifiedCameraEventType)[];
|
|
1472
|
+
lookEventTypes?: (OverideCameraEventType | ModifiedCameraEventType)[];
|
|
1473
|
+
translateEventTypes?: (OverideCameraEventType | ModifiedCameraEventType)[];
|
|
1474
|
+
minimumZoomDistance?: number;
|
|
1475
|
+
maximumZoomDistance?: number;
|
|
1476
|
+
enableCollisionDetection?: boolean;
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
export declare type SelectedFeatureInfo = {
|
|
1480
|
+
feature?: ComputedFeature;
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
declare type SelectEvent = {
|
|
1484
|
+
openUrl?: OpenUrlEvent;
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
declare type SetOptionsCommand = {
|
|
1488
|
+
cmd: "SET_OPTIONS";
|
|
1489
|
+
payload: Partial<Pick<TimelineOptions, "multiplier" | "rangeType" | "stepType">>;
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
declare type SetTimeCommand = {
|
|
1493
|
+
cmd: "SET_TIME";
|
|
1494
|
+
payload: {
|
|
1495
|
+
current: Date | string;
|
|
1496
|
+
start: Date | string;
|
|
1497
|
+
stop: Date | string;
|
|
1498
|
+
};
|
|
1499
|
+
};
|
|
1500
|
+
|
|
1501
|
+
export declare type SketchAppearance = Partial<LayerAppearanceTypes>;
|
|
1502
|
+
|
|
1503
|
+
declare type SketchComponentProps = RequireExactlyOne<{
|
|
1504
|
+
geometry?: LineString | Polygon_2 | MultiPolygon | null;
|
|
1505
|
+
geometryOptions?: GeometryOptions | null;
|
|
1506
|
+
extrudedHeight?: number;
|
|
1507
|
+
disableShadow?: boolean;
|
|
1508
|
+
enableRelativeHeight?: boolean;
|
|
1509
|
+
color?: string;
|
|
1510
|
+
}, "geometry" | "geometryOptions">;
|
|
1511
|
+
|
|
1512
|
+
export declare type SketchComponentType = ComponentType<SketchComponentProps>;
|
|
1513
|
+
|
|
1514
|
+
export declare type SketchEventCallback = (event: SketchEventProps) => void;
|
|
1515
|
+
|
|
1516
|
+
export declare type SketchEventProps = {
|
|
1517
|
+
layerId?: string;
|
|
1518
|
+
featureId?: string;
|
|
1519
|
+
feature?: SketchFeature;
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
export declare type SketchFeature = Feature_2<Polygon_2 | MultiPolygon | Point | LineString, {
|
|
1523
|
+
id: string;
|
|
1524
|
+
type: SketchType;
|
|
1525
|
+
positions: readonly Position3d[];
|
|
1526
|
+
extrudedHeight: number;
|
|
1527
|
+
}>;
|
|
1528
|
+
|
|
1529
|
+
export declare type SketchProps = {
|
|
1530
|
+
layersRef: RefObject<LayersRef>;
|
|
1531
|
+
engineRef: RefObject<EngineRef>;
|
|
1532
|
+
SketchComponent?: SketchComponentType;
|
|
1533
|
+
selectedFeature?: Feature;
|
|
1534
|
+
interactionMode?: InteractionModeType;
|
|
1535
|
+
overrideInteractionMode?: (mode: InteractionModeType) => void;
|
|
1536
|
+
onSketchTypeChange?: (type: SketchType | undefined, from?: "editor" | "plugin") => void;
|
|
1537
|
+
onSketchFeatureCreate?: (feature: SketchFeature | null) => void;
|
|
1538
|
+
onSketchPluginFeatureCreate?: (props: SketchEventProps) => void;
|
|
1539
|
+
onLayerSelect?: OnLayerSelectType;
|
|
1540
|
+
};
|
|
1541
|
+
|
|
1542
|
+
export declare type SketchRef = {
|
|
1543
|
+
setType: (type: SketchType | undefined, from?: "editor" | "plugin") => void;
|
|
1544
|
+
setColor: (color: string) => void;
|
|
1545
|
+
setDefaultAppearance: (appearance: SketchAppearance) => void;
|
|
1546
|
+
disableShadow: (disable: boolean) => void;
|
|
1547
|
+
enableRelativeHeight: (enable: boolean) => void;
|
|
1548
|
+
createDataOnly: (dataOnly: boolean) => void;
|
|
1549
|
+
allowRightClickToAbort: (allow: boolean) => void;
|
|
1550
|
+
allowAutoResetInteractionMode: (allow: boolean) => void;
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
export declare type SketchType = "marker" | "polyline" | "circle" | "rectangle" | "polygon" | "extrudedCircle" | "extrudedRectangle" | "extrudedPolygon";
|
|
1554
|
+
|
|
1555
|
+
export declare type Spacing = {
|
|
1556
|
+
bottom: number;
|
|
1557
|
+
left: number;
|
|
1558
|
+
right: number;
|
|
1559
|
+
top: number;
|
|
1560
|
+
};
|
|
1561
|
+
|
|
1562
|
+
export declare type StyleExpression = ConditionsExpression | string;
|
|
1563
|
+
|
|
1564
|
+
export declare type Tag = {
|
|
1565
|
+
id: string;
|
|
1566
|
+
label: string;
|
|
1567
|
+
tags?: Tag[];
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1570
|
+
export declare type TerrainProperty = {
|
|
1571
|
+
terrain?: boolean;
|
|
1572
|
+
terrainType?: "cesium" | "arcgis" | "cesiumion";
|
|
1573
|
+
terrainExaggeration?: number;
|
|
1574
|
+
terrainExaggerationRelativeHeight?: number;
|
|
1575
|
+
depthTestAgainstTerrain?: boolean;
|
|
1576
|
+
terrainCesiumIonAsset?: string;
|
|
1577
|
+
terrainCesiumIonAccessToken?: string;
|
|
1578
|
+
terrainCesiumIonUrl?: string;
|
|
1579
|
+
terrainUrl?: string;
|
|
1580
|
+
terrainNormal?: boolean;
|
|
1581
|
+
heatmapType?: "custom";
|
|
1582
|
+
heatmapColorLUT?: LUT;
|
|
1583
|
+
heatmapMinHeight?: number;
|
|
1584
|
+
heatmapMaxHeight?: number;
|
|
1585
|
+
heatmapLogarithmic?: boolean;
|
|
1586
|
+
};
|
|
1587
|
+
|
|
1588
|
+
export declare type TickEvent = (cb: TickEventCallback) => void;
|
|
1589
|
+
|
|
1590
|
+
declare type TickEvent_2 = (cb: TickEventCallback_2) => void;
|
|
1591
|
+
|
|
1592
|
+
export declare type TickEventCallback = (current: Date, clock: {
|
|
1593
|
+
start: Date;
|
|
1594
|
+
stop: Date;
|
|
1595
|
+
}) => void;
|
|
1596
|
+
|
|
1597
|
+
declare type TickEventCallback_2 = (current: Date, clock: {
|
|
1598
|
+
start: Date;
|
|
1599
|
+
stop: Date;
|
|
1600
|
+
}) => void;
|
|
1601
|
+
|
|
1602
|
+
export declare type TimeInterval = [start: Date, end?: Date];
|
|
1603
|
+
|
|
1604
|
+
export declare type Timeline = {
|
|
1605
|
+
startTime?: string;
|
|
1606
|
+
endTime?: string;
|
|
1607
|
+
currentTime?: string;
|
|
1608
|
+
};
|
|
1609
|
+
|
|
1610
|
+
declare type Timeline_2 = {
|
|
1611
|
+
current: Date;
|
|
1612
|
+
start: Date;
|
|
1613
|
+
stop: Date;
|
|
1614
|
+
};
|
|
1615
|
+
|
|
1616
|
+
declare type TimelineCommit = (PlayCommand | PauseCommand | SetTimeCommand | SetOptionsCommand) & {
|
|
1617
|
+
committer: TimelineCommitter;
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
export declare type TimelineCommitter = {
|
|
1621
|
+
source: "overrideSceneProperty" | "widgetContext" | "pluginAPI" | "featureResource" | "storyTimelineBlock" | "storyPage";
|
|
1622
|
+
id?: string;
|
|
1623
|
+
};
|
|
1624
|
+
|
|
1625
|
+
declare type TimelineManager = {
|
|
1626
|
+
readonly timeline: EngineClock;
|
|
1627
|
+
readonly options: TimelineOptions;
|
|
1628
|
+
readonly computedTimeline: Timeline_2;
|
|
1629
|
+
commit: (commit: TimelineCommit) => void;
|
|
1630
|
+
onTick: TickEvent_2;
|
|
1631
|
+
offTick: TickEvent_2;
|
|
1632
|
+
onCommit: (cb: (committer: TimelineCommitter) => void) => void;
|
|
1633
|
+
offCommit: (cb: (committer: TimelineCommitter) => void) => void;
|
|
1634
|
+
handleTick: (d: Date, clock: {
|
|
1635
|
+
start: Date;
|
|
1636
|
+
stop: Date;
|
|
1637
|
+
}) => void;
|
|
1638
|
+
tick: (() => Date | void | undefined) | undefined;
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
export declare type TimelineManagerRef = MutableRefObject<TimelineManager | undefined>;
|
|
1642
|
+
|
|
1643
|
+
declare type TimelineOptions = {
|
|
1644
|
+
animation: boolean;
|
|
1645
|
+
stepType: "rate" | "fixed";
|
|
1646
|
+
multiplier: number;
|
|
1647
|
+
rangeType?: "unbounded" | "clamped" | "bounced";
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
export declare type TransitionAppearance = {
|
|
1651
|
+
useTransition?: boolean;
|
|
1652
|
+
translate?: [lng: number, lat: number, height: number];
|
|
1653
|
+
rotate?: [heading: number, pitch: number, roll: number];
|
|
1654
|
+
scale?: [x: number, y: number, z: number];
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
export declare type Typography = {
|
|
1658
|
+
fontFamily?: string;
|
|
1659
|
+
fontSize?: number;
|
|
1660
|
+
fontWeight?: number;
|
|
1661
|
+
color?: string;
|
|
1662
|
+
textAlign?: "left" | "center" | "right" | "justify" | "justify_all";
|
|
1663
|
+
bold?: boolean;
|
|
1664
|
+
italic?: boolean;
|
|
1665
|
+
underline?: boolean;
|
|
1666
|
+
};
|
|
1667
|
+
|
|
1668
|
+
declare type Typography_2 = {
|
|
1669
|
+
fontFamily?: string;
|
|
1670
|
+
fontSize?: number;
|
|
1671
|
+
fontWeight?: number;
|
|
1672
|
+
color?: string;
|
|
1673
|
+
textAlign?: "left" | "center" | "right" | "justify" | "justify_all";
|
|
1674
|
+
bold?: boolean;
|
|
1675
|
+
italic?: boolean;
|
|
1676
|
+
underline?: boolean;
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
export declare type Undefinable<T extends object> = {
|
|
1680
|
+
[K in keyof T]: T[K] extends object ? T[K] extends (...args: any[]) => any ? T[K] | undefined : Undefinable<T[K]> | undefined : T[K] | undefined;
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1683
|
+
export declare function useGet<T>(value: T): () => T;
|
|
1684
|
+
|
|
1685
|
+
export declare function useOverriddenProperty<T extends {}>(property: T | undefined): [T, (pluginId: string, property: T) => void];
|
|
1686
|
+
|
|
1687
|
+
export declare const useVisualizer: () => RefObject<MapRef>;
|
|
1688
|
+
|
|
1689
|
+
export declare type ValueType = keyof ValueTypes;
|
|
1690
|
+
|
|
1691
|
+
export declare type ValueTypes = {
|
|
1692
|
+
string: string;
|
|
1693
|
+
number: number;
|
|
1694
|
+
bool: boolean;
|
|
1695
|
+
latlng: LatLng;
|
|
1696
|
+
latlngheight: LatLngHeight;
|
|
1697
|
+
url: string;
|
|
1698
|
+
camera: Camera;
|
|
1699
|
+
typography: Typography;
|
|
1700
|
+
coordinates: Coordinates;
|
|
1701
|
+
polygon: Polygon;
|
|
1702
|
+
rect: Rect;
|
|
1703
|
+
ref: string;
|
|
1704
|
+
tiletype: string;
|
|
1705
|
+
spacing: Spacing;
|
|
1706
|
+
array: Array_2;
|
|
1707
|
+
timeline: Timeline;
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
export declare type Viewport = {
|
|
1711
|
+
width: number | undefined;
|
|
1712
|
+
height: number | undefined;
|
|
1713
|
+
isMobile: boolean | undefined;
|
|
1714
|
+
query: Record<string, string>;
|
|
1715
|
+
};
|
|
1716
|
+
|
|
1717
|
+
export declare type VisualizerContext = RefObject<MapRef>;
|
|
1718
|
+
|
|
1719
|
+
export declare type WrappedRef<T> = {
|
|
1720
|
+
[P in keyof T as T[P] extends (...args: any[]) => any ? P : never]: T[P] extends (...args: infer A) => infer R ? (...args: A) => R | undefined : never;
|
|
1721
|
+
};
|
|
1722
|
+
|
|
1723
|
+
export { }
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
declare global {
|
|
1727
|
+
interface Window {
|
|
1728
|
+
REEARTH_E2E_ACCESS_TOKEN?: string;
|
|
1729
|
+
REEARTH_E2E_CESIUM_VIEWER?: any;
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
declare module "@cesium/engine" {
|
|
1735
|
+
namespace SceneTransforms {
|
|
1736
|
+
function transformWindowToDrawingBuffer(scene: Scene, windowPosition: Cartesian2, result?: Cartesian2): Cartesian2;
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
|
|
1741
|
+
namespace SceneTransforms {
|
|
1742
|
+
function transformWindowToDrawingBuffer(scene: Scene, windowPosition: Cartesian2, result?: Cartesian2): Cartesian2;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
declare global {
|
|
1747
|
+
namespace Vi {
|
|
1748
|
+
interface JestAssertion<T = any> extends jest.Matchers<void, T>, EmotionMatchers {
|
|
1749
|
+
toHaveStyleRule: EmotionMatchers["toHaveStyleRule"];
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
|
|
1755
|
+
namespace Vi {
|
|
1756
|
+
interface JestAssertion<T = any> extends jest.Matchers<void, T>, EmotionMatchers {
|
|
1757
|
+
toHaveStyleRule: EmotionMatchers["toHaveStyleRule"];
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
|