@poor-knight/cesium-utils 0.5.3 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cesium-utils.cjs +77 -0
- package/dist/cesium-utils.d.ts +353 -0
- package/dist/cesium-utils.js +7058 -0
- package/dist/cesium-utils.umd.cjs +77 -0
- package/package.json +1 -1
- package/dist/assets/index-WAdYEV0d.css +0 -1
- package/dist/assets/index-dJcv6GNb.js +0 -96
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1
- package/dist/cesium/Assets/Images/bing_maps_credit.png +0 -0
- package/dist/cesium/Assets/Images/cesium_credit.png +0 -0
- package/dist/cesium/Assets/Images/google_earth_credit.png +0 -0
- package/dist/cesium/Assets/Images/ion-credit.png +0 -0
- package/dist/cesium/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist/cesium/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -14
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist/cesium/Assets/Textures/maki/airfield.png +0 -0
- package/dist/cesium/Assets/Textures/maki/airport.png +0 -0
- package/dist/cesium/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist/cesium/Assets/Textures/maki/america-football.png +0 -0
- package/dist/cesium/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bakery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bank.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bar.png +0 -0
- package/dist/cesium/Assets/Textures/maki/baseball.png +0 -0
- package/dist/cesium/Assets/Textures/maki/basketball.png +0 -0
- package/dist/cesium/Assets/Textures/maki/beer.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bicycle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/building.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bus.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cafe.png +0 -0
- package/dist/cesium/Assets/Textures/maki/camera.png +0 -0
- package/dist/cesium/Assets/Textures/maki/campsite.png +0 -0
- package/dist/cesium/Assets/Textures/maki/car.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cemetery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cesium.png +0 -0
- package/dist/cesium/Assets/Textures/maki/chemist.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cinema.png +0 -0
- package/dist/cesium/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/circle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/city.png +0 -0
- package/dist/cesium/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist/cesium/Assets/Textures/maki/college.png +0 -0
- package/dist/cesium/Assets/Textures/maki/commercial.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cricket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cross.png +0 -0
- package/dist/cesium/Assets/Textures/maki/dam.png +0 -0
- package/dist/cesium/Assets/Textures/maki/danger.png +0 -0
- package/dist/cesium/Assets/Textures/maki/disability.png +0 -0
- package/dist/cesium/Assets/Textures/maki/dog-park.png +0 -0
- package/dist/cesium/Assets/Textures/maki/embassy.png +0 -0
- package/dist/cesium/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/entrance.png +0 -0
- package/dist/cesium/Assets/Textures/maki/farm.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fast-food.png +0 -0
- package/dist/cesium/Assets/Textures/maki/ferry.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fire-station.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fuel.png +0 -0
- package/dist/cesium/Assets/Textures/maki/garden.png +0 -0
- package/dist/cesium/Assets/Textures/maki/gift.png +0 -0
- package/dist/cesium/Assets/Textures/maki/golf.png +0 -0
- package/dist/cesium/Assets/Textures/maki/grocery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist/cesium/Assets/Textures/maki/harbor.png +0 -0
- package/dist/cesium/Assets/Textures/maki/heart.png +0 -0
- package/dist/cesium/Assets/Textures/maki/heliport.png +0 -0
- package/dist/cesium/Assets/Textures/maki/hospital.png +0 -0
- package/dist/cesium/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist/cesium/Assets/Textures/maki/industrial.png +0 -0
- package/dist/cesium/Assets/Textures/maki/land-use.png +0 -0
- package/dist/cesium/Assets/Textures/maki/laundry.png +0 -0
- package/dist/cesium/Assets/Textures/maki/library.png +0 -0
- package/dist/cesium/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/lodging.png +0 -0
- package/dist/cesium/Assets/Textures/maki/logging.png +0 -0
- package/dist/cesium/Assets/Textures/maki/london-underground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/marker.png +0 -0
- package/dist/cesium/Assets/Textures/maki/minefield.png +0 -0
- package/dist/cesium/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/monument.png +0 -0
- package/dist/cesium/Assets/Textures/maki/museum.png +0 -0
- package/dist/cesium/Assets/Textures/maki/music.png +0 -0
- package/dist/cesium/Assets/Textures/maki/oil-well.png +0 -0
- package/dist/cesium/Assets/Textures/maki/park.png +0 -0
- package/dist/cesium/Assets/Textures/maki/park2.png +0 -0
- package/dist/cesium/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist/cesium/Assets/Textures/maki/parking.png +0 -0
- package/dist/cesium/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist/cesium/Assets/Textures/maki/pitch.png +0 -0
- package/dist/cesium/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist/cesium/Assets/Textures/maki/playground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/police.png +0 -0
- package/dist/cesium/Assets/Textures/maki/polling-place.png +0 -0
- package/dist/cesium/Assets/Textures/maki/post.png +0 -0
- package/dist/cesium/Assets/Textures/maki/prison.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-above.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-light.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist/cesium/Assets/Textures/maki/restaurant.png +0 -0
- package/dist/cesium/Assets/Textures/maki/roadblock.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rocket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/school.png +0 -0
- package/dist/cesium/Assets/Textures/maki/scooter.png +0 -0
- package/dist/cesium/Assets/Textures/maki/shop.png +0 -0
- package/dist/cesium/Assets/Textures/maki/skiing.png +0 -0
- package/dist/cesium/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/soccer.png +0 -0
- package/dist/cesium/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/square.png +0 -0
- package/dist/cesium/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/star.png +0 -0
- package/dist/cesium/Assets/Textures/maki/suitcase.png +0 -0
- package/dist/cesium/Assets/Textures/maki/swimming.png +0 -0
- package/dist/cesium/Assets/Textures/maki/telephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/tennis.png +0 -0
- package/dist/cesium/Assets/Textures/maki/theatre.png +0 -0
- package/dist/cesium/Assets/Textures/maki/toilets.png +0 -0
- package/dist/cesium/Assets/Textures/maki/town-hall.png +0 -0
- package/dist/cesium/Assets/Textures/maki/town.png +0 -0
- package/dist/cesium/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/triangle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/village.png +0 -0
- package/dist/cesium/Assets/Textures/maki/warehouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/water.png +0 -0
- package/dist/cesium/Assets/Textures/maki/wetland.png +0 -0
- package/dist/cesium/Assets/Textures/maki/zoo.png +0 -0
- package/dist/cesium/Assets/Textures/moonSmall.jpg +0 -0
- package/dist/cesium/Assets/Textures/pin.svg +0 -1
- package/dist/cesium/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/cesium/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/cesium/Assets/approximateTerrainHeights.json +0 -1
- package/dist/cesium/Cesium.js +0 -16274
- package/dist/cesium/ThirdParty/Workers/package.json +0 -1
- package/dist/cesium/ThirdParty/Workers/pako_deflate.min.js +0 -1
- package/dist/cesium/ThirdParty/Workers/pako_inflate.min.js +0 -1
- package/dist/cesium/ThirdParty/Workers/z-worker-pako.js +0 -1
- package/dist/cesium/ThirdParty/basis_transcoder.wasm +0 -0
- package/dist/cesium/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/cesium/ThirdParty/google-earth-dbroot-parser.js +0 -1
- package/dist/cesium/ThirdParty/wasm_splats_bg.wasm +0 -0
- package/dist/cesium/Widgets/Animation/Animation.css +0 -127
- package/dist/cesium/Widgets/Animation/lighter.css +0 -70
- package/dist/cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -108
- package/dist/cesium/Widgets/BaseLayerPicker/lighter.css +0 -22
- package/dist/cesium/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -102
- package/dist/cesium/Widgets/CesiumInspector/CesiumInspector.css +0 -113
- package/dist/cesium/Widgets/CesiumWidget/CesiumWidget.css +0 -119
- package/dist/cesium/Widgets/CesiumWidget/lighter.css +0 -14
- package/dist/cesium/Widgets/FullscreenButton/FullscreenButton.css +0 -8
- package/dist/cesium/Widgets/Geocoder/Geocoder.css +0 -70
- package/dist/cesium/Widgets/Geocoder/lighter.css +0 -17
- package/dist/cesium/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -27
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/Mouse.svg +0 -84
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
- package/dist/cesium/Widgets/Images/NavigationHelp/Touch.svg +0 -120
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
- package/dist/cesium/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/dist/cesium/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/dist/cesium/Widgets/Images/TimelineIcons.png +0 -0
- package/dist/cesium/Widgets/Images/info-loading.gif +0 -0
- package/dist/cesium/Widgets/InfoBox/InfoBox.css +0 -92
- package/dist/cesium/Widgets/InfoBox/InfoBoxDescription.css +0 -178
- package/dist/cesium/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -93
- package/dist/cesium/Widgets/NavigationHelpButton/lighter.css +0 -38
- package/dist/cesium/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -15
- package/dist/cesium/Widgets/ProjectionPicker/ProjectionPicker.css +0 -38
- package/dist/cesium/Widgets/SceneModePicker/SceneModePicker.css +0 -56
- package/dist/cesium/Widgets/SelectionIndicator/SelectionIndicator.css +0 -20
- package/dist/cesium/Widgets/Timeline/Timeline.css +0 -103
- package/dist/cesium/Widgets/Timeline/lighter.css +0 -23
- package/dist/cesium/Widgets/VRButton/VRButton.css +0 -8
- package/dist/cesium/Widgets/Viewer/Viewer.css +0 -107
- package/dist/cesium/Widgets/VoxelInspector/VoxelInspector.css +0 -16
- package/dist/cesium/Widgets/lighter.css +0 -237
- package/dist/cesium/Widgets/lighterShared.css +0 -46
- package/dist/cesium/Widgets/shared.css +0 -103
- package/dist/cesium/Widgets/widgets.css +0 -1342
- package/dist/cesium/Workers/chunk-22ASS7YB.js +0 -26
- package/dist/cesium/Workers/chunk-2BFZMXUG.js +0 -26
- package/dist/cesium/Workers/chunk-3BNGKZ2F.js +0 -26
- package/dist/cesium/Workers/chunk-452MW5E6.js +0 -26
- package/dist/cesium/Workers/chunk-45LNPNIM.js +0 -26
- package/dist/cesium/Workers/chunk-5YCKGPZ3.js +0 -26
- package/dist/cesium/Workers/chunk-5ZFOKSDK.js +0 -26
- package/dist/cesium/Workers/chunk-65CN64EP.js +0 -28
- package/dist/cesium/Workers/chunk-6NNCMAGT.js +0 -26
- package/dist/cesium/Workers/chunk-75RT7DNU.js +0 -26
- package/dist/cesium/Workers/chunk-77KFIUJG.js +0 -26
- package/dist/cesium/Workers/chunk-7L2LUDC3.js +0 -28
- package/dist/cesium/Workers/chunk-7UX2ZCQK.js +0 -26
- package/dist/cesium/Workers/chunk-7W3OTLHS.js +0 -26
- package/dist/cesium/Workers/chunk-AAOMPF7M.js +0 -26
- package/dist/cesium/Workers/chunk-BOBXKID6.js +0 -26
- package/dist/cesium/Workers/chunk-BQNAZUCV.js +0 -26
- package/dist/cesium/Workers/chunk-BYU3QM3A.js +0 -26
- package/dist/cesium/Workers/chunk-C7EXJG2O.js +0 -26
- package/dist/cesium/Workers/chunk-FE4HG5RY.js +0 -26
- package/dist/cesium/Workers/chunk-GMDXIP2F.js +0 -26
- package/dist/cesium/Workers/chunk-HSVYYGKG.js +0 -26
- package/dist/cesium/Workers/chunk-IOJRZZG4.js +0 -26
- package/dist/cesium/Workers/chunk-IQ3P7OYE.js +0 -26
- package/dist/cesium/Workers/chunk-K526B6A6.js +0 -26
- package/dist/cesium/Workers/chunk-KA7ZX4BQ.js +0 -26
- package/dist/cesium/Workers/chunk-KYREMICR.js +0 -26
- package/dist/cesium/Workers/chunk-LM5DN6BS.js +0 -26
- package/dist/cesium/Workers/chunk-N3VBCSE5.js +0 -26
- package/dist/cesium/Workers/chunk-NYNUONZK.js +0 -26
- package/dist/cesium/Workers/chunk-O4MLFQKO.js +0 -26
- package/dist/cesium/Workers/chunk-OJD6C7EN.js +0 -26
- package/dist/cesium/Workers/chunk-PFXLBIMV.js +0 -26
- package/dist/cesium/Workers/chunk-PJQOB6JM.js +0 -26
- package/dist/cesium/Workers/chunk-PSBTKXXJ.js +0 -26
- package/dist/cesium/Workers/chunk-PX3QTMVS.js +0 -27
- package/dist/cesium/Workers/chunk-QF5X4OGE.js +0 -26
- package/dist/cesium/Workers/chunk-QF6LI2WV.js +0 -26
- package/dist/cesium/Workers/chunk-QJ75ECAT.js +0 -26
- package/dist/cesium/Workers/chunk-RHHPY6PH.js +0 -26
- package/dist/cesium/Workers/chunk-S3NLG5WM.js +0 -26
- package/dist/cesium/Workers/chunk-SODPE7LL.js +0 -26
- package/dist/cesium/Workers/chunk-TG7CPYPR.js +0 -26
- package/dist/cesium/Workers/chunk-UJOKCDQH.js +0 -26
- package/dist/cesium/Workers/chunk-UQ3ABODK.js +0 -26
- package/dist/cesium/Workers/chunk-VBRVI5XI.js +0 -66
- package/dist/cesium/Workers/chunk-WCO3MWIK.js +0 -26
- package/dist/cesium/Workers/chunk-X52A3GF7.js +0 -27
- package/dist/cesium/Workers/chunk-X76FJHF4.js +0 -26
- package/dist/cesium/Workers/chunk-XFYMZXZK.js +0 -26
- package/dist/cesium/Workers/chunk-XRIISOYZ.js +0 -26
- package/dist/cesium/Workers/chunk-YZ5FJSO3.js +0 -26
- package/dist/cesium/Workers/combineGeometry.js +0 -26
- package/dist/cesium/Workers/createBoxGeometry.js +0 -26
- package/dist/cesium/Workers/createBoxOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createCircleGeometry.js +0 -26
- package/dist/cesium/Workers/createCircleOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createCoplanarPolygonGeometry.js +0 -26
- package/dist/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createCorridorGeometry.js +0 -26
- package/dist/cesium/Workers/createCorridorOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createCylinderGeometry.js +0 -26
- package/dist/cesium/Workers/createCylinderOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createEllipseGeometry.js +0 -26
- package/dist/cesium/Workers/createEllipseOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createEllipsoidGeometry.js +0 -26
- package/dist/cesium/Workers/createEllipsoidOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createFrustumGeometry.js +0 -26
- package/dist/cesium/Workers/createFrustumOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createGeometry.js +0 -26
- package/dist/cesium/Workers/createGroundPolylineGeometry.js +0 -26
- package/dist/cesium/Workers/createPlaneGeometry.js +0 -26
- package/dist/cesium/Workers/createPlaneOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createPolygonGeometry.js +0 -26
- package/dist/cesium/Workers/createPolygonOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createPolylineGeometry.js +0 -26
- package/dist/cesium/Workers/createPolylineVolumeGeometry.js +0 -26
- package/dist/cesium/Workers/createPolylineVolumeOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createRectangleGeometry.js +0 -26
- package/dist/cesium/Workers/createRectangleOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createSimplePolylineGeometry.js +0 -26
- package/dist/cesium/Workers/createSphereGeometry.js +0 -26
- package/dist/cesium/Workers/createSphereOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/createTaskProcessorWorker.js +0 -26
- package/dist/cesium/Workers/createVectorTileClampedPolylines.js +0 -26
- package/dist/cesium/Workers/createVectorTileGeometries.js +0 -26
- package/dist/cesium/Workers/createVectorTilePoints.js +0 -26
- package/dist/cesium/Workers/createVectorTilePolygons.js +0 -26
- package/dist/cesium/Workers/createVectorTilePolylines.js +0 -26
- package/dist/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -26
- package/dist/cesium/Workers/createVerticesFromHeightmap.js +0 -26
- package/dist/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -26
- package/dist/cesium/Workers/createWallGeometry.js +0 -26
- package/dist/cesium/Workers/createWallOutlineGeometry.js +0 -26
- package/dist/cesium/Workers/decodeDraco.js +0 -26
- package/dist/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +0 -26
- package/dist/cesium/Workers/decodeI3S.js +0 -26
- package/dist/cesium/Workers/gaussianSplatSorter.js +0 -26
- package/dist/cesium/Workers/gaussianSplatTextureGenerator.js +0 -26
- package/dist/cesium/Workers/transcodeKTX2.js +0 -56
- package/dist/cesium/Workers/transferTypedArrayTest.js +0 -26
- package/dist/cesium/Workers/upsampleQuantizedTerrainMesh.js +0 -26
- package/dist/index.html +0 -17
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import { Cartesian3 } from 'cesium';
|
|
2
|
+
import * as Cesium from 'cesium';
|
|
3
|
+
import { default as default_2 } from 'eventemitter3';
|
|
4
|
+
import { EventEmitter } from 'eventemitter3';
|
|
5
|
+
import { Feature } from 'geojson';
|
|
6
|
+
import { FeatureCollection } from 'geojson';
|
|
7
|
+
import { ImageryLayer } from 'cesium';
|
|
8
|
+
import { ImageryLayerFeatureInfo } from 'cesium';
|
|
9
|
+
import { Point } from 'geojson';
|
|
10
|
+
import { Popup } from 'cesium-extends';
|
|
11
|
+
import { Viewer } from 'cesium';
|
|
12
|
+
import { WebMapServiceImageryProvider } from 'cesium';
|
|
13
|
+
|
|
14
|
+
declare type Cartesian3Like = Cesium.Cartesian3 | {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
z: number;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**创建天地图图层 */
|
|
21
|
+
export declare function createTdtProvider(key: 'img' | 'vec' | 'cia' | 'cva', opt: {
|
|
22
|
+
token: string;
|
|
23
|
+
} & Partial<CustomWebMapTileServiceImageryProviderConstructorOptions>): CustomWebMapTileServiceImageryProvider;
|
|
24
|
+
|
|
25
|
+
/**创建天地图地形 */
|
|
26
|
+
export declare function createTdtTerrain(opt: {
|
|
27
|
+
token: string;
|
|
28
|
+
}): Cesium.TerrainProvider;
|
|
29
|
+
|
|
30
|
+
declare class CustomWebMapTileServiceImageryProvider extends Cesium.WebMapTileServiceImageryProvider {
|
|
31
|
+
private options;
|
|
32
|
+
constructor(options: CustomWebMapTileServiceImageryProviderConstructorOptions);
|
|
33
|
+
requestImage(x: number, y: number, level: number, request?: Cesium.Request | undefined): Promise<HTMLImageElement | ImageBitmap | HTMLCanvasElement> | undefined;
|
|
34
|
+
private pickSubdomain;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare type CustomWebMapTileServiceImageryProviderConstructorOptions = Cesium.WebMapTileServiceImageryProvider.ConstructorOptions & {
|
|
38
|
+
requestInterceptor?: (image: HTMLImageElement | ImageBitmap | HTMLCanvasElement) => HTMLImageElement | ImageBitmap | HTMLCanvasElement;
|
|
39
|
+
subdomains?: string[];
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/**根据视角参数,调整摄像头 */
|
|
43
|
+
export declare function flyToCameraParams(viewer: Cesium.Viewer, params: {
|
|
44
|
+
position: Cartesian3Like;
|
|
45
|
+
direction: Cartesian3Like;
|
|
46
|
+
up: Cartesian3Like;
|
|
47
|
+
right: Cartesian3Like;
|
|
48
|
+
transform: Matrix4Like;
|
|
49
|
+
}, duration?: number): void;
|
|
50
|
+
|
|
51
|
+
export declare function invertToCanvas(image: HTMLImageElement | ImageBitmap | HTMLCanvasElement): HTMLCanvasElement;
|
|
52
|
+
|
|
53
|
+
/**图层 */
|
|
54
|
+
export declare interface Layer {
|
|
55
|
+
key: string;
|
|
56
|
+
zIndex: number;
|
|
57
|
+
show(viewer: Viewer): void;
|
|
58
|
+
hide(viewer: Viewer): void;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**获取左键点击事件监听器,基于viewer唯一 */
|
|
62
|
+
export declare function ListenLeftClick(viewer: Cesium.Viewer): default_2<{
|
|
63
|
+
click: (payload: Cesium.ScreenSpaceEventHandler.PositionedEvent) => void;
|
|
64
|
+
}, any>;
|
|
65
|
+
|
|
66
|
+
declare type Matrix4Like = Cesium.Matrix4 | Record<string, number> | number[];
|
|
67
|
+
|
|
68
|
+
export declare class PolygonDrawer {
|
|
69
|
+
private options?;
|
|
70
|
+
private _viewer;
|
|
71
|
+
private _callBack;
|
|
72
|
+
private _posChange;
|
|
73
|
+
private _pointGeometry;
|
|
74
|
+
private _activePoint;
|
|
75
|
+
private _polygon;
|
|
76
|
+
private _positions;
|
|
77
|
+
private _status;
|
|
78
|
+
private _mouseDelta;
|
|
79
|
+
private _lastClickPosition;
|
|
80
|
+
private _options;
|
|
81
|
+
private _subscriber;
|
|
82
|
+
private _events;
|
|
83
|
+
private _labels;
|
|
84
|
+
private _tips;
|
|
85
|
+
private _hoveredPoint;
|
|
86
|
+
get status(): "INIT" | "START" | "END" | "EDITING" | "DESTROY";
|
|
87
|
+
get isDestroy(): boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Create a PolygonDrawer Class
|
|
90
|
+
* @param viewer cesium viewer
|
|
91
|
+
* @param [options.accuracy] lonlat number accuracy.
|
|
92
|
+
* @param [options.once] If continue to draw the next polygon.
|
|
93
|
+
* @param [options.retainGeo] If retain polygon geo after drawing complete.
|
|
94
|
+
* @param [options.positions] The object onto which to store the position Array.
|
|
95
|
+
* @param [options.callback] callback funciton after drawing complete.
|
|
96
|
+
* @param [options.posChange] callback funciton after position array changed.
|
|
97
|
+
* @param [options.tips] tip labels text config.
|
|
98
|
+
* @example
|
|
99
|
+
* const DrawTool = new PolygonDrawer(viewer, {
|
|
100
|
+
callback: (result) => {
|
|
101
|
+
console.log(result);
|
|
102
|
+
},
|
|
103
|
+
posChange: (coors) => {
|
|
104
|
+
console.log(coors)
|
|
105
|
+
},
|
|
106
|
+
tips: {
|
|
107
|
+
leftClick: intl.formatMessage({ id: 'drawer.leftClick' }),
|
|
108
|
+
rightClick: intl.formatMessage({ id: 'drawer.rightClick' }),
|
|
109
|
+
doubleClick: intl.formatMessage({ id: 'drawer.doubleClick' }),
|
|
110
|
+
edit: intl.formatMessage({ id: 'drawer.edit' }),
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
*/
|
|
114
|
+
constructor(viewer: Viewer, options?: PolygonDrawerOptions | undefined);
|
|
115
|
+
/**
|
|
116
|
+
* 根据传入的positions初始化图形并进入编辑状态
|
|
117
|
+
*/
|
|
118
|
+
private initializeFromPositions;
|
|
119
|
+
/**
|
|
120
|
+
* 更新标签信息
|
|
121
|
+
* @param options 标签位置、标签文字, 不填则按照默认逻辑更新
|
|
122
|
+
*/
|
|
123
|
+
private updateLabel;
|
|
124
|
+
/**
|
|
125
|
+
* positions数组改变后调用回调函数
|
|
126
|
+
*/
|
|
127
|
+
private handlePosChange;
|
|
128
|
+
protected drawPoint(position: Cartesian3): Cesium.Entity;
|
|
129
|
+
private updatePointSize;
|
|
130
|
+
/**
|
|
131
|
+
* 点Entity的左键点击事件
|
|
132
|
+
*/
|
|
133
|
+
private onMouseClickPoint;
|
|
134
|
+
/**
|
|
135
|
+
* 绘制多边形
|
|
136
|
+
*/
|
|
137
|
+
private drawShape;
|
|
138
|
+
/**
|
|
139
|
+
* 鼠标移动时改变活动点的位置和position坐标串
|
|
140
|
+
*/
|
|
141
|
+
private handleMouseMove;
|
|
142
|
+
/**
|
|
143
|
+
* 鼠标左键监听事件,点击添加点和坐标,并设置新的活动点
|
|
144
|
+
*/
|
|
145
|
+
private handleMouseLeftClick;
|
|
146
|
+
/**
|
|
147
|
+
* 添加一个点
|
|
148
|
+
* @param index 点的下标
|
|
149
|
+
* @param pos 点的经纬度
|
|
150
|
+
*/
|
|
151
|
+
addOnePosition: (index: number, pos: number[]) => boolean;
|
|
152
|
+
/**
|
|
153
|
+
* 改变一个点的坐标信息
|
|
154
|
+
* @param index 点下标
|
|
155
|
+
* @param pos 位置[经纬度]
|
|
156
|
+
* @returns boolean
|
|
157
|
+
*/
|
|
158
|
+
changeOnePosition: (index: number, pos: number[]) => boolean;
|
|
159
|
+
/**
|
|
160
|
+
* 移除一个点
|
|
161
|
+
* @param index 点的下标
|
|
162
|
+
* @returns {boolean} 是否移除成功
|
|
163
|
+
*/
|
|
164
|
+
removeOnePosition: (index: number) => boolean;
|
|
165
|
+
/**
|
|
166
|
+
* 将一个点设置为活动点
|
|
167
|
+
* @param index 点的下标
|
|
168
|
+
*/
|
|
169
|
+
activeOnePosition: (index: number) => void;
|
|
170
|
+
private handleMouseRightClick;
|
|
171
|
+
/**
|
|
172
|
+
* 开始绘制多边形
|
|
173
|
+
*/
|
|
174
|
+
start(): void;
|
|
175
|
+
private removePolygon;
|
|
176
|
+
/**
|
|
177
|
+
* 停止绘制多边形
|
|
178
|
+
* @param removePoint 是否移除控制点,默认true
|
|
179
|
+
*/
|
|
180
|
+
private stop;
|
|
181
|
+
/**
|
|
182
|
+
* cesium坐标转经纬度
|
|
183
|
+
* @param cartesian
|
|
184
|
+
* @returns [lon, lat]
|
|
185
|
+
*/
|
|
186
|
+
cartesian2lonlat: (cartesian: Cartesian3) => number[];
|
|
187
|
+
/**
|
|
188
|
+
* 结束绘制
|
|
189
|
+
* @returns boolean
|
|
190
|
+
*/
|
|
191
|
+
private endDraw;
|
|
192
|
+
clear(): void;
|
|
193
|
+
destroy(): void;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
declare type PolygonDrawerOptions = {
|
|
197
|
+
accuracy?: number;
|
|
198
|
+
once?: boolean;
|
|
199
|
+
retainGeo?: boolean;
|
|
200
|
+
positions?: Cartesian3[];
|
|
201
|
+
callback?: (coors: number[][]) => void;
|
|
202
|
+
posChange?: (coors: number[][]) => void;
|
|
203
|
+
tips?: {
|
|
204
|
+
leftClick?: string;
|
|
205
|
+
rightClick?: string;
|
|
206
|
+
doubleClick?: string;
|
|
207
|
+
edit?: string;
|
|
208
|
+
};
|
|
209
|
+
polygon?: Omit<Cesium.PolygonGraphics.ConstructorOptions, 'hierarchy' | 'show'>;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/** 弹窗控制器 */
|
|
213
|
+
export declare class PopupCtrl extends default_2<{
|
|
214
|
+
onMount: (id: string | number) => void;
|
|
215
|
+
onUnmount: (id: string | number) => void;
|
|
216
|
+
}> {
|
|
217
|
+
private static instance;
|
|
218
|
+
private constructor();
|
|
219
|
+
static getInstance(): PopupCtrl;
|
|
220
|
+
popupMap: Map<string | number, {
|
|
221
|
+
popup: Popup;
|
|
222
|
+
destroy(): void;
|
|
223
|
+
}>;
|
|
224
|
+
popup(payload: {
|
|
225
|
+
viewer: Cesium.Viewer;
|
|
226
|
+
id: string | number;
|
|
227
|
+
position: number[];
|
|
228
|
+
offset?: [number, number];
|
|
229
|
+
element: HTMLElement;
|
|
230
|
+
}): void;
|
|
231
|
+
close(id: string | number): void;
|
|
232
|
+
closeAll(): void;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**保持当前的视角参数到对象 */
|
|
236
|
+
export declare function saveCameraParams(viewer: Cesium.Viewer): {
|
|
237
|
+
position: Cesium.Cartesian3;
|
|
238
|
+
direction: Cesium.Cartesian3;
|
|
239
|
+
up: Cesium.Cartesian3;
|
|
240
|
+
right: Cesium.Cartesian3;
|
|
241
|
+
transform: Cesium.Matrix4;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
/**船只图层
|
|
245
|
+
*
|
|
246
|
+
*
|
|
247
|
+
*/
|
|
248
|
+
export declare class ShipLayer extends default_2<{
|
|
249
|
+
createEntity: (entity: Cesium.Entity) => void;
|
|
250
|
+
}> implements Layer {
|
|
251
|
+
key: string;
|
|
252
|
+
zIndex: number;
|
|
253
|
+
private opt?;
|
|
254
|
+
db: Cesium.CustomDataSource;
|
|
255
|
+
private labelDataSource;
|
|
256
|
+
private IS_MOVING_THRESHOLD;
|
|
257
|
+
private shipDisplayOptions;
|
|
258
|
+
/**
|
|
259
|
+
* 构造函数
|
|
260
|
+
* @param key 图层唯一标识
|
|
261
|
+
* @param zIndex 图层渲染顺序
|
|
262
|
+
* @param opt 配置项
|
|
263
|
+
* - clustering: label的聚合相关配置
|
|
264
|
+
* - enabled 是否启用聚合
|
|
265
|
+
* - pixelRange 聚合像素范围
|
|
266
|
+
* - minimumClusterSize 最小聚合数量
|
|
267
|
+
* - distanceDisplayConditions: 距离显示条件
|
|
268
|
+
* - near 最近显示距离
|
|
269
|
+
* - far 最远显示距离
|
|
270
|
+
* - defaultValue: 输入信息的默认值
|
|
271
|
+
* - designBeam 默认船宽
|
|
272
|
+
* - designLength 默认船长
|
|
273
|
+
* - IS_MOVING_THRESHOLD 判定移动的速度阈值(米/秒),默认1
|
|
274
|
+
* - shipDisplayOptions 船只显示配置
|
|
275
|
+
* - startFadeMinutes 船只开始淡出时间(分钟)默认1分钟
|
|
276
|
+
* - endFadeMinutes 船只达到最淡的时间(分钟)默认5分钟
|
|
277
|
+
* - hideMinutes 船只隐藏时间(分钟)默认60分钟
|
|
278
|
+
*/
|
|
279
|
+
constructor(key: string, zIndex: number, opt?: {
|
|
280
|
+
clustering?: {
|
|
281
|
+
enabled?: boolean;
|
|
282
|
+
pixelRange?: number;
|
|
283
|
+
minimumClusterSize?: number;
|
|
284
|
+
};
|
|
285
|
+
distanceDisplayConditions?: {
|
|
286
|
+
near?: number;
|
|
287
|
+
far?: number;
|
|
288
|
+
};
|
|
289
|
+
defaultValue: {
|
|
290
|
+
designBeam: number;
|
|
291
|
+
designLength: number;
|
|
292
|
+
};
|
|
293
|
+
IS_MOVING_THRESHOLD?: number;
|
|
294
|
+
shipDisplayOptions?: {
|
|
295
|
+
startFadeMinutes?: number;
|
|
296
|
+
endFadeMinutes?: number;
|
|
297
|
+
hideMinutes?: number;
|
|
298
|
+
};
|
|
299
|
+
} | undefined);
|
|
300
|
+
private isMounted;
|
|
301
|
+
private _viewer;
|
|
302
|
+
show(viewer: Cesium.Viewer): void;
|
|
303
|
+
hide(): void;
|
|
304
|
+
entityMap: Map<string, Cesium.Entity>;
|
|
305
|
+
contain(e: Cesium.Entity): boolean;
|
|
306
|
+
/**生成entity, geojson的id优先和mmsi保持一致,没有mmsi的情况下,使用nanoid生成 */
|
|
307
|
+
render(geojson: FeatureCollection<Point>): void;
|
|
308
|
+
/**获取id */
|
|
309
|
+
private getIdByFeature;
|
|
310
|
+
/**渲染feature */
|
|
311
|
+
renderFeature(feature: Feature<Point>): void;
|
|
312
|
+
/**更新or新增feature */
|
|
313
|
+
update(feature: Feature<Point>): void;
|
|
314
|
+
private renderEntity;
|
|
315
|
+
private renderLabelEntity;
|
|
316
|
+
private shadowEntityMap;
|
|
317
|
+
private createShipPlane;
|
|
318
|
+
/**显隐entity,回调返回显示隐藏的状态,不传Fn时默认显示所有 */
|
|
319
|
+
private hookFilterEntityFn?;
|
|
320
|
+
hideEntityByCondition(validateFn?: (entity: Cesium.Entity) => boolean): void;
|
|
321
|
+
private getHideAfterSomeMinutesAndByDistance;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export declare class WmsLayer implements Layer {
|
|
325
|
+
private ctrl;
|
|
326
|
+
key: string;
|
|
327
|
+
layer: string;
|
|
328
|
+
zIndex: number;
|
|
329
|
+
constructor(ctrl: WmsLayerController, key: string, layer: string, zIndex?: number);
|
|
330
|
+
show(viewer: Viewer): void;
|
|
331
|
+
hide(viewer: Viewer): void;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**wms图层控制器 */
|
|
335
|
+
export declare class WmsLayerController extends EventEmitter<{
|
|
336
|
+
click: (payload: ImageryLayerFeatureInfo[] | undefined) => void;
|
|
337
|
+
}> {
|
|
338
|
+
private args;
|
|
339
|
+
constructor(args: Omit<WebMapServiceImageryProvider.ConstructorOptions, 'layers'>);
|
|
340
|
+
private layerMap;
|
|
341
|
+
registerLayer(layer: WmsLayer): void;
|
|
342
|
+
private showLayers;
|
|
343
|
+
showLayer(viewer: Viewer, key: string): void;
|
|
344
|
+
hideLayer(viewer: Viewer, key: string): void;
|
|
345
|
+
imgLayer?: ImageryLayer;
|
|
346
|
+
/**更新底图,加了个的防抖 */
|
|
347
|
+
private update;
|
|
348
|
+
private handler?;
|
|
349
|
+
private hookClickEvent;
|
|
350
|
+
private destroyHandler;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export { }
|