@map-colonies/react-components 4.10.1 → 4.10.3
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/@map-colonies/react-components.es.js +234 -234
- package/dist/@map-colonies/react-components.umd.js +5 -5
- 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/Cesium.js +14464 -0
- package/dist/Cesium/ThirdParty/Workers/basis_transcoder.js +31 -0
- package/dist/Cesium/ThirdParty/Workers/draco_decoder_nodejs.js +1 -0
- package/dist/Cesium/ThirdParty/Workers/package.js +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/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/esriNationalGeographic.png +0 -0
- package/dist/Cesium/Widgets/Images/ImageryProviders/esriWorldImagery.png +0 -0
- package/dist/Cesium/Widgets/Images/ImageryProviders/esriWorldStreetMap.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/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 +96 -0
- package/dist/Cesium/Widgets/Timeline/lighter.css +18 -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 +232 -0
- package/dist/Cesium/Widgets/lighterShared.css +46 -0
- package/dist/Cesium/Widgets/shared.css +103 -0
- package/dist/Cesium/Widgets/widgets.css +1311 -0
- package/dist/Cesium/Workers/ArcType-26a3f38d.js +1 -0
- package/dist/Cesium/Workers/AttributeCompression-48e336db.js +1 -0
- package/dist/Cesium/Workers/AxisAlignedBoundingBox-39ab50d0.js +1 -0
- package/dist/Cesium/Workers/BoundingRectangle-2379df5a.js +1 -0
- package/dist/Cesium/Workers/BoxGeometry-61fa3148.js +1 -0
- package/dist/Cesium/Workers/Color-7d827393.js +1 -0
- package/dist/Cesium/Workers/ComponentDatatype-ab629b88.js +1 -0
- package/dist/Cesium/Workers/CoplanarPolygonGeometryLibrary-9cff5a6c.js +1 -0
- package/dist/Cesium/Workers/CorridorGeometryLibrary-28996bf3.js +1 -0
- package/dist/Cesium/Workers/CylinderGeometry-966ff1e5.js +1 -0
- package/dist/Cesium/Workers/CylinderGeometryLibrary-f49f33a8.js +1 -0
- package/dist/Cesium/Workers/EllipseGeometry-fddb3596.js +1 -0
- package/dist/Cesium/Workers/EllipseGeometryLibrary-08d055cc.js +1 -0
- package/dist/Cesium/Workers/EllipseOutlineGeometry-a72d7da8.js +1 -0
- package/dist/Cesium/Workers/EllipsoidGeodesic-2723ab86.js +1 -0
- package/dist/Cesium/Workers/EllipsoidGeometry-fd18adbd.js +1 -0
- package/dist/Cesium/Workers/EllipsoidOutlineGeometry-d9d02643.js +1 -0
- package/dist/Cesium/Workers/EllipsoidRhumbLine-77eff028.js +1 -0
- package/dist/Cesium/Workers/EllipsoidTangentPlane-82f2a887.js +1 -0
- package/dist/Cesium/Workers/EncodedCartesian3-5e2017ab.js +1 -0
- package/dist/Cesium/Workers/FrustumGeometry-9378eccf.js +1 -0
- package/dist/Cesium/Workers/GeometryAttribute-81ff775c.js +1 -0
- package/dist/Cesium/Workers/GeometryAttributes-1e4ddcd2.js +1 -0
- package/dist/Cesium/Workers/GeometryInstance-0318e0cd.js +1 -0
- package/dist/Cesium/Workers/GeometryOffsetAttribute-2579b8d2.js +1 -0
- package/dist/Cesium/Workers/GeometryPipeline-e049e700.js +1 -0
- package/dist/Cesium/Workers/IndexDatatype-d3db4e7d.js +1 -0
- package/dist/Cesium/Workers/IntersectionTests-357c3d7f.js +1 -0
- package/dist/Cesium/Workers/Math-2ce22ee9.js +1 -0
- package/dist/Cesium/Workers/Matrix2-413c4048.js +1 -0
- package/dist/Cesium/Workers/Matrix3-81054f0f.js +1 -0
- package/dist/Cesium/Workers/OrientedBoundingBox-cfd17917.js +1 -0
- package/dist/Cesium/Workers/Plane-6add0ae1.js +1 -0
- package/dist/Cesium/Workers/PolygonGeometryLibrary-003d1689.js +1 -0
- package/dist/Cesium/Workers/PolygonPipeline-61ca1579.js +1 -0
- package/dist/Cesium/Workers/PolylinePipeline-8495667b.js +1 -0
- package/dist/Cesium/Workers/PolylineVolumeGeometryLibrary-2df3f067.js +1 -0
- package/dist/Cesium/Workers/PrimitivePipeline-8033b34b.js +1 -0
- package/dist/Cesium/Workers/RectangleGeometryLibrary-a0a06d23.js +1 -0
- package/dist/Cesium/Workers/RuntimeError-9b4ce3fb.js +1 -0
- package/dist/Cesium/Workers/TerrainEncoding-bd5c9ed5.js +1 -0
- package/dist/Cesium/Workers/Transforms-fce95115.js +14 -0
- package/dist/Cesium/Workers/VertexFormat-fbdec922.js +1 -0
- package/dist/Cesium/Workers/WallGeometryLibrary-1c767084.js +1 -0
- package/dist/Cesium/Workers/WebGLConstants-7f557f93.js +1 -0
- package/dist/Cesium/Workers/WebMercatorProjection-943e2226.js +1 -0
- package/dist/Cesium/Workers/arrayRemoveDuplicates-9b636830.js +1 -0
- package/dist/Cesium/Workers/cesiumWorkerBootstrapper.js +31 -0
- package/dist/Cesium/Workers/combine-0c102d93.js +1 -0
- package/dist/Cesium/Workers/combineGeometry.js +1 -0
- package/dist/Cesium/Workers/createBoxGeometry.js +1 -0
- package/dist/Cesium/Workers/createBoxOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createCircleGeometry.js +1 -0
- package/dist/Cesium/Workers/createCircleOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createCoplanarPolygonGeometry.js +1 -0
- package/dist/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createCorridorGeometry.js +1 -0
- package/dist/Cesium/Workers/createCorridorOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createCylinderGeometry.js +1 -0
- package/dist/Cesium/Workers/createCylinderOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createEllipseGeometry.js +1 -0
- package/dist/Cesium/Workers/createEllipseOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createEllipsoidGeometry.js +1 -0
- package/dist/Cesium/Workers/createEllipsoidOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createFrustumGeometry.js +1 -0
- package/dist/Cesium/Workers/createFrustumOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createGeometry.js +1 -0
- package/dist/Cesium/Workers/createGroundPolylineGeometry.js +1 -0
- package/dist/Cesium/Workers/createPlaneGeometry.js +1 -0
- package/dist/Cesium/Workers/createPlaneOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createPolygonGeometry.js +1 -0
- package/dist/Cesium/Workers/createPolygonOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createPolylineGeometry.js +1 -0
- package/dist/Cesium/Workers/createPolylineVolumeGeometry.js +1 -0
- package/dist/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createRectangleGeometry.js +1 -0
- package/dist/Cesium/Workers/createRectangleOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createSimplePolylineGeometry.js +1 -0
- package/dist/Cesium/Workers/createSphereGeometry.js +1 -0
- package/dist/Cesium/Workers/createSphereOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/createTaskProcessorWorker.js +1 -0
- package/dist/Cesium/Workers/createVectorTileClampedPolylines.js +1 -0
- package/dist/Cesium/Workers/createVectorTileGeometries.js +1 -0
- package/dist/Cesium/Workers/createVectorTilePoints.js +1 -0
- package/dist/Cesium/Workers/createVectorTilePolygons.js +1 -0
- package/dist/Cesium/Workers/createVectorTilePolylines.js +1 -0
- package/dist/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -0
- package/dist/Cesium/Workers/createVerticesFromHeightmap.js +3 -0
- package/dist/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -0
- package/dist/Cesium/Workers/createWallGeometry.js +1 -0
- package/dist/Cesium/Workers/createWallOutlineGeometry.js +1 -0
- package/dist/Cesium/Workers/decodeDraco.js +1 -0
- package/dist/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +1 -0
- package/dist/Cesium/Workers/decodeI3S.js +1 -0
- package/dist/Cesium/Workers/defaultValue-f6d5e6da.js +1 -0
- package/dist/Cesium/Workers/package.js +26 -0
- package/dist/Cesium/Workers/transcodeKTX2.js +1 -0
- package/dist/Cesium/Workers/transferTypedArrayTest.js +26 -0
- package/dist/Cesium/Workers/upsampleQuantizedTerrainMesh.js +1 -0
- package/dist/Cesium/index.cjs +14464 -0
- package/dist/Cesium/index.js +14464 -0
- package/package.json +2 -2
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
var Jn = Object.defineProperty;
|
|
3
3
|
var Qn = (e, n, t) => n in e ? Jn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
4
4
|
var ce = (e, n, t) => (Qn(e, typeof n != "symbol" ? n + "" : n, t), t);
|
|
5
|
-
import { jsx as l, jsxs as $, Fragment as
|
|
5
|
+
import { jsx as l, jsxs as $, Fragment as Ce } from "react/jsx-runtime";
|
|
6
6
|
import * as Ln from "react";
|
|
7
|
-
import Oe, { useState as F, useEffect as N, useMemo as
|
|
7
|
+
import Oe, { useState as F, useEffect as N, useMemo as fe, forwardRef as ei, createContext as Ke, useContext as ze, useRef as Pe, useLayoutEffect as Tn, useCallback as xe } from "react";
|
|
8
8
|
import { isValid as Xe, isBefore as ti, format as Pt, endOfDay as ni, isSameDay as Yt } from "date-fns";
|
|
9
9
|
import { he as Sn, enUS as Mn } from "date-fns/locale";
|
|
10
10
|
import { MuiPickersUtilsProvider as _n, KeyboardDateTimePicker as xt, KeyboardDatePicker as ii } from "@material-ui/pickers";
|
|
@@ -19,8 +19,8 @@ import Je from "moment";
|
|
|
19
19
|
import _i from "@turf/rewind";
|
|
20
20
|
import { Map as Pi, View as xi } from "ol";
|
|
21
21
|
import "ol/ol.css";
|
|
22
|
-
import { format as
|
|
23
|
-
import { defaults as Di, FullScreen as
|
|
22
|
+
import { format as qt } from "ol/coordinate";
|
|
23
|
+
import { defaults as Di, FullScreen as Zt } from "ol/control";
|
|
24
24
|
import wt from "ol/control/MousePosition";
|
|
25
25
|
import { transform as Ii, get as Oi } from "ol/proj";
|
|
26
26
|
import { Tile as Ai, Vector as ki } from "ol/layer";
|
|
@@ -32,8 +32,8 @@ import Hi from "ol/layer/VectorTile";
|
|
|
32
32
|
import { Fill as $i, Stroke as zi, Style as Wi, Circle as Ui } from "ol/style";
|
|
33
33
|
import ji from "ol/tilegrid/WMTS";
|
|
34
34
|
import { getWidth as Ki, getTopLeft as Yi } from "ol/extent";
|
|
35
|
-
import
|
|
36
|
-
import
|
|
35
|
+
import qi from "ol/source/TileWMS";
|
|
36
|
+
import Zi from "ol/source/XYZ";
|
|
37
37
|
import Xi from "ol/source/VectorTile";
|
|
38
38
|
import Xt from "ol-ext/legend/Legend";
|
|
39
39
|
import Ji from "ol-ext/control/Legend";
|
|
@@ -45,7 +45,7 @@ import tr from "@material-ui/core/ScopedCssBaseline";
|
|
|
45
45
|
import { createPortal as nr } from "react-dom";
|
|
46
46
|
import { Viewer as ir, Cesium3DTileset as rr, GeoJsonDataSource as or, ImageryLayer as sr, Entity as ar, EntityDescription as kn, PolygonGraphics as lr, RectangleGraphics as cr, CustomDataSource as dr, PolylineGraphics as ur } from "resium";
|
|
47
47
|
import * as E from "cesium";
|
|
48
|
-
import { Math as
|
|
48
|
+
import { Math as J, SceneMode as $e, Cartesian2 as Ne, Cartographic as Re, defined as Jt, Cartesian3 as _e, PerspectiveFrustum as hr, Rectangle as je, UrlTemplateImageryProvider as Gt, WebMapServiceImageryProvider as Ht, WebMapTileServiceImageryProvider as $t, Event as Qt, SingleTileImageryProvider as mr, PolylineDashMaterialProperty as pr, ConstantProperty as gr, ConstantPositionProperty as fr, BoundingSphere as Rn, Ellipsoid as zt, GeographicTilingScheme as yr, Resource as vr, EllipsoidTerrainProvider as Er, CesiumTerrainProvider as Cr, PolylineGraphics as Nn, JulianDate as Qe, PositionProperty as wr, BillboardGraphics as It, Color as Ge, PolygonHierarchy as Bn, Scene as br, VerticalOrigin as ut, HorizontalOrigin as Lr, LabelStyle as Fn, HeightReference as Ot, ScreenSpaceEventType as At, WebMercatorProjection as Tr, EventHelper as Sr, EllipsoidGeodesic as Mr, Viewer as _r, Matrix4 as Pr, OpenStreetMapImageryProvider as xr, GeoJsonDataSource as en, ScreenSpaceEventHandler as Dr, SceneTransforms as tn, PolygonGraphics as Ir, viewerCesiumInspectorMixin as Or, sampleTerrainMostDetailed as Ar } from "cesium";
|
|
49
49
|
import { Entity as hc, PolygonGraphics as mc, GeoJsonDataSource as pc, Math as gc, SceneTransforms as fc, sampleTerrainMostDetailed as yc } from "cesium";
|
|
50
50
|
import { get as ie, isEmpty as kt, isNumber as ht, isArray as kr, cloneDeep as Rr, find as nn } from "lodash";
|
|
51
51
|
import Nr from "@turf/boolean-point-in-polygon";
|
|
@@ -67,7 +67,7 @@ import $r, { setCaretPosition as zr } from "get-input-selection";
|
|
|
67
67
|
import { ChonkyActions as ne, FileHelper as Hn, setChonkyDefaults as Wr, FullFileBrowser as Ur } from "chonky";
|
|
68
68
|
import { ChonkyIconFA as jr } from "chonky-icon-fontawesome";
|
|
69
69
|
import Kr from "filesize";
|
|
70
|
-
import Yr, { components as
|
|
70
|
+
import Yr, { components as qr } from "react-select";
|
|
71
71
|
var Se = /* @__PURE__ */ ((e) => (e.BOX = "BOX", e.POLYGON = "POLYGON", e.UNKNOWN = "UNKNOWN", e))(Se || {}), De = /* @__PURE__ */ ((e) => (e.HE = "he", e.EN = "en", e.RU = "ru", e))(De || {}), Rt = /* @__PURE__ */ ((e) => (e.TOP_RIGHT = "TOP_RIGHT", e.BOTTOM_LEFT = "BOTTOM_LEFT", e))(Rt || {});
|
|
72
72
|
const he = {
|
|
73
73
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -101,8 +101,8 @@ const he = {
|
|
|
101
101
|
return /* @__PURE__ */ l(oi, { ...t, children: n });
|
|
102
102
|
}, Wt = (e) => {
|
|
103
103
|
const n = e.type === "dark";
|
|
104
|
-
return Oe.useMemo(() =>
|
|
105
|
-
},
|
|
104
|
+
return Oe.useMemo(() => Zr(e, n), [n, e]);
|
|
105
|
+
}, Zr = (e, n = !1) => ri({
|
|
106
106
|
palette: {
|
|
107
107
|
type: n ? "dark" : "light",
|
|
108
108
|
primary: {
|
|
@@ -139,7 +139,7 @@ const Xr = 2, Jr = 0.5, Qr = it(
|
|
|
139
139
|
})
|
|
140
140
|
), eo = (e) => {
|
|
141
141
|
var Y, k, X, G;
|
|
142
|
-
const n = Qr(), t = Vt(), i = Wt(t), [o, r] = F(null), [c, d] = F(null), [h, p] = F(he.DATE_RANGE_PICKER.dateFormat), C = e.controlsLayout ?? he.DATE_RANGE_PICKER.controlsLayout, m = e.disableFuture ?? he.DATE_RANGE_PICKER.disableFuture, b = ((Y = e.local) == null ? void 0 : Y.startPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.startPlaceHolderText, P = ((k = e.local) == null ? void 0 : k.endPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.endPlaceHolderText, S = ((X = e.local) == null ? void 0 : X.setText) ?? he.DATE_RANGE_PICKER.local.setText,
|
|
142
|
+
const n = Qr(), t = Vt(), i = Wt(t), [o, r] = F(null), [c, d] = F(null), [h, p] = F(he.DATE_RANGE_PICKER.dateFormat), C = e.controlsLayout ?? he.DATE_RANGE_PICKER.controlsLayout, m = e.disableFuture ?? he.DATE_RANGE_PICKER.disableFuture, b = ((Y = e.local) == null ? void 0 : Y.startPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.startPlaceHolderText, P = ((k = e.local) == null ? void 0 : k.endPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.endPlaceHolderText, S = ((X = e.local) == null ? void 0 : X.setText) ?? he.DATE_RANGE_PICKER.local.setText, Z = (((G = e.local) == null ? void 0 : G.calendarLocale) ?? he.DATE_RANGE_PICKER.local.calendarLocale) === De.HE ? Sn : Mn;
|
|
143
143
|
N(() => {
|
|
144
144
|
r(e.from ?? null);
|
|
145
145
|
}, [e.from]), N(() => {
|
|
@@ -149,7 +149,7 @@ const Xr = 2, Jr = 0.5, Qr = it(
|
|
|
149
149
|
}, [e.dateFormat]);
|
|
150
150
|
const z = Boolean(
|
|
151
151
|
Xe(o) && !c || Xe(c) && !o || o && c && Xe(o) && Xe(c) && ti(o, c)
|
|
152
|
-
),
|
|
152
|
+
), q = () => {
|
|
153
153
|
e.onChange({
|
|
154
154
|
from: o && Xe(o) ? o : void 0,
|
|
155
155
|
to: c && Xe(c) ? c : void 0
|
|
@@ -162,7 +162,7 @@ const Xr = 2, Jr = 0.5, Qr = it(
|
|
|
162
162
|
display: "flex",
|
|
163
163
|
flexDirection: C,
|
|
164
164
|
width: C === "column" ? e.contentWidth : "unset",
|
|
165
|
-
children: /* @__PURE__ */ $(_n, { utils: Pn, locale:
|
|
165
|
+
children: /* @__PURE__ */ $(_n, { utils: Pn, locale: Z, children: [
|
|
166
166
|
/* @__PURE__ */ l(
|
|
167
167
|
xt,
|
|
168
168
|
{
|
|
@@ -195,7 +195,7 @@ const Xr = 2, Jr = 0.5, Qr = it(
|
|
|
195
195
|
{
|
|
196
196
|
className: `${n.setButton} ${n.margin}`,
|
|
197
197
|
raised: !0,
|
|
198
|
-
onClick:
|
|
198
|
+
onClick: q,
|
|
199
199
|
disabled: !z,
|
|
200
200
|
children: S
|
|
201
201
|
}
|
|
@@ -223,9 +223,9 @@ const nl = (e) => {
|
|
|
223
223
|
}, [e.to]), N(() => {
|
|
224
224
|
c(e.dateFormat ?? he.DATE_RANGE_PICKER.dateFormat);
|
|
225
225
|
}, [e.dateFormat]);
|
|
226
|
-
const S = ((k = e.local) == null ? void 0 : k.startPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.startPlaceHolderText, H = ((X = e.local) == null ? void 0 : X.endPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.endPlaceHolderText,
|
|
227
|
-
return /* @__PURE__ */ $(
|
|
228
|
-
|
|
226
|
+
const S = ((k = e.local) == null ? void 0 : k.startPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.startPlaceHolderText, H = ((X = e.local) == null ? void 0 : X.endPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.endPlaceHolderText, Z = e.renderAsButton === void 0 ? he.DATE_RANGE_PICKER.renderAsButton : e.renderAsButton, z = e.offset === void 0 ? he.DATE_RANGE_PICKER.offset : e.offset, q = e.disableFuture === void 0 ? he.DATE_RANGE_PICKER.disableFuture : e.disableFuture, Y = fe(() => `${n ? Pt(n, r) : S} - ${i ? Pt(i, r) : H}`, [n, i, r, S, H]);
|
|
227
|
+
return /* @__PURE__ */ $(Ce, { children: [
|
|
228
|
+
Z ? /* @__PURE__ */ l(nt, { style: { width: e.width }, raised: !0, onClick: p, className: "drpOpener", children: Y }) : /* @__PURE__ */ l(
|
|
229
229
|
ct,
|
|
230
230
|
{
|
|
231
231
|
className: "drpOpener",
|
|
@@ -246,7 +246,7 @@ const nl = (e) => {
|
|
|
246
246
|
controlsLayout: P,
|
|
247
247
|
contentWidth: ((d == null ? void 0 : d.clientWidth) ?? 0) - z,
|
|
248
248
|
dateFormat: r,
|
|
249
|
-
disableFuture:
|
|
249
|
+
disableFuture: q,
|
|
250
250
|
minDate: e.minDate,
|
|
251
251
|
maxDate: e.maxDate,
|
|
252
252
|
local: e.local,
|
|
@@ -326,7 +326,7 @@ const nl = (e) => {
|
|
|
326
326
|
), io = ({ setStartDate: e = () => {
|
|
327
327
|
}, setEndDate: n = () => {
|
|
328
328
|
}, shortcuts: t, dateRange: i, onShortcut: o }) => {
|
|
329
|
-
const [r, c] = F(), d =
|
|
329
|
+
const [r, c] = F(), d = fe(
|
|
330
330
|
() => t.map((h) => h instanceof Function ? h() : h),
|
|
331
331
|
[t]
|
|
332
332
|
);
|
|
@@ -374,14 +374,14 @@ const nl = (e) => {
|
|
|
374
374
|
// withTimeRange,
|
|
375
375
|
withShortcuts: p,
|
|
376
376
|
locale: C = "en"
|
|
377
|
-
} = e, [m, b] = F(null), [P, S] = F(null), [H,
|
|
377
|
+
} = e, [m, b] = F(null), [P, S] = F(null), [H, Z] = F(!1), z = r ? { startDate: m, endDate: P } : m;
|
|
378
378
|
N(() => {
|
|
379
379
|
C === "he" && Si("he", Mi);
|
|
380
380
|
}, [C]), N(() => {
|
|
381
381
|
var k, X;
|
|
382
382
|
((k = e.startDate) == null ? void 0 : k.toString()) !== (m == null ? void 0 : m.toString()) && b(e.startDate), ((X = e.endDate) == null ? void 0 : X.toString()) !== (P == null ? void 0 : P.toString()) && S(e.endDate);
|
|
383
383
|
}, [e.startDate, e.endDate, m, P]);
|
|
384
|
-
const
|
|
384
|
+
const q = fe(() => {
|
|
385
385
|
let k = "pickerContainer" + (C === "he" ? " pickerContainer-rtl" : "");
|
|
386
386
|
return p && r && (k += " pickerContainer-withShortcuts"), k;
|
|
387
387
|
}, [C, p, r]), Y = h ? {
|
|
@@ -389,12 +389,12 @@ const nl = (e) => {
|
|
|
389
389
|
showYearDropdown: !0,
|
|
390
390
|
dropdownMode: "select"
|
|
391
391
|
} : {};
|
|
392
|
-
return /* @__PURE__ */ l("div", { className:
|
|
392
|
+
return /* @__PURE__ */ l("div", { className: q, style: { direction: C === "he" ? "rtl" : "ltr" }, children: /* @__PURE__ */ l(
|
|
393
393
|
Ti,
|
|
394
394
|
{
|
|
395
395
|
...e,
|
|
396
396
|
ref: n,
|
|
397
|
-
onClickOutside: () =>
|
|
397
|
+
onClickOutside: () => Z(!1),
|
|
398
398
|
open: H,
|
|
399
399
|
startDate: Lt(z) ? m : void 0,
|
|
400
400
|
selected: m,
|
|
@@ -412,12 +412,12 @@ const nl = (e) => {
|
|
|
412
412
|
b(k), c == null || c(k, X);
|
|
413
413
|
},
|
|
414
414
|
customInput: /* @__PURE__ */ l(no, { name: d, onInputClick: () => {
|
|
415
|
-
|
|
415
|
+
Z(!0);
|
|
416
416
|
} }),
|
|
417
417
|
showTimeInput: !!(p && r),
|
|
418
418
|
timeInputLabel: "",
|
|
419
419
|
customTimeInput: p && Lt(z) && /* @__PURE__ */ l(io, { onShortcut: (k) => {
|
|
420
|
-
c == null || c(k),
|
|
420
|
+
c == null || c(k), Z(!1);
|
|
421
421
|
}, shortcuts: p, setEndDate: S, setStartDate: b, dateRange: z }),
|
|
422
422
|
showMonthYearDropdown: void 0,
|
|
423
423
|
...Y
|
|
@@ -527,9 +527,9 @@ var Ae = /* @__PURE__ */ ((e) => (e.WGS84 = "EPSG:4326", e.WEB_MERCATOR = "EPSG:
|
|
|
527
527
|
const Nt = 5, Bt = 2, $n = Ke(null), ao = $n.Provider, an = 35, ln = 32, lo = 10, co = (e) => e !== void 0 && e !== Ae.WGS84 ? Ii([an, ln], Ae.WGS84, e) : [an, ln], uo = (e) => {
|
|
528
528
|
switch (e) {
|
|
529
529
|
case Ae.WEB_MERCATOR:
|
|
530
|
-
return (n) =>
|
|
530
|
+
return (n) => qt(n, "Mercator: {y}m, {x}m", Bt);
|
|
531
531
|
case Ae.WGS84:
|
|
532
|
-
return (n) =>
|
|
532
|
+
return (n) => qt(n, "WGS84: {y}°N {x}°E", Nt);
|
|
533
533
|
default:
|
|
534
534
|
return (n) => "";
|
|
535
535
|
}
|
|
@@ -558,7 +558,7 @@ const Nt = 5, Bt = 2, $n = Ke(null), ao = $n.Provider, an = 35, ln = 32, lo = 10
|
|
|
558
558
|
});
|
|
559
559
|
};
|
|
560
560
|
return N(() => {
|
|
561
|
-
r.setTarget(n.current), t !== void 0 && t ? r.addControl(new
|
|
561
|
+
r.setTarget(n.current), t !== void 0 && t ? r.addControl(new Zt()) : c(Zt, r);
|
|
562
562
|
}, [r, t]), N(() => {
|
|
563
563
|
i !== void 0 && i ? (c(wt, r), r.addControl(
|
|
564
564
|
new wt({
|
|
@@ -774,7 +774,7 @@ const To = (e) => {
|
|
|
774
774
|
}, ul = (e) => {
|
|
775
775
|
const n = ft(), { options: t } = e;
|
|
776
776
|
return N(() => {
|
|
777
|
-
n.setSource(new
|
|
777
|
+
n.setSource(new qi(t));
|
|
778
778
|
}, [n, t]), null;
|
|
779
779
|
}, hl = (e) => {
|
|
780
780
|
const { attributions: n, url: t } = e;
|
|
@@ -785,7 +785,7 @@ const To = (e) => {
|
|
|
785
785
|
}, ml = (e) => {
|
|
786
786
|
const n = ft(), { options: t } = e;
|
|
787
787
|
return N(() => {
|
|
788
|
-
n.setSource(new
|
|
788
|
+
n.setSource(new Zi(t));
|
|
789
789
|
}, [n, t]), null;
|
|
790
790
|
}, Ao = Ke(null), pl = () => {
|
|
791
791
|
const e = ze(Ao);
|
|
@@ -825,7 +825,7 @@ const To = (e) => {
|
|
|
825
825
|
}), o.addItem(c), () => {
|
|
826
826
|
i.removeControl(r);
|
|
827
827
|
};
|
|
828
|
-
}, [i, e, n, t]), /* @__PURE__ */ l(
|
|
828
|
+
}, [i, e, n, t]), /* @__PURE__ */ l(Ce, {});
|
|
829
829
|
};
|
|
830
830
|
function ko(e) {
|
|
831
831
|
const { headCells: n, order: t, orderBy: i, onRequestSort: o, isCollapseable: r } = e, c = (d) => (h) => {
|
|
@@ -866,7 +866,7 @@ const Ro = An(
|
|
|
866
866
|
);
|
|
867
867
|
function Bo(e) {
|
|
868
868
|
const { cellsMetadata: n, isRowSelected: t, item: i, onRowSelected: o, rowIndex: r, isCollapseable: c, collapsedElement: d } = e, [h, p] = F(!1), C = n.length;
|
|
869
|
-
return /* @__PURE__ */ $(
|
|
869
|
+
return /* @__PURE__ */ $(Ce, { children: [
|
|
870
870
|
/* @__PURE__ */ $(lt, { hover: !0, selected: t, onClick: () => {
|
|
871
871
|
o == null || o(r);
|
|
872
872
|
}, children: [
|
|
@@ -907,7 +907,7 @@ function vl(e) {
|
|
|
907
907
|
rowsPerPage: P,
|
|
908
908
|
count: S,
|
|
909
909
|
handleChangePage: H,
|
|
910
|
-
handleChangeRowsPerPage:
|
|
910
|
+
handleChangeRowsPerPage: Z
|
|
911
911
|
} = e;
|
|
912
912
|
return /* @__PURE__ */ $(di, { component: Dt, children: [
|
|
913
913
|
/* @__PURE__ */ $(ui, { size: m ? "small" : "medium", children: [
|
|
@@ -915,7 +915,7 @@ function vl(e) {
|
|
|
915
915
|
ko,
|
|
916
916
|
{
|
|
917
917
|
headCells: r,
|
|
918
|
-
onRequestSort: (
|
|
918
|
+
onRequestSort: (q, Y) => {
|
|
919
919
|
const k = n === Y && i === "asc";
|
|
920
920
|
o(k ? "desc" : "asc"), t(Y), d(Y, k ? "desc" : "asc");
|
|
921
921
|
},
|
|
@@ -925,10 +925,10 @@ function vl(e) {
|
|
|
925
925
|
}
|
|
926
926
|
),
|
|
927
927
|
/* @__PURE__ */ $(hi, { children: [
|
|
928
|
-
c.map((
|
|
928
|
+
c.map((q, Y) => /* @__PURE__ */ l(
|
|
929
929
|
Bo,
|
|
930
930
|
{
|
|
931
|
-
item:
|
|
931
|
+
item: q,
|
|
932
932
|
rowIndex: Y,
|
|
933
933
|
isCollapseable: p,
|
|
934
934
|
cellsMetadata: r,
|
|
@@ -958,7 +958,7 @@ function vl(e) {
|
|
|
958
958
|
count: S,
|
|
959
959
|
page: b,
|
|
960
960
|
onPageChange: H,
|
|
961
|
-
onRowsPerPageChange:
|
|
961
|
+
onRowsPerPageChange: Z
|
|
962
962
|
}
|
|
963
963
|
)
|
|
964
964
|
] });
|
|
@@ -972,7 +972,7 @@ const El = (e) => {
|
|
|
972
972
|
}, hn = (e) => e * Math.PI / 180, ot = (e) => e * (180 / Math.PI), Fo = (e) => 0.05 * (5916575505e-1 / Math.pow(2, e - 1) / 2) * (Math.cos(hn(85.362 / 2)) / Math.sin(hn(85.362 / 2)));
|
|
973
973
|
const Vo = ({ children: e, locale: n }) => {
|
|
974
974
|
var h;
|
|
975
|
-
const [t, i] = F(!1), [o, r] = F([]), c =
|
|
975
|
+
const [t, i] = F(!1), [o, r] = F([]), c = fe(() => ie(n, "DEBUG_PANEL_TITLE") ?? "Debugger Tool", [n]), d = we();
|
|
976
976
|
return N(() => {
|
|
977
977
|
if (!d.layersManager)
|
|
978
978
|
return;
|
|
@@ -981,16 +981,16 @@ const Vo = ({ children: e, locale: n }) => {
|
|
|
981
981
|
C.forEach((S) => {
|
|
982
982
|
if (m !== void 0 && m !== S.meta.id)
|
|
983
983
|
return;
|
|
984
|
-
const { options: H, meta:
|
|
984
|
+
const { options: H, meta: Z } = S, { zoomLevel: z } = H, { id: q, items: Y, total: k, cache: X, currentZoomLevel: G, featureStructure: K } = Z;
|
|
985
985
|
r((se) => {
|
|
986
|
-
const s = se.findIndex((a) => a.id ===
|
|
986
|
+
const s = se.findIndex((a) => a.id === q);
|
|
987
987
|
if (s >= 0) {
|
|
988
|
-
if (JSON.stringify(se[s]) !== JSON.stringify({ id:
|
|
988
|
+
if (JSON.stringify(se[s]) !== JSON.stringify({ id: q, items: Y, total: k, cache: X, currentZoomLevel: G, featureStructure: K, zoomLevel: z })) {
|
|
989
989
|
const a = [...se];
|
|
990
|
-
return a[s] = { id:
|
|
990
|
+
return a[s] = { id: q, items: Y, total: k, cache: X, currentZoomLevel: G, featureStructure: K, zoomLevel: z }, a;
|
|
991
991
|
}
|
|
992
992
|
} else
|
|
993
|
-
return [...se, { id:
|
|
993
|
+
return [...se, { id: q, items: Y, total: k, cache: X, currentZoomLevel: G, featureStructure: K, zoomLevel: z }];
|
|
994
994
|
return se;
|
|
995
995
|
});
|
|
996
996
|
});
|
|
@@ -1001,7 +1001,7 @@ const Vo = ({ children: e, locale: n }) => {
|
|
|
1001
1001
|
var C;
|
|
1002
1002
|
(C = d.layersManager) == null || C.removeDataLayerUpdatedListener(p);
|
|
1003
1003
|
};
|
|
1004
|
-
}, [(h = d.layersManager) == null ? void 0 : h.dataLayerList]), /* @__PURE__ */ $(
|
|
1004
|
+
}, [(h = d.layersManager) == null ? void 0 : h.dataLayerList]), /* @__PURE__ */ $(Ce, { children: [
|
|
1005
1005
|
/* @__PURE__ */ l(
|
|
1006
1006
|
He,
|
|
1007
1007
|
{
|
|
@@ -1027,7 +1027,7 @@ const Vo = ({ children: e, locale: n }) => {
|
|
|
1027
1027
|
] });
|
|
1028
1028
|
};
|
|
1029
1029
|
const Go = ({ featureTypes: e, locale: n }) => {
|
|
1030
|
-
const t =
|
|
1030
|
+
const t = fe(() => ie(n, "WFS_TITLE") ?? "Data Layers", [n]), i = fe(() => ie(n, "WFS_CACHE") ?? "Cache", [n]), o = fe(() => ie(n, "WFS_EXTENT") ?? "Extent", [n]), r = fe(() => ie(n, "NO_DATA_LAYERS") ?? "No layers found", [n]), c = fe(() => /* @__PURE__ */ l(me, { className: "title", children: t }), [t]), d = fe(() => /* @__PURE__ */ l(Ce, { children: e.length > 0 ? e.map((h, p) => /* @__PURE__ */ $(me, { className: "featureType", children: [
|
|
1031
1031
|
/* @__PURE__ */ l(dt, { content: `${h.featureStructure.aliasLayerName} ${h.id} (${String(h.zoomLevel)})`, children: /* @__PURE__ */ $(me, { className: `name ${h.currentZoomLevel < h.zoomLevel ? "warning blinking" : h.total === -1 ? "error blinking" : ""}`, children: [
|
|
1032
1032
|
h.featureStructure.aliasLayerName,
|
|
1033
1033
|
" (",
|
|
@@ -1069,15 +1069,15 @@ const Go = ({ featureTypes: e, locale: n }) => {
|
|
|
1069
1069
|
properties: {},
|
|
1070
1070
|
geometry: {
|
|
1071
1071
|
type: "Point",
|
|
1072
|
-
coordinates: [
|
|
1072
|
+
coordinates: [J.toDegrees(i.longitude), J.toDegrees(i.latitude)]
|
|
1073
1073
|
}
|
|
1074
1074
|
};
|
|
1075
1075
|
}, Yn = (e, n, t) => {
|
|
1076
1076
|
try {
|
|
1077
1077
|
const i = Kn(e, n, t);
|
|
1078
1078
|
return {
|
|
1079
|
-
longitude:
|
|
1080
|
-
latitude:
|
|
1079
|
+
longitude: J.toDegrees(i.longitude),
|
|
1080
|
+
latitude: J.toDegrees(i.latitude)
|
|
1081
1081
|
};
|
|
1082
1082
|
} catch {
|
|
1083
1083
|
return;
|
|
@@ -1113,13 +1113,13 @@ const Go = ({ featureTypes: e, locale: n }) => {
|
|
|
1113
1113
|
const { west: t, east: i, north: o, south: r } = e, { west: c, east: d, north: h, south: p } = n;
|
|
1114
1114
|
return t >= c && i <= d && o <= h && r >= p;
|
|
1115
1115
|
}, zo = (e, n) => Fr(e, gt(n)), Wo = (e) => {
|
|
1116
|
-
const n = (
|
|
1116
|
+
const n = (J.toDegrees(e.west) + J.toDegrees(e.east)) / 2, t = (J.toDegrees(e.south) + J.toDegrees(e.north)) / 2;
|
|
1117
1117
|
return Br([n, t]);
|
|
1118
1118
|
}, Uo = (e) => [
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1119
|
+
J.toDegrees(e.west),
|
|
1120
|
+
J.toDegrees(e.south),
|
|
1121
|
+
J.toDegrees(e.east),
|
|
1122
|
+
J.toDegrees(e.north)
|
|
1123
1123
|
], jo = (e, n = 100) => {
|
|
1124
1124
|
const t = e.scene, i = e.camera, o = t.mode, r = i.computeViewRectangle(t.globe.ellipsoid);
|
|
1125
1125
|
if (!Jt(r) || !r) {
|
|
@@ -1134,7 +1134,7 @@ const Go = ({ featureTypes: e, locale: n }) => {
|
|
|
1134
1134
|
return;
|
|
1135
1135
|
}
|
|
1136
1136
|
const d = c.latitude, h = c.longitude;
|
|
1137
|
-
if (d < -
|
|
1137
|
+
if (d < -J.PI_OVER_TWO || d > J.PI_OVER_TWO || h < -J.PI || h > J.PI) {
|
|
1138
1138
|
console.error("Invalid latitude or longitude values.");
|
|
1139
1139
|
return;
|
|
1140
1140
|
}
|
|
@@ -1145,19 +1145,19 @@ const Go = ({ featureTypes: e, locale: n }) => {
|
|
|
1145
1145
|
const S = i.frustum instanceof hr ? i.frustum.fov : Math.PI / 3;
|
|
1146
1146
|
let H = 1;
|
|
1147
1147
|
P < 5e5 ? H = 0.05 : P < 2e6 && (H = 0.1), m *= H * (S / Math.PI), b *= H * (S / Math.PI);
|
|
1148
|
-
const
|
|
1149
|
-
if (
|
|
1148
|
+
const Z = i.pitch;
|
|
1149
|
+
if (Z === void 0)
|
|
1150
1150
|
return;
|
|
1151
|
-
const z = Math.PI / 4,
|
|
1152
|
-
m *=
|
|
1151
|
+
const z = Math.PI / 4, q = Math.max(0, 1 - Math.abs(Z) / z);
|
|
1152
|
+
m *= q, b *= q;
|
|
1153
1153
|
const Y = 5e-4;
|
|
1154
1154
|
m = Math.max(m, Y), b = Math.max(b, Y);
|
|
1155
|
-
const k = c.latitude - m, X = c.latitude + m, G = c.longitude - b, K = c.longitude + b, se =
|
|
1155
|
+
const k = c.latitude - m, X = c.latitude + m, G = c.longitude - b, K = c.longitude + b, se = J.clamp(k, r.south, r.north), s = J.clamp(X, r.south, r.north), a = J.clamp(G, r.west, r.east), y = J.clamp(K, r.west, r.east), u = Math.min(1, Z / J.PI_OVER_TWO), v = r.north - (r.north - r.south) * u, g = Math.min(s, v);
|
|
1156
1156
|
return new je(
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1157
|
+
J.negativePiToPi(a),
|
|
1158
|
+
J.clamp(se, -J.PI_OVER_TWO, J.PI_OVER_TWO),
|
|
1159
|
+
J.negativePiToPi(y),
|
|
1160
|
+
J.clamp(g, -J.PI_OVER_TWO, J.PI_OVER_TWO)
|
|
1161
1161
|
);
|
|
1162
1162
|
}, yt = 3, mt = "hasTransparency";
|
|
1163
1163
|
function Ut(e, n, t, i, o) {
|
|
@@ -1181,7 +1181,7 @@ function Ut(e, n, t, i, o) {
|
|
|
1181
1181
|
});
|
|
1182
1182
|
}, 0), e(n, t, i, o);
|
|
1183
1183
|
}
|
|
1184
|
-
class
|
|
1184
|
+
class qn extends Gt {
|
|
1185
1185
|
constructor(t, i) {
|
|
1186
1186
|
var o;
|
|
1187
1187
|
super(t);
|
|
@@ -1195,7 +1195,7 @@ class Zn extends Gt {
|
|
|
1195
1195
|
return Ut.call(this, super.requestImage.bind(this), t, i, o, r);
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
-
class
|
|
1198
|
+
class Zn extends Ht {
|
|
1199
1199
|
constructor(t, i) {
|
|
1200
1200
|
var o;
|
|
1201
1201
|
super(t);
|
|
@@ -1224,7 +1224,7 @@ class Xn extends $t {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
1226
|
const Ko = 1, Yo = -1, pn = "TRANSPARENT_BASE_LAYER";
|
|
1227
|
-
class
|
|
1227
|
+
class qo {
|
|
1228
1228
|
constructor(n, t, i, o, r) {
|
|
1229
1229
|
ce(this, "mapViewer");
|
|
1230
1230
|
ce(this, "legendsList");
|
|
@@ -1278,12 +1278,12 @@ class Zo {
|
|
|
1278
1278
|
let o;
|
|
1279
1279
|
switch (n.type) {
|
|
1280
1280
|
case "XYZ_LAYER": {
|
|
1281
|
-
const r = n.options, c = this.shouldOptimizedTileRequests ? new
|
|
1281
|
+
const r = n.options, c = this.shouldOptimizedTileRequests ? new qn(r, this.mapViewer) : new Gt(r);
|
|
1282
1282
|
o = this.mapViewer.imageryLayers.addImageryProvider(c, t);
|
|
1283
1283
|
break;
|
|
1284
1284
|
}
|
|
1285
1285
|
case "WMS_LAYER": {
|
|
1286
|
-
const r = n.options, c = this.shouldOptimizedTileRequests ? new
|
|
1286
|
+
const r = n.options, c = this.shouldOptimizedTileRequests ? new Zn(r, this.mapViewer) : new Ht(r);
|
|
1287
1287
|
o = this.mapViewer.imageryLayers.addImageryProvider(c, t);
|
|
1288
1288
|
break;
|
|
1289
1289
|
}
|
|
@@ -1482,10 +1482,10 @@ class Zo {
|
|
|
1482
1482
|
}
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
|
-
const
|
|
1485
|
+
const Zo = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", enableBackground: "new 0 0 24 24", height: "24", width: "24", viewBox: "0 0 612 612", children: /* @__PURE__ */ $("g", { xmlns: "http://www.w3.org/2000/svg", children: [
|
|
1486
1486
|
/* @__PURE__ */ l("path", { d: "M322.4,173.9l-129,16.2l-4.6,21.4l25.3,4.7c16.5,3.9,19.8,9.9,16.2,26.4l-41.5,195.3c-10.9,50.5,5.9,74.3,45.5,74.3 c30.7,0,66.3-14.2,82.5-33.6l4.9-23.4c-11.3,9.9-27.7,13.9-38.6,13.9c-15.5,0-21.1-10.9-17.1-30L322.4,173.9z" }),
|
|
1487
1487
|
/* @__PURE__ */ l("circle", { cx: "270.1", cy: "56.3", r: "56.3" })
|
|
1488
|
-
] }) }), Xo = ({ onClick: e }) => /* @__PURE__ */ l(me, { onClick: e, className: "mapLegendToggleContainer", children: /* @__PURE__ */ l(He, { icon:
|
|
1488
|
+
] }) }), Xo = ({ onClick: e }) => /* @__PURE__ */ l(me, { onClick: e, className: "mapLegendToggleContainer", children: /* @__PURE__ */ l(He, { icon: Zo, className: "mapLegendIcon" }) }), Jo = ({ legend: { legendImg: e, legendDoc: n, layer: t }, docText: i, imgText: o }) => {
|
|
1489
1489
|
const r = xe(() => {
|
|
1490
1490
|
window.open(e, "_blank");
|
|
1491
1491
|
}, [e]);
|
|
@@ -1561,7 +1561,7 @@ class Fl extends Bn {
|
|
|
1561
1561
|
}
|
|
1562
1562
|
class Vl extends br {
|
|
1563
1563
|
}
|
|
1564
|
-
const Gl = ut, Hl = Lr,
|
|
1564
|
+
const Gl = ut, Hl = Lr, be = $e, $l = Fn, zl = Ot;
|
|
1565
1565
|
const ns = it(
|
|
1566
1566
|
(e) => pt({
|
|
1567
1567
|
mapContainer: {
|
|
@@ -1571,7 +1571,7 @@ const ns = it(
|
|
|
1571
1571
|
}
|
|
1572
1572
|
})
|
|
1573
1573
|
), is = (e) => {
|
|
1574
|
-
const n =
|
|
1574
|
+
const n = we(), { baseMaps: t } = e, [i, o] = F(" "), [r, c] = F(), d = ns();
|
|
1575
1575
|
N(() => {
|
|
1576
1576
|
const p = t == null ? void 0 : t.maps.find((C) => C.isCurrent);
|
|
1577
1577
|
p && (c(p), o(p.title !== void 0 ? p.title : " "));
|
|
@@ -1586,7 +1586,7 @@ const ns = it(
|
|
|
1586
1586
|
}));
|
|
1587
1587
|
}
|
|
1588
1588
|
};
|
|
1589
|
-
return /* @__PURE__ */ $(
|
|
1589
|
+
return /* @__PURE__ */ $(Ce, { children: [
|
|
1590
1590
|
/* @__PURE__ */ l("label", { className: "mapLabel", children: i }),
|
|
1591
1591
|
/* @__PURE__ */ l("ul", { className: "mapSelector", children: t == null ? void 0 : t.maps.map((p) => /* @__PURE__ */ l("li", { className: `mapContainer ${d.mapContainer} ${p === r ? "mapContainerSelected" : ""}`, children: /* @__PURE__ */ l(
|
|
1592
1592
|
"img",
|
|
@@ -1608,34 +1608,34 @@ const ns = it(
|
|
|
1608
1608
|
] });
|
|
1609
1609
|
};
|
|
1610
1610
|
const rs = -1, os = (e) => {
|
|
1611
|
-
const n =
|
|
1611
|
+
const n = we(), [t, i] = F(be.SCENE2D), { sceneModes: o } = e, r = (c) => o.findIndex((d) => d === c) > rs;
|
|
1612
1612
|
return N(() => {
|
|
1613
1613
|
i(n.scene.mode);
|
|
1614
|
-
}, []), /* @__PURE__ */ $(
|
|
1615
|
-
r(
|
|
1614
|
+
}, []), /* @__PURE__ */ $(Ce, { children: [
|
|
1615
|
+
r(be.SCENE3D) && /* @__PURE__ */ l(
|
|
1616
1616
|
He,
|
|
1617
1617
|
{
|
|
1618
|
-
icon: /* @__PURE__ */ l("div", { className: `mapViewIcon ${t ===
|
|
1618
|
+
icon: /* @__PURE__ */ l("div", { className: `mapViewIcon ${t === be.SCENE3D ? "mapViewCurrent" : ""}`, children: /* @__PURE__ */ l("svg", { width: "100%", height: "100%", viewBox: "0 0 64 64", children: /* @__PURE__ */ l("path", { d: "m 32.401392,4.9330437 c -7.087603,0 -14.096095,2.884602 -19.10793,7.8946843 -5.0118352,5.010083 -7.9296167,11.987468 -7.9296167,19.072999 0,7.085531 2.9177815,14.097848 7.9296167,19.107931 4.837653,4.835961 11.541408,7.631372 18.374354,7.82482 0.05712,0.01231 0.454119,0.139729 0.454119,0.139729 l 0.03493,-0.104797 c 0.08246,7.84e-4 0.162033,0.03493 0.244525,0.03493 0.08304,0 0.161515,-0.03414 0.244526,-0.03493 l 0.03493,0.104797 c 0,0 0.309474,-0.129487 0.349323,-0.139729 6.867765,-0.168094 13.582903,-2.965206 18.444218,-7.82482 2.558195,-2.5573 4.551081,-5.638134 5.903547,-8.977584 1.297191,-3.202966 2.02607,-6.661489 2.02607,-10.130347 0,-6.237309 -2.366261,-12.31219 -6.322734,-17.116794 -0.0034,-0.02316 0.0049,-0.04488 0,-0.06986 -0.01733,-0.08745 -0.104529,-0.278855 -0.104797,-0.279458 -5.31e-4,-0.0012 -0.522988,-0.628147 -0.523984,-0.62878 -3.47e-4,-2.2e-4 -0.133444,-0.03532 -0.244525,-0.06987 C 51.944299,13.447603 51.751076,13.104317 51.474391,12.827728 46.462556,7.8176457 39.488996,4.9330437 32.401392,4.9330437 z m -2.130866,3.5281554 0.104797,9.6762289 c -4.111695,-0.08361 -7.109829,-0.423664 -9.257041,-0.943171 1.198093,-2.269271 2.524531,-4.124404 3.91241,-5.414496 2.167498,-2.0147811 3.950145,-2.8540169 5.239834,-3.3185619 z m 2.794579,0 c 1.280302,0.4754953 3.022186,1.3285948 5.065173,3.2486979 1.424667,1.338973 2.788862,3.303645 3.982275,5.728886 -2.29082,0.403367 -5.381258,0.621049 -8.942651,0.698645 L 33.065105,8.4611991 z m 5.728886,0.2445256 c 4.004072,1.1230822 7.793098,3.1481363 10.724195,6.0782083 0.03468,0.03466 0.07033,0.06991 0.104797,0.104797 -0.45375,0.313891 -0.923054,0.663002 -1.956205,1.082899 -0.647388,0.263114 -1.906242,0.477396 -2.829511,0.733577 -1.382296,-2.988132 -3.027146,-5.368585 -4.785716,-7.0213781 -0.422866,-0.397432 -0.835818,-0.6453247 -1.25756,-0.9781032 z m -15.33525,0.7685092 c -0.106753,0.09503 -0.207753,0.145402 -0.31439,0.244526 -1.684973,1.5662541 -3.298068,3.8232211 -4.680919,6.5672591 -0.343797,-0.14942 -1.035052,-0.273198 -1.292493,-0.419186 -0.956528,-0.542427 -1.362964,-1.022024 -1.537018,-1.292493 -0.0241,-0.03745 -0.01868,-0.0401 -0.03493,-0.06986 2.250095,-2.163342 4.948824,-3.869984 7.859752,-5.0302421 z m -9.641296,7.0912431 c 0.464973,0.571618 0.937729,1.169056 1.956205,1.746612 0.349907,0.198425 1.107143,0.335404 1.537018,0.523983 -1.20166,3.172984 -1.998037,7.051901 -2.165798,11.772162 C 14.256557,30.361384 12.934823,30.161483 12.280427,29.90959 10.644437,29.279855 9.6888882,28.674891 9.1714586,28.267775 8.6540289,27.860658 8.6474751,27.778724 8.6474751,27.778724 l -0.069864,0.03493 C 9.3100294,23.691285 11.163248,19.798527 13.817445,16.565477 z m 37.552149,0.523984 c 2.548924,3.289983 4.265057,7.202594 4.890513,11.318043 -0.650428,0.410896 -1.756876,1.001936 -3.563088,1.606882 -1.171552,0.392383 -3.163859,0.759153 -4.960377,1.117832 -0.04367,-4.752703 -0.784809,-8.591423 -1.88634,-11.807094 0.917574,-0.263678 2.170552,-0.486495 2.864443,-0.76851 1.274693,-0.518066 2.003942,-1.001558 2.654849,-1.467153 z m -31.439008,2.619917 c 2.487341,0.672766 5.775813,1.137775 10.479669,1.222628 l 0.104797,10.689263 0,0.03493 0,0.733577 c -5.435005,-0.09059 -9.512219,-0.519044 -12.610536,-1.117831 0.106127,-4.776683 0.879334,-8.55791 2.02607,-11.562569 z m 23.264866,0.31439 c 1.073459,3.067541 1.833795,6.821314 1.816476,11.702298 -3.054474,0.423245 -7.062018,0.648559 -11.702298,0.698644 l 0,-0.838373 -0.104796,-10.654331 c 4.082416,-0.0864 7.404468,-0.403886 9.990618,-0.908238 z M 8.2632205,30.922625 c 0.7558676,0.510548 1.5529563,1.013339 3.0041715,1.57195 0.937518,0.360875 2.612202,0.647642 3.91241,0.978102 0.112814,3.85566 0.703989,7.107756 1.606883,9.920754 -1.147172,-0.324262 -2.644553,-0.640648 -3.423359,-0.978102 -1.516688,-0.657177 -2.386627,-1.287332 -2.864443,-1.71168 -0.477816,-0.424347 -0.489051,-0.489051 -0.489051,-0.489051 L 9.8002387,40.319395 C 8.791691,37.621767 8.1584238,34.769583 8.1584238,31.900727 c 0,-0.330153 0.090589,-0.648169 0.1047967,-0.978102 z m 48.2763445,0.419186 c 0.0047,0.188973 0.06986,0.36991 0.06986,0.558916 0,2.938869 -0.620228,5.873558 -1.676747,8.628261 -0.07435,0.07583 -0.06552,0.07411 -0.454119,0.349323 -0.606965,0.429857 -1.631665,1.042044 -3.318562,1.676747 -1.208528,0.454713 -3.204964,0.850894 -5.135038,1.25756 0.84593,-2.765726 1.41808,-6.005357 1.606883,-9.815957 2.232369,-0.413371 4.483758,-0.840201 5.938479,-1.327425 1.410632,-0.472457 2.153108,-0.89469 2.96924,-1.327425 z m -38.530252,2.864443 c 3.208141,0.56697 7.372279,0.898588 12.575603,0.978103 l 0.174662,9.885821 c -4.392517,-0.06139 -8.106722,-0.320566 -10.863925,-0.803441 -1.051954,-2.664695 -1.692909,-6.043794 -1.88634,-10.060483 z m 26.793022,0.31439 c -0.246298,3.923551 -0.877762,7.263679 -1.816476,9.885822 -2.561957,0.361954 -5.766249,0.560708 -9.431703,0.62878 l -0.174661,-9.815957 c 4.491734,-0.04969 8.334769,-0.293032 11.42284,-0.698645 z M 12.035901,44.860585 c 0.09977,0.04523 0.105535,0.09465 0.209594,0.139729 1.337656,0.579602 3.441099,1.058072 5.589157,1.537018 1.545042,3.399208 3.548524,5.969402 5.589157,7.789888 -3.034411,-1.215537 -5.871615,-3.007978 -8.174142,-5.309699 -1.245911,-1.245475 -2.271794,-2.662961 -3.213766,-4.156936 z m 40.69605,0 c -0.941972,1.493975 -1.967855,2.911461 -3.213765,4.156936 -2.74253,2.741571 -6.244106,4.696717 -9.955686,5.868615 0.261347,-0.241079 0.507495,-0.394491 0.768509,-0.663713 1.674841,-1.727516 3.320792,-4.181056 4.645987,-7.265904 2.962447,-0.503021 5.408965,-1.122293 7.161107,-1.781544 0.284034,-0.106865 0.337297,-0.207323 0.593848,-0.31439 z m -31.404076,2.305527 c 2.645807,0.376448 5.701178,0.649995 9.466635,0.698645 l 0.139729,7.789888 c -1.38739,-0.480844 -3.316218,-1.29837 -5.659022,-3.388427 -1.388822,-1.238993 -2.743668,-3.0113 -3.947342,-5.100106 z m 20.365491,0.104797 c -1.04872,2.041937 -2.174337,3.779068 -3.353494,4.995309 -1.853177,1.911459 -3.425515,2.82679 -4.611055,3.353494 l -0.139729,-7.789887 c 3.13091,-0.05714 5.728238,-0.278725 8.104278,-0.558916 z" }) }) }),
|
|
1619
1619
|
onClick: () => {
|
|
1620
|
-
n.scene.morphTo3D(), i(
|
|
1620
|
+
n.scene.morphTo3D(), i(be.SCENE3D);
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
),
|
|
1624
|
-
r(
|
|
1624
|
+
r(be.SCENE2D) && /* @__PURE__ */ l(
|
|
1625
1625
|
He,
|
|
1626
1626
|
{
|
|
1627
|
-
icon: /* @__PURE__ */ l("div", { className: `mapViewIcon ${t ===
|
|
1627
|
+
icon: /* @__PURE__ */ l("div", { className: `mapViewIcon ${t === be.SCENE2D ? "mapViewCurrent" : ""}`, children: /* @__PURE__ */ l("svg", { width: "100%", height: "100%", viewBox: "0 0 64 64", children: /* @__PURE__ */ l("path", { d: "m 2.9825053,17.550598 0,1.368113 0,26.267766 0,1.368113 1.36811,0 54.9981397,0 1.36811,0 0,-1.368113 0,-26.267766 0,-1.368113 -1.36811,0 -54.9981397,0 -1.36811,0 z m 2.73623,2.736226 10.3292497,0 0,10.466063 -10.3292497,0 0,-10.466063 z m 13.0654697,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 10.32926,0 0,10.466063 -10.32926,0 0,-10.466063 z m -41.9326497,13.202288 10.3292497,0 0,10.329252 -10.3292497,0 0,-10.329252 z m 13.0654697,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 10.32926,0 0,10.329252 -10.32926,0 0,-10.329252 z" }) }) }),
|
|
1628
1628
|
onClick: () => {
|
|
1629
|
-
n.scene.morphTo2D(), i(
|
|
1629
|
+
n.scene.morphTo2D(), i(be.SCENE2D);
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
1632
|
),
|
|
1633
|
-
r(
|
|
1633
|
+
r(be.COLUMBUS_VIEW) && /* @__PURE__ */ l(
|
|
1634
1634
|
He,
|
|
1635
1635
|
{
|
|
1636
|
-
icon: /* @__PURE__ */ l("div", { className: `mapViewIcon ${t ===
|
|
1636
|
+
icon: /* @__PURE__ */ l("div", { className: `mapViewIcon ${t === be.COLUMBUS_VIEW ? "mapViewCurrent" : ""}`, children: /* @__PURE__ */ l("svg", { width: "100%", height: "100%", viewBox: "0 0 64 64", children: /* @__PURE__ */ l("path", { d: "m 14.723969,17.675598 -0.340489,0.817175 -11.1680536,26.183638 -0.817175,1.872692 2.076986,0 54.7506996,0 2.07698,0 -0.81717,-1.872692 -11.16805,-26.183638 -0.34049,-0.817175 -0.91933,0 -32.414586,0 -0.919322,0 z m 1.838643,2.723916 6.196908,0 -2.928209,10.418977 -7.729111,0 4.460412,-10.418977 z m 9.02297,0 4.903049,0 0,10.418977 -7.831258,0 2.928209,-10.418977 z m 7.626964,0 5.584031,0 2.62176,10.418977 -8.205791,0 0,-10.418977 z m 8.410081,0 5.51593,0 4.46042,10.418977 -7.38863,0 -2.58772,-10.418977 z m -30.678091,13.142892 8.103649,0 -2.89416,10.282782 -9.6018026,0 4.3923136,-10.282782 z m 10.929711,0 8.614384,0 0,10.282782 -11.508544,0 2.89416,-10.282782 z m 11.338299,0 8.852721,0 2.58772,10.282782 -11.440441,0 0,-10.282782 z m 11.678781,0 7.86531,0 4.39231,10.282782 -9.6699,0 -2.58772,-10.282782 z" }) }) }),
|
|
1637
1637
|
onClick: () => {
|
|
1638
|
-
n.scene.morphToColumbusView(), i(
|
|
1638
|
+
n.scene.morphToColumbusView(), i(be.COLUMBUS_VIEW);
|
|
1639
1639
|
}
|
|
1640
1640
|
}
|
|
1641
1641
|
)
|
|
@@ -1652,7 +1652,7 @@ const Mt = "ic_settings_24px", ss = (e) => {
|
|
|
1652
1652
|
return document.addEventListener("click", C, !1), () => {
|
|
1653
1653
|
document.removeEventListener("click", C, !1);
|
|
1654
1654
|
};
|
|
1655
|
-
}), /* @__PURE__ */ $(
|
|
1655
|
+
}), /* @__PURE__ */ $(Ce, { children: [
|
|
1656
1656
|
/* @__PURE__ */ l(
|
|
1657
1657
|
He,
|
|
1658
1658
|
{
|
|
@@ -1674,7 +1674,7 @@ const Mt = "ic_settings_24px", ss = (e) => {
|
|
|
1674
1674
|
/* @__PURE__ */ $(In, { children: [
|
|
1675
1675
|
/* @__PURE__ */ l("h4", { className: "sectionLabel", children: h }),
|
|
1676
1676
|
/* @__PURE__ */ l(me, { className: "mapScenesContainer", children: /* @__PURE__ */ l(os, { sceneModes: i }) }),
|
|
1677
|
-
/* @__PURE__ */ l(me, { className: "baseMapsContainer", children: o && /* @__PURE__ */ $(
|
|
1677
|
+
/* @__PURE__ */ l(me, { className: "baseMapsContainer", children: o && /* @__PURE__ */ $(Ce, { children: [
|
|
1678
1678
|
/* @__PURE__ */ l("h4", { className: "sectionLabel", children: p }),
|
|
1679
1679
|
/* @__PURE__ */ l(is, { baseMaps: o })
|
|
1680
1680
|
] }) })
|
|
@@ -1685,7 +1685,7 @@ const Mt = "ic_settings_24px", ss = (e) => {
|
|
|
1685
1685
|
] });
|
|
1686
1686
|
};
|
|
1687
1687
|
const as = (e) => {
|
|
1688
|
-
const n =
|
|
1688
|
+
const n = we(), { enableCompass: t = !0, enableZoomControls: i = !1, lockCompassNavigation: o = !1, locale: r = { DIRECTION: "ltr" } } = e;
|
|
1689
1689
|
return N(() => {
|
|
1690
1690
|
if (typeof ie(n, "cesiumNavigation") > "u") {
|
|
1691
1691
|
n.extend(Vr, {
|
|
@@ -1699,7 +1699,7 @@ const as = (e) => {
|
|
|
1699
1699
|
}, [n, t, i, r.DIRECTION, o]), null;
|
|
1700
1700
|
};
|
|
1701
1701
|
const ls = (e) => {
|
|
1702
|
-
const n =
|
|
1702
|
+
const n = we(), t = Pe(null), [i, o] = F({ x: 0, y: 0 });
|
|
1703
1703
|
return N(() => {
|
|
1704
1704
|
n.screenSpaceEventHandler.setInputAction((r) => {
|
|
1705
1705
|
if (r != null && r.endPosition) {
|
|
@@ -1780,19 +1780,19 @@ const _t = [
|
|
|
1780
1780
|
const p = e.scene.canvas.clientWidth, C = e.scene.canvas.clientHeight, m = e.scene.camera.getPickRay(new Ne(p / 2 | 0, C - 1)), b = e.scene.camera.getPickRay(new Ne(1 + p / 2 | 0, C - 1)), P = e.scene.globe, S = P.pick(m, e.scene), H = P.pick(b, e.scene);
|
|
1781
1781
|
if (!S || !H)
|
|
1782
1782
|
return;
|
|
1783
|
-
const
|
|
1784
|
-
d.setEndPoints(
|
|
1785
|
-
const
|
|
1783
|
+
const Z = P.ellipsoid.cartesianToCartographic(S), z = P.ellipsoid.cartesianToCartographic(H);
|
|
1784
|
+
d.setEndPoints(Z, z);
|
|
1785
|
+
const q = d.surfaceDistance, Y = 100;
|
|
1786
1786
|
let k;
|
|
1787
1787
|
for (let X = _t.length - 1; !ht(k) && X >= 0; --X)
|
|
1788
|
-
_t[X] /
|
|
1788
|
+
_t[X] / q < Y && (k = _t[X]);
|
|
1789
1789
|
if (ht(k)) {
|
|
1790
1790
|
let X = "";
|
|
1791
|
-
k >= 1e3 ? X = `${(k / 1e3).toString()} ${r}` : X = `${k.toString()} ${o}`, c.barWidth = k /
|
|
1791
|
+
k >= 1e3 ? X = `${(k / 1e3).toString()} ${r}` : X = `${k.toString()} ${o}`, c.barWidth = k / q | 0, c.distanceLabel = X;
|
|
1792
1792
|
}
|
|
1793
1793
|
t(c);
|
|
1794
1794
|
}, ds = (e) => {
|
|
1795
|
-
const n =
|
|
1795
|
+
const n = we(), [t, i] = F({
|
|
1796
1796
|
barWidth: void 0,
|
|
1797
1797
|
distanceLabel: void 0,
|
|
1798
1798
|
lastLegendUpdate: -1
|
|
@@ -1812,7 +1812,7 @@ const _t = [
|
|
|
1812
1812
|
};
|
|
1813
1813
|
}, [n, e.locale, t]);
|
|
1814
1814
|
const o = (r) => 5 + (125 - r) / 2;
|
|
1815
|
-
return /* @__PURE__ */ l("div", { className: "scalePosition", children: ht(t.barWidth) && /* @__PURE__ */ $(
|
|
1815
|
+
return /* @__PURE__ */ l("div", { className: "scalePosition", children: ht(t.barWidth) && /* @__PURE__ */ $(Ce, { children: [
|
|
1816
1816
|
/* @__PURE__ */ l("div", { className: "scale-tracker-label", children: /* @__PURE__ */ l("bdi", { children: t.distanceLabel }) }),
|
|
1817
1817
|
/* @__PURE__ */ l(
|
|
1818
1818
|
"div",
|
|
@@ -1853,17 +1853,17 @@ const gn = (e, n) => {
|
|
|
1853
1853
|
}
|
|
1854
1854
|
return t;
|
|
1855
1855
|
}, hs = ({ locale: e = void 0, valueBy: n = "RENDERED_TILES" }) => {
|
|
1856
|
-
const t =
|
|
1856
|
+
const t = we(), i = rt(), [o, r] = F(1), c = us(1, t), d = xe(() => {
|
|
1857
1857
|
const m = t.camera, b = 0.5;
|
|
1858
1858
|
let P = 0;
|
|
1859
1859
|
switch (t.scene.mode) {
|
|
1860
|
-
case
|
|
1860
|
+
case be.SCENE3D:
|
|
1861
1861
|
P = t.scene.mapProjection.ellipsoid.cartesianToCartographic(m.positionWC).height;
|
|
1862
1862
|
break;
|
|
1863
|
-
case
|
|
1863
|
+
case be.SCENE2D:
|
|
1864
1864
|
P = (m.frustum.right - m.frustum.left) * b;
|
|
1865
1865
|
break;
|
|
1866
|
-
case
|
|
1866
|
+
case be.COLUMBUS_VIEW:
|
|
1867
1867
|
P = m.position.z;
|
|
1868
1868
|
break;
|
|
1869
1869
|
default:
|
|
@@ -1871,7 +1871,7 @@ const gn = (e, n) => {
|
|
|
1871
1871
|
break;
|
|
1872
1872
|
}
|
|
1873
1873
|
if (c.length > 0) {
|
|
1874
|
-
const S = c.reduce((H,
|
|
1874
|
+
const S = c.reduce((H, Z) => Math.abs(Z.height - P) < Math.abs(H.height - P) ? Z : H);
|
|
1875
1875
|
r(S.level), i.setViewState && i.setViewState((H) => ({ ...H, currentZoomLevel: S.level }));
|
|
1876
1876
|
}
|
|
1877
1877
|
}, [t, c]), h = xe(() => {
|
|
@@ -1879,7 +1879,7 @@ const gn = (e, n) => {
|
|
|
1879
1879
|
t.scene.globe._surface.forEachRenderedTile(function(b) {
|
|
1880
1880
|
m = Math.max(m, b.level);
|
|
1881
1881
|
}), r(m), i.setViewState && i.setViewState((b) => ({ ...b, currentZoomLevel: m }));
|
|
1882
|
-
}, [t]), C =
|
|
1882
|
+
}, [t]), C = fe(
|
|
1883
1883
|
() => ({
|
|
1884
1884
|
CALCULATION: d,
|
|
1885
1885
|
RENDERED_TILES: h
|
|
@@ -1903,7 +1903,7 @@ const gn = (e, n) => {
|
|
|
1903
1903
|
] });
|
|
1904
1904
|
};
|
|
1905
1905
|
const ms = () => {
|
|
1906
|
-
const e =
|
|
1906
|
+
const e = we();
|
|
1907
1907
|
return /* @__PURE__ */ l("div", { className: "zoom-buttons-container", children: [
|
|
1908
1908
|
{ onClick: () => e.camera.zoomIn(), iconPath: "M48 20h-18v-18h-10v18h-18v10h18v18h10v-18h18z" },
|
|
1909
1909
|
{ onClick: () => e.camera.zoomOut(), iconPath: "M2 20h46v10h-46z" }
|
|
@@ -1936,7 +1936,7 @@ class Wl extends _r {
|
|
|
1936
1936
|
ce(this, "layersManager");
|
|
1937
1937
|
}
|
|
1938
1938
|
}
|
|
1939
|
-
const jt = Ke(null), gs = jt.Provider,
|
|
1939
|
+
const jt = Ke(null), gs = jt.Provider, we = () => {
|
|
1940
1940
|
const e = ze(jt);
|
|
1941
1941
|
if (e === null)
|
|
1942
1942
|
throw new Error("map context is null, please check the provider");
|
|
@@ -1947,8 +1947,8 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
1947
1947
|
throw new Error("map context viewstate is null, please check the provider");
|
|
1948
1948
|
return n;
|
|
1949
1949
|
}, Ul = (e) => {
|
|
1950
|
-
var L, T, O, B, R, j, oe,
|
|
1951
|
-
const n = Pe(null), [t, i] = F(), [o, r] = F(), [c, d] = F(), [h, p] = F(), [C, m] = F(), [b, P] = F(), [S, H] = F(), [
|
|
1950
|
+
var L, T, O, B, R, j, oe, ye;
|
|
1951
|
+
const n = Pe(null), [t, i] = F(), [o, r] = F(), [c, d] = F(), [h, p] = F(), [C, m] = F(), [b, P] = F(), [S, H] = F(), [Z, z] = F(!1), [q, Y] = F(!1), [k, X] = F(), G = Pe(), [K, se] = F(), [s, a] = F([]), [y, u] = F(), [v, g] = F(!1), w = Pe(), [f, M] = F(void 0), [D, x] = F(!1), [_, I] = F(), [A, re] = F(), ae = fe(() => Z || q, [Z, q]), [W, te] = F();
|
|
1952
1952
|
N(() => {
|
|
1953
1953
|
te({
|
|
1954
1954
|
currentZoomLevel: -1,
|
|
@@ -1966,17 +1966,17 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
1966
1966
|
sceneModePicker: !1,
|
|
1967
1967
|
imageryProvider: !1,
|
|
1968
1968
|
...e
|
|
1969
|
-
}, pe = (U,
|
|
1970
|
-
const de = t.container, le = de.clientWidth,
|
|
1969
|
+
}, pe = (U, Q, V, ee, ge) => {
|
|
1970
|
+
const de = t.container, le = de.clientWidth, ve = de.clientHeight, Le = ee + ge;
|
|
1971
1971
|
return {
|
|
1972
1972
|
left: `${le - U < V ? U - (V - (le - U)) : U}px`,
|
|
1973
|
-
top: `${
|
|
1973
|
+
top: `${ve - Q < Le ? Q - (Le - (ve - Q)) : Q}px`
|
|
1974
1974
|
};
|
|
1975
1975
|
}, ke = xe(
|
|
1976
1976
|
(U) => {
|
|
1977
1977
|
if (n.current !== null) {
|
|
1978
|
-
const
|
|
1979
|
-
g(!1), M(V), I(Yn(
|
|
1978
|
+
const Q = n.current.cesiumElement, V = { x: U.offsetX, y: U.offsetY };
|
|
1979
|
+
g(!1), M(V), I(Yn(Q, V.x, V.y)), g(!0), w.current = U;
|
|
1980
1980
|
}
|
|
1981
1981
|
},
|
|
1982
1982
|
[n]
|
|
@@ -1984,22 +1984,22 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
1984
1984
|
N(() => {
|
|
1985
1985
|
var U;
|
|
1986
1986
|
if (n.current !== null) {
|
|
1987
|
-
const
|
|
1988
|
-
e.imageryContextMenu && (
|
|
1987
|
+
const Q = n.current.cesiumElement;
|
|
1988
|
+
e.imageryContextMenu && (Q.scene.canvas.removeEventListener("contextmenu", ke), Q.scene.canvas.addEventListener("contextmenu", ke));
|
|
1989
1989
|
}
|
|
1990
1990
|
i((U = n.current) == null ? void 0 : U.cesiumElement);
|
|
1991
1991
|
}, [n, e.imageryContextMenu]);
|
|
1992
|
-
const Me =
|
|
1992
|
+
const Me = fe(() => {
|
|
1993
1993
|
var U;
|
|
1994
1994
|
if (t)
|
|
1995
1995
|
return {
|
|
1996
|
-
mapViewer: Object.assign(t, {
|
|
1997
|
-
layersManager: new
|
|
1996
|
+
mapViewer: t.layersManager ? t : Object.assign(t, {
|
|
1997
|
+
layersManager: new qo(
|
|
1998
1998
|
t,
|
|
1999
1999
|
(U = e.legends) == null ? void 0 : U.mapLegendsExtractor,
|
|
2000
2000
|
() => {
|
|
2001
|
-
var
|
|
2002
|
-
a((
|
|
2001
|
+
var V;
|
|
2002
|
+
a((V = t.layersManager) == null ? void 0 : V.legendsList);
|
|
2003
2003
|
},
|
|
2004
2004
|
e.layerManagerFootprintMetaFieldPath,
|
|
2005
2005
|
W == null ? void 0 : W.shouldOptimizedTileRequests
|
|
@@ -2011,12 +2011,12 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2011
2011
|
}, [e.useOptimizedTileRequests, e.legends, e.layerManagerFootprintMetaFieldPath, t, W]);
|
|
2012
2012
|
N(() => {
|
|
2013
2013
|
se(
|
|
2014
|
-
e.sceneModes ?? [
|
|
2014
|
+
e.sceneModes ?? [be.SCENE2D, be.SCENE3D, be.COLUMBUS_VIEW]
|
|
2015
2015
|
);
|
|
2016
2016
|
}, [e.sceneModes]), N(() => {
|
|
2017
|
-
var
|
|
2017
|
+
var Q, V;
|
|
2018
2018
|
u(e.baseMaps);
|
|
2019
|
-
const U = (
|
|
2019
|
+
const U = (Q = e.baseMaps) == null ? void 0 : Q.maps.find((ee) => ee.isCurrent);
|
|
2020
2020
|
U && t && ((V = t.layersManager) == null || V.setBaseMapLayers(U));
|
|
2021
2021
|
}, [e.baseMaps, t]), N(() => {
|
|
2022
2022
|
r(e.projection ?? Ae.WGS84);
|
|
@@ -2033,7 +2033,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2033
2033
|
}, [e.showCompass]), N(() => {
|
|
2034
2034
|
H(e.showLoadingProgress ?? !0);
|
|
2035
2035
|
}, [e.showLoadingProgress]), N(() => {
|
|
2036
|
-
var
|
|
2036
|
+
var Q;
|
|
2037
2037
|
const U = () => {
|
|
2038
2038
|
if (t === void 0)
|
|
2039
2039
|
return {
|
|
@@ -2085,7 +2085,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
}), S && (t.scene.globe.tileLoadProgressEvent.addEventListener(function() {
|
|
2087
2087
|
t.scene.globe.tilesLoaded ? z(!1) : z(!0);
|
|
2088
|
-
}), (
|
|
2088
|
+
}), (Q = t.layersManager) == null || Q.addDataLayerUpdatedListener(() => {
|
|
2089
2089
|
var ee;
|
|
2090
2090
|
let V = !1;
|
|
2091
2091
|
(ee = t.layersManager) == null || ee.dataLayerList.forEach((ge) => {
|
|
@@ -2098,9 +2098,9 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2098
2098
|
}, [t]), N(() => {
|
|
2099
2099
|
const U = () => {
|
|
2100
2100
|
if (t && G.current) {
|
|
2101
|
-
const
|
|
2101
|
+
const Q = G.current;
|
|
2102
2102
|
t.camera.flyTo({
|
|
2103
|
-
destination: _e.fromDegrees(
|
|
2103
|
+
destination: _e.fromDegrees(Q.position.longitude, Q.position.latitude, Q.position.height),
|
|
2104
2104
|
duration: 0
|
|
2105
2105
|
});
|
|
2106
2106
|
}
|
|
@@ -2114,16 +2114,16 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
};
|
|
2116
2116
|
}, [t]), N(() => {
|
|
2117
|
-
const U = e.zoom,
|
|
2118
|
-
t && ht(U) && kr(
|
|
2119
|
-
destination: _e.fromDegrees(
|
|
2117
|
+
const U = e.zoom, Q = e.center;
|
|
2118
|
+
t && ht(U) && kr(Q) && t.camera.flyTo({
|
|
2119
|
+
destination: _e.fromDegrees(Q[0], Q[1], Fo(U)),
|
|
2120
2120
|
duration: 0
|
|
2121
2121
|
});
|
|
2122
2122
|
}, [e.zoom, e.center, t]), N(() => {
|
|
2123
2123
|
re(e.displayZoomButtons ?? !0);
|
|
2124
2124
|
}, [e.displayZoomButtons]);
|
|
2125
|
-
const
|
|
2126
|
-
/* @__PURE__ */ $(
|
|
2125
|
+
const Ee = xe(() => t && nr(
|
|
2126
|
+
/* @__PURE__ */ $(Ce, { children: [
|
|
2127
2127
|
S && ae && /* @__PURE__ */ l(bi, { style: { position: "absolute", top: 0, height: "10px", zIndex: 4 } }),
|
|
2128
2128
|
/* @__PURE__ */ $(me, { className: "sideToolsContainer", children: [
|
|
2129
2129
|
e.debugPanel && /* @__PURE__ */ l(Vo, { locale: k, children: e.debugPanel.wfs && /* @__PURE__ */ l(Go, { locale: k, featureTypes: [] }) }),
|
|
@@ -2153,7 +2153,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2153
2153
|
}
|
|
2154
2154
|
),
|
|
2155
2155
|
e.children,
|
|
2156
|
-
|
|
2156
|
+
Ee(),
|
|
2157
2157
|
e.imageryContextMenu && v && f && _ && Oe.cloneElement(e.imageryContextMenu, {
|
|
2158
2158
|
data: (R = t == null ? void 0 : t.layersManager) == null ? void 0 : R.findLayerByPOI(
|
|
2159
2159
|
f.x,
|
|
@@ -2170,7 +2170,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2170
2170
|
f.y,
|
|
2171
2171
|
((j = e.imageryContextMenuSize) == null ? void 0 : j.width) ?? yn,
|
|
2172
2172
|
((oe = e.imageryContextMenuSize) == null ? void 0 : oe.height) ?? fn,
|
|
2173
|
-
((
|
|
2173
|
+
((ye = e.imageryContextMenuSize) == null ? void 0 : ye.dynamicHeightIncrement) ?? ps
|
|
2174
2174
|
),
|
|
2175
2175
|
size: e.imageryContextMenuSize ?? {
|
|
2176
2176
|
height: fn,
|
|
@@ -2183,7 +2183,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2183
2183
|
})
|
|
2184
2184
|
] }) });
|
|
2185
2185
|
}, fs = 0, jl = (e) => {
|
|
2186
|
-
const n =
|
|
2186
|
+
const n = we();
|
|
2187
2187
|
return /* @__PURE__ */ l(
|
|
2188
2188
|
rr,
|
|
2189
2189
|
{
|
|
@@ -2223,36 +2223,36 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2223
2223
|
wn(o.geometry);
|
|
2224
2224
|
}) : wn(i)), /* @__PURE__ */ l(or, { data: i, ...t });
|
|
2225
2225
|
}, vt = (e) => {
|
|
2226
|
-
const { meta: n, ...t } = e, i =
|
|
2226
|
+
const { meta: n, ...t } = e, i = we();
|
|
2227
2227
|
return Tn(() => {
|
|
2228
2228
|
var o;
|
|
2229
2229
|
(o = i.layersManager) == null || o.addMetaToLayer(n, n.searchLayerPredicate);
|
|
2230
2230
|
}, [n, i]), /* @__PURE__ */ l(sr, { ...t });
|
|
2231
2231
|
}, Yl = (e) => {
|
|
2232
|
-
const { options: n, ...t } = e, i =
|
|
2233
|
-
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: r });
|
|
2234
|
-
}, Zl = (e) => {
|
|
2235
|
-
const { options: n, ...t } = e, i = Ce(), { viewState: o } = rt(), r = o.shouldOptimizedTileRequests ? new Xn(n, i) : new $t(n);
|
|
2232
|
+
const { options: n, ...t } = e, i = we(), { viewState: o } = rt(), r = fe(() => o.shouldOptimizedTileRequests ? new Zn(n, i) : new Ht(n), [o.shouldOptimizedTileRequests]);
|
|
2236
2233
|
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: r });
|
|
2237
2234
|
}, ql = (e) => {
|
|
2238
|
-
const { options: n, ...t } = e, i =
|
|
2235
|
+
const { options: n, ...t } = e, i = we(), { viewState: o } = rt(), r = fe(() => o.shouldOptimizedTileRequests ? new Xn(n, i) : new $t(n), [o.shouldOptimizedTileRequests]);
|
|
2236
|
+
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: r });
|
|
2237
|
+
}, Zl = (e) => {
|
|
2238
|
+
const { options: n, ...t } = e, i = we(), { viewState: o } = rt(), r = fe(() => o.shouldOptimizedTileRequests ? new qn(n, i) : new Gt(n), [o.shouldOptimizedTileRequests]);
|
|
2239
2239
|
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: r });
|
|
2240
2240
|
}, Xl = (e) => {
|
|
2241
2241
|
const { options: n, ...t } = e;
|
|
2242
2242
|
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: new xr(n) });
|
|
2243
2243
|
}, ys = "#FFFF00", Jl = (e) => {
|
|
2244
|
-
const { options: n, meta: t, visualizationHandler: i } = e, { url: o, featureType: r, style: c, pageSize: d, zoomLevel: h, maxCacheSize: p, keyField: C, labeling: m } = n, { color: b, hover: P } = c, S =
|
|
2244
|
+
const { options: n, meta: t, visualizationHandler: i } = e, { url: o, featureType: r, style: c, pageSize: d, zoomLevel: h, maxCacheSize: p, keyField: C, labeling: m } = n, { color: b, hover: P } = c, S = we(), H = rt(), Z = Pe(H.viewState), z = Pe(/* @__PURE__ */ new Map()), q = Pe(/* @__PURE__ */ new Set()), Y = Pe(0), [k, X] = F(t), G = fe(() => Ge.fromCssColorString(P ?? "#24AEE9").withAlpha(0.5), [P]), K = fe(() => `wfs_${r}_${rn()}`, [r]), se = Pe(!1);
|
|
2245
2245
|
N(() => {
|
|
2246
|
-
|
|
2246
|
+
Z.current = H.viewState;
|
|
2247
2247
|
}, [H.viewState]);
|
|
2248
2248
|
const s = new en(K), a = (L) => {
|
|
2249
2249
|
const T = [], O = t.featureStructure;
|
|
2250
2250
|
if (O && O.fields)
|
|
2251
2251
|
for (const R of O.fields) {
|
|
2252
|
-
const { fieldName: j, aliasFieldName: oe } = R,
|
|
2252
|
+
const { fieldName: j, aliasFieldName: oe } = R, ye = oe, U = L[j] ?? "N/A";
|
|
2253
2253
|
T.push(`
|
|
2254
2254
|
<tr>
|
|
2255
|
-
<td><strong>${
|
|
2255
|
+
<td><strong>${ye}:</strong></td>
|
|
2256
2256
|
<td>${U}</td>
|
|
2257
2257
|
</tr>
|
|
2258
2258
|
`);
|
|
@@ -2282,8 +2282,8 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2282
2282
|
const oe = tn.wgs84ToWindowCoordinates(S.scene, j);
|
|
2283
2283
|
if (!oe)
|
|
2284
2284
|
return { entity: R, distance: Number.MAX_VALUE };
|
|
2285
|
-
const
|
|
2286
|
-
return { entity: R, distance:
|
|
2285
|
+
const ye = L.x - oe.x, U = L.y - oe.y, Q = Math.sqrt(ye * ye + U * U);
|
|
2286
|
+
return { entity: R, distance: Q };
|
|
2287
2287
|
});
|
|
2288
2288
|
return B.sort((R, j) => j.distance - R.distance), B[0].entity;
|
|
2289
2289
|
}, g = (L) => {
|
|
@@ -2305,10 +2305,10 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2305
2305
|
X((O) => ({
|
|
2306
2306
|
...O,
|
|
2307
2307
|
...t,
|
|
2308
|
-
cache:
|
|
2308
|
+
cache: q.current.size,
|
|
2309
2309
|
items: L,
|
|
2310
2310
|
total: T,
|
|
2311
|
-
currentZoomLevel:
|
|
2311
|
+
currentZoomLevel: Z.current.currentZoomLevel
|
|
2312
2312
|
}));
|
|
2313
2313
|
}, M = () => {
|
|
2314
2314
|
if (s.entities && s.entities.values.length > 0) {
|
|
@@ -2334,16 +2334,16 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2334
2334
|
}, O = L.split(`
|
|
2335
2335
|
`), B = (m == null ? void 0 : m.fontSize) ?? T.fontSize, R = (m == null ? void 0 : m.padding) ?? T.padding, j = B + 2;
|
|
2336
2336
|
_.clearRect(0, 0, x.width, x.height), _.font = `${B}px ${(m == null ? void 0 : m.fontName) ?? T.fontName}`;
|
|
2337
|
-
const oe = Math.max(...O.map((
|
|
2338
|
-
|
|
2339
|
-
const U =
|
|
2340
|
-
return U.font = `${B}px ${(m == null ? void 0 : m.fontName) ?? T.fontName}`, U.fillStyle = (m == null ? void 0 : m.fillStyle) ?? T.fillStyle, U.strokeStyle = (m == null ? void 0 : m.strokeStyle) ?? T.strokeStyle, U.lineWidth = (m == null ? void 0 : m.lineWidth) ?? T.lineWidth, O.forEach((
|
|
2337
|
+
const oe = Math.max(...O.map((Q) => _.measureText(Q).width)), ye = document.createElement("canvas");
|
|
2338
|
+
ye.width = oe + R * 2, ye.height = j * O.length + R * 2;
|
|
2339
|
+
const U = ye.getContext("2d");
|
|
2340
|
+
return U.font = `${B}px ${(m == null ? void 0 : m.fontName) ?? T.fontName}`, U.fillStyle = (m == null ? void 0 : m.fillStyle) ?? T.fillStyle, U.strokeStyle = (m == null ? void 0 : m.strokeStyle) ?? T.strokeStyle, U.lineWidth = (m == null ? void 0 : m.lineWidth) ?? T.lineWidth, O.forEach((Q, V) => {
|
|
2341
2341
|
const ee = R + (V + 1) * j - 4;
|
|
2342
|
-
U.strokeText(
|
|
2342
|
+
U.strokeText(Q, R, ee), U.fillText(Q, R, ee);
|
|
2343
2343
|
}), {
|
|
2344
|
-
dataURL:
|
|
2345
|
-
width:
|
|
2346
|
-
height:
|
|
2344
|
+
dataURL: ye.toDataURL(),
|
|
2345
|
+
width: ye.width,
|
|
2346
|
+
height: ye.height
|
|
2347
2347
|
};
|
|
2348
2348
|
}, A = (L) => m == null ? void 0 : m.text.pattern.replace(/\$\{([^}]+)\}/g, (O, B) => {
|
|
2349
2349
|
const R = m.text.fields.find((oe) => oe.name === B);
|
|
@@ -2368,8 +2368,8 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2368
2368
|
(B) => {
|
|
2369
2369
|
if (B.properties) {
|
|
2370
2370
|
const R = B.properties[C ?? "id"];
|
|
2371
|
-
if (!
|
|
2372
|
-
|
|
2371
|
+
if (!q.current.has(R)) {
|
|
2372
|
+
q.current.add(R), B.properties.fetch_id = T;
|
|
2373
2373
|
const j = B.properties.description;
|
|
2374
2374
|
if (B.properties.description = void 0, B.properties._description = j, m) {
|
|
2375
2375
|
const oe = I(A(B));
|
|
@@ -2394,7 +2394,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2394
2394
|
(O) => {
|
|
2395
2395
|
if (O.properties && O.properties.fetch_id.getValue() === L) {
|
|
2396
2396
|
const B = O.properties[C ?? "id"].getValue();
|
|
2397
|
-
|
|
2397
|
+
q.current.delete(B), T.push(O);
|
|
2398
2398
|
}
|
|
2399
2399
|
},
|
|
2400
2400
|
{ concurrency: w(s.entities.values.length, "cpu") }
|
|
@@ -2406,7 +2406,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2406
2406
|
{ concurrency: w(T.length, "cpu") }
|
|
2407
2407
|
);
|
|
2408
2408
|
}, te = async (L, T) => {
|
|
2409
|
-
for (;
|
|
2409
|
+
for (; q.current.size > p; ) {
|
|
2410
2410
|
const O = ae(L, T);
|
|
2411
2411
|
if (O.id === "")
|
|
2412
2412
|
break;
|
|
@@ -2421,7 +2421,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2421
2421
|
timestamp: L.timeStamp,
|
|
2422
2422
|
items: oe.length
|
|
2423
2423
|
})), f(L.numberReturned !== 0 ? O + L.numberReturned : L.numberMatched, L.numberMatched), oe.length === 0) {
|
|
2424
|
-
L.numberReturned && L.numberReturned !== 0 ? pe(++Y.current * d) : (Y.current = 0,
|
|
2424
|
+
L.numberReturned && L.numberReturned !== 0 ? pe(++Y.current * d) : (Y.current = 0, Ee(
|
|
2425
2425
|
S,
|
|
2426
2426
|
s,
|
|
2427
2427
|
s.entities.values.map((U) => U.id),
|
|
@@ -2430,11 +2430,11 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2430
2430
|
return;
|
|
2431
2431
|
}
|
|
2432
2432
|
await te(T, B);
|
|
2433
|
-
const
|
|
2433
|
+
const ye = {
|
|
2434
2434
|
type: "FeatureCollection",
|
|
2435
2435
|
features: oe
|
|
2436
2436
|
};
|
|
2437
|
-
await s.process(
|
|
2437
|
+
await s.process(ye, { describe: a }), S.scene.requestRender(), Ee(
|
|
2438
2438
|
S,
|
|
2439
2439
|
s,
|
|
2440
2440
|
oe.map((U) => U.id),
|
|
@@ -2445,11 +2445,11 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2445
2445
|
return;
|
|
2446
2446
|
const T = jo(S);
|
|
2447
2447
|
if (T) {
|
|
2448
|
-
if (await ke(),
|
|
2448
|
+
if (await ke(), Z.current.currentZoomLevel > 0 && Z.current.currentZoomLevel < h && (s == null ? void 0 : s.entities.values.length) > 0) {
|
|
2449
2449
|
M();
|
|
2450
2450
|
return;
|
|
2451
2451
|
}
|
|
2452
|
-
if (
|
|
2452
|
+
if (Z.current.currentZoomLevel >= h) {
|
|
2453
2453
|
s.show = !0;
|
|
2454
2454
|
const O = Uo(T), B = Wo(T);
|
|
2455
2455
|
try {
|
|
@@ -2476,9 +2476,9 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2476
2476
|
return {
|
|
2477
2477
|
type: "Polygon",
|
|
2478
2478
|
coordinates: [((ee = V.polygon.hierarchy) == null ? void 0 : ee.getValue(Qe.now())).positions.map((le) => {
|
|
2479
|
-
const
|
|
2480
|
-
|
|
2481
|
-
|
|
2479
|
+
const ve = Re.fromCartesian(le), Le = new Re(
|
|
2480
|
+
J.toDegrees(ve.longitude),
|
|
2481
|
+
J.toDegrees(ve.latitude),
|
|
2482
2482
|
R ? 500 : void 0
|
|
2483
2483
|
//viewer.scene.sampleHeight(Cartographic.fromCartesian(position))
|
|
2484
2484
|
);
|
|
@@ -2489,45 +2489,45 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2489
2489
|
const le = tn.wgs84ToWindowCoordinates(V, ee);
|
|
2490
2490
|
if (!le)
|
|
2491
2491
|
return null;
|
|
2492
|
-
const
|
|
2492
|
+
const ve = le.x + ge, Le = le.y + de, Ye = new Ne(ve, le.y), We = new Ne(le.x, Le), Be = V.camera.pickEllipsoid(Ye, V.globe.ellipsoid), Fe = V.camera.pickEllipsoid(We, V.globe.ellipsoid);
|
|
2493
2493
|
if (!Be || !Fe)
|
|
2494
2494
|
return null;
|
|
2495
|
-
const
|
|
2496
|
-
return { widthMeters:
|
|
2497
|
-
},
|
|
2498
|
-
const de = zt.WGS84, le = V.latitude,
|
|
2495
|
+
const qe = _e.distance(ee, Be), Ve = _e.distance(ee, Fe);
|
|
2496
|
+
return { widthMeters: qe, heightMeters: Ve };
|
|
2497
|
+
}, ye = (V, ee, ge) => {
|
|
2498
|
+
const de = zt.WGS84, le = V.latitude, ve = V.longitude, Le = Math.PI / 180 * de.maximumRadius, Ye = Math.PI / 180 * de.maximumRadius, We = ge / 2 / Le, Be = ee / 2 / Ye, Fe = le + We, qe = le - We, Ve = ve + Be, Ze = ve - Be;
|
|
2499
2499
|
return {
|
|
2500
2500
|
type: "Polygon",
|
|
2501
2501
|
coordinates: [
|
|
2502
2502
|
[
|
|
2503
|
-
[
|
|
2503
|
+
[Ze, Fe],
|
|
2504
2504
|
[Ve, Fe],
|
|
2505
|
-
[Ve,
|
|
2506
|
-
[
|
|
2507
|
-
[
|
|
2505
|
+
[Ve, qe],
|
|
2506
|
+
[Ze, qe],
|
|
2507
|
+
[Ze, Fe]
|
|
2508
2508
|
// close the ring
|
|
2509
2509
|
]
|
|
2510
2510
|
]
|
|
2511
2511
|
};
|
|
2512
|
-
}, U = (V, ee) => on(V) / on(ee),
|
|
2512
|
+
}, U = (V, ee) => on(V) / on(ee), Q = [];
|
|
2513
2513
|
if (T == null || T.entities.values.forEach((V) => {
|
|
2514
2514
|
var ee, ge;
|
|
2515
2515
|
if (B && m && R)
|
|
2516
2516
|
try {
|
|
2517
2517
|
const de = gt(B), le = sn(j(V), de);
|
|
2518
2518
|
if (le) {
|
|
2519
|
-
const
|
|
2519
|
+
const ve = (ee = V.properties) == null ? void 0 : ee.label.getValue(Qe.now()), Le = Gr(le, {
|
|
2520
2520
|
properties: {
|
|
2521
|
-
label:
|
|
2521
|
+
label: ve
|
|
2522
2522
|
}
|
|
2523
|
-
}), Ye = { width:
|
|
2523
|
+
}), Ye = { width: ve.width, height: ve.height }, [We, Be, Fe = 0] = Le.geometry.coordinates, qe = _e.fromDegrees(We, Be, Fe), Ve = oe(L.scene, qe, Ye.width, Ye.height);
|
|
2524
2524
|
if (Ve) {
|
|
2525
|
-
const
|
|
2525
|
+
const Ze = ye({ longitude: We, latitude: Be }, Ve.widthMeters, Ve.heightMeters), Et = sn(le, {
|
|
2526
2526
|
type: "Feature",
|
|
2527
2527
|
properties: {},
|
|
2528
|
-
geometry:
|
|
2528
|
+
geometry: Ze
|
|
2529
2529
|
});
|
|
2530
|
-
U(Et == null ? void 0 : Et.geometry,
|
|
2530
|
+
U(Et == null ? void 0 : Et.geometry, Ze) > 0.7 && Q.push(Le);
|
|
2531
2531
|
}
|
|
2532
2532
|
}
|
|
2533
2533
|
} catch {
|
|
@@ -2548,11 +2548,11 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2548
2548
|
clampToGround: !0,
|
|
2549
2549
|
width: 4
|
|
2550
2550
|
})), V.billboard)) {
|
|
2551
|
-
const de = (ge = V.position) == null ? void 0 : ge.getValue(Qe.now()), le = Re.fromCartesian(de),
|
|
2551
|
+
const de = (ge = V.position) == null ? void 0 : ge.getValue(Qe.now()), le = Re.fromCartesian(de), ve = new Re(
|
|
2552
2552
|
le.longitude,
|
|
2553
2553
|
le.latitude,
|
|
2554
2554
|
R ? 500 : L.scene.sampleHeight(Re.fromCartesian(de))
|
|
2555
|
-
), Le = _e.fromRadians(
|
|
2555
|
+
), Le = _e.fromRadians(ve.longitude, ve.latitude, ve.height);
|
|
2556
2556
|
V.position = Le, V.billboard = new It({
|
|
2557
2557
|
image: "data:image/svg+xml;base64," + btoa(`
|
|
2558
2558
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
|
|
@@ -2571,7 +2571,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2571
2571
|
const V = new en(`${m == null ? void 0 : m.dataSourcePrefix}${T.name}`);
|
|
2572
2572
|
L.dataSources.add(V), V.load({
|
|
2573
2573
|
type: "FeatureCollection",
|
|
2574
|
-
features:
|
|
2574
|
+
features: Q
|
|
2575
2575
|
}).then((ee) => {
|
|
2576
2576
|
ee == null || ee.entities.values.forEach((ge) => {
|
|
2577
2577
|
var de;
|
|
@@ -2585,12 +2585,12 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2585
2585
|
});
|
|
2586
2586
|
});
|
|
2587
2587
|
}
|
|
2588
|
-
},
|
|
2588
|
+
}, Ee = (L, T, O, B) => {
|
|
2589
2589
|
i ? i(L, T, O, B) : Me(L, T, O, B);
|
|
2590
2590
|
};
|
|
2591
2591
|
return N(() => {
|
|
2592
2592
|
const L = S.dataSources.getByName(K)[0];
|
|
2593
|
-
L &&
|
|
2593
|
+
L && Ee(S, L, [], void 0);
|
|
2594
2594
|
}, [S.scene.mode]), N(() => {
|
|
2595
2595
|
S.layersManager && S.layersManager.dataLayerList.length > 0 && S.layersManager.findDataLayerById(t.id) !== void 0 && S.layersManager.addMetaToDataLayer(k);
|
|
2596
2596
|
}, [k]), N(() => {
|
|
@@ -2603,9 +2603,9 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2603
2603
|
};
|
|
2604
2604
|
S.scene.camera.moveEnd.addEventListener(L);
|
|
2605
2605
|
const T = new Dr(S.scene.canvas);
|
|
2606
|
-
return g(T),
|
|
2606
|
+
return g(T), Z.current.currentZoomLevel > 0 && (pe(), se.current = !0), () => {
|
|
2607
2607
|
var O;
|
|
2608
|
-
ie(S, "_cesiumWidget") !== void 0 && (
|
|
2608
|
+
ie(S, "_cesiumWidget") !== void 0 && (q.current.clear(), z.current.clear(), S.dataSources.remove(S.dataSources.getByName(`${m == null ? void 0 : m.dataSourcePrefix}${s.name}`)[0]), S.dataSources.remove(s, !0), (O = S.layersManager) == null || O.removeDataLayer(t.id), S.scene.camera.moveEnd.removeEventListener(L), T.removeInputAction(At.MOUSE_MOVE));
|
|
2609
2609
|
};
|
|
2610
2610
|
}, []), null;
|
|
2611
2611
|
}, vs = (e) => /* @__PURE__ */ l(ar, { ...e }), Ql = (e) => /* @__PURE__ */ l(kn, { ...e }), Es = (e) => /* @__PURE__ */ l(kn, { ...e }), Cs = (e) => /* @__PURE__ */ l(lr, { ...e }), ws = (e) => /* @__PURE__ */ l(cr, { ...e }), bs = (e) => /* @__PURE__ */ l(dr, { ...e }), Ls = (e) => /* @__PURE__ */ l(ur, { ...e });
|
|
@@ -3030,7 +3030,7 @@ var Ue = function() {
|
|
|
3030
3030
|
var y = this, u = this._scene, v = u.primitives, g = this._tooltip, w = s ? 3 : 2, f;
|
|
3031
3031
|
s ? f = new Ue.PolygonPrimitive(a) : f = new Ue.PolylinePrimitive(a), f.asynchronous = !1, v.add(f);
|
|
3032
3032
|
var M = [], D = new i.BillboardGroup(this, b), x = new E.ScreenSpaceEventHandler(u.canvas);
|
|
3033
|
-
|
|
3033
|
+
Z(u), x.setInputAction(function(_) {
|
|
3034
3034
|
if (_.position != null) {
|
|
3035
3035
|
var I = u.camera.pickEllipsoid(_.position, e);
|
|
3036
3036
|
I && (M.length == 0 && (M.push(I.clone()), D.addBillboard(M[0])), M.length >= w && (f.positions = M, f._createPrimitive = !0), M.push(I), D.addBillboard(I));
|
|
@@ -3065,7 +3065,7 @@ var Ue = function() {
|
|
|
3065
3065
|
E.Rectangle.southwest(s)
|
|
3066
3066
|
]);
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3068
|
+
function Z(s) {
|
|
3069
3069
|
s && (s.canvas.style.cursor = "crosshair");
|
|
3070
3070
|
}
|
|
3071
3071
|
function z(s) {
|
|
@@ -3077,7 +3077,7 @@ var Ue = function() {
|
|
|
3077
3077
|
f != null && v.remove(f), M != null && M.remove(), D.destroy(), g.setVisible(!1), z(u);
|
|
3078
3078
|
});
|
|
3079
3079
|
var y = this, u = this._scene, v = this._scene.primitives, g = this._tooltip, w = null, f = null, M = null, D = new E.ScreenSpaceEventHandler(u.canvas);
|
|
3080
|
-
|
|
3080
|
+
Z(u);
|
|
3081
3081
|
function x(_) {
|
|
3082
3082
|
f == null && (f = new Ue.ExtentPrimitive({
|
|
3083
3083
|
extent: _,
|
|
@@ -3092,10 +3092,10 @@ var Ue = function() {
|
|
|
3092
3092
|
if (I)
|
|
3093
3093
|
if (f == null) {
|
|
3094
3094
|
w = e.cartesianToCartographic(I);
|
|
3095
|
-
var A =
|
|
3095
|
+
var A = q(w, w);
|
|
3096
3096
|
x(A);
|
|
3097
3097
|
} else
|
|
3098
|
-
y.stopDrawing(), typeof a.callback == "function" && a.callback(
|
|
3098
|
+
y.stopDrawing(), typeof a.callback == "function" && a.callback(q(w, e.cartesianToCartographic(I)));
|
|
3099
3099
|
}
|
|
3100
3100
|
}, E.ScreenSpaceEventType.LEFT_DOWN), D.setInputAction(function(_) {
|
|
3101
3101
|
var I = _.endPosition;
|
|
@@ -3105,7 +3105,7 @@ var Ue = function() {
|
|
|
3105
3105
|
else {
|
|
3106
3106
|
var A = u.camera.pickEllipsoid(I, e);
|
|
3107
3107
|
if (A) {
|
|
3108
|
-
var re =
|
|
3108
|
+
var re = q(w, e.cartesianToCartographic(A));
|
|
3109
3109
|
x(re), g.showAt(I, "<p>Drag to change rectangle extent</p><p>Click again to finish drawing</p>");
|
|
3110
3110
|
}
|
|
3111
3111
|
}
|
|
@@ -3264,7 +3264,7 @@ var Ue = function() {
|
|
|
3264
3264
|
dragHandlers: {
|
|
3265
3265
|
onDrag: function(D, x) {
|
|
3266
3266
|
var _ = w.getBillboard((D + 2) % 4).position;
|
|
3267
|
-
u.setExtent(
|
|
3267
|
+
u.setExtent(q(e.cartesianToCartographic(_), e.cartesianToCartographic(x))), w.updateBillboardsPositions(H(u.extent));
|
|
3268
3268
|
},
|
|
3269
3269
|
onDragEnd: function(D, x) {
|
|
3270
3270
|
M();
|
|
@@ -3469,7 +3469,7 @@ var Ue = function() {
|
|
|
3469
3469
|
}(), i.prototype.addToolbar = function(s, a) {
|
|
3470
3470
|
return a = G(a, { container: s }), new i.DrawHelperWidget(this, a);
|
|
3471
3471
|
};
|
|
3472
|
-
function
|
|
3472
|
+
function q(s, a) {
|
|
3473
3473
|
var y = new E.Rectangle();
|
|
3474
3474
|
y.west = Math.min(s.longitude, a.longitude), y.east = Math.max(s.longitude, a.longitude), y.south = Math.min(s.latitude, a.latitude), y.north = Math.max(s.latitude, a.latitude);
|
|
3475
3475
|
var u = E.Math.EPSILON7;
|
|
@@ -3546,7 +3546,7 @@ const Ts = 2, Ss = (e, n) => {
|
|
|
3546
3546
|
}, Ms = (e) => {
|
|
3547
3547
|
const n = e.map((t) => {
|
|
3548
3548
|
const i = Re.fromCartesian(t);
|
|
3549
|
-
return [
|
|
3549
|
+
return [J.toDegrees(i.longitude), J.toDegrees(i.latitude)];
|
|
3550
3550
|
});
|
|
3551
3551
|
return n.push(n[0]), {
|
|
3552
3552
|
type: "Feature",
|
|
@@ -3558,8 +3558,8 @@ const Ts = 2, Ss = (e, n) => {
|
|
|
3558
3558
|
};
|
|
3559
3559
|
}, _s = (e) => {
|
|
3560
3560
|
const n = Vn.lineString([
|
|
3561
|
-
[
|
|
3562
|
-
[
|
|
3561
|
+
[J.toDegrees(e.west), J.toDegrees(e.south)],
|
|
3562
|
+
[J.toDegrees(e.east), J.toDegrees(e.north)]
|
|
3563
3563
|
]);
|
|
3564
3564
|
return gt(Gn(n));
|
|
3565
3565
|
}, Ps = (e) => {
|
|
@@ -3569,7 +3569,7 @@ const Ts = 2, Ss = (e, n) => {
|
|
|
3569
3569
|
]);
|
|
3570
3570
|
return gt(Gn(n)).geometry.coordinates[0].map((i) => _e.fromRadiansArray(i)[0]);
|
|
3571
3571
|
}, ec = (e) => {
|
|
3572
|
-
const { drawState: n, drawingMaterial: t, drawingVertexColor: i, material: o, hollow: r, outlineWidth: c } = e, d =
|
|
3572
|
+
const { drawState: n, drawingMaterial: t, drawingVertexColor: i, material: o, hollow: r, outlineWidth: c } = e, d = we(), [h, p] = F();
|
|
3573
3573
|
N(() => {
|
|
3574
3574
|
p(
|
|
3575
3575
|
// eslint-disable-next-line
|
|
@@ -3619,7 +3619,7 @@ const Ts = 2, Ss = (e, n) => {
|
|
|
3619
3619
|
case Se.POLYGON:
|
|
3620
3620
|
return /* @__PURE__ */ l(Cs, { hierarchy: new Bn(b), material: o ?? t });
|
|
3621
3621
|
default:
|
|
3622
|
-
return /* @__PURE__ */ l(
|
|
3622
|
+
return /* @__PURE__ */ l(Ce, {});
|
|
3623
3623
|
}
|
|
3624
3624
|
else {
|
|
3625
3625
|
switch (m.type) {
|
|
@@ -3630,12 +3630,12 @@ const Ts = 2, Ss = (e, n) => {
|
|
|
3630
3630
|
b = [...b, b[0]];
|
|
3631
3631
|
break;
|
|
3632
3632
|
default:
|
|
3633
|
-
return /* @__PURE__ */ l(
|
|
3633
|
+
return /* @__PURE__ */ l(Ce, {});
|
|
3634
3634
|
}
|
|
3635
3635
|
return /* @__PURE__ */ l(Ls, { clampToGround: !0, positions: b, width: c ?? 1, material: o ?? t });
|
|
3636
3636
|
}
|
|
3637
3637
|
} catch (b) {
|
|
3638
|
-
return console.error(b), /* @__PURE__ */ l(
|
|
3638
|
+
return console.error(b), /* @__PURE__ */ l(Ce, {});
|
|
3639
3639
|
}
|
|
3640
3640
|
};
|
|
3641
3641
|
return /* @__PURE__ */ l(bs, { ...e, children: e.drawings.map((m, b) => /* @__PURE__ */ $(vs, { name: m.name, children: [
|
|
@@ -3649,12 +3649,12 @@ const Ts = 2, Ss = (e, n) => {
|
|
|
3649
3649
|
C(m)
|
|
3650
3650
|
] }, m.id)) });
|
|
3651
3651
|
}, tc = (e) => {
|
|
3652
|
-
const n =
|
|
3652
|
+
const n = we();
|
|
3653
3653
|
return N(() => {
|
|
3654
3654
|
n.extend(Or);
|
|
3655
|
-
}, [n]), /* @__PURE__ */ l(
|
|
3655
|
+
}, [n]), /* @__PURE__ */ l(Ce, {});
|
|
3656
3656
|
}, xs = -25, bn = 2, nc = (e) => {
|
|
3657
|
-
const n =
|
|
3657
|
+
const n = we(), t = (r, c = ",") => r.slice(r.indexOf(`
|
|
3658
3658
|
`) + 1).split(`
|
|
3659
3659
|
`).map((p) => {
|
|
3660
3660
|
const C = p.split(c);
|
|
@@ -3721,7 +3721,7 @@ const Ts = 2, Ss = (e, n) => {
|
|
|
3721
3721
|
const p = new Blob([h], { type: "text/csv;charset=utf-8;" }), C = document.createElement("a"), m = URL.createObjectURL(p);
|
|
3722
3722
|
C.setAttribute("href", m), C.setAttribute("download", r), C.style.visibility = "hidden", document.body.appendChild(C), C.click(), document.body.removeChild(C);
|
|
3723
3723
|
};
|
|
3724
|
-
return /* @__PURE__ */ l(
|
|
3724
|
+
return /* @__PURE__ */ l(Ce, { children: /* @__PURE__ */ l(
|
|
3725
3725
|
"input",
|
|
3726
3726
|
{
|
|
3727
3727
|
type: "file",
|
|
@@ -3758,7 +3758,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3758
3758
|
typeof e.value < "u" && t(e.value), typeof e.defaultValue < "u" && t(e.defaultValue);
|
|
3759
3759
|
}, [e.value, e.defaultValue]), N(() => {
|
|
3760
3760
|
const { options: v } = e, { caret: g } = r;
|
|
3761
|
-
|
|
3761
|
+
q(n, g, v);
|
|
3762
3762
|
}, [e]);
|
|
3763
3763
|
const h = (v, g, w) => {
|
|
3764
3764
|
const { trigger: f, matchAny: M, regex: D } = e, x = new RegExp(D);
|
|
@@ -3774,29 +3774,29 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3774
3774
|
const { triggerStr: W, triggerMatch: te, triggerLength: ue } = A[ae];
|
|
3775
3775
|
for (let pe = g - 1; pe >= 0; --pe) {
|
|
3776
3776
|
const Me = v.substring(pe, g).match(x);
|
|
3777
|
-
let
|
|
3777
|
+
let Ee = -1;
|
|
3778
3778
|
if (ue > 0) {
|
|
3779
3779
|
const L = te ? pe : pe - ue + 1;
|
|
3780
|
-
if (L < 0 || (C(W, v, L) && (
|
|
3780
|
+
if (L < 0 || (C(W, v, L) && (Ee = L + ue), !Me && Ee < 0))
|
|
3781
3781
|
break;
|
|
3782
3782
|
} else {
|
|
3783
3783
|
if (Me && pe > 0)
|
|
3784
3784
|
continue;
|
|
3785
|
-
if (
|
|
3785
|
+
if (Ee = pe === 0 && Me ? 0 : pe + 1, g - Ee === 0)
|
|
3786
3786
|
break;
|
|
3787
3787
|
}
|
|
3788
|
-
if (
|
|
3788
|
+
if (Ee >= 0) {
|
|
3789
3789
|
const L = I[W];
|
|
3790
3790
|
if (!Array.isArray(L))
|
|
3791
3791
|
continue;
|
|
3792
|
-
const T = v.substring(
|
|
3792
|
+
const T = v.substring(Ee, g), O = L.filter((j) => {
|
|
3793
3793
|
const oe = j.toLowerCase().indexOf(T.toLowerCase());
|
|
3794
3794
|
return oe !== -1 && (M || oe === 0);
|
|
3795
3795
|
}), B = W, R = T.length;
|
|
3796
3796
|
re = {
|
|
3797
3797
|
...re,
|
|
3798
3798
|
trigger: B,
|
|
3799
|
-
matchStart:
|
|
3799
|
+
matchStart: Ee,
|
|
3800
3800
|
matchLength: R,
|
|
3801
3801
|
options: O
|
|
3802
3802
|
};
|
|
@@ -3824,7 +3824,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3824
3824
|
if (x[A] !== _[A]) {
|
|
3825
3825
|
if (A >= 2 && _[A - 1] === M && f.indexOf(_[A - 2]) === -1 && f.indexOf(_[A]) !== -1 && !kt(h(_.substring(0, A - 2), I - 3, w))) {
|
|
3826
3826
|
const re = `${_.slice(0, A - 1)}${_.slice(A, A + 1)}${_.slice(A - 1, A)}${_.slice(A + 1)}`;
|
|
3827
|
-
return
|
|
3827
|
+
return Z(A + 1), d.current !== null && (d.current.value = re), D || z({
|
|
3828
3828
|
...r,
|
|
3829
3829
|
value: re
|
|
3830
3830
|
}), g(re);
|
|
@@ -3833,7 +3833,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3833
3833
|
}
|
|
3834
3834
|
o(!1);
|
|
3835
3835
|
}
|
|
3836
|
-
return
|
|
3836
|
+
return q(_, I, w), g(v.target.value);
|
|
3837
3837
|
}, b = (v) => {
|
|
3838
3838
|
if (v !== void 0)
|
|
3839
3839
|
if (v.children.length > 0) {
|
|
@@ -3884,8 +3884,8 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3884
3884
|
});
|
|
3885
3885
|
}, H = (v) => {
|
|
3886
3886
|
const { spacer: g, onSelect: w, changeOnSelect: f } = e, { matchStart: M, matchLength: D, options: x, trigger: _ } = r, I = x[v], A = n, re = A.substring(0, M - _.length), ae = A.substring(M + D), W = { target: d.current }, te = f(_, I);
|
|
3887
|
-
W.target !== null && (W.target.value = `${re}${te}${g}${ae}`), m(W), W.target !== null && w(W.target.value), Y(),
|
|
3888
|
-
},
|
|
3887
|
+
W.target !== null && (W.target.value = `${re}${te}${g}${ae}`), m(W), W.target !== null && w(W.target.value), Y(), Z(re.length + te.length + 1), o(!0);
|
|
3888
|
+
}, Z = (v) => {
|
|
3889
3889
|
z({
|
|
3890
3890
|
...r,
|
|
3891
3891
|
caret: v
|
|
@@ -3898,7 +3898,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3898
3898
|
...v
|
|
3899
3899
|
});
|
|
3900
3900
|
}, 0);
|
|
3901
|
-
},
|
|
3901
|
+
}, q = (v, g, w) => {
|
|
3902
3902
|
const f = d.current;
|
|
3903
3903
|
if (d.current === null)
|
|
3904
3904
|
return;
|
|
@@ -3941,19 +3941,19 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3941
3941
|
...r,
|
|
3942
3942
|
selection: 0
|
|
3943
3943
|
}), null;
|
|
3944
|
-
const ue = re === 0 ? D.length : re, pe = D.slice(0, ue).map((Me,
|
|
3944
|
+
const ue = re === 0 ? D.length : re, pe = D.slice(0, ue).map((Me, Ee) => {
|
|
3945
3945
|
const L = Me.toLowerCase().indexOf(I.substr(f, M).toLowerCase());
|
|
3946
3946
|
return /* @__PURE__ */ $(
|
|
3947
3947
|
"li",
|
|
3948
3948
|
{
|
|
3949
|
-
className:
|
|
3949
|
+
className: Ee === x ? "active" : void 0,
|
|
3950
3950
|
onClick: () => {
|
|
3951
|
-
H(
|
|
3951
|
+
H(Ee);
|
|
3952
3952
|
},
|
|
3953
3953
|
onMouseEnter: () => {
|
|
3954
3954
|
z({
|
|
3955
3955
|
...r,
|
|
3956
|
-
selection:
|
|
3956
|
+
selection: Ee
|
|
3957
3957
|
});
|
|
3958
3958
|
},
|
|
3959
3959
|
children: [
|
|
@@ -3969,7 +3969,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3969
3969
|
}, { Component: X, ComponentProps: G, defaultValue: K, disabled: se, onBlur: s, value: a, ...y } = e, u = Object.assign({}, y);
|
|
3970
3970
|
return Object.keys(e).forEach((v) => {
|
|
3971
3971
|
delete u[v];
|
|
3972
|
-
}), /* @__PURE__ */ $(
|
|
3972
|
+
}), /* @__PURE__ */ $(Ce, { children: [
|
|
3973
3973
|
Oe.cloneElement(X, {
|
|
3974
3974
|
disabled: se,
|
|
3975
3975
|
onBlur: s,
|
|
@@ -4163,12 +4163,12 @@ const sc = Oe.memo(
|
|
|
4163
4163
|
}
|
|
4164
4164
|
}
|
|
4165
4165
|
})();
|
|
4166
|
-
const m = (K) => K.replace(/([A-Z])/g, (se) => "-" + se.toLowerCase()), b =
|
|
4166
|
+
const m = (K) => K.replace(/([A-Z])/g, (se) => "-" + se.toLowerCase()), b = fe(() => e !== void 0 ? Object.keys(e).reduce((se, s) => {
|
|
4167
4167
|
const a = e[s];
|
|
4168
4168
|
return s = s.startsWith("--") ? s : `--fp-theme-${m(s)}`, se[s] = a, se;
|
|
4169
|
-
}, {}) : {}, [e]), [P, S] = F(!1), [H,
|
|
4169
|
+
}, {}) : {}, [e]), [P, S] = F(!1), [H, Z] = F(), [z, q] = F(!1), [Y, k] = F(), [X, G] = F();
|
|
4170
4170
|
return N(() => {
|
|
4171
|
-
e && S(!0),
|
|
4171
|
+
e && S(!0), Z(t), i ? q(!0) : k([ne.CreateFolder, ne.DeleteFiles]), o !== void 0 && G(zs[o]);
|
|
4172
4172
|
}, [e, t, i, o]), /* @__PURE__ */ l(
|
|
4173
4173
|
me,
|
|
4174
4174
|
{
|
|
@@ -4198,7 +4198,7 @@ const sc = Oe.memo(
|
|
|
4198
4198
|
);
|
|
4199
4199
|
}
|
|
4200
4200
|
)
|
|
4201
|
-
), Us = (e) => /* @__PURE__ */ l(
|
|
4201
|
+
), Us = (e) => /* @__PURE__ */ l(qr.Option, { ...e, children: /* @__PURE__ */ l(Li, { label: e.label, checked: e.isSelected }) }), js = (e) => {
|
|
4202
4202
|
const { styles: n } = e;
|
|
4203
4203
|
return /* @__PURE__ */ l(Yr, { isMulti: !0, components: { Option: Us }, styles: n, isClearable: !0, hideSelectedOptions: !1, closeMenuOnSelect: !1, ...e });
|
|
4204
4204
|
}, ac = (e) => {
|
|
@@ -4268,14 +4268,14 @@ export {
|
|
|
4268
4268
|
ws as CesiumRectangleGraphics,
|
|
4269
4269
|
Dl as CesiumResource,
|
|
4270
4270
|
Vl as CesiumScene,
|
|
4271
|
-
|
|
4271
|
+
be as CesiumSceneMode,
|
|
4272
4272
|
fc as CesiumSceneTransforms,
|
|
4273
4273
|
Gl as CesiumVerticalOrigin,
|
|
4274
4274
|
Wl as CesiumViewer,
|
|
4275
4275
|
Jl as CesiumWFSLayer,
|
|
4276
4276
|
Yl as CesiumWMSLayer,
|
|
4277
|
-
|
|
4278
|
-
|
|
4277
|
+
ql as CesiumWMTSLayer,
|
|
4278
|
+
Zl as CesiumXYZLayer,
|
|
4279
4279
|
ls as CoordinatesTrackerTool,
|
|
4280
4280
|
El as CssBaseline,
|
|
4281
4281
|
rl as DateRangePicker,
|
|
@@ -4320,11 +4320,11 @@ export {
|
|
|
4320
4320
|
ll as getWMTSOptions,
|
|
4321
4321
|
hl as getXYZOptions,
|
|
4322
4322
|
Lt as isDateRange,
|
|
4323
|
-
|
|
4323
|
+
Zr as mapMcToMuiTheme,
|
|
4324
4324
|
Ms as polygonToGeoJSON,
|
|
4325
4325
|
_s as rectangleToGeoJSON,
|
|
4326
4326
|
Ps as rectangleToPositions,
|
|
4327
|
-
|
|
4327
|
+
we as useCesiumMap,
|
|
4328
4328
|
rt as useCesiumMapViewstate,
|
|
4329
4329
|
tt as useMap,
|
|
4330
4330
|
Wt as useMappedMuiTheme,
|