@arcgis/core 5.2.0-next.6 → 5.2.0-next.7
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/WebLinkChart.d.ts +1 -1
- package/WebMap.d.ts +2 -2
- package/WebScene.d.ts +3 -3
- package/arcade.d.ts +9 -9
- package/arcgisGlobal.d.ts +4 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/03354ad3d74d858173b4.js +1 -0
- package/assets/esri/core/workers/chunks/{07a242ea908aa8e2ba28.js → 09a4139fc6d069ab6928.js} +1 -1
- package/assets/esri/core/workers/chunks/09d0e430c66788a2626f.js +640 -0
- package/assets/esri/core/workers/chunks/0a510acf50915e00c62b.js +1 -0
- package/assets/esri/core/workers/chunks/{829a0583b8a228c65379.js → 0b169bb1969f86232a1a.js} +1 -1
- package/assets/esri/core/workers/chunks/{20e2d11f6de438ee883e.js → 0ded58ccb83f624f1460.js} +1 -1
- package/assets/esri/core/workers/chunks/{d1ac98f48bb6d43d97c8.js → 0f3654c8157ec8f22869.js} +3 -3
- package/assets/esri/core/workers/chunks/19dcae83be0fc0aced02.js +1 -0
- package/assets/esri/core/workers/chunks/1eabe746481e0b228498.js +1 -0
- package/assets/esri/core/workers/chunks/{c27cb2a83a1d2e004501.js → 238478cfe493fd4a6100.js} +1 -1
- package/assets/esri/core/workers/chunks/{bf706a5d065a357de51b.js → 2413b383b7f2bdcd4ced.js} +1 -1
- package/assets/esri/core/workers/chunks/277718031c903da2b3b9.js +1 -0
- package/assets/esri/core/workers/chunks/{7ed5b669010db58845f8.js → 294f2803aac000c99693.js} +1 -1
- package/assets/esri/core/workers/chunks/{093f27e4e4781870b431.js → 297ae764445e6f73a5ea.js} +1 -1
- package/assets/esri/core/workers/chunks/2b36a54927f5a7281da3.js +1 -0
- package/assets/esri/core/workers/chunks/{be0eab592db0e651b023.js → 2b814bb51704a5b4fdc2.js} +6 -6
- package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +1 -0
- package/assets/esri/core/workers/chunks/{eedee0af459e6b8a6116.js → 33e0130e6a40fc768978.js} +1 -1
- package/assets/esri/core/workers/chunks/343ba5ea459e96ba79c6.js +1 -0
- package/assets/esri/core/workers/chunks/{a2159df718a7f2f59271.js → 38a2f34661563c7c29c1.js} +1 -1
- package/assets/esri/core/workers/chunks/3a5c1c501808352857bd.js +1 -0
- package/assets/esri/core/workers/chunks/{a96c7432ca97cbeef4b8.js → 3db898a38a7c5f0efb48.js} +1 -1
- package/assets/esri/core/workers/chunks/3fbb6ff940156a981983.js +1 -0
- package/assets/esri/core/workers/chunks/{24eaf1349ffe10e616e6.js → 40c4e14e7bb505ef10a3.js} +1 -1
- package/assets/esri/core/workers/chunks/4104fa1ede36bcee9be5.js +1 -0
- package/assets/esri/core/workers/chunks/{b002304a45856b024b46.js → 4714241189c13d0db897.js} +1 -1
- package/assets/esri/core/workers/chunks/485d20152495c27b8074.js +1 -0
- package/assets/esri/core/workers/chunks/{16b90d8f628a412ba4ba.js → 4894997bfa438f66da36.js} +1 -1
- package/assets/esri/core/workers/chunks/{0e774f14ba274832f390.js → 520e0e5307eef27becc6.js} +1 -1
- package/assets/esri/core/workers/chunks/53d165b4f30fd64e5d8a.js +1 -0
- package/assets/esri/core/workers/chunks/{c83fea0d0ebd0d8e43fd.js → 542f5469f7b42026b24f.js} +1 -1
- package/assets/esri/core/workers/chunks/5553279998ae07b60f5f.js +1 -0
- package/assets/esri/core/workers/chunks/{cda99b543a0e1979346c.js → 5cb1b950249d651f3837.js} +1 -1
- package/assets/esri/core/workers/chunks/{7601278ebced0c0c31cf.js → 5e3e0d7b85dfd52d1c7d.js} +1 -1
- package/assets/esri/core/workers/chunks/{f5a2c28dc26c065ea355.js → 62dfbdc847be4800e833.js} +22 -20
- package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js → 62e77e3c5ca9b4887923.js} +2 -2
- package/assets/esri/core/workers/chunks/{cc479daacd2cf715baa8.js → 62fc3c367f736c73b0d7.js} +1 -1
- package/assets/esri/core/workers/chunks/{b1f1271434af302938e8.js → 643c33a98f2d30a92001.js} +1 -1
- package/assets/esri/core/workers/chunks/{1c1515e020e32e177b54.js → 6a5356ebed70e0f8f979.js} +1 -1
- package/assets/esri/core/workers/chunks/{3402fb9c596b582311c7.js → 75839240022b280929f7.js} +1 -1
- package/assets/esri/core/workers/chunks/77a4f6f224d7ca4b69f4.js +1 -0
- package/assets/esri/core/workers/chunks/{6637f19b82555738a1d5.js → 78aa5bc6af2758da20d0.js} +1 -1
- package/assets/esri/core/workers/chunks/7df94cb985db41815fad.js +2 -0
- package/assets/esri/core/workers/chunks/{153dc2a0b08a0e44a881.js → 8419934bec7723b0feef.js} +1 -1
- package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js → 875cce0be4f6c89f80f3.js} +2 -2
- package/assets/esri/core/workers/chunks/{c319c3b85cdec73a9f45.js → 877c848beaf9a939862c.js} +1 -1
- package/assets/esri/core/workers/chunks/{ae74f722fb385e45fcf1.js → 893c0d28a5bf3f9f29f1.js} +1 -1
- package/assets/esri/core/workers/chunks/{5abe34bb0110694f7b42.js → 90953a827bc89d0e6bd5.js} +1 -1
- package/assets/esri/core/workers/chunks/{14c6419568d8a7a15cd6.js → 92ab5886aa2d8b9b179f.js} +1 -1
- package/assets/esri/core/workers/chunks/{4e676e888a935c507d90.js → 93d4bda22bde33fafa57.js} +1 -1
- package/assets/esri/core/workers/chunks/{fbb23db01f3cf629d32e.js → 992a90ecbab931198fd0.js} +1 -1
- package/assets/esri/core/workers/chunks/{1765042635084f75d2b3.js → 9b676606bf839b7aa433.js} +1 -1
- package/assets/esri/core/workers/chunks/a261f4c22224511fdfff.js +1 -0
- package/assets/esri/core/workers/chunks/{ea8f642b1db933d2c26f.js → a2ac139d0975085279a6.js} +1 -1
- package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +1 -0
- package/assets/esri/core/workers/chunks/a8ec5b85c2fa6fb4f391.js +1 -0
- package/assets/esri/core/workers/chunks/{6af77529c977d034d287.js → b23009d9f8eb7c20ce45.js} +1 -1
- package/assets/esri/core/workers/chunks/{1f55d60d3adc31283296.js → b79428c5093614174e76.js} +1 -1
- package/assets/esri/core/workers/chunks/b9bdb1f05e904c3655e4.js +1 -0
- package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +1 -0
- package/assets/esri/core/workers/chunks/c983e5ce0ff952b65d7f.js +1 -0
- package/assets/esri/core/workers/chunks/{f79bd469b25099a31274.js → ca6907e14b1dde4d5c07.js} +1 -1
- package/assets/esri/core/workers/chunks/cbbd94c53e75efc99876.js +1 -0
- package/assets/esri/core/workers/chunks/{8f94c90fdb0333da2d0f.js → cfd28eba44cf5a296c6d.js} +1 -1
- package/assets/esri/core/workers/chunks/{e9dcc3e9dbafe9bbed84.js → d21480b078ec9680d4c4.js} +1 -1
- package/assets/esri/core/workers/chunks/{ace1899a8e5162b4018d.js → d6bb8db22ba85ad05fd7.js} +1 -1
- package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js → d9d4754062758789f186.js} +2 -2
- package/assets/esri/core/workers/chunks/{d35c475f004367e333eb.js → e094364e54981c91e1b4.js} +1 -1
- package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +1 -0
- package/assets/esri/core/workers/chunks/{3e3134e4bc34d4e07179.js → e545df5ea7c0ced92cee.js} +1 -1
- package/assets/esri/core/workers/chunks/{49f6c9e9980b8c624fd7.js → f02fe24177e56a7e42b2.js} +1 -1
- package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js → f5731ad4cfbbf1cc569a.js} +2 -2
- package/assets/esri/themes/base/widgets/_DatePicker.scss +1 -1
- package/chunks/RealisticTree.glsl.js +17 -15
- package/config.d.ts +2 -2
- package/config.js +1 -1
- package/core/Collection.d.ts +25 -25
- package/core/Error.d.ts +1 -1
- package/core/JSONSupport.d.ts +1 -1
- package/core/promiseUtils.d.ts +3 -3
- package/core/reactiveUtils.d.ts +4 -4
- package/core/sql/WhereClause.d.ts +1 -1
- package/core/timeUtils.d.ts +1 -1
- package/core/workers/Connection.d.ts +9 -9
- package/core/workers.d.ts +1 -1
- package/editing/types.d.ts +3 -3
- package/geometry/Mesh.d.ts +9 -2
- package/geometry/Mesh.js +1 -1
- package/geometry/support/MeshMaterial.d.ts +5 -5
- package/geometry/support/MeshTexture.d.ts +19 -19
- package/geometry/support/jsonUtils.d.ts +1 -1
- package/geometry/support/meshUtils.d.ts +130 -2
- package/geometry/support/meshUtils.js +1 -1
- package/identity/Credential.d.ts +1 -1
- package/identity/IdentityManager.d.ts +1 -1
- package/identity/OAuthInfo.d.ts +1 -1
- package/identity/ServerInfo.d.ts +2 -2
- package/interfaces.d.ts +13 -0
- package/intl/number.d.ts +3 -3
- package/intl/substitute.d.ts +2 -2
- package/intl.d.ts +28 -28
- package/kernel.js +1 -1
- package/layers/AnnotationLayer.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +5 -5
- package/layers/BaseTileLayer.d.ts +4 -4
- package/layers/BuildingSceneLayer.d.ts +1 -1
- package/layers/CSVLayer.d.ts +7 -1
- package/layers/CatalogLayer.d.ts +6 -0
- package/layers/DimensionFeatureLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +44 -7
- package/layers/FeatureLayer.js +1 -1
- package/layers/GeoJSONLayer.d.ts +7 -1
- package/layers/LinkChartLayer.js +1 -1
- package/layers/MapImageLayer.d.ts +5 -5
- package/layers/MediaLayer.d.ts +2 -2
- package/layers/OrientedImageryLayer.d.ts +29 -2
- package/layers/ParquetLayer.d.ts +7 -1
- package/layers/SceneLayer.d.ts +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/StreamLayer.d.ts +1 -1
- package/layers/SubtypeGroupLayer.d.ts +7 -1
- package/layers/TileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +1 -1
- package/layers/VoxelLayer.d.ts +4 -4
- package/layers/WCSLayer.d.ts +2 -2
- package/layers/WFSLayer.d.ts +6 -0
- package/layers/WebTileLayer.d.ts +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +20 -1
- package/layers/graphics/sources/FeatureLayerSource.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +6 -0
- package/layers/mixins/ArcGISImageService.d.ts +7 -1
- package/layers/mixins/BlendLayer.d.ts +1 -1
- package/layers/mixins/DataSeriesLayer.d.ts +161 -0
- package/layers/mixins/DataSeriesLayer.js +2 -0
- package/layers/mixins/FeatureLayerBase.d.ts +3 -3
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/support/DateTimeFieldFormat.d.ts +10 -10
- package/layers/support/FeatureEffect.d.ts +22 -22
- package/layers/support/FeatureReductionBinning.d.ts +12 -0
- package/layers/support/FeatureReductionCluster.d.ts +12 -0
- package/layers/support/Field.d.ts +2 -2
- package/layers/support/ImageElement.d.ts +1 -1
- package/layers/support/MosaicRule.d.ts +0 -2
- package/layers/support/NumberFieldFormat.d.ts +5 -5
- package/layers/support/StreamConnection.d.ts +1 -1
- package/layers/support/Sublayer.d.ts +2 -2
- package/layers/support/SubtypeSublayer.d.ts +14 -1
- package/layers/support/TimeSeriesFieldTimeMapping.d.ts +30 -0
- package/layers/support/TimeSeriesFieldTimeMapping.js +2 -0
- package/layers/support/TimeSeriesInfo.d.ts +149 -0
- package/layers/support/TimeSeriesInfo.js +2 -0
- package/layers/support/VideoElement.d.ts +1 -1
- package/layers/support/dataSeriesUtils.d.ts +18 -0
- package/layers/support/dataSeriesUtils.js +2 -0
- package/layers/support/kmlUtils.js +1 -1
- package/layers/support/timeSeriesUtils.d.ts +27 -0
- package/layers/support/timeSeriesUtils.js +2 -0
- package/layers/types.d.ts +1 -1
- package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
- package/networks/CircuitManager.d.ts +1 -1
- package/networks/Network.d.ts +1 -1
- package/networks/UnitIdentifierManager.d.ts +1 -1
- package/networks/support/NamedTraceConfiguration.d.ts +1 -1
- package/networks/support/TraceConfiguration.d.ts +2 -2
- package/networks/support/UNTraceConfiguration.d.ts +3 -3
- package/networks/support/jsonTypes.d.ts +7 -1
- package/networks/support/utils.js +1 -1
- package/package.json +3 -3
- package/popup/content/CustomContent.d.ts +1 -1
- package/portal/Portal.d.ts +2 -2
- package/portal/jsonTypes.d.ts +2 -2
- package/renderers/support/AuthoringInfo.d.ts +14 -1
- package/renderers/support/AuthoringInfo.js +1 -1
- package/renderers/support/AuthoringInfoVisualVariable.d.ts +14 -1
- package/renderers/support/AuthoringInfoVisualVariable.js +1 -1
- package/renderers/support/jsonUtils.d.ts +1 -1
- package/renderers/support/utils.d.ts +1 -1
- package/renderers/visualVariables/RotationVariable.d.ts +16 -1
- package/renderers/visualVariables/RotationVariable.js +1 -1
- package/request/types.d.ts +23 -23
- package/rest/geometryService.d.ts +1 -1
- package/rest/knowledgeGraph/CreateReplicaResponse.d.ts +1 -1
- package/rest/knowledgeGraph/GraphApplyEdits.d.ts +1 -1
- package/rest/knowledgeGraph/GraphProperty.d.ts +5 -1
- package/rest/knowledgeGraph/GraphQueryStreamingResult.d.ts +2 -2
- package/rest/knowledgeGraph/wasmInterface/wasmToDataModelFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToQueryResponseObjFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +1 -1
- package/rest/knowledgeGraphService.d.ts +13 -13
- package/rest/layerSources/DynamicDataLayer.d.ts +1 -1
- package/rest/print.d.ts +1 -1
- package/rest/support/AttributeBinsQuery.d.ts +16 -2
- package/rest/support/ClosestFacilityParameters.d.ts +6 -6
- package/rest/support/LastMileDeliveryParameters.d.ts +4 -4
- package/rest/support/LocationToAddressParameters.d.ts +1 -1
- package/rest/support/PrintTemplate.d.ts +5 -5
- package/rest/support/Query.d.ts +18 -4
- package/rest/support/RouteParameters.d.ts +5 -5
- package/rest/support/ServiceAreaParameters.d.ts +6 -6
- package/rest/support/TopFeaturesQuery.d.ts +16 -2
- package/rest/support/meshFeatureSet.js +1 -1
- package/smartMapping/renderers/color.d.ts +40 -0
- package/smartMapping/renderers/color.js +1 -1
- package/smartMapping/renderers/opacity.d.ts +8 -0
- package/smartMapping/renderers/opacity.js +1 -1
- package/smartMapping/renderers/size.d.ts +38 -0
- package/smartMapping/renderers/size.js +1 -1
- package/smartMapping/renderers/support/regenerateUtils.js +1 -1
- package/smartMapping/renderers/support/timeSeriesUtils.js +2 -0
- package/smartMapping/renderers/type.d.ts +20 -1
- package/smartMapping/renderers/type.js +1 -1
- package/smartMapping/renderers/univariateColorSize.d.ts +19 -0
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/support/revision.js +1 -1
- package/support/tests/setupServiceMocksMesh.js +1 -1
- package/support/timeUtils.d.ts +3 -3
- package/symbols/Font.d.ts +7 -7
- package/symbols/WebStyleSymbol.d.ts +11 -11
- package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
- package/symbols/support/Symbol3DEmissive.d.ts +8 -2
- package/symbols/support/jsonUtils.d.ts +1 -1
- package/time/TimeExtent.d.ts +2 -2
- package/versionManagement/VersionManagementService.d.ts +8 -8
- package/versionManagement/VersionManager.d.ts +13 -3
- package/versionManagement/VersioningState.d.ts +4 -4
- package/views/2d/MapViewConstraints.d.ts +29 -25
- 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/Streamlines.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/BaseLayerView2D.d.ts +4 -20
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +6 -22
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.d.ts +1 -1
- package/views/3d/glTF/internal/resourceUtils.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/webgl/RenderNode.d.ts +7 -7
- package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
- package/views/BreakpointsOwner.d.ts +1 -1
- package/views/DOMContainer.d.ts +6 -6
- package/views/Magnifier.d.ts +1 -1
- package/views/MapView.d.ts +1 -1
- package/views/SceneView.d.ts +2 -2
- package/views/View2D.d.ts +62 -54
- package/views/Viewport2DMixin.d.ts +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +1 -1
- package/views/input/gamepad/GamepadInputDevice.d.ts +1 -1
- package/views/input/types.d.ts +15 -15
- package/views/layers/FeatureLikeLayerView.d.ts +7 -4
- package/views/layers/GraphicsLayerView.d.ts +6 -3
- package/views/layers/ImageryLayerView.d.ts +4 -0
- package/views/navigation/Navigation.d.ts +1 -1
- package/views/support/WebAssemblyRequirements.js +1 -1
- package/views/types.d.ts +1 -1
- package/webscene/Glow.d.ts +0 -4
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapLayerList.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm.d.ts +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Bookmarks.d.ts +1 -1
- package/widgets/BuildingExplorer.d.ts +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -2
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
- package/widgets/CoordinateConversion.d.ts +2 -2
- package/widgets/Daylight.d.ts +1 -1
- package/widgets/Directions.d.ts +1 -1
- package/widgets/Editor.d.ts +1 -1
- package/widgets/Feature.d.ts +1 -1
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/FieldColumn.d.ts +1 -14
- package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
- package/widgets/FeatureTemplates.d.ts +1 -1
- package/widgets/FloorFilter.d.ts +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +3 -3
- package/widgets/Fullscreen/FullscreenViewModel.js +1 -1
- package/widgets/Fullscreen.d.ts +3 -3
- package/widgets/LayerList/ListItemPanel.d.ts +5 -5
- package/widgets/Legend.d.ts +1 -1
- package/widgets/Locate/LocateViewModel.d.ts +2 -2
- package/widgets/Locate.d.ts +1 -1
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/Popup.d.ts +1 -1
- package/widgets/Print/PrintViewModel.d.ts +2 -2
- package/widgets/Print/TemplateOptions.d.ts +4 -4
- package/widgets/Print.d.ts +6 -6
- package/widgets/Search/SearchViewModel.d.ts +5 -5
- package/widgets/Search.d.ts +4 -4
- package/widgets/ShadowCast.d.ts +1 -1
- package/widgets/Sketch/SketchViewModel.d.ts +1 -1
- package/widgets/Slice.d.ts +1 -1
- package/widgets/TableList/ListItemPanel.d.ts +5 -5
- package/widgets/Track/TrackViewModel.d.ts +3 -3
- package/widgets/Track.d.ts +3 -3
- package/widgets/UtilityNetworkTrace.d.ts +1 -1
- package/widgets/VersionManagement/VersionManagementViewModel.d.ts +2 -2
- package/widgets/Weather.d.ts +1 -1
- package/widgets/Widget.d.ts +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/widgets/support/types.d.ts +1 -1
- package/widgets/support/widget.d.ts +6 -6
- package/assets/esri/core/workers/chunks/1ddbf5f507ac153234be.js +0 -1
- package/assets/esri/core/workers/chunks/29615df388a0df022d8c.js +0 -1
- package/assets/esri/core/workers/chunks/2bd334f9ab89334df713.js +0 -1
- package/assets/esri/core/workers/chunks/319ff04282dc8ae38b56.js +0 -2
- package/assets/esri/core/workers/chunks/3a6678ee9990d7e83e15.js +0 -1
- package/assets/esri/core/workers/chunks/3b3986276e70297d573b.js +0 -1
- package/assets/esri/core/workers/chunks/46fbd519cc1a37923bfc.js +0 -1
- package/assets/esri/core/workers/chunks/4ef53455c8bc6efee80e.js +0 -1
- package/assets/esri/core/workers/chunks/51ee6102f5f4840a5b47.js +0 -1
- package/assets/esri/core/workers/chunks/58994b6bfcda5f2ada80.js +0 -1
- package/assets/esri/core/workers/chunks/6db274f6767102a39021.js +0 -1
- package/assets/esri/core/workers/chunks/77769663cd712822d33e.js +0 -1
- package/assets/esri/core/workers/chunks/8c5a41ae68775bac3446.js +0 -1
- package/assets/esri/core/workers/chunks/b08a1255dacf6cfcf139.js +0 -640
- package/assets/esri/core/workers/chunks/b098469e0010a6b44df9.js +0 -1
- package/assets/esri/core/workers/chunks/ca1b0cb14ea9ae1bf2a3.js +0 -1
- package/assets/esri/core/workers/chunks/ca4245414d8ecd217f9d.js +0 -1
- package/assets/esri/core/workers/chunks/d3af51a6d9014ff46170.js +0 -1
- package/assets/esri/core/workers/chunks/d561dc933d8fe1672d85.js +0 -1
- package/assets/esri/core/workers/chunks/e38836bfcc7a15a2fd1f.js +0 -1
- package/assets/esri/core/workers/chunks/e645f992ec6f935ee3a5.js +0 -1
- package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +0 -1
- package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +0 -1
- /package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js.LICENSE.txt → 62e77e3c5ca9b4887923.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{319ff04282dc8ae38b56.js.LICENSE.txt → 7df94cb985db41815fad.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js.LICENSE.txt → 875cce0be4f6c89f80f3.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js.LICENSE.txt → d9d4754062758789f186.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js.LICENSE.txt → f5731ad4cfbbf1cc569a.js.LICENSE.txt} +0 -0
|
@@ -194,7 +194,7 @@ export abstract class BlendLayer {
|
|
|
194
194
|
accessor blendMode: BlendMode;
|
|
195
195
|
/**
|
|
196
196
|
* Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to
|
|
197
|
-
* how image filters work. This powerful capability allows you to apply [css filter-like](https://developer.mozilla.org/
|
|
197
|
+
* how image filters work. This powerful capability allows you to apply [css filter-like](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
|
|
198
198
|
* functions to layers to create custom visual effects to enhance the cartographic quality of your maps. This is done by applying the desired
|
|
199
199
|
* effect to the layer's `effect` property as a string or an array of objects to set scale dependent effects.
|
|
200
200
|
*
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import type TimeSeriesInfo from "../support/TimeSeriesInfo.js";
|
|
2
|
+
import type { TimeSeriesInfoProperties } from "../support/TimeSeriesInfo.js";
|
|
3
|
+
|
|
4
|
+
export interface DataSeriesLayerProperties {
|
|
5
|
+
/**
|
|
6
|
+
* An array of objects that define data series configurations for the layer. A data series
|
|
7
|
+
* describes a series of fields that represent a sequence of related data points over time or other dimensions.
|
|
8
|
+
* Client applications can use the information in a data series info to generate expressions for renderers,
|
|
9
|
+
* labels, popups, charts, or for other representations of the data to display in the web map. These may be
|
|
10
|
+
* defined and referenced by name in client applications for use in various contexts.
|
|
11
|
+
*
|
|
12
|
+
* @default null
|
|
13
|
+
* @example
|
|
14
|
+
* layer.dataSeriesInfos = [{
|
|
15
|
+
* type: "time-series-fields",
|
|
16
|
+
* name: "ts0",
|
|
17
|
+
* title: "U.S. National Park Annual Visitation Numbers (10 year increments, 1910-2020)",
|
|
18
|
+
* fieldTimeMappings: [
|
|
19
|
+
* {
|
|
20
|
+
* fieldName: "F1910",
|
|
21
|
+
* timeValue: "1910"
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* fieldName: "F1920",
|
|
25
|
+
* timeValue: "1920"
|
|
26
|
+
* },
|
|
27
|
+
* {
|
|
28
|
+
* fieldName: "F1930",
|
|
29
|
+
* timeValue: "1930"
|
|
30
|
+
* },
|
|
31
|
+
* {
|
|
32
|
+
* fieldName: "F1940",
|
|
33
|
+
* timeValue: "1940"
|
|
34
|
+
* },
|
|
35
|
+
* {
|
|
36
|
+
* fieldName: "F1950",
|
|
37
|
+
* timeValue: "1950"
|
|
38
|
+
* },
|
|
39
|
+
* {
|
|
40
|
+
* fieldName: "F1960",
|
|
41
|
+
* timeValue: "1960"
|
|
42
|
+
* },
|
|
43
|
+
* {
|
|
44
|
+
* fieldName: "F1970",
|
|
45
|
+
* timeValue: "1970"
|
|
46
|
+
* },
|
|
47
|
+
* {
|
|
48
|
+
* fieldName: "F1980",
|
|
49
|
+
* timeValue: "1980"
|
|
50
|
+
* },
|
|
51
|
+
* {
|
|
52
|
+
* fieldName: "F1990",
|
|
53
|
+
* timeValue: "1990"
|
|
54
|
+
* },
|
|
55
|
+
* {
|
|
56
|
+
* fieldName: "F2000",
|
|
57
|
+
* timeValue: "2000"
|
|
58
|
+
* },
|
|
59
|
+
* {
|
|
60
|
+
* fieldName: "F2010",
|
|
61
|
+
* timeValue: "2010"
|
|
62
|
+
* },
|
|
63
|
+
* {
|
|
64
|
+
* fieldName: "F2020",
|
|
65
|
+
* timeValue: "2020"
|
|
66
|
+
* }
|
|
67
|
+
* ],
|
|
68
|
+
* timeInterval: 1,
|
|
69
|
+
* timeValueUnits: "years",
|
|
70
|
+
* timeIntervalUnits: "decades",
|
|
71
|
+
* timeExtent: {
|
|
72
|
+
* start: new Date("1910-01-01"),
|
|
73
|
+
* end: new Date("2020-01-01")
|
|
74
|
+
* }
|
|
75
|
+
* }];
|
|
76
|
+
*/
|
|
77
|
+
dataSeriesInfos?: TimeSeriesInfoProperties[] | null;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Mixin for layers that support data series configurations.
|
|
82
|
+
*
|
|
83
|
+
* @since 5.1
|
|
84
|
+
*/
|
|
85
|
+
export abstract class DataSeriesLayer {
|
|
86
|
+
constructor(...args: any[]);
|
|
87
|
+
/**
|
|
88
|
+
* An array of objects that define data series configurations for the layer. A data series
|
|
89
|
+
* describes a series of fields that represent a sequence of related data points over time or other dimensions.
|
|
90
|
+
* Client applications can use the information in a data series info to generate expressions for renderers,
|
|
91
|
+
* labels, popups, charts, or for other representations of the data to display in the web map. These may be
|
|
92
|
+
* defined and referenced by name in client applications for use in various contexts.
|
|
93
|
+
*
|
|
94
|
+
* @default null
|
|
95
|
+
* @example
|
|
96
|
+
* layer.dataSeriesInfos = [{
|
|
97
|
+
* type: "time-series-fields",
|
|
98
|
+
* name: "ts0",
|
|
99
|
+
* title: "U.S. National Park Annual Visitation Numbers (10 year increments, 1910-2020)",
|
|
100
|
+
* fieldTimeMappings: [
|
|
101
|
+
* {
|
|
102
|
+
* fieldName: "F1910",
|
|
103
|
+
* timeValue: "1910"
|
|
104
|
+
* },
|
|
105
|
+
* {
|
|
106
|
+
* fieldName: "F1920",
|
|
107
|
+
* timeValue: "1920"
|
|
108
|
+
* },
|
|
109
|
+
* {
|
|
110
|
+
* fieldName: "F1930",
|
|
111
|
+
* timeValue: "1930"
|
|
112
|
+
* },
|
|
113
|
+
* {
|
|
114
|
+
* fieldName: "F1940",
|
|
115
|
+
* timeValue: "1940"
|
|
116
|
+
* },
|
|
117
|
+
* {
|
|
118
|
+
* fieldName: "F1950",
|
|
119
|
+
* timeValue: "1950"
|
|
120
|
+
* },
|
|
121
|
+
* {
|
|
122
|
+
* fieldName: "F1960",
|
|
123
|
+
* timeValue: "1960"
|
|
124
|
+
* },
|
|
125
|
+
* {
|
|
126
|
+
* fieldName: "F1970",
|
|
127
|
+
* timeValue: "1970"
|
|
128
|
+
* },
|
|
129
|
+
* {
|
|
130
|
+
* fieldName: "F1980",
|
|
131
|
+
* timeValue: "1980"
|
|
132
|
+
* },
|
|
133
|
+
* {
|
|
134
|
+
* fieldName: "F1990",
|
|
135
|
+
* timeValue: "1990"
|
|
136
|
+
* },
|
|
137
|
+
* {
|
|
138
|
+
* fieldName: "F2000",
|
|
139
|
+
* timeValue: "2000"
|
|
140
|
+
* },
|
|
141
|
+
* {
|
|
142
|
+
* fieldName: "F2010",
|
|
143
|
+
* timeValue: "2010"
|
|
144
|
+
* },
|
|
145
|
+
* {
|
|
146
|
+
* fieldName: "F2020",
|
|
147
|
+
* timeValue: "2020"
|
|
148
|
+
* }
|
|
149
|
+
* ],
|
|
150
|
+
* timeInterval: 1,
|
|
151
|
+
* timeValueUnits: "years",
|
|
152
|
+
* timeIntervalUnits: "decades",
|
|
153
|
+
* timeExtent: {
|
|
154
|
+
* start: new Date("1910-01-01"),
|
|
155
|
+
* end: new Date("2020-01-01")
|
|
156
|
+
* }
|
|
157
|
+
* }];
|
|
158
|
+
*/
|
|
159
|
+
get dataSeriesInfos(): TimeSeriesInfo[] | null | undefined;
|
|
160
|
+
set dataSeriesInfos(value: TimeSeriesInfoProperties[] | null | undefined);
|
|
161
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{__decorate as e}from"tslib";import{property as r,subclass as o}from"../../core/accessorSupport/decorators.js";import{excludeTables as s}from"../../core/accessorSupport/layerContainerType.js";import t from"../support/TimeSeriesInfo.js";const i=i=>{const a=i;let n=class extends a{constructor(){super(...arguments),this.dataSeriesInfos=null}};return e([r({type:[t],json:{write:{enabled:!0,allowNull:!0,layerContainerTypes:s},origins:{"web-scene":{write:!1,read:!1}}}})],n.prototype,"dataSeriesInfos",void 0),n=e([o("esri.layers.mixins.DataSeriesLayer")],n),n};export{i as DataSeriesLayer};
|
|
@@ -147,8 +147,8 @@ export abstract class FeatureLayerBase {
|
|
|
147
147
|
* @default false
|
|
148
148
|
* @since 4.21
|
|
149
149
|
* @see [ArcGIS REST API - New in 10.9](https://developers.arcgis.com/rest/services-reference/enterprise/layer-table/#new-in-109)
|
|
150
|
-
* @see [What's new in ArcGIS Server](https://
|
|
151
|
-
* @see [Edit map service settings](https://
|
|
150
|
+
* @see [What's new in ArcGIS Server](https://doc.esri.com/en/arcgis-enterprise/latest/introduction/what-s-new-in-arcgis-enterprise.html)
|
|
151
|
+
* @see [Edit map service settings](https://doc.esri.com/en/arcgis-enterprise/latest/administer/edit-map-service-settings.html#LI_A5825E4A9A3A42E991C662CD7B76A860)
|
|
152
152
|
* @example
|
|
153
153
|
* // Only download data for the year 2020.
|
|
154
154
|
* // if the layer supports unknown time zone then create
|
|
@@ -296,7 +296,7 @@ export abstract class FeatureLayerBase {
|
|
|
296
296
|
set fullExtent(value: ExtentProperties | null | undefined);
|
|
297
297
|
/**
|
|
298
298
|
* The version of the geodatabase of the feature service data. Read
|
|
299
|
-
* the [Overview of versioning](https://
|
|
299
|
+
* the [Overview of versioning](https://doc.esri.com/en/arcgis-pro/latest/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.html) topic for more details
|
|
300
300
|
* about this capability.
|
|
301
301
|
*/
|
|
302
302
|
accessor gdbVersion: string | null | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{throwIfAborted as e}from"../../../core/promiseUtils.js";import{create as t}from"../../../core/libs/gl-matrix-2/factories/mat3f64.js";import{zeros as r}from"../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{transpose as n}from"../../../core/libs/gl-matrix-2/math/mat3.js";import{sub as o,add as a}from"../../../core/libs/gl-matrix-2/math/vec3.js";import i from"../../../geometry/Circle.js";import
|
|
2
|
+
import{throwIfAborted as e}from"../../../core/promiseUtils.js";import{create as t}from"../../../core/libs/gl-matrix-2/factories/mat3f64.js";import{zeros as r}from"../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{transpose as n}from"../../../core/libs/gl-matrix-2/math/mat3.js";import{sub as o,add as a}from"../../../core/libs/gl-matrix-2/math/vec3.js";import i from"../../../geometry/Circle.js";import s from"../../../geometry/Mesh.js";import c from"../../../geometry/Multipoint.js";import f from"../../../geometry/Polygon.js";import{projectAsync as l}from"../../../geometry/projectionUtils.js";import m from"../../../geometry/SpatialReference.js";import{polygonCentroidPoint as u}from"../../../geometry/support/centroid.js";import{earth as p}from"../../../geometry/support/Ellipsoid.js";import h from"../../../geometry/support/MeshComponent.js";import{createSphere as y}from"../../../geometry/support/meshUtils.js";import g from"../../../geometry/support/MeshVertexAttributes.js";import{create as x,fromArray as d,intersectRay as w}from"../../../geometry/support/plane.js";import{isWebMercator as M}from"../../../geometry/support/spatialReferenceUtils.js";import{computeHFOVAndVFOV as R,convertToSRUnits as j,scaleWithFactor as v,scaleAndAddWithFactor as P,projectiveTransform as b,getWebMercatorScalingFactor as D,createRotationMatrixFromHPR as A,transformMat3 as I}from"../transformations/utils.js";const z=Math.PI/180;function V(e){const t=j(e,e.geometry.spatialReference);return e.isSpherical?S(t):F(t)}function F(e){const{horizontalFieldOfView:t,verticalFieldOfView:r,geometry:n,cameraHeading:o}=e,a=D(n.y,n.spatialReference);let i=e.cameraPitch,s=e.cameraRoll??0,c=150;t>150&&(i=90,s=0,c=5);const l=Math.ceil(t/c),m=H(l,o,t);let u=e.farDistance?e.farDistance*a:e.cameraHeight*a/Math.cos(i*z);e.cameraPitch+r/2>=90&&(u=(e.farDistance||20)*a);const p=new f({spatialReference:n?.spatialReference});p.imageID=e.objectId;let h=null;for(const f of m)h=O(f,i,e.cameraHeight,n,u,a,r,t,l,p,s,e.nearDistance);return h.imageID=e.objectId,{polygon:p,frustum:h}}function H(e,t,r){const n=[];if(e%2==0)for(let o=0;o<e/2;o++)n.push(t-r/e*(o+.5),t+r/e*(o+.5));else{n.push(t);for(let o=1;o<e/2;o++)n.push(t-r/e*o,t+r/e*o)}return n.sort(),n}function O(e,i,s,c,f,l,m,u,p,h,y=0,g=0){const x=n(t(),A([e,i,y??0])),d=E({cameraHeight:s,cameraPitch:i,farDistance:f,location:c,horizontalFieldOfView:u,nearDistance:g,verticalFieldOfView:m},x),w=I([0,0,-1],x),{x:M,y:R}=c,j=P([M,R,s],w,f,l),b=2*Math.tan(m*z/2)*f,D=2*Math.tan(u/p*z/2)*f,V=I([0,1,0],x),F=I([1,0,0],x),H=v(V,b/2,l),O=v(F,D/2,l),S=o(r(),H,O),U=a(r(),H,O),C=q([a(r(),j,S),a(r(),j,U),o(r(),j,S),o(r(),j,U)],s,c,l);return C.push(C[0]),h.addRing(C),d}function q(e,t,r,n){return e.map(e=>k(e,t,r,n))}function S(e){const{geometry:t,farDistance:r,objectId:n,nearDistance:o,cameraHeight:a}=e,s=D(t.y,t.spatialReference),c=new i({center:t.clone(),radius:r*s});if(c.imageID=n,o){const e=new i({center:t.clone(),radius:o*s});c.addRing(e.rings[0])}const f=t.clone();f.z=a-r*s;const l=y(f,{size:2*r*s});return l.imageID=n,{polygon:c,frustum:l}}function U(e,t){return e.contains(t)}function C(e,t){return Math.sign(e)!==Math.sign(t)}function E(e,t,n){const{cameraHeight:i,cameraPitch:c,farDistance:f,location:l,horizontalFieldOfView:m,nearDistance:u,verticalFieldOfView:p}=e,h=W(l),y=c+p/2>=90==!1,x=2*Math.tan(p*z/2)*u,d=2*Math.tan(m*z/2)*u,w=2*Math.tan(p*z/2)*f,M=2*Math.tan(m*z/2)*f;let R,j;j=[0,0,-1],j=I(j,t),R=P([l.x,l.y,i],j,f,h),y&&(R[2]=0);const b=P([l.x,l.y,i],j,u,h);let D=[0,1,0];D=I(D,t);let A=[1,0,0];A=I(A,t);let V=[],F=[];u?(F=[{faces:[4,0,3,4,7,3]},{faces:[5,1,2,5,6,2]},{faces:[4,0,1,4,5,1]},{faces:[6,2,3,6,7,3]}],V=V.concat(a(r(),b,o(r(),v(D,x/2,h),v(A,d/2,h)))),V=V.concat(a(r(),b,a(r(),v(D,x/2,h),v(A,d/2,h)))),V=V.concat(o(r(),b,o(r(),v(D,x/2,h),v(A,d/2,h)))),V=V.concat(o(r(),b,a(r(),v(D,x/2,h),v(A,d/2,h))))):(V=[l.x,l.y,i],F=[{faces:[0,1,2,0,2,3,0,3,4,0,4,1]}]),V=V.concat(a(r(),R,o(r(),v(D,w/2,h),v(A,M/2,h)))),V=V.concat(a(r(),R,a(r(),v(D,w/2,h),v(A,M/2,h)))),V=V.concat(o(r(),R,o(r(),v(D,w/2,h),v(A,M/2,h)))),V=V.concat(o(r(),R,a(r(),v(D,w/2,h),v(A,M/2,h))));const H=new g({position:Float64Array.from(V)});return new s({vertexAttributes:H,components:F,spatialReference:l.spatialReference})}function k(e,t,n,a){{const i=Math.sqrt((e[2]-t)**2+(Math.sqrt((e[0]-n.x)**2+(e[1]-n.y)**2)/a)**2)*a,s=v(o(r(),[e[0],e[1],e[2]],[n.x,n.y,t]),1/i,1/a),c=t/(t-e[2]),f={x:(1-c)*n.x+c*e[0],y:(1-c)*n.y+c*e[1],z:(1-c)*t+c*e[2]},l=Math.sqrt((f.z-t)**2+(Math.sqrt((f.x-n.x)**2+(f.y-n.y)**2)/a)**2)*a,m=v(o(r(),[f.x,f.y,f.z],[n.x,n.y,t]),1/l,1/a);return C(s[0],m[0])&&C(s[1],m[1])&&C(s[2],m[2])||e[2]>=0?[e[0],e[1],0]:[f.x,f.y,f.z]}}function L(e){const{spatialReference:t,x:r,y:n}=e.geometry,{cameraHeading:o,cameraPitch:a,farDistance:i,nearDistance:s}=e,c=W(e.geometry),l=new f({spatialReference:t}),m=Math.abs(1.44*i*c);let u=Math.abs(1.44*s*c);(a<20||null==o)&&(u=m);const p=[];return p[0]={x:r+m*Math.sin((o-45)*z),y:n+m*Math.cos((o-45)*z)},p[1]={x:r+m*Math.sin((o+45)*z),y:n+m*Math.cos((o+45)*z)},p[2]={x:r+u*Math.sin((o+135)*z),y:n+u*Math.cos((o+135)*z)},p[3]={x:r+u*Math.sin((o+225)*z),y:n+u*Math.cos((o+225)*z)},l.addRing([[p[0].x,p[0].y,0],[p[1].x,p[1].y,0],[p[2].x,p[2].y,0],[p[3].x,p[3].y,0],[p[0].x,p[0].y,0]]),l}function W(e){return e&&M(e?.spatialReference)?1/Math.cos(Math.PI/2-2*Math.atan(Math.exp(-1*e.y/p.radius))):1}function B(e,t){const n=1+t/100;if("esri.geometry.Circle"===e.declaredClass){const{radius:t,center:r}=e,o=new i({radius:t*n,center:r});return e.rings.length>1&&o.addRing(e.rings[1]),o}if("esri.geometry.Polygon"===e.declaredClass){const t=new f({spatialReference:e.spatialReference}),a=u(e);if(a){const i=[];for(let t=0;t<e.rings[0].length;t++){const s=Math.sqrt((a.x-e.rings[0][t][0])**2+(a.y-e.rings[0][t][1])**2),c=v(o(r(),[e.rings[0][t][0],e.rings[0][t][1],0],[a.x,a.y,0]),1/s,1),f=P([a.x,a.y,0],c,s*n,1);i.push({x:f[0],y:f[1]})}t.addRing([[i[0].x,i[0].y,0],[i[1].x,i[1].y,0],[i[2].x,i[2].y,0],[i[3].x,i[3].y,0],[i[0].x,i[0].y,0]])}return t}return e}async function G(e,t,r){const{cameraHeight:n,cameraLocation:o,cameraPitch:a,frustumVertices:i,horizontalFieldOfView:s,imageHeight:c,imageWidth:f,inSRS:l,outSRS:u,verticalFieldOfView:p,cameraRoll:h,options:y}=r,g=new m(l),x=new m(u),d=R(s,p,h??0),w=i.length>15;return a+d.vfov/2>=90?await T(i,e,f,c,g,x,w,y):await J(i,e,t,o,n,w,g,x,y)}async function J(e,t,r,n,o,a,i,c,f){const l=K(e,t,r,n,o);if(!l)return;const{farPlane:m,nearPlane:u}=l,p=await X([...u?.vertexPositions??e.slice(0,3),...m.vertexPositions],i,c,f),h=ee(p);return new s({vertexAttributes:new g({position:p}),components:_(a?Z(h,!0):$(h,!0)),spatialReference:c})}function K(e,t,r,n,o){const a=Y(e),i=Y(e,"near");if(!a)return;const s=t.length;for(let c=0;c<s;c++){const e=Array.from(r[c]),t=[e[0]-n[0],e[1]-n[1],e[2]-(n[2]??o)];Q(n,t,c,i),N(n,t,c,a)}return{farPlane:a,nearPlane:i}}function N(e,t,n,o){const{coefficients:a,vertexPositions:i}=o,s=r();w(a,{origin:e,direction:t},s)&&i.splice(3*n,3,...s)}function Q(e,t,n,o){if(!o)return;const a=r();w(o.coefficients,{origin:e,direction:t},a)&&o.vertexPositions.splice(3*n,3,...a)}async function T(e,t,r,n,o,a,i,c){let f,l=i?new Array:[e[0],e[1],e[2]],m=new Array;for(const s of t)i?(f=b([s[0],s[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[0],e[1],e[2]],[e[3],e[4],e[5]],[e[6],e[7],e[8]],[e[9],e[10],e[11]]]),l=l.concat(...f),f=b([s[0],s[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[12],e[13],e[14]],[e[15],e[16],e[17]],[e[18],e[19],e[20]],[e[21],e[22],e[23]]]),m=m.concat(...f)):(f=b([s[0],s[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[3],e[4],e[5]],[e[6],e[7],e[8]],[e[9],e[10],e[11]],[e[12],e[13],e[14]]]),l=l.concat(...f));l=l.concat(m);const u=await X(l,o,a,c),p=ee(u);return new s({vertexAttributes:new g({position:u}),components:_(i?Z(p,!0):$(p,!0)),spatialReference:a})}async function X(t,r,n,o){if(r.equals(n))return t;const a=t.reduce((e,t,r)=>{const n=Math.floor(r/3);return e[n]||(e[n]=new Array),e[n].push(t),e},new Array),{points:i}=await l(new c({points:a,spatialReference:r}),n,o);return e(o),i.flat()}function Y(e,t="far"){const r=x();let n;switch(t){case"far":if(n=Array.from(15===e.length?e.slice(3):e.slice(12)),d(r,n,!1))return{coefficients:r,vertexPositions:n};break;case"near":if(n=Array.from(e.slice(0,12)),15===e.length||!d(r,n,!1))return;return{coefficients:r,vertexPositions:n}}}const Z=(e,t=!1)=>{if(t&&e-2<=4||e<=4||e%2!=0)throw new Error("Invalid number of vertices");const r=[],n=e/2,o=Math.round((t?e-2:e)/2);for(let a=0;a<o;a++){const o=a+n,i=t?o+1:o,s=i%e,c=(t?o:i+1)%e;r.push({faces:new Uint32Array([a,c,s,a,a+1,s])})}return r};function $(e,t=!1){if(e<3||t&&e-1<3)throw new Error("Invalid number of vertices");const r=[],n=t?e-2:e-1;for(let o=0;o<n;o++)r.push({faces:new Uint32Array([0,o+1,o+2])});return r}const _=e=>e.map(e=>new h(e)),ee=e=>e.length/3;export{U as checkIfPolygonContainsSelectedPoint,L as computePolygonForInspection,V as createCoveragePolygon,q as limitZToGround,X as projectVertices,B as resizePolygon,G as updateFrustum};
|
|
@@ -67,7 +67,7 @@ export type Hour12 = "always" | "auto" | "never";
|
|
|
67
67
|
* | `short-date-le`, `short-date-le-short-time`, `short-date-le-short-time-24`, `short-date-le-long-time`, `short-date-le-long-time-24` | Treated as equivalent to non-LE versions. `LE` is no longer needed since locale is implied from the browser. |
|
|
68
68
|
*
|
|
69
69
|
* @since 4.34
|
|
70
|
-
* @see [MDN documentation - DateTimeFormat](https://developer.mozilla.org/
|
|
70
|
+
* @see [MDN documentation - DateTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
71
71
|
* @see [CLDR](https://cldr.unicode.org/)
|
|
72
72
|
* @see [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/)
|
|
73
73
|
* @example
|
|
@@ -95,10 +95,10 @@ export type Hour12 = "always" | "auto" | "never";
|
|
|
95
95
|
export default class DateTimeFieldFormat extends FieldFormat {
|
|
96
96
|
constructor(properties?: DateTimeFieldFormatProperties);
|
|
97
97
|
/**
|
|
98
|
-
* Defines the date format. For more options, refer to the [MDN documentation](https://developer.mozilla.org/
|
|
98
|
+
* Defines the date format. For more options, refer to the [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters).
|
|
99
99
|
*
|
|
100
100
|
* @since 4.34
|
|
101
|
-
* @see [MDN documentation](https://developer.mozilla.org/
|
|
101
|
+
* @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
102
102
|
*/
|
|
103
103
|
accessor dateStyle: "full" | "long" | "medium" | "short" | null | undefined;
|
|
104
104
|
/**
|
|
@@ -112,21 +112,21 @@ export default class DateTimeFieldFormat extends FieldFormat {
|
|
|
112
112
|
*
|
|
113
113
|
* @default "auto"
|
|
114
114
|
* @since 4.34
|
|
115
|
-
* @see [MDN documentation](https://developer.mozilla.org/
|
|
115
|
+
* @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters)
|
|
116
116
|
*/
|
|
117
117
|
accessor hour12: Hour12;
|
|
118
118
|
/**
|
|
119
|
-
* Specifies how the month is displayed. For more options, refer to the [MDN documentation](https://developer.mozilla.org/
|
|
119
|
+
* Specifies how the month is displayed. For more options, refer to the [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat).
|
|
120
120
|
*
|
|
121
121
|
* @since 4.34
|
|
122
|
-
* @see [MDN documentation](https://developer.mozilla.org/
|
|
122
|
+
* @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
123
123
|
*/
|
|
124
124
|
accessor month: "long" | "short" | null | undefined;
|
|
125
125
|
/**
|
|
126
|
-
* Defines the time format. For more options, refer to the [MDN documentation](https://developer.mozilla.org/
|
|
126
|
+
* Defines the time format. For more options, refer to the [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters).
|
|
127
127
|
*
|
|
128
128
|
* @since 4.34
|
|
129
|
-
* @see [MDN documentation](https://developer.mozilla.org/
|
|
129
|
+
* @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
130
130
|
*/
|
|
131
131
|
accessor timeStyle: "full" | "long" | "medium" | "short" | null | undefined;
|
|
132
132
|
/**
|
|
@@ -136,10 +136,10 @@ export default class DateTimeFieldFormat extends FieldFormat {
|
|
|
136
136
|
*/
|
|
137
137
|
get type(): "date-time";
|
|
138
138
|
/**
|
|
139
|
-
* Specifies how the year is displayed. Currently, only supports `numeric`. For more options, refer to the [MDN documentation](https://developer.mozilla.org/
|
|
139
|
+
* Specifies how the year is displayed. Currently, only supports `numeric`. For more options, refer to the [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat).
|
|
140
140
|
*
|
|
141
141
|
* @since 4.34
|
|
142
|
-
* @see [MDN documentation](https://developer.mozilla.org/
|
|
142
|
+
* @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
|
|
143
143
|
*/
|
|
144
144
|
accessor year: "numeric" | null | undefined;
|
|
145
145
|
}
|
|
@@ -15,11 +15,11 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Effect provides various filter functions that can be performed on a layer or a layerView to achieve different visual effects similar to
|
|
18
|
-
* how image filters (photo apps) work. The [CSS filters](https://developer.mozilla.org/
|
|
18
|
+
* how image filters (photo apps) work. The [CSS filters](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter) are supported as effects in the API
|
|
19
19
|
* with the following differences:
|
|
20
20
|
*
|
|
21
|
-
* * No [url()](https://developer.mozilla.org/
|
|
22
|
-
* * Only [absolute length](https://developer.mozilla.org/
|
|
21
|
+
* * No [url()](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter) css filter support.
|
|
22
|
+
* * Only [absolute length](https://developer.mozilla.org/docs/Web/CSS/length) units are allowed for the effects where lengths are accepted.
|
|
23
23
|
* * Support for [bloom](https://en.wikipedia.org/wiki/Bloom_(shader_effect)) effect in addition to css filters.
|
|
24
24
|
*
|
|
25
25
|
* The following effects are supported: `bloom`, `blur`, `brightness`, `contrast`, `drop-shadow`, `grayscale`, `hue-rotate`, `invert`, `opacity`, `saturate`
|
|
@@ -121,7 +121,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
121
121
|
* | Parameter | Description |
|
|
122
122
|
* | --------- | ----------- |
|
|
123
123
|
* | strength | The intensity of the bloom effect. This value can percent or number. Default is 1. The higher the value, the brighter the glow. Negative values are not allowed. |
|
|
124
|
-
* | radius | Determines the radius of the blur in an [absolute length](https://developer.mozilla.org/
|
|
124
|
+
* | radius | Determines the radius of the blur in an [absolute length](https://developer.mozilla.org/docs/Web/CSS/length). Default value is 0. Negative values are not allowed. Leaves the features inside the radius untouched. |
|
|
125
125
|
* | threshold | Determines how bright a color must be before it blooms or glows. Accepted values are 0%-100% or 0-1. Default value is 0. |
|
|
126
126
|
*
|
|
127
127
|
* ```js
|
|
@@ -155,9 +155,9 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
155
155
|
* ];
|
|
156
156
|
* ```
|
|
157
157
|
*
|
|
158
|
-
* [blur(radius)](https://developer.mozilla.org/
|
|
158
|
+
* [blur(radius)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/blur) - Applies a [Gaussian blur](https://en.wikipedia.org/wiki/Gaussian_blur#:~:text=In%20image%20processing%2C%20a%20Gaussian,image%20noise%20and%20reduce%20detail.)
|
|
159
159
|
* to a layer or a layerView. It makes look like you are viewing a layer through a translucent screen making it look out of focus or blurry. The `radius` parameter of the blur is
|
|
160
|
-
* specified in a [absolute length](https://developer.mozilla.org/
|
|
160
|
+
* specified in a [absolute length](https://developer.mozilla.org/docs/Web/CSS/length).
|
|
161
161
|
* It defines how many pixels on the screen blend into each other. A larger value will create more blur. Negative values are not allowed.
|
|
162
162
|
*
|
|
163
163
|
* The `blur` effect can be used to soften a layer underneath a reference layer, or other layers of importance, so above features can stand out more clearly.
|
|
@@ -173,7 +173,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
173
173
|
* layer.effect = "blur(5px)";
|
|
174
174
|
* ```
|
|
175
175
|
*
|
|
176
|
-
* [brightness(percent | number)](https://developer.mozilla.org/
|
|
176
|
+
* [brightness(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter-function/brightness) - Applies a linear multiplier to a layer or a layerView, making it appear brighter or darker.
|
|
177
177
|
*
|
|
178
178
|
* | Values | Effect |
|
|
179
179
|
* | ------ | ------ |
|
|
@@ -182,7 +182,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
182
182
|
* | > 100% or > 1 | Brighter layer |
|
|
183
183
|
* | < 100% or < 1 | Darker layer |
|
|
184
184
|
*
|
|
185
|
-
* [contrast(percent | number)](https://developer.mozilla.org/
|
|
185
|
+
* [contrast(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter-function/contrast) – Adjusts the contrast of a layer or a layerView. Negative values are not allowed.
|
|
186
186
|
*
|
|
187
187
|
* | Values | Effect |
|
|
188
188
|
* | ------ | ------ |
|
|
@@ -191,16 +191,16 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
191
191
|
* | > 100% or > 1 | More contrast in a layer |
|
|
192
192
|
* | < 100% or < 1 | Less contrast in a layer |
|
|
193
193
|
*
|
|
194
|
-
* [drop-shadow(offsetX, offsetY, blurRadius?, color?)](https://developer.mozilla.org/
|
|
194
|
+
* [drop-shadow(offsetX, offsetY, blurRadius?, color?)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/drop-shadow) - Applies a drop shadow effect to a layer or a layerView that follows
|
|
195
195
|
* the outline of the layer or the layerView. The `drop-shadow` effect is useful when you want some features to stand out from the rest of the features on a busy map. For example, you can apply this effect
|
|
196
196
|
* to your labels (reference layer) to make them legible.
|
|
197
197
|
*
|
|
198
198
|
* | Parameter | Description |
|
|
199
199
|
* | --------- | ----------- |
|
|
200
|
-
* | offset-x | An [absolute length](https://developer.mozilla.org/
|
|
201
|
-
* | offset-y | An [absolute length](https://developer.mozilla.org/
|
|
200
|
+
* | offset-x | An [absolute length](https://developer.mozilla.org/docs/Web/CSS/length) value that determines the shadow offset in the horizontal distance. Negative values place the shadow to the left of the layer. If both x and y offsets are 0, the shadow is placed directly underneath the layer. |
|
|
201
|
+
* | offset-y | An [absolute length](https://developer.mozilla.org/docs/Web/CSS/length) value that determines the shadow offset in the vertical distance. Negative values place the shadow above the layer. |
|
|
202
202
|
* | blur-radius |An absolute length value that determines the blur radius. The larger the value, the larger and more blurred the shadow becomes. If unspecified, it defaults to 0, resulting in a sharp, unblurred edge. Negative values are not allowed. |
|
|
203
|
-
* | color | The [color](https://developer.mozilla.org/
|
|
203
|
+
* | color | The [color](https://developer.mozilla.org/docs/Web/CSS/color_value) of the shadow. If unspecified, it defaults to black color. |
|
|
204
204
|
*
|
|
205
205
|
* ```js
|
|
206
206
|
* const featureFilter = new FeatureFilter({
|
|
@@ -220,7 +220,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
220
220
|
* </figcaption>
|
|
221
221
|
* </figure>
|
|
222
222
|
*
|
|
223
|
-
* [grayscale(percent | number)](https://developer.mozilla.org/
|
|
223
|
+
* [grayscale(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/grayscale) - Converts a layer or a layerView to grayscale. The value of amount defines the proportion
|
|
224
224
|
* of the conversion. If the amount parameter is missing, a value of 100% is used. Negative values are not allowed.
|
|
225
225
|
*
|
|
226
226
|
* | Values | Effect |
|
|
@@ -230,15 +230,15 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
230
230
|
* | < 100% or < 1 | Varying shades of gray |
|
|
231
231
|
* | > 100% or > 1 | Same as 100% or 1 |
|
|
232
232
|
*
|
|
233
|
-
* [hue-rotate(angle)](https://developer.mozilla.org/
|
|
233
|
+
* [hue-rotate(angle)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/hue-rotate) - Applies a hue rotation on a layer or a layerView. The value of angle defines the number of degrees
|
|
234
234
|
* around the [color wheel](https://en.wikipedia.org/wiki/Color_wheel). The colors in the layer will be shifted to the colors at the specified angle.
|
|
235
235
|
* A value of `0deg` leaves the input unchanged. Maximum value is `360deg`. A positive hue rotation shifts the hue clock-wise while a negative rotation shifts the hue counter clock-wise.
|
|
236
236
|
*
|
|
237
237
|
* | Parameter | Description |
|
|
238
238
|
* | --------- | ----------- |
|
|
239
|
-
* | angle | The relative change in hue of the input sample, specified as an [angle](https://developer.mozilla.org/
|
|
239
|
+
* | angle | The relative change in hue of the input sample, specified as an [angle](https://developer.mozilla.org/docs/Web/CSS/angle) such as `deg`, `rad`, `grad` and `turn`. |
|
|
240
240
|
*
|
|
241
|
-
* [invert(percent | number)](https://developer.mozilla.org/
|
|
241
|
+
* [invert(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/invert) - Inverts the samples in the layer. The value of amount defines the proportion
|
|
242
242
|
* of the conversion. Negative values are not allowed.
|
|
243
243
|
*
|
|
244
244
|
* | Values | Effect |
|
|
@@ -248,7 +248,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
248
248
|
* | < 100% or < 1 | Varying degrees of inversion |
|
|
249
249
|
* | > 100% or > 1 |Same as 100% or 1 |
|
|
250
250
|
*
|
|
251
|
-
* [opacity(percent | number)](https://developer.mozilla.org/
|
|
251
|
+
* [opacity(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/opacity) - Applies transparency to a layer or a layerView. The value of amount
|
|
252
252
|
* defines the proportion of the conversion. Negative values are not allowed.
|
|
253
253
|
*
|
|
254
254
|
* | Values | Effect |
|
|
@@ -258,7 +258,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
258
258
|
* | < 100% or < 1 | Varying degrees of opacity |
|
|
259
259
|
* | > 100% or > 1 | Same as 100% or 1 |
|
|
260
260
|
*
|
|
261
|
-
* [saturate(percent | number)](https://developer.mozilla.org/
|
|
261
|
+
* [saturate(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/opacity) - Saturates or desaturates a layer or a layerView.
|
|
262
262
|
*
|
|
263
263
|
* | Values | Effect |
|
|
264
264
|
* | ------ | ------ |
|
|
@@ -267,7 +267,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
|
|
|
267
267
|
* | < 100% or < 1 | Varying degrees of desaturation |
|
|
268
268
|
* | > 100% or > 1 | Varying degrees of saturation |
|
|
269
269
|
*
|
|
270
|
-
* [sepia(percent | number)](https://developer.mozilla.org/
|
|
270
|
+
* [sepia(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/opacity) - Converts colors in a layer or a layerView to sepia, giving it a warmer, more yellow/brown appearance.
|
|
271
271
|
* Negative values are not allowed.
|
|
272
272
|
* | Values | Effect |
|
|
273
273
|
* | ------ | ------ |
|
|
@@ -335,7 +335,7 @@ export interface EffectScaleStop {
|
|
|
335
335
|
/**
|
|
336
336
|
* FeatureEffect allows you to emphasize or deemphasize features that
|
|
337
337
|
* satisfy a [filter](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#filter) in 2D [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/). The [includedEffect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#includedEffect) and
|
|
338
|
-
* [excludedEffect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#excludedEffect) properties allow you to apply [CSS filters](https://developer.mozilla.org/
|
|
338
|
+
* [excludedEffect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#excludedEffect) properties allow you to apply [CSS filters](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
|
|
339
339
|
* to features that are either included or excluded from the filter. Typically, you use `includedEffect` to emphasize features that
|
|
340
340
|
* are included in the filter and `excludedEffect` to deemphasize features excluded from the filter.
|
|
341
341
|
*
|
|
@@ -388,7 +388,7 @@ export default class FeatureEffect extends JSONSupport {
|
|
|
388
388
|
constructor(properties?: FeatureEffectProperties);
|
|
389
389
|
/**
|
|
390
390
|
* The [Effect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#Effect) applied to features that do not meet
|
|
391
|
-
* the [filter](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#filter) requirements. Effect allows you to apply [css filter-like](https://developer.mozilla.org/
|
|
391
|
+
* the [filter](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#filter) requirements. Effect allows you to apply [css filter-like](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
|
|
392
392
|
* functions to layers and layerViews to create custom visual effects to enhance the cartographic quality of your maps.
|
|
393
393
|
*
|
|
394
394
|
* @see [Sample - Apply effects to features](https://developers.arcgis.com/javascript/latest/sample-code/featureeffect-geometry/)
|
|
@@ -423,7 +423,7 @@ export default class FeatureEffect extends JSONSupport {
|
|
|
423
423
|
set filter(value: FeatureFilterProperties | null | undefined);
|
|
424
424
|
/**
|
|
425
425
|
* The [Effect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#Effect) applied to features that meet the [filter](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#filter) requirements.
|
|
426
|
-
* Effect allows you to apply [css filter-like](https://developer.mozilla.org/
|
|
426
|
+
* Effect allows you to apply [css filter-like](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
|
|
427
427
|
* functions to layers and layerViews to create custom visual effects to enhance the cartographic quality of your maps.
|
|
428
428
|
*
|
|
429
429
|
* @see [Sample - Apply effects to features](https://developers.arcgis.com/javascript/latest/sample-code/featureeffect-geometry/)
|
|
@@ -29,6 +29,7 @@ export interface FeatureReductionBinningProperties extends Partial<Pick<FeatureR
|
|
|
29
29
|
* @see [FeatureReductionBinning.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#getFieldConfiguration)
|
|
30
30
|
* @see [FeatureReductionBinning.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#getFieldAlias)
|
|
31
31
|
* @example
|
|
32
|
+
* ```js
|
|
32
33
|
* // Adding a new field configuration
|
|
33
34
|
* const addNewConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
34
35
|
* // Check if there is already an existing configuration for fieldName
|
|
@@ -40,7 +41,9 @@ export interface FeatureReductionBinningProperties extends Partial<Pick<FeatureR
|
|
|
40
41
|
* layer.fieldConfigurations = newConfigs;
|
|
41
42
|
* }
|
|
42
43
|
* };
|
|
44
|
+
* ```
|
|
43
45
|
* @example
|
|
46
|
+
* ```js
|
|
44
47
|
* // Updating an existing field configuration
|
|
45
48
|
* const updateConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
46
49
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -55,7 +58,9 @@ export interface FeatureReductionBinningProperties extends Partial<Pick<FeatureR
|
|
|
55
58
|
* layer.fieldConfigurations = newConfigs;
|
|
56
59
|
* }
|
|
57
60
|
* };
|
|
61
|
+
* ```
|
|
58
62
|
* @example
|
|
63
|
+
* ```js
|
|
59
64
|
* // Deleting an existing field configuration
|
|
60
65
|
* const deleteConfig = (layer, fieldName) => {
|
|
61
66
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -66,6 +71,7 @@ export interface FeatureReductionBinningProperties extends Partial<Pick<FeatureR
|
|
|
66
71
|
* layer.fieldConfigurations = newConfigs;
|
|
67
72
|
* }
|
|
68
73
|
* };
|
|
74
|
+
* ```
|
|
69
75
|
*/
|
|
70
76
|
fieldConfigurations?: FieldConfigurationProperties[] | null;
|
|
71
77
|
/**
|
|
@@ -379,6 +385,7 @@ export default class FeatureReductionBinning extends FeatureReductionBinningSupe
|
|
|
379
385
|
* @see [FeatureReductionBinning.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#getFieldConfiguration)
|
|
380
386
|
* @see [FeatureReductionBinning.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#getFieldAlias)
|
|
381
387
|
* @example
|
|
388
|
+
* ```js
|
|
382
389
|
* // Adding a new field configuration
|
|
383
390
|
* const addNewConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
384
391
|
* // Check if there is already an existing configuration for fieldName
|
|
@@ -390,7 +397,9 @@ export default class FeatureReductionBinning extends FeatureReductionBinningSupe
|
|
|
390
397
|
* layer.fieldConfigurations = newConfigs;
|
|
391
398
|
* }
|
|
392
399
|
* };
|
|
400
|
+
* ```
|
|
393
401
|
* @example
|
|
402
|
+
* ```js
|
|
394
403
|
* // Updating an existing field configuration
|
|
395
404
|
* const updateConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
396
405
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -405,7 +414,9 @@ export default class FeatureReductionBinning extends FeatureReductionBinningSupe
|
|
|
405
414
|
* layer.fieldConfigurations = newConfigs;
|
|
406
415
|
* }
|
|
407
416
|
* };
|
|
417
|
+
* ```
|
|
408
418
|
* @example
|
|
419
|
+
* ```js
|
|
409
420
|
* // Deleting an existing field configuration
|
|
410
421
|
* const deleteConfig = (layer, fieldName) => {
|
|
411
422
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -416,6 +427,7 @@ export default class FeatureReductionBinning extends FeatureReductionBinningSupe
|
|
|
416
427
|
* layer.fieldConfigurations = newConfigs;
|
|
417
428
|
* }
|
|
418
429
|
* };
|
|
430
|
+
* ```
|
|
419
431
|
*/
|
|
420
432
|
get fieldConfigurations(): FieldConfiguration[] | null | undefined;
|
|
421
433
|
set fieldConfigurations(value: FieldConfigurationProperties[] | null | undefined);
|
|
@@ -117,6 +117,7 @@ export interface FeatureReductionClusterProperties extends Partial<Pick<FeatureR
|
|
|
117
117
|
* @see [FeatureReductionCluster.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#getFieldConfiguration)
|
|
118
118
|
* @see [FeatureReductionCluster.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#getFieldAlias)
|
|
119
119
|
* @example
|
|
120
|
+
* ```js
|
|
120
121
|
* // Adding a new field configuration
|
|
121
122
|
* const addNewConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
122
123
|
* // Check if there is already an existing configuration for fieldName
|
|
@@ -128,7 +129,9 @@ export interface FeatureReductionClusterProperties extends Partial<Pick<FeatureR
|
|
|
128
129
|
* layer.fieldConfigurations = newConfigs;
|
|
129
130
|
* }
|
|
130
131
|
* };
|
|
132
|
+
* ```
|
|
131
133
|
* @example
|
|
134
|
+
* ```js
|
|
132
135
|
* // Updating an existing field configuration
|
|
133
136
|
* const updateConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
134
137
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -143,7 +146,9 @@ export interface FeatureReductionClusterProperties extends Partial<Pick<FeatureR
|
|
|
143
146
|
* layer.fieldConfigurations = newConfigs;
|
|
144
147
|
* }
|
|
145
148
|
* };
|
|
149
|
+
* ```
|
|
146
150
|
* @example
|
|
151
|
+
* ```js
|
|
147
152
|
* // Deleting an existing field configuration
|
|
148
153
|
* const deleteConfig = (layer, fieldName) => {
|
|
149
154
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -154,6 +159,7 @@ export interface FeatureReductionClusterProperties extends Partial<Pick<FeatureR
|
|
|
154
159
|
* layer.fieldConfigurations = newConfigs;
|
|
155
160
|
* }
|
|
156
161
|
* };
|
|
162
|
+
* ```
|
|
157
163
|
*/
|
|
158
164
|
fieldConfigurations?: FieldConfigurationProperties[] | null;
|
|
159
165
|
/**
|
|
@@ -776,6 +782,7 @@ export default class FeatureReductionCluster extends FeatureReductionClusterSupe
|
|
|
776
782
|
* @see [FeatureReductionCluster.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#getFieldConfiguration)
|
|
777
783
|
* @see [FeatureReductionCluster.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#getFieldAlias)
|
|
778
784
|
* @example
|
|
785
|
+
* ```js
|
|
779
786
|
* // Adding a new field configuration
|
|
780
787
|
* const addNewConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
781
788
|
* // Check if there is already an existing configuration for fieldName
|
|
@@ -787,7 +794,9 @@ export default class FeatureReductionCluster extends FeatureReductionClusterSupe
|
|
|
787
794
|
* layer.fieldConfigurations = newConfigs;
|
|
788
795
|
* }
|
|
789
796
|
* };
|
|
797
|
+
* ```
|
|
790
798
|
* @example
|
|
799
|
+
* ```js
|
|
791
800
|
* // Updating an existing field configuration
|
|
792
801
|
* const updateConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
793
802
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -802,7 +811,9 @@ export default class FeatureReductionCluster extends FeatureReductionClusterSupe
|
|
|
802
811
|
* layer.fieldConfigurations = newConfigs;
|
|
803
812
|
* }
|
|
804
813
|
* };
|
|
814
|
+
* ```
|
|
805
815
|
* @example
|
|
816
|
+
* ```js
|
|
806
817
|
* // Deleting an existing field configuration
|
|
807
818
|
* const deleteConfig = (layer, fieldName) => {
|
|
808
819
|
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
@@ -813,6 +824,7 @@ export default class FeatureReductionCluster extends FeatureReductionClusterSupe
|
|
|
813
824
|
* layer.fieldConfigurations = newConfigs;
|
|
814
825
|
* }
|
|
815
826
|
* };
|
|
827
|
+
* ```
|
|
816
828
|
*/
|
|
817
829
|
get fieldConfigurations(): FieldConfiguration[] | null | undefined;
|
|
818
830
|
set fieldConfigurations(value: FieldConfigurationProperties[] | null | undefined);
|
|
@@ -144,8 +144,8 @@ export default class Field extends JSONSupport {
|
|
|
144
144
|
* >
|
|
145
145
|
* > Support for `big-integer`, `date-only`, `time-only` and `timestamp-offset` fields was added in beta for [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) and [MapImageLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) at version 4.28.
|
|
146
146
|
* > The `big-integer` field type is in beta and may not be fully supported in the JavaScript SDK.
|
|
147
|
-
* > The JavaScript SDK only supports safe integers that fall between -9007199254740991 [(minimum)](https://developer.mozilla.org/
|
|
148
|
-
* > and 9007199254740991 [(maximum)](https://developer.mozilla.org/
|
|
147
|
+
* > The JavaScript SDK only supports safe integers that fall between -9007199254740991 [(minimum)](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER)
|
|
148
|
+
* > and 9007199254740991 [(maximum)](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER). Numbers that fall outside of this
|
|
149
149
|
* > range will be incorrect due to rounding, resulting in graphical or performance issues.
|
|
150
150
|
* > For example, a calculation using Arcade expressions that results in a value exceeding these safe integers may be incorrect since rounding can occur.
|
|
151
151
|
* > Web applications can only edit whole numbers between -9007199254740991 and 9007199254740991.
|