@vcmap/ui 5.0.0-rc.22 → 5.0.0-rc.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -20
- package/app.config.json +3 -0
- package/build/.eslintrc +3 -0
- package/build/build.js +184 -174
- package/build/buildCesium.js +32 -19
- package/build/buildHelpers.js +117 -48
- package/build/buildPreview.js +9 -6
- package/build/commonViteConfig.js +1 -3
- package/build/determineHost.js +17 -4
- package/build/generateOLLib.js +13 -16
- package/build/getPluginProxies.js +16 -3
- package/build/info/conf.json +21 -21
- package/build/info/publish.js +15 -4
- package/config/aerowest.config.json +18 -44
- package/config/base.config.json +72 -246
- package/config/codes.config.json +4 -0
- package/config/dev.config.json +11 -13
- package/config/graphFeatureInfo.config.json +58 -17
- package/config/projects.config.json +30 -0
- package/config/www.config.json +98 -297
- package/dist/assets/cesium/Workers/{ArcType-ce2e50ab.js → ArcType-2d9abbbc.js} +4 -4
- package/dist/assets/cesium/Workers/{AttributeCompression-b646d393.js → AttributeCompression-f9f6c717.js} +24 -24
- package/dist/assets/cesium/Workers/{AxisAlignedBoundingBox-ff186ccc.js → AxisAlignedBoundingBox-85d9e53a.js} +3 -3
- package/dist/assets/cesium/Workers/{BoundingRectangle-be5924f4.js → BoundingRectangle-1ee7eb47.js} +18 -18
- package/dist/assets/cesium/Workers/{BoxGeometry-12eeccaf.js → BoxGeometry-3b2be784.js} +9 -9
- package/dist/assets/cesium/Workers/{Check-666ab1a0.js → Check-6ede7e26.js} +22 -22
- package/dist/assets/cesium/Workers/{Color-a84038cb.js → Color-f107c84d.js} +59 -59
- package/dist/assets/cesium/Workers/{ComponentDatatype-f7b11d02.js → ComponentDatatype-cf1fa08e.js} +16 -16
- package/dist/assets/cesium/Workers/{CoplanarPolygonGeometryLibrary-3272c1b3.js → CoplanarPolygonGeometryLibrary-78d71993.js} +1 -1
- package/dist/assets/cesium/Workers/{CorridorGeometryLibrary-0170e093.js → CorridorGeometryLibrary-50d99b33.js} +1 -1
- package/dist/assets/cesium/Workers/{CylinderGeometry-7c5da648.js → CylinderGeometry-51b0d9bf.js} +12 -12
- package/dist/assets/cesium/Workers/{CylinderGeometryLibrary-372c07d8.js → CylinderGeometryLibrary-7bf291b4.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseGeometry-797d580e.js → EllipseGeometry-bcfb5d87.js} +20 -20
- package/dist/assets/cesium/Workers/{EllipseGeometryLibrary-2939e1dc.js → EllipseGeometryLibrary-e94f8472.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseOutlineGeometry-8b50870f.js → EllipseOutlineGeometry-28e3a1bb.js} +15 -15
- package/dist/assets/cesium/Workers/{EllipsoidGeodesic-98c62a56.js → EllipsoidGeodesic-5b3623dc.js} +6 -6
- package/dist/assets/cesium/Workers/{EllipsoidGeometry-21c0e3a5.js → EllipsoidGeometry-b222fa63.js} +14 -14
- package/dist/assets/cesium/Workers/{EllipsoidOutlineGeometry-eff247c8.js → EllipsoidOutlineGeometry-38a3fb5b.js} +15 -15
- package/dist/assets/cesium/Workers/{EllipsoidRhumbLine-19756602.js → EllipsoidRhumbLine-ef872433.js} +9 -9
- package/dist/assets/cesium/Workers/{EllipsoidTangentPlane-214683dc.js → EllipsoidTangentPlane-8c89f28c.js} +1 -1
- package/dist/assets/cesium/Workers/{EncodedCartesian3-81f70735.js → EncodedCartesian3-57415c8a.js} +6 -6
- package/dist/assets/cesium/Workers/{FrustumGeometry-ac42a6d9.js → FrustumGeometry-bdd3a04d.js} +139 -111
- package/dist/assets/cesium/Workers/{GeometryAttribute-7d6f1732.js → GeometryAttribute-153115c5.js} +20 -20
- package/dist/assets/cesium/Workers/{GeometryAttributes-f06a2792.js → GeometryAttributes-ad136444.js} +1 -1
- package/dist/assets/cesium/Workers/{GeometryInstance-451dc1cd.js → GeometryInstance-34d9e21e.js} +6 -6
- package/dist/assets/cesium/Workers/{GeometryPipeline-ce4339ed.js → GeometryPipeline-acb2399c.js} +22 -22
- package/dist/assets/cesium/Workers/{IndexDatatype-a55ceaa1.js → IndexDatatype-2643aa47.js} +13 -13
- package/dist/assets/cesium/Workers/{IntersectionTests-f6e6bd8a.js → IntersectionTests-271e513e.js} +37 -37
- package/dist/assets/cesium/Workers/{Math-2dbd6b93.js → Math-0a2ac845.js} +149 -139
- package/dist/assets/cesium/Workers/{Matrix2-13178034.js → Matrix2-e1298525.js} +256 -256
- package/dist/assets/cesium/Workers/{Matrix3-315394f6.js → Matrix3-41c58dde.js} +150 -150
- package/dist/assets/cesium/Workers/{OrientedBoundingBox-04920dc7.js → OrientedBoundingBox-5e04e31f.js} +19 -17
- package/dist/assets/cesium/Workers/{Plane-900aa728.js → Plane-4c3d403b.js} +5 -5
- package/dist/assets/cesium/Workers/{PolygonGeometryLibrary-a8680d96.js → PolygonGeometryLibrary-6762b65b.js} +6 -6
- package/dist/assets/cesium/Workers/PolygonPipeline-7dc7a431.js +1344 -0
- package/dist/assets/cesium/Workers/{PolylinePipeline-32f36d2a.js → PolylinePipeline-15fde655.js} +16 -16
- package/dist/assets/cesium/Workers/{PolylineVolumeGeometryLibrary-a510d657.js → PolylineVolumeGeometryLibrary-ba7dfed5.js} +7 -7
- package/dist/assets/cesium/Workers/{PrimitivePipeline-ba38434a.js → PrimitivePipeline-68f0b9a2.js} +6 -6
- package/dist/assets/cesium/Workers/{RectangleGeometryLibrary-bdba697e.js → RectangleGeometryLibrary-8eaf23da.js} +1 -1
- package/dist/assets/cesium/Workers/{RuntimeError-06c93819.js → RuntimeError-ef395448.js} +5 -5
- package/dist/assets/cesium/Workers/{TerrainEncoding-833187da.js → TerrainEncoding-eb8a645a.js} +30 -30
- package/dist/assets/cesium/Workers/Transforms-f6451f99.js +14698 -0
- package/dist/assets/cesium/Workers/{VertexFormat-6b480673.js → VertexFormat-030f11ff.js} +14 -14
- package/dist/assets/cesium/Workers/{WallGeometryLibrary-919eed92.js → WallGeometryLibrary-feef3109.js} +1 -1
- package/dist/assets/cesium/Workers/{WebGLConstants-a8cc3e8c.js → WebGLConstants-0b1ce7ba.js} +1 -1
- package/dist/assets/cesium/Workers/{WebMercatorProjection-13a90d41.js → WebMercatorProjection-13ed1a6e.js} +6 -6
- package/dist/assets/cesium/Workers/{arrayRemoveDuplicates-c2038105.js → arrayRemoveDuplicates-d2061e85.js} +5 -5
- package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +5 -5
- package/dist/assets/cesium/Workers/{combine-ca22a614.js → combine-d9581036.js} +5 -5
- package/dist/assets/cesium/Workers/combineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createBoxGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createCircleGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +8 -8
- package/dist/assets/cesium/Workers/createGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +33 -33
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +8 -8
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +6 -6
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +25 -25
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +17 -17
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +10 -10
- package/dist/assets/cesium/Workers/createSphereGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +8 -8
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +1 -1
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +27 -28
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +33 -38
- package/dist/assets/cesium/Workers/createWallGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +14 -14
- package/dist/assets/cesium/Workers/decodeDraco.js +10 -2
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +15 -15
- package/dist/assets/cesium/Workers/decodeI3S.js +1 -1
- package/dist/assets/cesium/Workers/{defaultValue-0a909f67.js → defaultValue-fe22d8c0.js} +2 -2
- package/dist/assets/cesium/Workers/package.js +1 -1
- package/dist/assets/cesium/Workers/transcodeKTX2.js +46 -26
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +24 -24
- package/dist/assets/{cesium.88cffd.js → cesium.253914.js} +36578 -33768
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.a66593.js → core.3a8205.js} +7824 -5377
- package/dist/assets/core.js +1 -1
- package/dist/assets/index.91ae2d55.js +1 -0
- package/dist/assets/{ol.d4539f.js → ol.1c946a.js} +5550 -5491
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui.0025be.css +5 -0
- package/dist/assets/{ui.d760e4.js → ui.0025be.js} +6260 -5164
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.427322.css → vuetify.6efa21.css} +2 -2
- package/dist/assets/{vuetify.427322.js → vuetify.6efa21.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +27 -7
- package/index.html +26 -6
- package/index.js +68 -15
- package/lib/cesium.js +1 -1
- package/lib/core.js +1 -1
- package/lib/ui.js +1 -1
- package/lib/vue.js +2 -2
- package/lib/vuetify.js +2 -2
- package/package.json +19 -10
- package/plugins/.eslintrc +9 -0
- package/plugins/@vcmap/create-link/fallbackCreateLink.vue +13 -9
- package/plugins/@vcmap/create-link/index.js +15 -6
- package/plugins/@vcmap/project-selector/{ContextsListComponent.vue → ModulesListComponent.vue} +14 -18
- package/plugins/@vcmap/project-selector/ProjectSelectorComponent.vue +19 -24
- package/plugins/@vcmap/project-selector/README.md +16 -20
- package/plugins/@vcmap/project-selector/config.json +13 -13
- package/plugins/@vcmap/project-selector/de.json +4 -1
- package/plugins/@vcmap/project-selector/en.json +4 -1
- package/plugins/@vcmap/project-selector/index.js +117 -107
- package/plugins/@vcmap/search-nominatim/LICENSE.md +5 -6
- package/plugins/@vcmap/search-nominatim/README.md +2 -1
- package/plugins/@vcmap/search-nominatim/config.json +1 -2
- package/plugins/@vcmap/search-nominatim/index.js +7 -4
- package/plugins/@vcmap/search-nominatim/nominatim.js +7 -2
- package/plugins/@vcmap/search-nominatim/package.json +2 -36
- package/plugins/@vcmap/simple-graph/README.md +29 -9
- package/plugins/@vcmap/simple-graph/SimpleGraphComponent.vue +2 -7
- package/plugins/@vcmap/simple-graph/index.js +2 -2
- package/plugins/@vcmap/simple-graph/simpleGraphView.js +3 -1
- package/plugins/@vcmap/theme-changer/README.md +5 -3
- package/plugins/@vcmap/theme-changer/ThemeChangerComponent.vue +6 -10
- package/plugins/@vcmap/theme-changer/config.json +67 -67
- package/plugins/@vcmap/theme-changer/index.js +11 -5
- package/plugins/@vcmap-show-case/buttons-example/ButtonsExample.vue +76 -11
- package/plugins/@vcmap-show-case/buttons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/category-tester/Categories.vue +144 -117
- package/plugins/@vcmap-show-case/category-tester/Category.vue +46 -29
- package/plugins/@vcmap-show-case/category-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/config-editor/ConfigEditor.vue +62 -0
- package/plugins/@vcmap-show-case/config-editor/index.js +13 -11
- package/plugins/@vcmap-show-case/context-menu-tester/index.js +18 -10
- package/plugins/@vcmap-show-case/form-inputs-example/FormInputsExample.vue +97 -109
- package/plugins/@vcmap-show-case/form-inputs-example/config.json +3 -3
- package/plugins/@vcmap-show-case/form-inputs-example/exampleActions.js +14 -4
- package/plugins/@vcmap-show-case/form-inputs-example/index.js +42 -19
- package/plugins/@vcmap-show-case/form-inputs-example/validation.js +2 -1
- package/plugins/@vcmap-show-case/icons-example/README.md +1 -1
- package/plugins/@vcmap-show-case/icons-example/allIconsComponent.vue +10 -10
- package/plugins/@vcmap-show-case/icons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/list-example/ListExample.vue +221 -103
- package/plugins/@vcmap-show-case/list-example/index.js +10 -8
- package/plugins/@vcmap-show-case/notifier-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/notifier-tester/notifierTester.vue +15 -21
- package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +183 -0
- package/plugins/@vcmap-show-case/table-example/README.md +3 -0
- package/plugins/@vcmap-show-case/table-example/index.js +49 -0
- package/plugins/@vcmap-show-case/table-example/package.json +5 -0
- package/plugins/@vcmap-show-case/textfields-example/TextfieldsExample.vue +7 -30
- package/plugins/@vcmap-show-case/textfields-example/index.js +10 -4
- package/plugins/@vcmap-show-case/window-tester/WindowExample.vue +16 -13
- package/plugins/@vcmap-show-case/window-tester/emptyComponent.vue +4 -7
- package/plugins/@vcmap-show-case/window-tester/index.js +26 -20
- package/plugins/@vcmap-show-case/window-tester/myCustomHeader.vue +7 -3
- package/plugins/@vcmap-show-case/window-tester/toolbox-data.js +82 -5
- package/plugins/@vcmap-show-case/window-tester/windowExampleContent.vue +3 -7
- package/plugins/@vcmap-show-case/wizard-example/index.js +9 -3
- package/plugins/@vcmap-show-case/wizard-example/wizardExample.vue +36 -38
- package/src/actions/actionHelper.js +64 -37
- package/src/actions/styleSelector.vue +40 -24
- package/src/application/VcsApp.vue +117 -80
- package/src/application/VcsAttributions.vue +8 -9
- package/src/application/VcsAttributionsFooter.vue +12 -9
- package/src/application/VcsMap.vue +9 -5
- package/src/application/VcsNavbar.vue +44 -27
- package/src/application/VcsSettings.vue +5 -12
- package/src/application/attributionsHelper.js +23 -11
- package/src/application/vcsAppWrapper.vue +1 -3
- package/src/components/buttons/VcsActionButtonList.vue +20 -17
- package/src/components/buttons/VcsButton.vue +19 -23
- package/src/components/buttons/VcsFormButton.vue +176 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +6 -7
- package/src/components/form-inputs-controls/VcsDatePicker.vue +142 -0
- package/src/components/form-inputs-controls/VcsFormSection.vue +11 -12
- package/src/components/form-inputs-controls/VcsLabel.vue +9 -10
- package/src/components/form-inputs-controls/VcsRadio.vue +44 -44
- package/src/components/form-inputs-controls/VcsSelect.vue +16 -13
- package/src/components/form-inputs-controls/VcsTextArea.vue +21 -14
- package/src/components/form-inputs-controls/VcsTextField.vue +44 -19
- package/src/components/form-inputs-controls/VcsWizard.vue +79 -77
- package/src/components/form-inputs-controls/VcsWizardStep.vue +20 -20
- package/src/components/form-inputs-controls/composables.js +13 -8
- package/src/components/form-output/VcsFormattedNumber.vue +26 -26
- package/src/components/icons/+all.js +13 -5
- package/src/components/icons/2DAreaIcon.vue +62 -10
- package/src/components/icons/2DDistanceIcon.vue +14 -2
- package/src/components/icons/3DAreaIcon.vue +62 -10
- package/src/components/icons/3DDistanceIcon.vue +14 -2
- package/src/components/icons/3DHeightIcon.vue +14 -2
- package/src/components/icons/AngleIcon.vue +12 -3
- package/src/components/icons/AssociationsIcon.vue +6 -1
- package/src/components/icons/AxisIcon.vue +34 -5
- package/src/components/icons/BoundingBoxIcon.vue +31 -5
- package/src/components/icons/CheckboxCheckedIcon.vue +4 -1
- package/src/components/icons/CheckboxIcon.vue +1 -8
- package/src/components/icons/CheckboxIndeterminateIcon.vue +9 -2
- package/src/components/icons/CircleIcon.vue +24 -4
- package/src/components/icons/ClippingHorizontalIcon.vue +14 -2
- package/src/components/icons/ClippingIcon.vue +13 -2
- package/src/components/icons/ClippingVerticalIcon.vue +14 -2
- package/src/components/icons/ColorPickerIcon.vue +13 -2
- package/src/components/icons/ColorSwatchIcon.vue +7 -1
- package/src/components/icons/CommentIcon.vue +6 -1
- package/src/components/icons/CompassIcon.vue +21 -3
- package/src/components/icons/ComponentsIcon.vue +14 -2
- package/src/components/icons/ConeIcon.vue +26 -4
- package/src/components/icons/DimensionsHouseIcon.vue +7 -1
- package/src/components/icons/EditIcon.vue +13 -2
- package/src/components/icons/ElevationProfileIcon.vue +6 -1
- package/src/components/icons/ExportAreaIcon.vue +13 -2
- package/src/components/icons/ExportFlightIcon.vue +13 -2
- package/src/components/icons/ExportIcon.vue +14 -2
- package/src/components/icons/ExternalLinkIcon.vue +18 -3
- package/src/components/icons/EyeIcon.vue +12 -2
- package/src/components/icons/FastForwardIcon.vue +13 -2
- package/src/components/icons/FilterIcon.vue +13 -2
- package/src/components/icons/GlobalTerrainIcon.vue +12 -2
- package/src/components/icons/GlobeNatureIcon.vue +7 -1
- package/src/components/icons/GroundIcon.vue +12 -2
- package/src/components/icons/HealthCareIndustriesIcon.vue +6 -1
- package/src/components/icons/HelpIcon.vue +12 -2
- package/src/components/icons/HideIcon.vue +17 -3
- package/src/components/icons/HomePointIcon.vue +13 -3
- package/src/components/icons/HospitalsIcon.vue +6 -1
- package/src/components/icons/HouseIcon.vue +20 -3
- package/src/components/icons/ImportIcon.vue +21 -3
- package/src/components/icons/InfoIcon.vue +19 -3
- package/src/components/icons/KebabIcon.vue +12 -2
- package/src/components/icons/LabelIcon.vue +21 -3
- package/src/components/icons/LayersIcon.vue +12 -2
- package/src/components/icons/LegendIcon.vue +20 -60
- package/src/components/icons/LineIcon.vue +20 -3
- package/src/components/icons/LinkIcon.vue +13 -2
- package/src/components/icons/LogoutIcon.vue +13 -2
- package/src/components/icons/MapIcon.vue +14 -2
- package/src/components/icons/MenuIcon.vue +7 -1
- package/src/components/icons/MinusIcon.vue +14 -2
- package/src/components/icons/ObjectAttributeIcon.vue +13 -2
- package/src/components/icons/ObjectSelectIcon.vue +14 -2
- package/src/components/icons/ObliqueViewIcon.vue +11 -2
- package/src/components/icons/PdfIcon.vue +12 -2
- package/src/components/icons/PedestrianIcon.vue +13 -2
- package/src/components/icons/PenIcon.vue +13 -3
- package/src/components/icons/PlayCircleIcon.vue +20 -3
- package/src/components/icons/PlusIcon.vue +14 -3
- package/src/components/icons/PoiIcon.vue +17 -3
- package/src/components/icons/PointSelectIcon.vue +12 -2
- package/src/components/icons/PolygonIcon.vue +7 -1
- package/src/components/icons/PresentationModeIcon.vue +13 -2
- package/src/components/icons/ProgressIcon.vue +8 -6
- package/src/components/icons/QueryIcon.vue +31 -5
- package/src/components/icons/RectangleIcon.vue +24 -4
- package/src/components/icons/ReturnIcon.vue +13 -2
- package/src/components/icons/RewindIcon.vue +13 -2
- package/src/components/icons/RotateLeftIcon.vue +13 -2
- package/src/components/icons/RotateRightIcon.vue +13 -2
- package/src/components/icons/ScreenshotIcon.vue +52 -10
- package/src/components/icons/SearchIcon.vue +13 -3
- package/src/components/icons/ShadowIcon.vue +14 -3
- package/src/components/icons/ShapesIcon.vue +13 -3
- package/src/components/icons/ShareIcon.vue +17 -4
- package/src/components/icons/SimpleCircleFilledIcon.vue +14 -10
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +6 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +14 -10
- package/src/components/icons/SkipNextIcon.vue +11 -2
- package/src/components/icons/SkipPreviousIcon.vue +17 -3
- package/src/components/icons/SplitViewIcon.vue +6 -1
- package/src/components/icons/TerrainBoxIcon.vue +12 -2
- package/src/components/icons/TextStyleIcon.vue +7 -1
- package/src/components/icons/ThreeDimensionsIcon.vue +13 -2
- package/src/components/icons/ToolsIcon.vue +12 -2
- package/src/components/icons/TouchIcon.vue +13 -2
- package/src/components/icons/TrashCanIcon.vue +13 -2
- package/src/components/icons/TriangleIcon.vue +6 -2
- package/src/components/icons/TwoDimensionsIcon.vue +14 -2
- package/src/components/icons/UploadIcon.vue +13 -2
- package/src/components/icons/UserProfileIcon.vue +13 -2
- package/src/components/icons/UserShareIcon.vue +12 -2
- package/src/components/icons/VideoRecorderIcon.vue +16 -3
- package/src/components/icons/ViewpointFlightIcon.vue +22 -4
- package/src/components/icons/ViewpointIcon.vue +22 -4
- package/src/components/icons/Viewshed360Icon.vue +14 -2
- package/src/components/icons/ViewshedConeIcon.vue +13 -2
- package/src/components/icons/ViewshedIcon.vue +14 -2
- package/src/components/icons/WalkingIcon.vue +13 -2
- package/src/components/icons/WallIcon.vue +19 -3
- package/src/components/icons/WandIcon.vue +129 -21
- package/src/components/imageElementInjector.vue +1 -3
- package/src/components/lists/VcsActionList.vue +21 -18
- package/src/components/lists/VcsList.vue +226 -97
- package/src/components/lists/VcsTreeview.vue +30 -26
- package/src/components/lists/VcsTreeviewLeaf.vue +23 -22
- package/src/components/lists/VcsTreeviewSearchbar.vue +19 -15
- package/src/components/notification/VcsBadge.vue +4 -6
- package/src/components/notification/VcsTooltip.vue +95 -94
- package/src/components/notification/validation.js +1 -1
- package/src/components/tables/VcsDataTable.vue +398 -0
- package/src/components/tables/VcsTable.vue +63 -300
- package/src/contentTree/LayerTree.vue +2 -3
- package/src/contentTree/contentTreeCollection.js +49 -23
- package/src/contentTree/contentTreeItem.js +36 -14
- package/src/contentTree/groupContentTreeItem.js +44 -22
- package/src/contentTree/layerContentTreeItem.js +45 -20
- package/src/contentTree/layerGroupContentTreeItem.js +53 -31
- package/src/contentTree/nodeContentTreeItem.js +18 -7
- package/src/contentTree/obliqueCollectionContentTreeItem.js +45 -20
- package/src/contentTree/subContentTreeItem.js +13 -4
- package/src/contentTree/vcsObjectContentTreeItem.js +24 -15
- package/src/contentTree/viewpointContentTreeItem.js +19 -6
- package/src/downloadHelper.js +52 -0
- package/src/featureInfo/AddressBalloonComponent.vue +11 -16
- package/src/featureInfo/BalloonComponent.vue +41 -31
- package/src/featureInfo/abstractFeatureInfoView.js +30 -14
- package/src/featureInfo/addressBalloonFeatureInfoView.js +19 -7
- package/src/featureInfo/balloonFeatureInfoView.js +22 -9
- package/src/featureInfo/balloonHelper.js +61 -42
- package/src/featureInfo/featureInfo.js +74 -34
- package/src/featureInfo/featureInfoInteraction.js +13 -7
- package/src/featureInfo/iframeFeatureInfoView.js +3 -1
- package/src/featureInfo/tableFeatureInfoView.js +15 -5
- package/src/i18n/de.js +8 -0
- package/src/i18n/en.js +8 -0
- package/src/i18n/i18nCollection.js +183 -155
- package/src/init.js +124 -38
- package/src/legend/legendHelper.js +11 -6
- package/src/legend/styleLegendItem.vue +18 -12
- package/src/legend/vcsLegend.vue +15 -17
- package/src/manager/buttonManager.js +6 -3
- package/src/manager/categoryManager/CategoryComponent.vue +99 -63
- package/src/manager/categoryManager/CategoryComponentList.vue +33 -8
- package/src/manager/categoryManager/CategoryManager.vue +23 -11
- package/src/manager/categoryManager/categoryManager.js +90 -45
- package/src/manager/contextMenu/contextMenuComponent.vue +2 -6
- package/src/manager/contextMenu/contextMenuInteraction.js +6 -1
- package/src/manager/contextMenu/contextMenuManager.js +37 -22
- package/src/manager/navbarManager.js +28 -3
- package/src/manager/toolbox/GroupToolboxComponent.vue +22 -21
- package/src/manager/toolbox/SelectToolboxComponent.vue +36 -35
- package/src/manager/toolbox/ToolboxManager.vue +18 -10
- package/src/manager/toolbox/toolboxManager.js +30 -12
- package/src/manager/window/WindowComponent.vue +24 -32
- package/src/manager/window/WindowComponentHeader.vue +38 -28
- package/src/manager/window/WindowManager.vue +45 -35
- package/src/manager/window/windowHelper.js +80 -24
- package/src/manager/window/windowManager.js +79 -39
- package/src/navigation/mapNavCompass.vue +18 -4
- package/src/navigation/mapNavigation.vue +65 -46
- package/src/navigation/obliqueRotation.vue +34 -13
- package/src/navigation/orientationToolsButton.vue +6 -10
- package/src/navigation/overviewMap.js +76 -45
- package/src/navigation/overviewMapClickedInteraction.js +6 -1
- package/src/navigation/tiltSlider.vue +6 -10
- package/src/navigation/vcsCompass.vue +1 -9
- package/src/navigation/vcsZoomButton.vue +36 -11
- package/src/notifier/notifier.js +22 -13
- package/src/notifier/notifierComponent.vue +21 -21
- package/src/pluginHelper.js +39 -5
- package/src/search/resultItem.vue +10 -15
- package/src/search/resultsComponent.vue +30 -24
- package/src/search/search.js +48 -22
- package/src/search/searchComponent.vue +35 -10
- package/src/setup.js +9 -9
- package/src/state.js +28 -12
- package/src/styles/_typography.scss +0 -1
- package/src/styles/shades.scss +4 -2
- package/src/styles/utils/_border.scss +1 -1
- package/src/styles/utils/_display.scss +1 -1
- package/src/styles/variables.scss +39 -34
- package/src/styles/vcsFont.scss +6 -5
- package/src/styles/vcsGrid.scss +9 -0
- package/src/uiConfig.js +6 -4
- package/src/vcsUiApp.js +192 -91
- package/src/vuePlugins/i18n.js +5 -4
- package/src/vuePlugins/vuetify.js +4 -0
- package/start.js +8 -2
- package/dist/assets/cesium/Workers/PolygonPipeline-844aab0a.js +0 -1345
- package/dist/assets/cesium/Workers/Transforms-40229881.js +0 -14696
- package/dist/assets/index.8b833ead.js +0 -1
- package/dist/assets/ui.d760e4.css +0 -5
- package/map.config.json +0 -44
- package/plugins/@vcmap-show-case/config-editor/editor.vue +0 -66
- /package/dist/assets/cesium/Workers/{GeometryOffsetAttribute-04332ce7.js → GeometryOffsetAttribute-9ad0019c.js} +0 -0
- /package/dist/assets/{vue.db5102.js → vue.c1ece7.js} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./defaultValue-
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Check-6ede7e26', './EllipsoidGeometry-b222fa63', './VertexFormat-030f11ff', './Math-0a2ac845', './Transforms-f6451f99', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-153115c5', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47'], (function (defaultValue, Matrix3, Check, EllipsoidGeometry, VertexFormat, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* A description of a sphere centered at the origin.
|
@@ -6,10 +6,10 @@ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './
|
|
6
6
|
* @alias SphereGeometry
|
7
7
|
* @constructor
|
8
8
|
*
|
9
|
-
* @param {
|
10
|
-
* @param {
|
11
|
-
* @param {
|
12
|
-
* @param {
|
9
|
+
* @param {object} [options] Object with the following properties:
|
10
|
+
* @param {number} [options.radius=1.0] The radius of the sphere.
|
11
|
+
* @param {number} [options.stackPartitions=64] The number of times to partition the ellipsoid into stacks.
|
12
|
+
* @param {number} [options.slicePartitions=64] The number of times to partition the ellipsoid into radial slices.
|
13
13
|
* @param {VertexFormat} [options.vertexFormat=VertexFormat.DEFAULT] The vertex attributes to be computed.
|
14
14
|
*
|
15
15
|
* @exception {DeveloperError} options.slicePartitions cannot be less than three.
|
@@ -40,7 +40,7 @@ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './
|
|
40
40
|
|
41
41
|
/**
|
42
42
|
* The number of elements used to pack the object into an array.
|
43
|
-
* @type {
|
43
|
+
* @type {number}
|
44
44
|
*/
|
45
45
|
SphereGeometry.packedLength = EllipsoidGeometry.EllipsoidGeometry.packedLength;
|
46
46
|
|
@@ -48,10 +48,10 @@ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './
|
|
48
48
|
* Stores the provided instance into the provided array.
|
49
49
|
*
|
50
50
|
* @param {SphereGeometry} value The value to pack.
|
51
|
-
* @param {
|
52
|
-
* @param {
|
51
|
+
* @param {number[]} array The array to pack into.
|
52
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
53
53
|
*
|
54
|
-
* @returns {
|
54
|
+
* @returns {number[]} The array that was packed into
|
55
55
|
*/
|
56
56
|
SphereGeometry.pack = function (value, array, startingIndex) {
|
57
57
|
//>>includeStart('debug', pragmas.debug);
|
@@ -73,8 +73,8 @@ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './
|
|
73
73
|
/**
|
74
74
|
* Retrieves an instance from a packed array.
|
75
75
|
*
|
76
|
-
* @param {
|
77
|
-
* @param {
|
76
|
+
* @param {number[]} array The packed array.
|
77
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
78
78
|
* @param {SphereGeometry} [result] The object into which to store the result.
|
79
79
|
* @returns {SphereGeometry} The modified result parameter or a new SphereGeometry instance if one was not provided.
|
80
80
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./defaultValue-
|
1
|
+
define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Check-6ede7e26', './EllipsoidOutlineGeometry-38a3fb5b', './Math-0a2ac845', './Transforms-f6451f99', './Matrix2-e1298525', './RuntimeError-ef395448', './combine-d9581036', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-153115c5', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './IndexDatatype-2643aa47'], (function (defaultValue, Matrix3, Check, EllipsoidOutlineGeometry, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* A description of the outline of a sphere.
|
@@ -6,11 +6,11 @@ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './
|
|
6
6
|
* @alias SphereOutlineGeometry
|
7
7
|
* @constructor
|
8
8
|
*
|
9
|
-
* @param {
|
10
|
-
* @param {
|
11
|
-
* @param {
|
12
|
-
* @param {
|
13
|
-
* @param {
|
9
|
+
* @param {object} [options] Object with the following properties:
|
10
|
+
* @param {number} [options.radius=1.0] The radius of the sphere.
|
11
|
+
* @param {number} [options.stackPartitions=10] The count of stacks for the sphere (1 greater than the number of parallel lines).
|
12
|
+
* @param {number} [options.slicePartitions=8] The count of slices for the sphere (Equal to the number of radial lines).
|
13
|
+
* @param {number} [options.subdivisions=200] The number of points per line, determining the granularity of the curvature .
|
14
14
|
*
|
15
15
|
* @exception {DeveloperError} options.stackPartitions must be greater than or equal to one.
|
16
16
|
* @exception {DeveloperError} options.slicePartitions must be greater than or equal to zero.
|
@@ -40,7 +40,7 @@ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './
|
|
40
40
|
|
41
41
|
/**
|
42
42
|
* The number of elements used to pack the object into an array.
|
43
|
-
* @type {
|
43
|
+
* @type {number}
|
44
44
|
*/
|
45
45
|
SphereOutlineGeometry.packedLength = EllipsoidOutlineGeometry.EllipsoidOutlineGeometry.packedLength;
|
46
46
|
|
@@ -48,10 +48,10 @@ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './
|
|
48
48
|
* Stores the provided instance into the provided array.
|
49
49
|
*
|
50
50
|
* @param {SphereOutlineGeometry} value The value to pack.
|
51
|
-
* @param {
|
52
|
-
* @param {
|
51
|
+
* @param {number[]} array The array to pack into.
|
52
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
53
53
|
*
|
54
|
-
* @returns {
|
54
|
+
* @returns {number[]} The array that was packed into
|
55
55
|
*/
|
56
56
|
SphereOutlineGeometry.pack = function (value, array, startingIndex) {
|
57
57
|
//>>includeStart('debug', pragmas.debug);
|
@@ -77,8 +77,8 @@ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './
|
|
77
77
|
/**
|
78
78
|
* Retrieves an instance from a packed array.
|
79
79
|
*
|
80
|
-
* @param {
|
81
|
-
* @param {
|
80
|
+
* @param {number[]} array The packed array.
|
81
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
82
82
|
* @param {SphereOutlineGeometry} [result] The object into which to store the result.
|
83
83
|
* @returns {SphereOutlineGeometry} The modified result parameter or a new SphereOutlineGeometry instance if one was not provided.
|
84
84
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./defaultValue-
|
1
|
+
define(['./defaultValue-fe22d8c0'], (function (defaultValue) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Formats an error object into a String. If available, uses name, message, and stack
|
@@ -7,7 +7,7 @@ define(['./defaultValue-0a909f67'], (function (defaultValue) { 'use strict';
|
|
7
7
|
* @function
|
8
8
|
*
|
9
9
|
* @param {*} object The item to find in the array.
|
10
|
-
* @returns {
|
10
|
+
* @returns {string} A string containing the formatted error.
|
11
11
|
*/
|
12
12
|
function formatError(object) {
|
13
13
|
let result;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./AttributeCompression-
|
1
|
+
define(['./AttributeCompression-f9f6c717', './Matrix3-41c58dde', './combine-d9581036', './IndexDatatype-2643aa47', './Math-0a2ac845', './Matrix2-e1298525', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './defaultValue-fe22d8c0', './Check-6ede7e26', './WebGLConstants-0b1ce7ba', './RuntimeError-ef395448'], (function (AttributeCompression, Matrix3, combine, IndexDatatype, Math$1, Matrix2, createTaskProcessorWorker, ComponentDatatype, defaultValue, Check, WebGLConstants, RuntimeError) { 'use strict';
|
2
2
|
|
3
3
|
const MAX_SHORT = 32767;
|
4
4
|
const MITER_BREAK = Math.cos(Math$1.CesiumMath.toRadians(150.0));
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./Transforms-
|
1
|
+
define(['./Transforms-f6451f99', './BoxGeometry-3b2be784', './Matrix3-41c58dde', './Color-f107c84d', './CylinderGeometry-51b0d9bf', './defaultValue-fe22d8c0', './EllipsoidGeometry-b222fa63', './IndexDatatype-2643aa47', './Matrix2-e1298525', './createTaskProcessorWorker', './Check-6ede7e26', './Math-0a2ac845', './combine-d9581036', './RuntimeError-ef395448', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './GeometryAttribute-153115c5', './GeometryAttributes-ad136444', './GeometryOffsetAttribute-9ad0019c', './VertexFormat-030f11ff', './CylinderGeometryLibrary-7bf291b4'], (function (Transforms, BoxGeometry, Matrix3, Color, CylinderGeometry, defaultValue, EllipsoidGeometry, IndexDatatype, Matrix2, createTaskProcessorWorker, Check, Math$1, combine, RuntimeError, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, VertexFormat, CylinderGeometryLibrary) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Describes a renderable batch of geometry.
|
@@ -6,23 +6,23 @@ define(['./Transforms-40229881', './BoxGeometry-12eeccaf', './Matrix3-315394f6',
|
|
6
6
|
* @alias Vector3DTileBatch
|
7
7
|
* @constructor
|
8
8
|
*
|
9
|
-
* @param {
|
10
|
-
* @param {
|
11
|
-
* @param {
|
9
|
+
* @param {object} options An object with the following properties:
|
10
|
+
* @param {number} options.offset The offset of the batch into the indices buffer.
|
11
|
+
* @param {number} options.count The number of indices in the batch.
|
12
12
|
* @param {Color} options.color The color of the geometry in the batch.
|
13
|
-
* @param {
|
13
|
+
* @param {number[]} options.batchIds An array where each element is the batch id of the geometry in the batch.
|
14
14
|
*
|
15
15
|
* @private
|
16
16
|
*/
|
17
17
|
function Vector3DTileBatch(options) {
|
18
18
|
/**
|
19
19
|
* The offset of the batch into the indices buffer.
|
20
|
-
* @type {
|
20
|
+
* @type {number}
|
21
21
|
*/
|
22
22
|
this.offset = options.offset;
|
23
23
|
/**
|
24
24
|
* The number of indices in the batch.
|
25
|
-
* @type {
|
25
|
+
* @type {number}
|
26
26
|
*/
|
27
27
|
this.count = options.count;
|
28
28
|
/**
|
@@ -32,7 +32,7 @@ define(['./Transforms-40229881', './BoxGeometry-12eeccaf', './Matrix3-315394f6',
|
|
32
32
|
this.color = options.color;
|
33
33
|
/**
|
34
34
|
* An array where each element is the batch id of the geometry in the batch.
|
35
|
-
* @type {
|
35
|
+
* @type {number[]}
|
36
36
|
*/
|
37
37
|
this.batchIds = options.batchIds;
|
38
38
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./AttributeCompression-
|
1
|
+
define(['./AttributeCompression-f9f6c717', './Matrix3-41c58dde', './Math-0a2ac845', './Matrix2-e1298525', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './defaultValue-fe22d8c0', './Check-6ede7e26', './WebGLConstants-0b1ce7ba', './RuntimeError-ef395448'], (function (AttributeCompression, Matrix3, Math, Matrix2, createTaskProcessorWorker, ComponentDatatype, defaultValue, Check, WebGLConstants, RuntimeError) { 'use strict';
|
2
2
|
|
3
3
|
const maxShort = 32767;
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./AttributeCompression-
|
1
|
+
define(['./AttributeCompression-f9f6c717', './Matrix3-41c58dde', './Color-f107c84d', './defaultValue-fe22d8c0', './IndexDatatype-2643aa47', './Math-0a2ac845', './OrientedBoundingBox-5e04e31f', './Matrix2-e1298525', './createTaskProcessorWorker', './ComponentDatatype-cf1fa08e', './Check-6ede7e26', './WebGLConstants-0b1ce7ba', './Transforms-f6451f99', './combine-d9581036', './RuntimeError-ef395448', './EllipsoidTangentPlane-8c89f28c', './AxisAlignedBoundingBox-85d9e53a', './IntersectionTests-271e513e', './Plane-4c3d403b'], (function (AttributeCompression, Matrix3, Color, defaultValue, IndexDatatype, Math$1, OrientedBoundingBox, Matrix2, createTaskProcessorWorker, ComponentDatatype, Check, WebGLConstants, Transforms, combine, RuntimeError, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane) { 'use strict';
|
2
2
|
|
3
3
|
const scratchCenter = new Matrix3.Cartesian3();
|
4
4
|
const scratchEllipsoid = new Matrix3.Ellipsoid();
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./Matrix3-
|
1
|
+
define(['./Matrix3-41c58dde', './combine-d9581036', './AttributeCompression-f9f6c717', './Math-0a2ac845', './IndexDatatype-2643aa47', './Matrix2-e1298525', './createTaskProcessorWorker', './Check-6ede7e26', './defaultValue-fe22d8c0', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './RuntimeError-ef395448'], (function (Matrix3, combine, AttributeCompression, Math, IndexDatatype, Matrix2, createTaskProcessorWorker, Check, defaultValue, ComponentDatatype, WebGLConstants, RuntimeError) { 'use strict';
|
2
2
|
|
3
3
|
const maxShort = 32767;
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./AxisAlignedBoundingBox-
|
1
|
+
define(['./AxisAlignedBoundingBox-85d9e53a', './Transforms-f6451f99', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-eb8a645a', './Math-0a2ac845', './OrientedBoundingBox-5e04e31f', './RuntimeError-ef395448', './WebMercatorProjection-13ed1a6e', './createTaskProcessorWorker', './Check-6ede7e26', './combine-d9581036', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-8c89f28c', './IntersectionTests-271e513e', './Plane-4c3d403b'], (function (AxisAlignedBoundingBox, Transforms, Matrix2, Matrix3, defaultValue, TerrainEncoding, Math$1, OrientedBoundingBox, RuntimeError, WebMercatorProjection, createTaskProcessorWorker, Check, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
|
2
2
|
|
3
3
|
const sizeOfUint16 = Uint16Array.BYTES_PER_ELEMENT;
|
4
4
|
const sizeOfInt32 = Int32Array.BYTES_PER_ELEMENT;
|
@@ -1,15 +1,15 @@
|
|
1
|
-
define(['./Matrix3-
|
1
|
+
define(['./Matrix3-41c58dde', './AxisAlignedBoundingBox-85d9e53a', './Transforms-f6451f99', './Matrix2-e1298525', './defaultValue-fe22d8c0', './Check-6ede7e26', './TerrainEncoding-eb8a645a', './Math-0a2ac845', './OrientedBoundingBox-5e04e31f', './WebMercatorProjection-13ed1a6e', './RuntimeError-ef395448', './createTaskProcessorWorker', './combine-d9581036', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './EllipsoidTangentPlane-8c89f28c', './IntersectionTests-271e513e', './Plane-4c3d403b'], (function (Matrix3, AxisAlignedBoundingBox, Transforms, Matrix2, defaultValue, Check, TerrainEncoding, Math$1, OrientedBoundingBox, WebMercatorProjection, RuntimeError, createTaskProcessorWorker, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* The encoding that is used for a heightmap
|
5
5
|
*
|
6
|
-
* @enum {
|
6
|
+
* @enum {number}
|
7
7
|
*/
|
8
8
|
const HeightmapEncoding = {
|
9
9
|
/**
|
10
10
|
* No encoding
|
11
11
|
*
|
12
|
-
* @type {
|
12
|
+
* @type {number}
|
13
13
|
* @constant
|
14
14
|
*/
|
15
15
|
NONE: 0,
|
@@ -17,7 +17,7 @@ define(['./Matrix3-315394f6', './AxisAlignedBoundingBox-ff186ccc', './Transforms
|
|
17
17
|
/**
|
18
18
|
* LERC encoding
|
19
19
|
*
|
20
|
-
* @type {
|
20
|
+
* @type {number}
|
21
21
|
* @constant
|
22
22
|
*
|
23
23
|
* @see {@link https://github.com/Esri/lerc|The LERC specification}
|
@@ -57,51 +57,51 @@ define(['./Matrix3-315394f6', './AxisAlignedBoundingBox-ff186ccc', './Transforms
|
|
57
57
|
/**
|
58
58
|
* Fills an array of vertices from a heightmap image.
|
59
59
|
*
|
60
|
-
* @param {
|
60
|
+
* @param {object} options Object with the following properties:
|
61
61
|
* @param {Int8Array|Uint8Array|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array} options.heightmap The heightmap to tessellate.
|
62
|
-
* @param {
|
63
|
-
* @param {
|
64
|
-
* @param {
|
62
|
+
* @param {number} options.width The width of the heightmap, in height samples.
|
63
|
+
* @param {number} options.height The height of the heightmap, in height samples.
|
64
|
+
* @param {number} options.skirtHeight The height of skirts to drape at the edges of the heightmap.
|
65
65
|
* @param {Rectangle} options.nativeRectangle A rectangle in the native coordinates of the heightmap's projection. For
|
66
66
|
* a heightmap with a geographic projection, this is degrees. For the web mercator
|
67
67
|
* projection, this is meters.
|
68
|
-
* @param {
|
69
|
-
* @param {
|
68
|
+
* @param {number} [options.exaggeration=1.0] The scale used to exaggerate the terrain.
|
69
|
+
* @param {number} [options.exaggerationRelativeHeight=0.0] The height from which terrain is exaggerated.
|
70
70
|
* @param {Rectangle} [options.rectangle] The rectangle covered by the heightmap, in geodetic coordinates with north, south, east and
|
71
71
|
* west properties in radians. Either rectangle or nativeRectangle must be provided. If both
|
72
72
|
* are provided, they're assumed to be consistent.
|
73
|
-
* @param {
|
73
|
+
* @param {boolean} [options.isGeographic=true] True if the heightmap uses a {@link GeographicProjection}, or false if it uses
|
74
74
|
* a {@link WebMercatorProjection}.
|
75
75
|
* @param {Cartesian3} [options.relativeToCenter=Cartesian3.ZERO] The positions will be computed as <code>Cartesian3.subtract(worldPosition, relativeToCenter)</code>.
|
76
76
|
* @param {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid to which the heightmap applies.
|
77
|
-
* @param {
|
78
|
-
* @param {
|
77
|
+
* @param {object} [options.structure] An object describing the structure of the height data.
|
78
|
+
* @param {number} [options.structure.heightScale=1.0] The factor by which to multiply height samples in order to obtain
|
79
79
|
* the height above the heightOffset, in meters. The heightOffset is added to the resulting
|
80
80
|
* height after multiplying by the scale.
|
81
|
-
* @param {
|
81
|
+
* @param {number} [options.structure.heightOffset=0.0] The offset to add to the scaled height to obtain the final
|
82
82
|
* height in meters. The offset is added after the height sample is multiplied by the
|
83
83
|
* heightScale.
|
84
|
-
* @param {
|
84
|
+
* @param {number} [options.structure.elementsPerHeight=1] The number of elements in the buffer that make up a single height
|
85
85
|
* sample. This is usually 1, indicating that each element is a separate height sample. If
|
86
86
|
* it is greater than 1, that number of elements together form the height sample, which is
|
87
87
|
* computed according to the structure.elementMultiplier and structure.isBigEndian properties.
|
88
|
-
* @param {
|
88
|
+
* @param {number} [options.structure.stride=1] The number of elements to skip to get from the first element of
|
89
89
|
* one height to the first element of the next height.
|
90
|
-
* @param {
|
90
|
+
* @param {number} [options.structure.elementMultiplier=256.0] The multiplier used to compute the height value when the
|
91
91
|
* stride property is greater than 1. For example, if the stride is 4 and the strideMultiplier
|
92
92
|
* is 256, the height is computed as follows:
|
93
93
|
* `height = buffer[index] + buffer[index + 1] * 256 + buffer[index + 2] * 256 * 256 + buffer[index + 3] * 256 * 256 * 256`
|
94
94
|
* This is assuming that the isBigEndian property is false. If it is true, the order of the
|
95
95
|
* elements is reversed.
|
96
|
-
* @param {
|
96
|
+
* @param {number} [options.structure.lowestEncodedHeight] The lowest value that can be stored in the height buffer. Any heights that are lower
|
97
97
|
* than this value after encoding with the `heightScale` and `heightOffset` are clamped to this value. For example, if the height
|
98
98
|
* buffer is a `Uint16Array`, this value should be 0 because a `Uint16Array` cannot store negative numbers. If this parameter is
|
99
99
|
* not specified, no minimum value is enforced.
|
100
|
-
* @param {
|
100
|
+
* @param {number} [options.structure.highestEncodedHeight] The highest value that can be stored in the height buffer. Any heights that are higher
|
101
101
|
* than this value after encoding with the `heightScale` and `heightOffset` are clamped to this value. For example, if the height
|
102
102
|
* buffer is a `Uint16Array`, this value should be `256 * 256 - 1` or 65535 because a `Uint16Array` cannot store numbers larger
|
103
103
|
* than 65535. If this parameter is not specified, no maximum value is enforced.
|
104
|
-
* @param {
|
104
|
+
* @param {boolean} [options.structure.isBigEndian=false] Indicates endianness of the elements in the buffer when the
|
105
105
|
* stride property is greater than 1. If this property is false, the first element is the
|
106
106
|
* low-order element. If it is true, the first element is the high-order element.
|
107
107
|
*
|
@@ -545,11 +545,7 @@ define(['./Matrix3-315394f6', './AxisAlignedBoundingBox-ff186ccc', './Transforms
|
|
545
545
|
};
|
546
546
|
var HeightmapTessellator$1 = HeightmapTessellator;
|
547
547
|
|
548
|
-
var
|
549
|
-
var LercDecode = {
|
550
|
-
get exports(){ return LercDecodeExports; },
|
551
|
-
set exports(v){ LercDecodeExports = v; },
|
552
|
-
};
|
548
|
+
var LercDecode = {exports: {}};
|
553
549
|
|
554
550
|
/* jshint forin: false, bitwise: false */
|
555
551
|
|
@@ -2394,7 +2390,9 @@ define(['./Matrix3-315394f6', './AxisAlignedBoundingBox-ff186ccc', './Transforms
|
|
2394
2390
|
data.pixels = {};
|
2395
2391
|
|
2396
2392
|
// File header
|
2397
|
-
if (!Lerc2Helpers.readHeaderInfo(input, data))
|
2393
|
+
if (!Lerc2Helpers.readHeaderInfo(input, data)) {
|
2394
|
+
return;
|
2395
|
+
}
|
2398
2396
|
var headerInfo = data.headerInfo;
|
2399
2397
|
var fileVersion = headerInfo.fileVersion;
|
2400
2398
|
var OutPixelTypeArray = Lerc2Helpers.getDataTypeArray(headerInfo.imageType);
|
@@ -2655,10 +2653,11 @@ define(['./Matrix3-315394f6', './AxisAlignedBoundingBox-ff186ccc', './Transforms
|
|
2655
2653
|
this.Lerc = Lerc;
|
2656
2654
|
}
|
2657
2655
|
|
2658
|
-
})();
|
2656
|
+
})();
|
2659
2657
|
} (LercDecode));
|
2660
2658
|
|
2661
|
-
var
|
2659
|
+
var LercDecodeExports = LercDecode.exports;
|
2660
|
+
var Lerc = /*@__PURE__*/Math$1.getDefaultExportFromCjs(LercDecodeExports);
|
2662
2661
|
|
2663
2662
|
function createVerticesFromHeightmap(parameters, transferableObjects) {
|
2664
2663
|
// LERC encoded buffers must be decoded, then we can process them like normal
|
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['./AxisAlignedBoundingBox-
|
1
|
+
define(['./AxisAlignedBoundingBox-85d9e53a', './Matrix2-e1298525', './Matrix3-41c58dde', './defaultValue-fe22d8c0', './TerrainEncoding-eb8a645a', './IndexDatatype-2643aa47', './Math-0a2ac845', './Check-6ede7e26', './Transforms-f6451f99', './WebMercatorProjection-13ed1a6e', './createTaskProcessorWorker', './RuntimeError-ef395448', './AttributeCompression-f9f6c717', './ComponentDatatype-cf1fa08e', './WebGLConstants-0b1ce7ba', './combine-d9581036'], (function (AxisAlignedBoundingBox, Matrix2, Matrix3, defaultValue, TerrainEncoding, IndexDatatype, Math$1, Check, Transforms, WebMercatorProjection, createTaskProcessorWorker, RuntimeError, AttributeCompression, ComponentDatatype, WebGLConstants, combine) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Provides terrain or other geometry for the surface of an ellipsoid. The surface geometry is
|
@@ -19,7 +19,7 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
19
19
|
|
20
20
|
Object.defineProperties(TerrainProvider.prototype, {
|
21
21
|
/**
|
22
|
-
* Gets an event that is raised when the terrain provider encounters an asynchronous error
|
22
|
+
* Gets an event that is raised when the terrain provider encounters an asynchronous error. By subscribing
|
23
23
|
* to the event, you will be notified of the error and can potentially recover from it. Event listeners
|
24
24
|
* are passed an instance of {@link TileProviderError}.
|
25
25
|
* @memberof TerrainProvider.prototype
|
@@ -32,8 +32,7 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
32
32
|
|
33
33
|
/**
|
34
34
|
* Gets the credit to display when this terrain provider is active. Typically this is used to credit
|
35
|
-
* the source of the terrain.
|
36
|
-
* not be called before {@link TerrainProvider#ready} returns true.
|
35
|
+
* the source of the terrain.
|
37
36
|
* @memberof TerrainProvider.prototype
|
38
37
|
* @type {Credit}
|
39
38
|
* @readonly
|
@@ -43,8 +42,7 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
43
42
|
},
|
44
43
|
|
45
44
|
/**
|
46
|
-
* Gets the tiling scheme used by the provider.
|
47
|
-
* not be called before {@link TerrainProvider#ready} returns true.
|
45
|
+
* Gets the tiling scheme used by the provider.
|
48
46
|
* @memberof TerrainProvider.prototype
|
49
47
|
* @type {TilingScheme}
|
50
48
|
* @readonly
|
@@ -56,8 +54,9 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
56
54
|
/**
|
57
55
|
* Gets a value indicating whether or not the provider is ready for use.
|
58
56
|
* @memberof TerrainProvider.prototype
|
59
|
-
* @type {
|
57
|
+
* @type {boolean}
|
60
58
|
* @readonly
|
59
|
+
* @deprecated
|
61
60
|
*/
|
62
61
|
ready: {
|
63
62
|
get: Check.DeveloperError.throwInstantiationError,
|
@@ -66,8 +65,9 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
66
65
|
/**
|
67
66
|
* Gets a promise that resolves to true when the provider is ready for use.
|
68
67
|
* @memberof TerrainProvider.prototype
|
69
|
-
* @type {Promise
|
68
|
+
* @type {Promise<boolean>}
|
70
69
|
* @readonly
|
70
|
+
* @deprecated
|
71
71
|
*/
|
72
72
|
readyPromise: {
|
73
73
|
get: Check.DeveloperError.throwInstantiationError,
|
@@ -76,10 +76,9 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
76
76
|
/**
|
77
77
|
* Gets a value indicating whether or not the provider includes a water mask. The water mask
|
78
78
|
* indicates which areas of the globe are water rather than land, so they can be rendered
|
79
|
-
* as a reflective surface with animated waves.
|
80
|
-
* called before {@link TerrainProvider#ready} returns true.
|
79
|
+
* as a reflective surface with animated waves.
|
81
80
|
* @memberof TerrainProvider.prototype
|
82
|
-
* @type {
|
81
|
+
* @type {boolean}
|
83
82
|
* @readonly
|
84
83
|
*/
|
85
84
|
hasWaterMask: {
|
@@ -88,9 +87,8 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
88
87
|
|
89
88
|
/**
|
90
89
|
* Gets a value indicating whether or not the requested tiles include vertex normals.
|
91
|
-
* This function should not be called before {@link TerrainProvider#ready} returns true.
|
92
90
|
* @memberof TerrainProvider.prototype
|
93
|
-
* @type {
|
91
|
+
* @type {boolean}
|
94
92
|
* @readonly
|
95
93
|
*/
|
96
94
|
hasVertexNormals: {
|
@@ -99,8 +97,7 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
99
97
|
|
100
98
|
/**
|
101
99
|
* Gets an object that can be used to determine availability of terrain from this provider, such as
|
102
|
-
* at points and in rectangles.
|
103
|
-
* {@link TerrainProvider#ready} returns true. This property may be undefined if availability
|
100
|
+
* at points and in rectangles. This property may be undefined if availability
|
104
101
|
* information is not available.
|
105
102
|
* @memberof TerrainProvider.prototype
|
106
103
|
* @type {TileAvailability}
|
@@ -119,8 +116,8 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
119
116
|
* same list of indices. The total number of vertices must be less than or equal
|
120
117
|
* to 65536.
|
121
118
|
*
|
122
|
-
* @param {
|
123
|
-
* @param {
|
119
|
+
* @param {number} width The number of vertices in the regular grid in the horizontal direction.
|
120
|
+
* @param {number} height The number of vertices in the regular grid in the vertical direction.
|
124
121
|
* @returns {Uint16Array|Uint32Array} The list of indices. Uint16Array gets returned for 64KB or less and Uint32Array for 4GB or less.
|
125
122
|
*/
|
126
123
|
TerrainProvider.getRegularGridIndices = function (width, height) {
|
@@ -369,7 +366,7 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
369
366
|
* {@link Globe.maximumScreenSpaceError} screen pixels and will probably go very slowly.
|
370
367
|
* A value of 0.5 will cut the estimated level zero geometric error in half, allowing twice the
|
371
368
|
* screen pixels between adjacent heightmap vertices and thus rendering more quickly.
|
372
|
-
* @type {
|
369
|
+
* @type {number}
|
373
370
|
*/
|
374
371
|
TerrainProvider.heightmapTerrainQuality = 0.25;
|
375
372
|
|
@@ -377,9 +374,9 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
377
374
|
* Determines an appropriate geometric error estimate when the geometry comes from a heightmap.
|
378
375
|
*
|
379
376
|
* @param {Ellipsoid} ellipsoid The ellipsoid to which the terrain is attached.
|
380
|
-
* @param {
|
381
|
-
* @param {
|
382
|
-
* @returns {
|
377
|
+
* @param {number} tileImageWidth The width, in pixels, of the heightmap associated with a single tile.
|
378
|
+
* @param {number} numberOfTilesAtLevelZero The number of tiles in the horizontal direction at tile level zero.
|
379
|
+
* @returns {number} An estimated geometric error.
|
383
380
|
*/
|
384
381
|
TerrainProvider.getEstimatedLevelZeroGeometricErrorForAHeightmap = function (
|
385
382
|
ellipsoid,
|
@@ -396,17 +393,16 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
396
393
|
};
|
397
394
|
|
398
395
|
/**
|
399
|
-
* Requests the geometry for a given tile.
|
400
|
-
* {@link TerrainProvider#ready} returns true. The result must include terrain data and
|
396
|
+
* Requests the geometry for a given tile. The result must include terrain data and
|
401
397
|
* may optionally include a water mask and an indication of which child tiles are available.
|
402
398
|
* @function
|
403
399
|
*
|
404
|
-
* @param {
|
405
|
-
* @param {
|
406
|
-
* @param {
|
400
|
+
* @param {number} x The X coordinate of the tile for which to request geometry.
|
401
|
+
* @param {number} y The Y coordinate of the tile for which to request geometry.
|
402
|
+
* @param {number} level The level of the tile for which to request geometry.
|
407
403
|
* @param {Request} [request] The request object. Intended for internal use only.
|
408
404
|
*
|
409
|
-
* @returns {Promise
|
405
|
+
* @returns {Promise<TerrainData>|undefined} A promise for the requested geometry. If this method
|
410
406
|
* returns undefined instead of a promise, it is an indication that too many requests are already
|
411
407
|
* pending and the request will be retried later.
|
412
408
|
*/
|
@@ -414,12 +410,11 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
414
410
|
Check.DeveloperError.throwInstantiationError;
|
415
411
|
|
416
412
|
/**
|
417
|
-
* Gets the maximum geometric error allowed in a tile at a given level.
|
418
|
-
* called before {@link TerrainProvider#ready} returns true.
|
413
|
+
* Gets the maximum geometric error allowed in a tile at a given level.
|
419
414
|
* @function
|
420
415
|
*
|
421
|
-
* @param {
|
422
|
-
* @returns {
|
416
|
+
* @param {number} level The tile level for which to get the maximum geometric error.
|
417
|
+
* @returns {number} The maximum geometric error.
|
423
418
|
*/
|
424
419
|
TerrainProvider.prototype.getLevelMaximumGeometricError =
|
425
420
|
Check.DeveloperError.throwInstantiationError;
|
@@ -428,10 +423,10 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
428
423
|
* Determines whether data for a tile is available to be loaded.
|
429
424
|
* @function
|
430
425
|
*
|
431
|
-
* @param {
|
432
|
-
* @param {
|
433
|
-
* @param {
|
434
|
-
* @returns {
|
426
|
+
* @param {number} x The X coordinate of the tile for which to request geometry.
|
427
|
+
* @param {number} y The Y coordinate of the tile for which to request geometry.
|
428
|
+
* @param {number} level The level of the tile for which to request geometry.
|
429
|
+
* @returns {boolean|undefined} Undefined if not supported by the terrain provider, otherwise true or false.
|
435
430
|
*/
|
436
431
|
TerrainProvider.prototype.getTileDataAvailable =
|
437
432
|
Check.DeveloperError.throwInstantiationError;
|
@@ -440,9 +435,9 @@ define(['./AxisAlignedBoundingBox-ff186ccc', './Matrix2-13178034', './Matrix3-31
|
|
440
435
|
* Makes sure we load availability data for a tile
|
441
436
|
* @function
|
442
437
|
*
|
443
|
-
* @param {
|
444
|
-
* @param {
|
445
|
-
* @param {
|
438
|
+
* @param {number} x The X coordinate of the tile for which to request geometry.
|
439
|
+
* @param {number} y The Y coordinate of the tile for which to request geometry.
|
440
|
+
* @param {number} level The level of the tile for which to request geometry.
|
446
441
|
* @returns {undefined|Promise<void>} Undefined if nothing need to be loaded or a Promise that resolves when all required tiles are loaded
|
447
442
|
*/
|
448
443
|
TerrainProvider.prototype.loadTileDataAvailability =
|