@arcgis/core 5.0.0-next.70 → 5.0.0-next.71
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/analysis/Dimension/types.d.ts +5 -1
- package/analysis/DistanceMeasurementAnalysis.d.ts +22 -3
- package/analysis/ElevationProfile/types.d.ts +10 -2
- package/analysis/ShadowCast/DiscreteOptions.d.ts +4 -0
- package/analysis/ShadowCast/MinDurationOptions.d.ts +7 -0
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +4 -0
- package/analysis/ShadowCastAnalysis.d.ts +51 -8
- package/analysis/Slice/types.d.ts +5 -1
- package/analysis/VolumeMeasurement/types.d.ts +5 -1
- package/analysis/VolumeMeasurement/volumeMeasurementConfiguration.js +1 -1
- package/analysis/types.d.ts +39 -7
- package/applications/Components/QuantityFormatter.js +1 -1
- package/applications/Components/imageryUtils.d.ts +2 -2
- package/applications/Components/testUtils.d.ts +2 -0
- package/applications/KnowledgeStudio/dataModelVisualization.d.ts +1 -0
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +59 -13
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +1 -1
- package/applications/PortalApp/layerUtils.d.ts +1 -0
- package/applications/Urban/LineImagePattern3D.d.ts +2 -0
- package/applications/Urban/imagePatternUtils.d.ts +4 -0
- package/arcade.d.ts +20 -11
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/1b284a6f32effe28aafc.js +1 -0
- package/assets/esri/core/workers/chunks/1bd5b421152fb0f46aa5.js +37 -0
- package/assets/esri/core/workers/chunks/{2e2c47f8a80ee9234350.js → 1d8fc0239c907ff5d1e8.js} +1 -1
- package/assets/esri/core/workers/chunks/{244006d4b0547d574401.js → 25abbe1663e18e677dc2.js} +143 -140
- package/assets/esri/core/workers/chunks/{c448540065690cac0744.js → 6087d5dc40bb62ec48c8.js} +1 -1
- package/assets/esri/core/workers/chunks/{866477acdf03b8a40bc9.js → bd1d159dce4094694c93.js} +1 -1
- package/assets/esri/core/workers/chunks/{401ce5cb98fa14c1a725.js → d8a7004c399d539aed09.js} +1 -1
- package/assets/esri/core/workers/chunks/{8d6641d0f7c93f83c414.js → db9c7182847e8f96ffe3.js} +1 -1
- package/assets/esri/core/workers/chunks/{6c9dac4a869742cc2718.js → e246b256347a281c13fd.js} +1 -1
- package/assets/esri/core/workers/chunks/{a10c6dd3bb8b3602de68.js → ee175fd4ec706f7878c0.js} +1 -1
- package/assets/esri/core/workers/chunks/f65b27fc0bc2f242aac7.js +1 -0
- package/assets/esri/core/workers/chunks/{5dd5be91038df8902dc4.js → f7dfbf24859f4ac2421b.js} +1 -1
- package/config.js +1 -1
- package/core/Version.d.ts +11 -2
- package/core/accessorSupport/types.d.ts +35 -5
- package/core/quantityFormatUtils.js +1 -1
- package/core/sql/types.d.ts +226 -31
- package/core/types.d.ts +24 -4
- package/editing/sharedTemplates/types.d.ts +1 -0
- package/editing/types.d.ts +2 -0
- package/effects/types.d.ts +1 -0
- package/form/ExpressionInfo.d.ts +1 -1
- package/form/FormTemplate.d.ts +4 -4
- package/form/elements/GroupElement.d.ts +1 -1
- package/form/elements/RelationshipElement.d.ts +3 -3
- package/form/elements/inputs/attachments/AttachmentInput.d.ts +2 -1
- package/form/elements/inputs/attachments/AudioInput.d.ts +1 -0
- package/form/elements/inputs/attachments/DocumentInput.d.ts +1 -0
- package/form/elements/inputs/attachments/ImageInput.d.ts +1 -0
- package/form/elements/inputs/attachments/Input.d.ts +5 -1
- package/form/elements/inputs/attachments/SignatureInput.d.ts +1 -0
- package/form/elements/inputs/attachments/VideoInput.d.ts +1 -0
- package/form/elements/inputs/attachments/types.d.ts +12 -3
- package/form/elements/inputs.d.ts +2 -2
- package/form/types.d.ts +3 -0
- package/geometry/geometryEngineTypes.d.ts +49 -9
- package/geometry/operators/types.d.ts +29 -4
- package/geometry/support/MeshVertexAttributes.d.ts +21 -2
- package/geometry/support/meshUtils/types.d.ts +126 -18
- package/geometry/types.d.ts +37 -6
- package/ground/NavigationConstraint.d.ts +3 -0
- package/identity/IdentityManagerBase.d.ts +153 -27
- package/interfaces.d.ts +27 -27
- package/intl/date.d.ts +5 -0
- package/intl/locale.d.ts +1 -0
- package/intl/messages.d.ts +12 -2
- package/intl/number.d.ts +5 -0
- package/intl/substitute.d.ts +28 -5
- package/intl/t9n.d.ts +13 -2
- package/kernel.js +1 -1
- package/layers/GaussianSplatLayer.d.ts +87 -6
- package/layers/ImageryTileLayer.d.ts +8 -8
- package/layers/LinkChartLayer.d.ts +1 -1
- package/layers/buildingSublayers/utils.d.ts +1 -0
- package/layers/effects/types.d.ts +12 -2
- package/layers/graphics/editingSupport.d.ts +202 -38
- package/layers/graphics/sources/ParquetSource.d.ts +23 -4
- package/layers/knowledgeGraph/IdTypePair.d.ts +15 -3
- package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.d.ts +61 -9
- package/layers/knowledgeGraph/LayoutMode.d.ts +1 -0
- package/layers/knowledgeGraph/dataModelVisualizationUtils.d.ts +6 -0
- package/layers/media/types.d.ts +25 -4
- package/layers/mixins/ArcGISImageService.d.ts +8 -9
- package/layers/mixins/ArcGISMapService.d.ts +5 -1
- package/layers/mixins/EditBusLayer.d.ts +3 -5
- package/layers/mixins/ImageryTileMixin.d.ts +2 -4
- package/layers/mixins/RasterJobHandlerMixin.js +1 -1
- package/layers/mixins/ScaleRange.d.ts +11 -2
- package/layers/mixins/properties/ILayerWithGetFeatureTitle.d.ts +11 -2
- package/layers/mixins/properties/ILayerWithGetField.d.ts +6 -1
- package/layers/ogc/ogcFeatureUtils.d.ts +2 -0
- package/layers/ogc/types.d.ts +55 -10
- package/layers/ogc/wcsUtils.d.ts +1 -0
- package/layers/ogc/wfsUtils.d.ts +8 -17
- package/layers/orientedImagery/core/ElevationSourceDefinitions.d.ts +6 -1
- package/layers/orientedImagery/transformations/types.d.ts +117 -21
- package/layers/orientedImagery/types.d.ts +37 -6
- package/layers/pointCloudFilters/typeUtils.d.ts +1 -0
- package/layers/raster/datasets/TIFFRaster.js +1 -1
- package/layers/raster/datasets/pixelReader.d.ts +2 -0
- package/layers/raster/datasets/types.d.ts +1 -0
- package/layers/raster/datasets/wcsCapabilitiesParser.d.ts +86 -17
- package/layers/raster/datasets/wcsCoverageParser.d.ts +601 -115
- package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
- package/layers/raster/formats/JpgPlus.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/formats/Raw.js +1 -1
- package/layers/raster/formats/TiffDecoder.js +1 -1
- package/layers/raster/functions/changeDetectionUtils.d.ts +1 -0
- package/layers/raster/functions/creators/createAppearenceFunctions.d.ts +82 -15
- package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +380 -70
- package/layers/raster/functions/creators/createChangeFunctions.d.ts +11 -2
- package/layers/raster/functions/creators/createConversionFunctions.d.ts +18 -3
- package/layers/raster/functions/creators/createDataManagementFunctions.d.ts +179 -35
- package/layers/raster/functions/creators/createLocalFunctions.d.ts +47 -9
- package/layers/raster/functions/creators/createMultiRasterAnalysisFunctions.d.ts +47 -9
- package/layers/raster/functions/creators/createStatisticsFunctions.d.ts +42 -8
- package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +72 -11
- package/layers/raster/functions/focalStatUtils.d.ts +1 -0
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/raster/functions/types.d.ts +29 -5
- package/layers/raster/types.d.ts +498 -6
- package/layers/support/BuildingFilterBlock.d.ts +19 -3
- package/layers/support/BuildingFilterMode.d.ts +1 -0
- package/layers/support/BuildingFilterModeSolid.d.ts +7 -1
- package/layers/support/BuildingFilterModeWireFrame.d.ts +17 -3
- package/layers/support/BuildingFilterModeXRay.d.ts +7 -1
- package/layers/support/CodedValue.d.ts +16 -3
- package/layers/support/ControlPoint.d.ts +17 -3
- package/layers/support/EditFieldsInfo.d.ts +21 -4
- package/layers/support/EditingCapabilities.d.ts +36 -7
- package/layers/support/ElevationTileData.d.ts +25 -5
- package/layers/support/FieldFormat.d.ts +1 -0
- package/layers/support/GeoreferenceBase.d.ts +1 -0
- package/layers/support/KMLMapImage.d.ts +13 -2
- package/layers/support/LabelExpressionInfo.d.ts +9 -1
- package/layers/support/MosaicRule.d.ts +41 -1
- package/layers/support/ParquetGeometryEncodingLocation.d.ts +13 -2
- package/layers/support/ParquetGeometryEncodingWkb.d.ts +7 -0
- package/layers/support/PixelBlock.d.ts +9 -4
- package/layers/support/PurgeOptions.d.ts +15 -2
- package/layers/support/RasterInfo.d.ts +1 -2
- package/layers/support/RasterJobHandler.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/SpriteSource.d.ts +28 -6
- package/layers/support/rasterFunctionConstants.d.ts +39 -0
- package/layers/support/types.d.ts +420 -225
- package/layers/types.d.ts +771 -196
- package/layers/video/types.d.ts +72 -14
- package/layers/voxel/VoxelColorStop.d.ts +17 -3
- package/layers/voxel/VoxelFormat.d.ts +15 -2
- package/layers/voxel/VoxelIsosurface.d.ts +17 -2
- package/layers/voxel/VoxelOpacityStop.d.ts +8 -1
- package/layers/voxel/VoxelRangeFilter.d.ts +12 -2
- package/layers/voxel/VoxelUniqueValue.d.ts +19 -3
- package/layers/wms/types.d.ts +104 -19
- package/layers/wmts/types.d.ts +1 -0
- package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
- package/linkChart/OrganicLayoutSettings.d.ts +1 -1
- package/linkChart/types.d.ts +2 -0
- package/networks/UtilityNetworkTraceAnalysis.d.ts +61 -10
- package/networks/support/jsonTypes.d.ts +373 -71
- package/networks/support/typeUtils.d.ts +10 -0
- package/networks/support/utils.d.ts +30 -6
- package/package.json +1 -1
- package/popup/content/types.d.ts +1 -0
- package/popup/types.d.ts +33 -5
- package/portal/jsonTypes.d.ts +231 -39
- package/portal/support/resourceUtils.d.ts +49 -9
- package/portal/types.d.ts +98 -14
- package/renderers/FlowRenderer.js +1 -1
- package/renderers/RasterStretchRenderer.d.ts +1 -1
- package/renderers/support/AuthoringInfoClassBreakInfo.d.ts +4 -0
- package/renderers/support/AuthoringInfoFieldInfo.d.ts +15 -2
- package/renderers/support/DotDensityLegendOptions.d.ts +4 -0
- package/renderers/support/HeatmapLegendOptions.d.ts +8 -0
- package/renderers/support/OthersCategory.d.ts +6 -0
- package/renderers/support/RendererLegendOptions.d.ts +14 -2
- package/renderers/support/pointCloud/ColorClassBreakInfo.d.ts +13 -1
- package/renderers/support/pointCloud/ColorModulation.d.ts +6 -0
- package/renderers/support/pointCloud/ColorUniqueValueInfo.d.ts +19 -3
- package/renderers/support/pointCloud/PointSizeAlgorithm.d.ts +1 -0
- package/renderers/support/pointCloud/PointSizeFixedSizeAlgorithm.d.ts +14 -2
- package/renderers/support/pointCloud/PointSizeSplatAlgorithm.d.ts +9 -1
- package/renderers/support/pointCloud/types.d.ts +7 -1
- package/renderers/support/raster/types.d.ts +22 -2
- package/renderers/support/types.d.ts +29 -2
- package/renderers/types.d.ts +47 -4
- package/renderers/visualVariables/support/SizeVariableLegendOptions.d.ts +4 -0
- package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +9 -1
- package/request/types.d.ts +152 -24
- package/rest/featureService/types.d.ts +423 -77
- package/rest/geometryService/types.d.ts +23 -1
- package/rest/imageService.d.ts +5 -5
- package/rest/knowledgeGraph/DataModel.d.ts +2 -2
- package/rest/knowledgeGraph/GraphAnyValue.d.ts +1 -0
- package/rest/knowledgeGraph/GraphDataModelSingletonOperationResult.d.ts +12 -2
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +1 -1
- package/rest/knowledgeGraph/GraphDeletePropertyResult.d.ts +1 -1
- package/rest/knowledgeGraph/GraphQuery.d.ts +1 -1
- package/rest/knowledgeGraph/GraphSearch.d.ts +3 -3
- package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +3 -3
- package/rest/knowledgeGraph/SearchIndex.d.ts +1 -1
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsPathFilter.d.ts +3 -3
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsResultJSON.d.ts +151 -29
- package/rest/knowledgeGraph/toolService/findPaths/CIMKGTraversalDirection.d.ts +1 -1
- package/rest/knowledgeGraph/wasmInterface/KnowledgeWasmInterface.d.ts +1 -0
- package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +9 -0
- package/rest/knowledgeGraphService.d.ts +4 -4
- package/rest/lastMileDelivery/types.d.ts +5 -0
- package/rest/layerSources/DynamicDataLayer.d.ts +12 -0
- package/rest/layerSources/DynamicMapLayer.d.ts +14 -2
- package/rest/layerSources/JoinTableDataSource.d.ts +21 -2
- package/rest/layerSources/QueryTableDataSource.d.ts +32 -5
- package/rest/layerSources/RasterDataSource.d.ts +17 -3
- package/rest/layerSources/TableDataSource.d.ts +22 -4
- package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +8 -1
- package/rest/networks/circuits/support/QueryCircuitsParameters.d.ts +18 -3
- package/rest/networks/support/QueryNamedTraceConfigurationsParameters.d.ts +22 -4
- package/rest/query/support/AttachmentInfo.d.ts +1 -1
- package/rest/support/AddressToLocationsParameters.d.ts +39 -3
- package/rest/support/AddressesToLocationsParameters.d.ts +14 -0
- package/rest/support/BaseImageMeasureResultValue.d.ts +21 -4
- package/rest/support/DirectionsString.d.ts +16 -3
- package/rest/support/ImageMeasureResultAngleValue.d.ts +12 -2
- package/rest/support/ImageMeasureResultAreaValue.d.ts +12 -2
- package/rest/support/ImageMeasureResultLengthValue.d.ts +12 -2
- package/rest/support/LocateSetting.d.ts +12 -2
- package/rest/support/LocateSettingBase.d.ts +14 -2
- package/rest/support/LocateSettingSource.d.ts +12 -2
- package/rest/support/LocateSettings.d.ts +22 -4
- package/rest/support/LocateSettingsOverrides.d.ts +42 -8
- package/rest/support/LocationToAddressParameters.d.ts +7 -0
- package/rest/support/NetworkAttribute.d.ts +11 -2
- package/rest/support/NetworkServiceDescription.d.ts +20 -4
- package/rest/support/QuantizationParameters.d.ts +9 -0
- package/rest/support/SuggestLocationsParameters.d.ts +10 -0
- package/rest/support/SuggestionCandidate.d.ts +14 -2
- package/rest/support/types.d.ts +53 -3
- package/rest/types.d.ts +50 -5
- package/rest/versionManagement/gdbVersion/support/AlterVersionParameters.d.ts +22 -4
- package/rest/versionManagement/gdbVersion/support/PostResult.d.ts +6 -1
- package/rest/versionManagement/gdbVersion/support/ReconcileParameters.d.ts +10 -1
- package/rest/versionManagement/gdbVersion/support/ReconcileResult.d.ts +8 -1
- package/rest/versionManagement/support/CreateVersionParameters.d.ts +13 -2
- package/rest/versionManagement/support/GetVersionInfosParameters.d.ts +8 -1
- package/smartMapping/heuristics/types.d.ts +50 -6
- package/smartMapping/popup/types.d.ts +29 -5
- package/smartMapping/raster/renderers/types.d.ts +12 -1
- package/smartMapping/raster/support/adapters/types.d.ts +1 -0
- package/smartMapping/renderers/color.d.ts +9 -3
- package/smartMapping/renderers/dotDensity.d.ts +3 -1
- package/smartMapping/renderers/heatmap.d.ts +3 -1
- package/smartMapping/renderers/location.d.ts +3 -1
- package/smartMapping/renderers/opacity.d.ts +3 -1
- package/smartMapping/renderers/pieChart.d.ts +3 -1
- package/smartMapping/renderers/predominance.d.ts +3 -1
- package/smartMapping/renderers/relationship.d.ts +3 -1
- package/smartMapping/renderers/size.d.ts +23 -7
- package/smartMapping/renderers/support/rendererUtils.d.ts +3 -1
- package/smartMapping/renderers/type.d.ts +3 -1
- package/smartMapping/renderers/univariateColorSize.d.ts +3 -1
- package/smartMapping/statistics/types.d.ts +16 -4
- package/smartMapping/symbology/type.d.ts +5 -1
- package/smartMapping/symbology/types.d.ts +1303 -241
- package/smartMapping/types.d.ts +5 -0
- package/statistics/types.d.ts +13 -2
- package/support/revision.js +1 -1
- package/symbols/callouts/LineCallout3DBorder.d.ts +4 -0
- package/symbols/cim/types.d.ts +764 -111
- package/symbols/patterns/LinePattern3D.d.ts +1 -0
- package/symbols/patterns/Pattern3D.d.ts +1 -0
- package/symbols/support/IconSymbol3DLayerResource.d.ts +7 -0
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -0
- package/symbols/support/OccludedVisibility.d.ts +3 -0
- package/symbols/support/Symbol3DAnchorPosition2D.d.ts +4 -0
- package/symbols/support/Symbol3DAnchorPosition3D.d.ts +5 -0
- package/symbols/support/Symbol3DFillMaterial.d.ts +4 -0
- package/symbols/support/Symbol3DHalo.d.ts +10 -0
- package/symbols/support/Symbol3DIconOutline.d.ts +10 -0
- package/symbols/support/Symbol3DMaterial.d.ts +6 -0
- package/symbols/support/Symbol3DOutline.d.ts +21 -2
- package/symbols/support/Symbol3DTextBackground.d.ts +12 -2
- package/symbols/support/symbolUtils.d.ts +5 -1
- package/symbols/support/types.d.ts +4 -0
- package/symbols/types.d.ts +67 -7
- package/tables/AttributeTableTemplate.d.ts +2 -2
- package/tables/elements/AttributeTableAttachmentElement.d.ts +1 -1
- package/tables/elements/AttributeTableElement.d.ts +2 -2
- package/tables/elements/AttributeTableFieldElement.d.ts +1 -1
- package/tables/elements/AttributeTableGroupElement.d.ts +1 -1
- package/tables/elements/AttributeTableRelationshipElement.d.ts +1 -1
- package/tables/support/FieldOrder.d.ts +16 -3
- package/tables/support/tablesUtils.d.ts +1 -0
- package/time/types.d.ts +4 -0
- package/versionManagement/VersionManagementService.d.ts +3 -6
- package/versionManagement/VersionManager.d.ts +126 -23
- package/versionManagement/VersioningState.d.ts +1 -1
- package/versionManagement/support/jsonTypes.d.ts +152 -30
- package/versionManagement/support/type.d.ts +2 -0
- package/versionManagement/versionAdapters/types.d.ts +25 -5
- package/views/2d/MapViewConstraints.d.ts +37 -5
- package/views/2d/analysis/AnalysisView2D.d.ts +5 -1
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +28 -4
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +28 -4
- package/views/2d/analysis/types.d.ts +5 -1
- package/views/2d/engine/flow/BrushFlow.js +1 -1
- package/views/2d/engine/flow/FlowDisplayObject.js +1 -1
- package/views/2d/engine/flow/FlowStrategy.js +1 -1
- package/views/2d/engine/flow/FlowView2D.js +1 -1
- package/views/2d/engine/flow/ProcessingTimeEstimate.js +5 -0
- package/views/2d/engine/flow/animatedValues.js +5 -0
- package/views/2d/engine/flow/dataUtils.js +1 -1
- package/views/2d/engine/flow/flowPathsIO.js +5 -0
- package/views/2d/engine/flow/styles/AFlowResources.js +5 -0
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/styles/Particles.js +1 -1
- package/views/2d/engine/flow/styles/Stack.js +1 -1
- package/views/2d/engine/flow/styles/Streamlines.js +1 -1
- package/views/2d/engine/flow/utils.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/support/MediaLayerInteractionOptions.d.ts +1 -0
- package/views/2d/layers/types.d.ts +1 -0
- package/views/2d/types.d.ts +93 -6
- package/views/3d/analysis/AnalysisView3D.d.ts +5 -1
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +24 -4
- package/views/3d/analysis/LineOfSight/types.d.ts +1 -0
- package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +19 -3
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +5 -1
- package/views/3d/analysis/types.d.ts +25 -3
- package/views/3d/constraints/AltitudeConstraint.d.ts +5 -0
- package/views/3d/constraints/ClipDistanceConstraint.d.ts +13 -2
- package/views/3d/constraints/Constraints.d.ts +26 -4
- package/views/3d/constraints/TiltConstraint.d.ts +5 -0
- package/views/3d/environment/SceneViewEnvironment.d.ts +9 -0
- package/views/3d/environment/types.d.ts +3 -0
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +15 -2
- package/views/3d/layers/support/MediaLayerInteractionReshapeOptions.d.ts +3 -0
- package/views/3d/types.d.ts +52 -0
- package/views/3d/webgl/ManagedColorAttachment.d.ts +2 -0
- package/views/3d/webgl/ManagedDepthAttachment.d.ts +2 -0
- package/views/3d/webgl/ManagedFBO.d.ts +4 -0
- package/views/3d/webgl/ManagedFBOAttachment.d.ts +1 -0
- package/views/3d/webgl/ManagedFBOResource.d.ts +5 -0
- package/views/3d/webgl/types.d.ts +32 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +20 -22
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +9 -5
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +8 -6
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +9 -8
- package/views/MapViewOrSceneView.d.ts +1 -0
- package/views/SceneView.d.ts +59 -0
- package/views/SceneView.js +1 -1
- package/views/View.d.ts +2 -2
- package/views/View2D.d.ts +37 -0
- package/views/View2D.js +1 -1
- package/views/Viewport2DMixin.d.ts +9 -6
- package/views/analysis/AnalysisView.d.ts +2 -0
- package/views/analysis/AreaMeasurement/types.d.ts +18 -3
- package/views/analysis/DistanceMeasurement/types.d.ts +13 -2
- package/views/analysis/types.d.ts +7 -1
- package/views/animation/easing.js +1 -1
- package/views/animation/types.d.ts +3 -4
- package/views/draw/CursorUpdateEvent.d.ts +24 -4
- package/views/draw/DrawAction.d.ts +4 -6
- package/views/draw/DrawCompleteEvent.d.ts +18 -3
- package/views/draw/VertexAddEvent.d.ts +19 -3
- package/views/draw/VertexRemoveEvent.d.ts +19 -3
- package/views/draw/types.d.ts +4 -0
- package/views/input/types.d.ts +371 -57
- package/views/interactive/sketch/SketchTooltipVisibleElements.d.ts +19 -1
- package/views/interactive/sketch/Units.d.ts +5 -0
- package/views/interactive/tooltip/types.d.ts +2 -0
- package/views/layers/HighlightLayerViewMixin.d.ts +59 -1
- package/views/layers/HighlightLayerViewMixin.js +1 -1
- package/views/layers/ImageryLayerViewMixin.d.ts +60 -2
- package/views/layers/ImageryTileLayerViewMixin.d.ts +2 -0
- package/views/layers/LayerView.d.ts +6 -0
- package/views/layers/MediaLayerViewMixin.d.ts +8 -1
- package/views/layers/types.d.ts +3 -0
- package/views/navigation/types.d.ts +6 -1
- package/views/support/AttributionItem.d.ts +10 -2
- package/views/types.d.ts +306 -53
- package/views/ui/types.d.ts +42 -6
- package/webdoc/Widgets.d.ts +26 -5
- package/webdoc/geotriggersInfo/support/typeUtils.d.ts +3 -0
- package/webdoc/support/SlideThumbnail.d.ts +4 -0
- package/webdoc/support/types.d.ts +11 -2
- package/webdoc/support/webdocSaveUtils.d.ts +6 -0
- package/webdoc/widgets/FloorFilter.d.ts +25 -4
- package/webmap/Version.d.ts +1 -0
- package/webscene/Version.d.ts +1 -0
- package/webscene/support/Description.d.ts +3 -0
- package/webscene/support/SlideEnvironment.d.ts +6 -0
- package/webscene/support/SlideGround.d.ts +7 -1
- package/webscene/support/SlideVisibleLayer.d.ts +5 -0
- package/webscene/support/Title.d.ts +3 -0
- package/widgets/Attachments/types.d.ts +32 -6
- package/widgets/BasemapGallery/types.d.ts +3 -0
- package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +14 -0
- package/widgets/BasemapLayerList/types.d.ts +1 -0
- package/widgets/BatchAttributeForm/VisibleElements.d.ts +7 -1
- package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.d.ts +2 -0
- package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +14 -2
- package/widgets/BatchAttributeForm/inputs/types.d.ts +2 -0
- package/widgets/BatchAttributeForm/types.d.ts +75 -14
- package/widgets/BatchAttributeForm.d.ts +2 -2
- package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +30 -9
- package/widgets/Bookmarks/types.d.ts +32 -10
- package/widgets/CatalogLayerList/CatalogLayerListVisibleElements.d.ts +11 -0
- package/widgets/CatalogLayerList/types.d.ts +1 -0
- package/widgets/Daylight/VisibleElements.d.ts +11 -1
- package/widgets/Daylight/types.d.ts +8 -2
- package/widgets/DirectionalPad/VisibleElements.d.ts +6 -0
- package/widgets/DirectionalPad/types.d.ts +13 -2
- package/widgets/Directions/DirectionsVisibleElements.d.ts +8 -0
- package/widgets/Editor/CreateFeaturesWorkflowData.d.ts +3 -3
- package/widgets/Editor/EditorViewModel.d.ts +2 -3
- package/widgets/Editor/Edits.d.ts +1 -2
- package/widgets/Editor/SplitFeatureWorkflow.d.ts +2 -2
- package/widgets/Editor/VisibleElements.d.ts +46 -13
- package/widgets/Editor/support/EditorEditingCapabilities.d.ts +46 -9
- package/widgets/Editor/types.d.ts +149 -24
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +13 -1
- package/widgets/ElevationProfile/types.d.ts +87 -14
- package/widgets/Expand.d.ts +2 -2
- package/widgets/Feature/types.d.ts +105 -18
- package/widgets/FeatureForm/GroupInput.d.ts +1 -1
- package/widgets/FeatureForm/RelationshipInput.d.ts +1 -1
- package/widgets/FeatureForm/TextElementInput.d.ts +3 -5
- package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +1 -1
- package/widgets/FeatureForm/VisibleElements.d.ts +7 -1
- package/widgets/FeatureForm/types.d.ts +3 -0
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/ColumnMenuVisibleElements.d.ts +4 -0
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +14 -4
- package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.d.ts +2 -0
- package/widgets/FeatureTable/Grid/types.d.ts +137 -24
- package/widgets/FeatureTable/TableMenuVisibleElements.d.ts +10 -0
- package/widgets/FeatureTable/VisibleElements.d.ts +16 -2
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
- package/widgets/FeatureTable/support/types.d.ts +155 -27
- package/widgets/FeatureTable.d.ts +3 -3
- package/widgets/FeatureTemplates/VisibleElements.d.ts +4 -0
- package/widgets/FeatureTemplates/types.d.ts +17 -2
- package/widgets/Features/FeaturesVisibleElements.d.ts +12 -0
- package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
- package/widgets/Histogram/types.d.ts +14 -2
- package/widgets/HistogramRangeSlider/types.d.ts +1 -0
- package/widgets/LayerList/LayerListVisibleElements.d.ts +10 -0
- package/widgets/LayerList/types.d.ts +8 -0
- package/widgets/Legend/styles/card/CardView.d.ts +13 -2
- package/widgets/Legend/styles/classic/ClassicView.d.ts +11 -2
- package/widgets/Measurement/types.d.ts +3 -0
- package/widgets/OrientedImageryViewer/types.d.ts +15 -3
- package/widgets/Popup/PopupVisibleElements.d.ts +11 -0
- package/widgets/Popup/types.d.ts +64 -7
- package/widgets/Print/FileLink.d.ts +36 -6
- package/widgets/Print/types.d.ts +77 -13
- package/widgets/ScaleRangeSlider/types.d.ts +4 -0
- package/widgets/ScaleRangeSlider.d.ts +5 -1
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +15 -1
- package/widgets/ShadowCast/types.d.ts +8 -2
- package/widgets/Sketch/CreateToolVisibilityMap.d.ts +19 -4
- package/widgets/Sketch/SelectionToolVisibilityMap.d.ts +4 -0
- package/widgets/Sketch/VisibleElements.d.ts +38 -6
- package/widgets/Sketch/types.d.ts +364 -60
- package/widgets/Slider/types.d.ts +249 -46
- package/widgets/Swipe/types.d.ts +6 -0
- package/widgets/TableList/TableListVisibleElements.d.ts +11 -0
- package/widgets/TableList/types.d.ts +5 -0
- package/widgets/TimeSlider/types.d.ts +45 -7
- package/widgets/Track/types.d.ts +4 -1
- package/widgets/UtilityNetworkAssociations/VisibleElements.d.ts +23 -4
- package/widgets/UtilityNetworkAssociations/VisibleElementsSettingsPane.d.ts +7 -0
- package/widgets/UtilityNetworkTrace/types.d.ts +26 -5
- package/widgets/ValuePicker/ValuePickerBaseComponent.d.ts +2 -0
- package/widgets/ValuePicker/ValuePickerSliderVisibleElements.d.ts +7 -1
- package/widgets/ValuePicker/ValuePickerVisibleElements.d.ts +9 -1
- package/widgets/ValuePicker/types.d.ts +8 -0
- package/widgets/Weather/VisibleElements.d.ts +6 -1
- package/widgets/Weather/types.d.ts +1 -0
- package/widgets/smartMapping/types.d.ts +63 -6
- package/widgets/support/GridControls/VisibleElements.d.ts +11 -0
- package/widgets/support/GridControls/types.d.ts +1 -0
- package/widgets/support/SnappingControls/VisibleElements.d.ts +26 -4
- package/widgets/support/forms/types.d.ts +2 -0
- package/widgets/support/types.d.ts +19 -3
- package/widgets/types.d.ts +549 -89
- package/assets/esri/core/workers/chunks/329b10897c6965948b84.js +0 -1
- package/assets/esri/core/workers/chunks/35593a9790818b689455.js +0 -1
- package/assets/esri/core/workers/chunks/98d68b145226e7527c84.js +0 -33
- package/views/2d/engine/flow/FlowDisplayData.js +0 -5
|
@@ -2,17 +2,28 @@ import type Accessor from "../../../../core/Accessor.js";
|
|
|
2
2
|
import type MediaLayerInteractionReshapeOptions from "./MediaLayerInteractionReshapeOptions.js";
|
|
3
3
|
import type { MediaLayerInteractionReshapeOptionsProperties } from "./MediaLayerInteractionReshapeOptions.js";
|
|
4
4
|
|
|
5
|
+
/** @since 5.0 */
|
|
5
6
|
export interface MediaLayerInteractionOptionsProperties extends Partial<Pick<MediaLayerInteractionOptions, "tool">> {
|
|
6
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Changes the behavior of the `reshape` tool.
|
|
9
|
+
*
|
|
10
|
+
* @since 5.0
|
|
11
|
+
*/
|
|
7
12
|
reshapeOptions?: MediaLayerInteractionReshapeOptionsProperties;
|
|
8
13
|
}
|
|
9
14
|
|
|
10
15
|
/**
|
|
11
16
|
* Options for when the media layer view is interactive in 3D.
|
|
12
17
|
* Configure the interaction tool and reshape behavior for media elements.
|
|
18
|
+
*
|
|
19
|
+
* @since 5.0
|
|
13
20
|
*/
|
|
14
21
|
export default abstract class MediaLayerInteractionOptions extends Accessor {
|
|
15
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Changes the behavior of the `reshape` tool.
|
|
24
|
+
*
|
|
25
|
+
* @since 5.0
|
|
26
|
+
*/
|
|
16
27
|
get reshapeOptions(): MediaLayerInteractionReshapeOptions;
|
|
17
28
|
set reshapeOptions(value: MediaLayerInteractionReshapeOptionsProperties);
|
|
18
29
|
/**
|
|
@@ -25,8 +36,10 @@ export default abstract class MediaLayerInteractionOptions extends Accessor {
|
|
|
25
36
|
* reshape | The four corners of the media element can be moved individually.
|
|
26
37
|
*
|
|
27
38
|
* @default "transform"
|
|
39
|
+
* @since 5.0
|
|
28
40
|
*/
|
|
29
41
|
accessor tool: MediaLayerInteractionTool;
|
|
30
42
|
}
|
|
31
43
|
|
|
44
|
+
/** @since 5.0 */
|
|
32
45
|
export type MediaLayerInteractionTool = "transform" | "reshape";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type Accessor from "../../../../core/Accessor.js";
|
|
2
2
|
|
|
3
|
+
/** @since 5.0 */
|
|
3
4
|
export interface MediaLayerInteractionReshapeOptionsProperties extends Partial<Pick<MediaLayerInteractionReshapeOptions, "editSourcePoints">> {}
|
|
4
5
|
|
|
6
|
+
/** @since 5.0 */
|
|
5
7
|
export default abstract class MediaLayerInteractionReshapeOptions extends Accessor {
|
|
6
8
|
/**
|
|
7
9
|
* Indicates if the source point should be edited
|
|
@@ -10,6 +12,7 @@ export default abstract class MediaLayerInteractionReshapeOptions extends Access
|
|
|
10
12
|
* Only supported in 3D.
|
|
11
13
|
*
|
|
12
14
|
* @default false
|
|
15
|
+
* @since 5.0
|
|
13
16
|
*/
|
|
14
17
|
accessor editSourcePoints: boolean;
|
|
15
18
|
}
|
package/views/3d/types.d.ts
CHANGED
|
@@ -13,57 +13,109 @@ import type { OGCFeatureLayerView } from "../layers/OGCFeatureLayerView.js";
|
|
|
13
13
|
import type { PointCloudLayerView } from "../layers/PointCloudLayerView.js";
|
|
14
14
|
import type { StreamLayerView } from "../layers/StreamLayerView.js";
|
|
15
15
|
|
|
16
|
+
/** @since 5.0 */
|
|
16
17
|
export interface LayerView3DMap {
|
|
18
|
+
/** @since 5.0 */
|
|
17
19
|
"base-dynamic": never;
|
|
20
|
+
/** @since 5.0 */
|
|
18
21
|
"base-elevation": never;
|
|
22
|
+
/** @since 5.0 */
|
|
19
23
|
"base-tile": never;
|
|
24
|
+
/** @since 5.0 */
|
|
20
25
|
"bing-maps": never;
|
|
26
|
+
/** @since 5.0 */
|
|
21
27
|
"building-scene": never;
|
|
28
|
+
/** @since 5.0 */
|
|
22
29
|
catalog: never;
|
|
30
|
+
/** @since 5.0 */
|
|
23
31
|
"catalog-dynamic-group": never;
|
|
32
|
+
/** @since 5.0 */
|
|
24
33
|
"catalog-footprint": never;
|
|
34
|
+
/** @since 5.0 */
|
|
25
35
|
csv: CSVLayerView;
|
|
36
|
+
/** @since 5.0 */
|
|
26
37
|
dimension: DimensionLayerView;
|
|
38
|
+
/** @since 5.0 */
|
|
27
39
|
elevation: never;
|
|
40
|
+
/** @since 5.0 */
|
|
28
41
|
feature: FeatureLayerView;
|
|
42
|
+
/** @since 5.0 */
|
|
29
43
|
"gaussian-splat": never;
|
|
44
|
+
/** @since 5.0 */
|
|
30
45
|
"geo-rss": never;
|
|
46
|
+
/** @since 5.0 */
|
|
31
47
|
geojson: GeoJSONLayerView;
|
|
48
|
+
/** @since 5.0 */
|
|
32
49
|
graphics: GeoJSONLayerView;
|
|
50
|
+
/** @since 5.0 */
|
|
33
51
|
group: never;
|
|
52
|
+
/** @since 5.0 */
|
|
34
53
|
imagery: ImageryLayerView;
|
|
54
|
+
/** @since 5.0 */
|
|
35
55
|
"imagery-tile": never;
|
|
56
|
+
/** @since 5.0 */
|
|
36
57
|
"integrated-mesh": never;
|
|
58
|
+
/** @since 5.0 */
|
|
37
59
|
"integrated-mesh-3dtiles": never;
|
|
60
|
+
/** @since 5.0 */
|
|
38
61
|
kml: never;
|
|
62
|
+
/** @since 5.0 */
|
|
39
63
|
"knowledge-graph": never;
|
|
64
|
+
/** @since 5.0 */
|
|
40
65
|
"knowledge-graph-sublayer": never;
|
|
66
|
+
/** @since 5.0 */
|
|
41
67
|
"line-of-sight": LineOfSightLayerView;
|
|
68
|
+
/** @since 5.0 */
|
|
42
69
|
"link-chart": never;
|
|
70
|
+
/** @since 5.0 */
|
|
43
71
|
"map-image": never;
|
|
72
|
+
/** @since 5.0 */
|
|
44
73
|
"map-notes": never;
|
|
74
|
+
/** @since 5.0 */
|
|
45
75
|
media: MediaLayerView;
|
|
76
|
+
/** @since 5.0 */
|
|
46
77
|
"ogc-feature": OGCFeatureLayerView;
|
|
78
|
+
/** @since 5.0 */
|
|
47
79
|
"open-street-map": never;
|
|
80
|
+
/** @since 5.0 */
|
|
48
81
|
"oriented-imagery": never;
|
|
82
|
+
/** @since 5.0 */
|
|
49
83
|
parquet: never;
|
|
84
|
+
/** @since 5.0 */
|
|
50
85
|
"point-cloud": PointCloudLayerView;
|
|
86
|
+
/** @since 5.0 */
|
|
51
87
|
route: never;
|
|
88
|
+
/** @since 5.0 */
|
|
52
89
|
scene: SceneLayerView;
|
|
90
|
+
/** @since 5.0 */
|
|
53
91
|
stream: StreamLayerView;
|
|
92
|
+
/** @since 5.0 */
|
|
54
93
|
"subtype-group": never;
|
|
94
|
+
/** @since 5.0 */
|
|
55
95
|
tile: never;
|
|
96
|
+
/** @since 5.0 */
|
|
56
97
|
unknown: never;
|
|
98
|
+
/** @since 5.0 */
|
|
57
99
|
unsupported: never;
|
|
100
|
+
/** @since 5.0 */
|
|
58
101
|
"vector-tile": never;
|
|
102
|
+
/** @since 5.0 */
|
|
59
103
|
video: never;
|
|
104
|
+
/** @since 5.0 */
|
|
60
105
|
viewshed: ViewshedLayerView;
|
|
106
|
+
/** @since 5.0 */
|
|
61
107
|
voxel: never;
|
|
108
|
+
/** @since 5.0 */
|
|
62
109
|
wcs: never;
|
|
110
|
+
/** @since 5.0 */
|
|
63
111
|
"web-tile": never;
|
|
112
|
+
/** @since 5.0 */
|
|
64
113
|
wfs: WFSLayerView;
|
|
114
|
+
/** @since 5.0 */
|
|
65
115
|
wms: never;
|
|
116
|
+
/** @since 5.0 */
|
|
66
117
|
wmts: never;
|
|
67
118
|
}
|
|
68
119
|
|
|
120
|
+
/** @since 5.0 */
|
|
69
121
|
export type LayerView3DFor<TLayer extends Layer> = LayerView3DMap[TLayer["type"]];
|
|
@@ -3,5 +3,7 @@ import type ManagedFBOAttachment from "./ManagedFBOAttachment.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes a single attachment of a managed framebuffer. A managed color
|
|
5
5
|
* attachment is also memory managed by the [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
6
|
+
*
|
|
7
|
+
* @since 5.0
|
|
6
8
|
*/
|
|
7
9
|
export default abstract class ManagedColorAttachment extends ManagedFBOAttachment {}
|
|
@@ -3,5 +3,7 @@ import type ManagedFBOAttachment from "./ManagedFBOAttachment.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes the depth attachment of a managed framebuffer. The depth attachment is memory managed by
|
|
5
5
|
* the [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
6
|
+
*
|
|
7
|
+
* @since 5.0
|
|
6
8
|
*/
|
|
7
9
|
export default abstract class ManagedDepthAttachment extends ManagedFBOAttachment {}
|
|
@@ -82,12 +82,16 @@ export default abstract class ManagedFBO extends ManagedFBOResource {
|
|
|
82
82
|
* Release this managed framebuffer.
|
|
83
83
|
*
|
|
84
84
|
* If more than one reference exists this will not have an effect.
|
|
85
|
+
*
|
|
86
|
+
* @since 5.0
|
|
85
87
|
*/
|
|
86
88
|
release(): boolean;
|
|
87
89
|
/**
|
|
88
90
|
* Increase reference counting on this managed framebuffer.
|
|
89
91
|
*
|
|
90
92
|
* You can use this functionality to hold framebuffer contents for several frames and then release the framebuffer.
|
|
93
|
+
*
|
|
94
|
+
* @since 5.0
|
|
91
95
|
*/
|
|
92
96
|
retain(): void;
|
|
93
97
|
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
/** @since 5.0 */
|
|
2
3
|
export default abstract class ManagedFBOResource {
|
|
3
4
|
/**
|
|
4
5
|
* Release this managed framebuffer into cache again.
|
|
5
6
|
*
|
|
6
7
|
* If more than one reference exists this will not have an effect.
|
|
8
|
+
*
|
|
9
|
+
* @since 5.0
|
|
7
10
|
*/
|
|
8
11
|
release(): boolean;
|
|
9
12
|
/**
|
|
10
13
|
* Increase reference counting on this managed framebuffer.
|
|
11
14
|
*
|
|
12
15
|
* You can use this functionality to hold framebuffer contents for several frames and then release the framebuffer.
|
|
16
|
+
*
|
|
17
|
+
* @since 5.0
|
|
13
18
|
*/
|
|
14
19
|
retain(): void;
|
|
15
20
|
}
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Tuple of an RGB color value and an intensity value.
|
|
4
|
+
*
|
|
5
|
+
* @since 5.0
|
|
6
|
+
*/
|
|
3
7
|
export interface ColorAndIntensity {
|
|
4
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* RGB color with values between 0 and 1.
|
|
10
|
+
*
|
|
11
|
+
* @since 5.0
|
|
12
|
+
*/
|
|
5
13
|
color: [
|
|
6
14
|
number,
|
|
7
15
|
number,
|
|
8
16
|
number
|
|
9
17
|
];
|
|
10
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Scalar intensity value by which the color should be scaled for compositing.
|
|
20
|
+
*
|
|
21
|
+
* @since 5.0
|
|
22
|
+
*/
|
|
11
23
|
intensity: number;
|
|
12
24
|
}
|
|
13
25
|
|
|
@@ -16,13 +28,27 @@ export interface ColorAndIntensity {
|
|
|
16
28
|
* lighting model. It consists of a directional
|
|
17
29
|
* Lambertian (`diffuse`) and a constant (`ambient`) term, which should be treated in the sense of the
|
|
18
30
|
* [Phong Reflection Model](https://en.wikipedia.org/wiki/Phong_reflection_model).
|
|
31
|
+
*
|
|
32
|
+
* @since 5.0
|
|
19
33
|
*/
|
|
20
34
|
export interface SunLight {
|
|
21
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* The ambient light color and intensity.
|
|
37
|
+
*
|
|
38
|
+
* @since 5.0
|
|
39
|
+
*/
|
|
22
40
|
ambient: ColorAndIntensity;
|
|
23
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* The diffuse light color and intensity.
|
|
43
|
+
*
|
|
44
|
+
* @since 5.0
|
|
45
|
+
*/
|
|
24
46
|
diffuse: ColorAndIntensity;
|
|
25
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* The incident light direction in render coordinates.
|
|
49
|
+
*
|
|
50
|
+
* @since 5.0
|
|
51
|
+
*/
|
|
26
52
|
direction: [
|
|
27
53
|
number,
|
|
28
54
|
number,
|
|
@@ -2,31 +2,29 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
6
|
-
const float
|
|
7
|
-
|
|
8
|
-
${s(0!==L,"const float GROUND_REFLECTANCE = 0.2;")}
|
|
9
|
-
`),p(g),v(g),e(g),g.code.add(m`
|
|
5
|
+
import{EvaluateAmbientLighting as i}from"./EvaluateAmbientLighting.glsl.js";import{EvaluateAmbientOcclusion as n}from"./EvaluateAmbientOcclusion.glsl.js";import{Gamma as e}from"./Gamma.glsl.js";import{addMainLightDirection as o,addMainLightIntensity as t,applyShading as a}from"./MainLighting.glsl.js";import{PhysicallyBasedRendering as r}from"./PhysicallyBasedRendering.glsl.js";import{PiUtils as l}from"./PiUtils.glsl.js";import{BooleanBindUniform as c}from"../../shaderModules/BooleanBindUniform.js";import{FloatBindUniform as d}from"../../shaderModules/FloatBindUniform.js";import{If as m,glsl as s}from"../../shaderModules/glsl.js";import{ambientBoost as g}from"../../../lighting/SceneLighting.js";import{BlackLevelLightSoftCompression as h}from"../../../shaders/BlackLevelLightSoftCompression.glsl.js";import{ToneMapping as u}from"../../../shaders/ToneMapping.glsl.js";function p(i){i.constants.add("ambientBoostFactor","float",g)}function f(i){i.uniforms.add(new d("lightingGlobalFactor",i=>i.lighting.globalFactor))}function v(g,v){const{pbrMode:L,spherical:b,hasColorTexture:C}=v;g.include(n,v),0!==L&&g.include(r,v),g.include(i,v),g.include(l),g.include(u,v),g.include(e);const N=!(2===L&&!C);switch(N&&g.include(h),g.code.add(s`
|
|
6
|
+
${m(0!==L,"const float GROUND_REFLECTANCE = 0.2;")}
|
|
7
|
+
`),p(g),f(g),o(g),g.code.add(s`
|
|
10
8
|
float additionalDirectedAmbientLight(float lightAlignment) {
|
|
11
9
|
return smoothstep(0.0, 1.0, clamp(lightAlignment * 2.5, 0.0, 1.0));
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
float additionalDirectedAmbientLight(vec3 vPosWorld) {
|
|
15
|
-
float lightAlignment = dot(${b?
|
|
13
|
+
float lightAlignment = dot(${b?s`normalize(vPosWorld)`:s`vec3(0.0, 0.0, 1.0)`}, mainLightDirection);
|
|
16
14
|
return smoothstep(0.0, 1.0, clamp(lightAlignment * 2.5, 0.0, 1.0));
|
|
17
15
|
}
|
|
18
|
-
`),t(g),g.code.add(
|
|
16
|
+
`),t(g),g.code.add(s`vec3 evaluateAdditionalLighting(float ambientOcclusion, vec3 vPosWorld) {
|
|
19
17
|
float additionalAmbientScale = additionalDirectedAmbientLight(vPosWorld);
|
|
20
18
|
return (1.0 - ambientOcclusion) * additionalAmbientScale * ambientBoostFactor * lightingGlobalFactor * mainLightIntensity;
|
|
21
|
-
}`),L){case 0:case 4:case 3:g.include(a),g.code.add(
|
|
19
|
+
}`),L){case 0:case 4:case 3:g.include(a),g.code.add(s`vec3 evaluateSceneLighting(vec3 normalWorld, vec3 albedo, float shadow, float ssao, vec3 additionalLight) {
|
|
22
20
|
vec3 mainLighting = applyShading(normalWorld, shadow);
|
|
23
21
|
vec3 ambientLighting = calculateAmbientIrradiance(normalWorld, ssao);
|
|
24
|
-
vec3 albedoLinear =
|
|
22
|
+
vec3 albedoLinear = linearizeGamma(albedo);
|
|
25
23
|
vec3 totalLight = mainLighting + ambientLighting + additionalLight;
|
|
26
24
|
totalLight = min(totalLight, vec3(PI));
|
|
27
25
|
vec3 outColor = vec3((albedoLinear / PI) * totalLight);
|
|
28
|
-
return
|
|
29
|
-
}`);break;case 1:case 2:g.code.add(
|
|
26
|
+
return delinearizeGamma(outColor);
|
|
27
|
+
}`);break;case 1:case 2:g.code.add(s`const float fillLightIntensity = 0.25;
|
|
30
28
|
const float horizonLightDiffusion = 0.4;
|
|
31
29
|
const float additionalAmbientIrradianceFactor = 0.02;
|
|
32
30
|
vec3 evaluateSceneLightingPBR(vec3 normal, vec3 albedo, float shadow, float ssao, vec3 additionalLight,
|
|
@@ -38,12 +36,12 @@ inputs.NdotV = clamp(abs(dot(normal, viewDirection)), 0.001, 1.0);
|
|
|
38
36
|
inputs.NdotNG = clamp(dot(normal, groundNormal), -1.0, 1.0);
|
|
39
37
|
vec3 reflectedView = normalize(reflect(viewDirection, normal));
|
|
40
38
|
inputs.RdotNG = clamp(dot(reflectedView, groundNormal), -1.0, 1.0);
|
|
41
|
-
inputs.albedoLinear =
|
|
39
|
+
inputs.albedoLinear = linearizeGamma(albedo);
|
|
42
40
|
inputs.ssao = ssao;
|
|
43
41
|
inputs.metalness = mrr[0];
|
|
44
|
-
inputs.roughness = clamp(mrr[1] * mrr[1], 0.001, 0.99);`),g.code.add(
|
|
42
|
+
inputs.roughness = clamp(mrr[1] * mrr[1], 0.001, 0.99);`),g.code.add(s`inputs.f0 = (0.16 * mrr[2] * mrr[2]) * (1.0 - inputs.metalness) + inputs.albedoLinear * inputs.metalness;
|
|
45
43
|
inputs.f90 = vec3(clamp(dot(inputs.f0, vec3(50.0 * 0.33)), 0.0, 1.0));
|
|
46
|
-
inputs.diffuseColor = inputs.albedoLinear * (vec3(1.0) - inputs.f0) * (1.0 - inputs.metalness);`),
|
|
44
|
+
inputs.diffuseColor = inputs.albedoLinear * (vec3(1.0) - inputs.f0) * (1.0 - inputs.metalness);`),v.useFillLights?g.uniforms.add(new c("hasFillLights",i=>i.enableFillLights)):g.constants.add("hasFillLights","bool",!1),g.code.add(s`vec3 ambientDir = vec3(5.0 * groundNormal[1] - groundNormal[0] * groundNormal[2], - 5.0 * groundNormal[0] - groundNormal[2] * groundNormal[1], groundNormal[1] * groundNormal[1] + groundNormal[0] * groundNormal[0]);
|
|
47
45
|
ambientDir = ambientDir != vec3(0.0) ? normalize(ambientDir) : normalize(vec3(5.0, -1.0, 0.0));
|
|
48
46
|
inputs.NdotAmbDir = hasFillLights ? abs(dot(normal, ambientDir)) : 1.0;
|
|
49
47
|
float NdotL = clamp(dot(normal, mainLightDirection), 0.001, 1.0);
|
|
@@ -51,7 +49,7 @@ vec3 mainLightIrradianceComponent = NdotL * (1.0 - shadow) * mainLightIntensity;
|
|
|
51
49
|
vec3 fillLightsIrradianceComponent = inputs.NdotAmbDir * mainLightIntensity * fillLightIntensity;
|
|
52
50
|
vec3 ambientLightIrradianceComponent = calculateAmbientIrradiance(normal, ssao) + additionalLight;
|
|
53
51
|
inputs.skyIrradianceToSurface = ambientLightIrradianceComponent + mainLightIrradianceComponent + fillLightsIrradianceComponent ;
|
|
54
|
-
inputs.groundIrradianceToSurface = GROUND_REFLECTANCE * ambientLightIrradianceComponent + mainLightIrradianceComponent + fillLightsIrradianceComponent ;`),g.uniforms.add(new d("lightingSpecularStrength",i=>i.lighting.mainLight.specularStrength),new d("lightingEnvironmentStrength",i=>i.lighting.mainLight.environmentStrength)).code.add(
|
|
52
|
+
inputs.groundIrradianceToSurface = GROUND_REFLECTANCE * ambientLightIrradianceComponent + mainLightIrradianceComponent + fillLightsIrradianceComponent ;`),g.uniforms.add(new d("lightingSpecularStrength",i=>i.lighting.mainLight.specularStrength),new d("lightingEnvironmentStrength",i=>i.lighting.mainLight.environmentStrength)).code.add(s`vec3 horizonRingDir = inputs.RdotNG * groundNormal - reflectedView;
|
|
55
53
|
vec3 horizonRingH = normalize(viewDirection + horizonRingDir);
|
|
56
54
|
inputs.NdotH_Horizon = dot(normal, horizonRingH);
|
|
57
55
|
float NdotH = clamp(dot(normal, h), 0.0, 1.0);
|
|
@@ -61,14 +59,14 @@ vec3 ambientLightRadianceComponent = lightingEnvironmentStrength * calculateAmbi
|
|
|
61
59
|
float normalDirectionModifier = mix(1., min(mix(0.1, 2.0, (inputs.NdotNG + 1.) * 0.5), 1.0), clamp(inputs.roughness * 5.0, 0.0 , 1.0));
|
|
62
60
|
inputs.skyRadianceToSurface = (ambientLightRadianceComponent + horizonLightRadianceComponent) * normalDirectionModifier + mainLightRadianceComponent;
|
|
63
61
|
inputs.groundRadianceToSurface = 0.5 * GROUND_REFLECTANCE * (ambientLightRadianceComponent + horizonLightRadianceComponent) * normalDirectionModifier + mainLightRadianceComponent;
|
|
64
|
-
inputs.averageAmbientRadiance = ambientLightIrradianceComponent[1] * (1.0 + GROUND_REFLECTANCE);`),g.code.add(
|
|
62
|
+
inputs.averageAmbientRadiance = ambientLightIrradianceComponent[1] * (1.0 + GROUND_REFLECTANCE);`),g.code.add(s`
|
|
65
63
|
vec3 reflectedColorComponent = evaluateEnvironmentIllumination(inputs);
|
|
66
64
|
vec3 additionalMaterialReflectanceComponent = inputs.albedoLinear * additionalAmbientIrradiance;
|
|
67
65
|
vec3 outColorLinear = reflectedColorComponent + additionalMaterialReflectanceComponent;
|
|
68
|
-
${N?
|
|
69
|
-
return outColor;
|
|
66
|
+
${N?s`vec3 outColor = blackLevelSoftCompression(outColorLinear, inputs.averageAmbientRadiance);`:s`vec3 outColor = max(vec3(0.0), outColorLinear - 0.005 * inputs.averageAmbientRadiance);`}
|
|
67
|
+
return delinearizeGamma(outColor);
|
|
70
68
|
}
|
|
71
|
-
`);break;case 5:case 6:
|
|
69
|
+
`);break;case 5:case 6:o(g),t(g),g.code.add(s`const float roughnessTerrain = 0.5;
|
|
72
70
|
const float specularityTerrain = 0.5;
|
|
73
71
|
const vec3 fresnelReflectionTerrain = vec3(0.04);
|
|
74
72
|
vec3 evaluatePBRSimplifiedLighting(vec3 n, vec3 c, float shadow, float ssao, vec3 al, vec3 vd, vec3 nup) {
|
|
@@ -78,7 +76,7 @@ float NdotL = clamp(dot(n, mainLightDirection), 0.001, 1.0);
|
|
|
78
76
|
float NdotV = clamp(abs(dot(n, viewDirection)), 0.001, 1.0);
|
|
79
77
|
float NdotH = clamp(dot(n, h), 0.0, 1.0);
|
|
80
78
|
float NdotNG = clamp(dot(n, nup), -1.0, 1.0);
|
|
81
|
-
vec3 albedoLinear =
|
|
79
|
+
vec3 albedoLinear = linearizeGamma(c);
|
|
82
80
|
float lightness = 0.3 * albedoLinear[0] + 0.5 * albedoLinear[1] + 0.2 * albedoLinear[2];
|
|
83
81
|
vec3 f0 = (0.85 * lightness + 0.15) * fresnelReflectionTerrain;
|
|
84
82
|
vec3 f90 = vec3(clamp(dot(f0, vec3(50.0 * 0.33)), 0.0, 1.0));
|
|
@@ -92,6 +90,6 @@ vec2 dfg = prefilteredDFGAnalytical(roughnessTerrain, NdotV);
|
|
|
92
90
|
vec3 specularColor = f0 * dfg.x + f90 * dfg.y;
|
|
93
91
|
vec3 specularComponent = specularityTerrain * specularColor * mainLightRadianceComponent;
|
|
94
92
|
vec3 outColorLinear = outDiffColor + specularComponent;
|
|
95
|
-
vec3 outColor =
|
|
93
|
+
vec3 outColor = delinearizeGamma(outColorLinear);
|
|
96
94
|
return outColor;
|
|
97
|
-
}`)}}export{
|
|
95
|
+
}`)}}export{v as EvaluateSceneLighting,p as addAmbientBoostFactor,f as addLightingGlobalFactor};
|
|
@@ -2,15 +2,19 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{colorGamma as o}from"../../../../../../colorUtils.js";import{glsl as
|
|
6
|
-
const float GAMMA = ${
|
|
7
|
-
const float INV_GAMMA = ${
|
|
5
|
+
import{colorGamma as o}from"../../../../../../colorUtils.js";import{glsl as e}from"../../shaderModules/glsl.js";function r(r){r.code.add(e`
|
|
6
|
+
const float GAMMA = ${e.float(o)};
|
|
7
|
+
const float INV_GAMMA = ${e.float(1/o)};
|
|
8
|
+
|
|
9
|
+
vec3 delinearizeGamma(vec3 color) {
|
|
10
|
+
return pow(color, vec3(INV_GAMMA));
|
|
11
|
+
}
|
|
8
12
|
|
|
9
13
|
vec4 delinearizeGamma(vec4 color) {
|
|
10
|
-
return vec4(
|
|
14
|
+
return vec4(delinearizeGamma(color.rgb), color.a);
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
vec3 linearizeGamma(vec3 color) {
|
|
14
18
|
return pow(color, vec3(GAMMA));
|
|
15
19
|
}
|
|
16
|
-
`)}export{
|
|
20
|
+
`)}export{r as Gamma};
|
|
@@ -8,12 +8,14 @@ import{ReadShadowMapPassParameters as e}from"../shading/ReadShadowMap.glsl.js";i
|
|
|
8
8
|
${o(p,"nvtc = nextTexOffsetAndScale.xy + uv * nextTexOffsetAndScale.zw;")}
|
|
9
9
|
}`),s.code.add(r`
|
|
10
10
|
vec4 getColor(vec4 color, vec2 uv, vec3 opacities) {
|
|
11
|
-
${o(m||g,r`
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
${o(m||g,r`
|
|
12
|
+
if (opacities.y <= 0.0) {
|
|
13
|
+
return color * opacities.z * opacities.x;
|
|
14
|
+
}
|
|
15
|
+
vec4 bg = vec4(${g?r`backgroundColor`:r`gridColor(uv)`} * opacities.y, opacities.y);
|
|
16
|
+
vec4 layer = color * opacities.z;
|
|
17
|
+
return (bg * (1.0 - layer.a) + layer) * opacities.x;
|
|
18
|
+
`,"return color;")}
|
|
17
19
|
}`),p?s.code.add(r`vec4 getTileColor() {
|
|
18
20
|
vec4 color = getColor(texture(tex, vtc), vtc, textureOpacities);
|
|
19
21
|
if (fadeFactor >= 1.0) {
|
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isColor as o}from"../core/shaderLibrary/ShaderOutput.js";import{Emissions as r}from"../core/shaderLibrary/output/Emissions.glsl.js";import{OutputHighlight as l}from"../core/shaderLibrary/output/OutputHighlight.glsl.js";import{ColorConversion as i}from"../core/shaderLibrary/util/ColorConversion.glsl.js";import{If as
|
|
6
|
-
void outputColorHighlightOLID(vec4 finalColor, const in vec3 vWorldPosition, vec3 emissiveSymbolColor ${
|
|
7
|
-
${
|
|
8
|
-
${
|
|
5
|
+
import{isColor as o}from"../core/shaderLibrary/ShaderOutput.js";import{Emissions as r}from"../core/shaderLibrary/output/Emissions.glsl.js";import{OutputHighlight as l}from"../core/shaderLibrary/output/OutputHighlight.glsl.js";import{ColorConversion as i}from"../core/shaderLibrary/util/ColorConversion.glsl.js";import{If as a,glsl as s}from"../core/shaderModules/glsl.js";import{alphaCutoff as t}from"../../../../webscene/support/AlphaCutoff.js";function e(e,n){e.include(l,n),e.include(r,n),e.fragment.include(i);const{output:f,oitPass:u,hasEmission:d,discardInvisibleFragments:m,oitPremultipliedAlpha:p,snowCover:c}=n,C=9===f,g=o(f)&&1===u,h=o(f)&&2===u,v=o(f)&&1!==u;let b=0;(v||g)&&e.outputs.add("fragColor","vec4",b++),d&&e.outputs.add("fragEmission","vec4",b++),g&&e.outputs.add("fragAlpha","float",b++),e.fragment.code.add(s`
|
|
6
|
+
void outputColorHighlightOLID(vec4 finalColor, const in vec3 vWorldPosition, vec3 emissiveSymbolColor ${a(c,", float snow")}) {
|
|
7
|
+
${a(C,"finalColor.a = 1.0;")}
|
|
8
|
+
${a(m,`if (finalColor.a < ${s.float(t)}) { discard; }`)}
|
|
9
9
|
finalColor = applySlice(finalColor, vWorldPosition);
|
|
10
10
|
|
|
11
|
-
${
|
|
12
|
-
${
|
|
13
|
-
${
|
|
11
|
+
${a(g,`${a(p,"fragColor = finalColor;","fragColor = premultiplyAlpha(finalColor);")}\n fragAlpha = finalColor.a;`)}
|
|
12
|
+
${a(h&&p&&m,"finalColor.rgb /= finalColor.a;")}
|
|
13
|
+
${a(v,"fragColor = finalColor;")}
|
|
14
|
+
${a(d,`fragEmission = ${a(c,"mix(finalColor.a * getEmissions(emissiveSymbolColor), vec4(0.0), snow);","finalColor.a * getEmissions(emissiveSymbolColor);")}`)}
|
|
14
15
|
calculateOcclusionAndOutputHighlight();
|
|
15
|
-
${
|
|
16
|
+
${a(C,"outputObjectAndLayerIdColor();")}
|
|
16
17
|
}
|
|
17
18
|
`)}export{e as outputColorHighlightOLID};
|
package/views/SceneView.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import type Constraints from "./3d/constraints/Constraints.js";
|
|
|
15
15
|
import type SceneViewEnvironment from "./3d/environment/SceneViewEnvironment.js";
|
|
16
16
|
import type SceneViewPerformanceInfo from "./3d/support/SceneViewPerformanceInfo.js";
|
|
17
17
|
import type LayerView from "./layers/LayerView.js";
|
|
18
|
+
import type HighlightOptions from "./support/HighlightOptions.js";
|
|
18
19
|
import type { CameraProperties } from "../Camera.js";
|
|
19
20
|
import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
|
|
20
21
|
import type { EventNames } from "../core/Evented.js";
|
|
@@ -32,6 +33,7 @@ import type { ExtentProperties } from "../geometry/Extent.js";
|
|
|
32
33
|
import type { ConstraintsProperties } from "./3d/constraints/Constraints.js";
|
|
33
34
|
import type { SpatialReferenceProperties } from "../geometry/SpatialReference.js";
|
|
34
35
|
import type { ViewpointProperties } from "../Viewpoint.js";
|
|
36
|
+
import type { HighlightOptionsProperties } from "./support/HighlightOptions.js";
|
|
35
37
|
import type { ViewProperties } from "./View.js";
|
|
36
38
|
|
|
37
39
|
export interface SceneViewProperties extends ViewProperties, DOMContainerProperties, PopupViewProperties, BreakpointsOwnerProperties, Partial<Pick<SceneView, "alphaCompositingEnabled" | "qualityProfile" | "scale" | "zoom">> {
|
|
@@ -297,6 +299,34 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
|
|
|
297
299
|
* @since 4.19
|
|
298
300
|
*/
|
|
299
301
|
floors?: ReadonlyArrayOrCollection<string>;
|
|
302
|
+
/**
|
|
303
|
+
* Options for configuring the highlight. Use the highlight method on the
|
|
304
|
+
* appropriate [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) to highlight a feature.
|
|
305
|
+
*
|
|
306
|
+
* Release-specific changes:
|
|
307
|
+
* * As of 4.32, it is recommended to use the [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#highlights) property instead. These two properties should
|
|
308
|
+
* not be used simultaneously.
|
|
309
|
+
* * As of 4.19, highlighting a feature influences the shadow of the feature as well. By default, the shadow of the
|
|
310
|
+
* highlighted feature is displayed in a darker shade.
|
|
311
|
+
*
|
|
312
|
+
* @deprecated since version 4.32. Use the [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#highlights) property instead.
|
|
313
|
+
* @since 4.4
|
|
314
|
+
* @see [FeatureLayerView#highlight()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight)
|
|
315
|
+
* @see [Sample: Highlight SceneLayer](https://developers.arcgis.com/javascript/latest/sample-code/highlight-scenelayer/)
|
|
316
|
+
* @example
|
|
317
|
+
* const view = new SceneView({
|
|
318
|
+
* map: map,
|
|
319
|
+
* highlightOptions: {
|
|
320
|
+
* color: [255, 255, 0, 1],
|
|
321
|
+
* haloColor: "white",
|
|
322
|
+
* haloOpacity: 0.9,
|
|
323
|
+
* fillOpacity: 0.2,
|
|
324
|
+
* shadowColor: "black",
|
|
325
|
+
* shadowOpacity: 0.5
|
|
326
|
+
* }
|
|
327
|
+
* });
|
|
328
|
+
*/
|
|
329
|
+
highlightOptions?: HighlightOptionsProperties;
|
|
300
330
|
/**
|
|
301
331
|
* The spatial reference of the view.
|
|
302
332
|
*
|
|
@@ -1094,6 +1124,35 @@ export default class SceneView extends SceneViewSuperclass {
|
|
|
1094
1124
|
* @since 4.7
|
|
1095
1125
|
*/
|
|
1096
1126
|
get groundView(): GroundView;
|
|
1127
|
+
/**
|
|
1128
|
+
* Options for configuring the highlight. Use the highlight method on the
|
|
1129
|
+
* appropriate [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) to highlight a feature.
|
|
1130
|
+
*
|
|
1131
|
+
* Release-specific changes:
|
|
1132
|
+
* * As of 4.32, it is recommended to use the [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#highlights) property instead. These two properties should
|
|
1133
|
+
* not be used simultaneously.
|
|
1134
|
+
* * As of 4.19, highlighting a feature influences the shadow of the feature as well. By default, the shadow of the
|
|
1135
|
+
* highlighted feature is displayed in a darker shade.
|
|
1136
|
+
*
|
|
1137
|
+
* @deprecated since version 4.32. Use the [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#highlights) property instead.
|
|
1138
|
+
* @since 4.4
|
|
1139
|
+
* @see [FeatureLayerView#highlight()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight)
|
|
1140
|
+
* @see [Sample: Highlight SceneLayer](https://developers.arcgis.com/javascript/latest/sample-code/highlight-scenelayer/)
|
|
1141
|
+
* @example
|
|
1142
|
+
* const view = new SceneView({
|
|
1143
|
+
* map: map,
|
|
1144
|
+
* highlightOptions: {
|
|
1145
|
+
* color: [255, 255, 0, 1],
|
|
1146
|
+
* haloColor: "white",
|
|
1147
|
+
* haloOpacity: 0.9,
|
|
1148
|
+
* fillOpacity: 0.2,
|
|
1149
|
+
* shadowColor: "black",
|
|
1150
|
+
* shadowOpacity: 0.5
|
|
1151
|
+
* }
|
|
1152
|
+
* });
|
|
1153
|
+
*/
|
|
1154
|
+
get highlightOptions(): HighlightOptions;
|
|
1155
|
+
set highlightOptions(value: HighlightOptionsProperties);
|
|
1097
1156
|
/**
|
|
1098
1157
|
* This property contains performance information in a SceneView like global memory usage and additional details for
|
|
1099
1158
|
* layers about memory consumption and number of features.
|