@arcgis/core 5.1.0-next.101 → 5.1.0-next.102
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/arcgisGlobal.d.ts +1449 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{99f726f05cf80b0330ed.js → 119b84f5349f90d1dd28.js} +1 -1
- package/assets/esri/core/workers/chunks/15167eeb6d7dbe7e392d.js +1 -0
- package/assets/esri/core/workers/chunks/{156efa014b6edd9ccce9.js → 1ba37706e5d5eaabcb8e.js} +1 -1
- package/assets/esri/core/workers/chunks/{7bb17d0ab1cc2b89c035.js → 1faa8a42d5a437fc40a3.js} +1 -1
- package/assets/esri/core/workers/chunks/{38b1d2ffcc318ac0119d.js → 48fcc10768d93e95a04e.js} +1 -1
- package/assets/esri/core/workers/chunks/{53bf9b0c2b8da12820ea.js → 55ccb8ed7325efb62091.js} +2 -2
- package/assets/esri/core/workers/chunks/{17de1c251242b692cf45.js → 5663df3cd1dfd4b43c73.js} +1 -1
- package/assets/esri/core/workers/chunks/{5b07f3253403fe25ce5b.js → 5bc299f7f89a07a6e6a6.js} +1 -1
- package/assets/esri/core/workers/chunks/{00a25dd4b057cc9f2a7e.js → 6f96ce41c47cae82e687.js} +1 -1
- package/assets/esri/core/workers/chunks/{657268b3fde6da2dd735.js → 86bff154d46f8a562887.js} +1 -1
- package/assets/esri/core/workers/chunks/{22fa4aa2b76573bafe21.js → 9e7c84a3a2abec4d49df.js} +1 -1
- package/assets/esri/core/workers/chunks/{40ffb1aa17cbfae17b23.js → bb5512ecb5300d45d46b.js} +1 -1
- package/assets/esri/core/workers/chunks/{d8c4fb66c733ab2f66d3.js → bb81da98546c4d923e0d.js} +1 -1
- package/assets/esri/core/workers/chunks/{a58662698c69190a12d8.js → de25311b6d13bf1c6089.js} +2 -2
- package/assets/esri/core/workers/chunks/{bafe489e54f34d1841e6.js → e86c073f0b6d395c7a38.js} +1 -1
- package/assets/esri/core/workers/chunks/f5bd0a4f82df5e942b70.js +1 -0
- package/assets/esri/core/workers/chunks/{48a0e7a32ebd44045c8f.js → fa38dc5010f8630a80fe.js} +1 -1
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +125 -0
- package/assets/esri/themes/base/widgets/_Directions.scss +5 -1
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
- package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer.json +1 -1
- package/config.js +1 -1
- package/form/elements/inputs/MultipleChoiceInput.d.ts +5 -5
- package/form/elements/inputs/MultipleChoiceInput.js +1 -1
- package/interfaces.d.ts +3 -0
- package/kernel.js +1 -1
- package/layers/FeatureLayer.d.ts +29 -39
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/OrientedImageryLayer.d.ts +233 -0
- package/layers/OrientedImageryLayer.js +1 -1
- package/layers/VideoLayer.d.ts +35 -9
- package/layers/VideoLayer.js +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +147 -0
- package/layers/support/FeatureReductionBinning.d.ts +87 -9
- package/layers/support/FeatureReductionCluster.d.ts +87 -9
- package/layers/support/FieldConfiguration.d.ts +1 -1
- package/layers/support/SubtypeSublayer.d.ts +147 -0
- package/layers/support/TelemetryData.d.ts +5 -0
- package/layers/support/TelemetryData.js +1 -1
- package/layers/support/TelemetryDisplay.d.ts +10 -2
- package/layers/support/TelemetryDisplay.js +1 -1
- package/layers/video/VideoController.js +1 -1
- package/layers/video/types.d.ts +8 -1
- package/layers/video/videoUtils.js +1 -1
- package/package.json +2 -2
- package/portal/jsonTypes.d.ts +7 -0
- package/rest/print.js +1 -1
- package/rest/support/PrintParameters.d.ts +8 -1
- package/rest/support/PrintParameters.js +1 -1
- package/support/revision.js +1 -1
- package/third-party-notices.txt +4 -0
- package/views/2d/engine/webgl/shaderGraph/graph/GlslGraphWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphContext.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphNode.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/glsl.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BloomShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/AspectShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/CurvatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/MaskShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/RemapShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/SlopeShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/math.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/surface.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/VideoLayerView2D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
- package/views/3d/webgl-engine/lib/TriangleIntersectionData.js +1 -1
- package/views/Viewport2DBaseMixin.js +1 -1
- package/widgets/Attachments/support/attachmentUtils.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +8 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/attachmentUtils.js +2 -0
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm/templates/RelationshipElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/types.d.ts +7 -0
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/FeatureForm/RelationshipInput.d.ts +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/constants.js +1 -1
- package/widgets/OrientedImageryViewer/types.js +1 -1
- package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicVideoViewerViewModel.js +1 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +9 -0
- package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
- package/widgets/VideoPlayer/components/PlayerControlsGroup.js +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/assets/esri/core/workers/chunks/43cc82373be791b7cb4c.js +0 -1
- package/assets/esri/core/workers/chunks/c9461568e1002ebac534.js +0 -1
- /package/assets/esri/core/workers/chunks/{53bf9b0c2b8da12820ea.js.LICENSE.txt → 55ccb8ed7325efb62091.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{a58662698c69190a12d8.js.LICENSE.txt → de25311b6d13bf1c6089.js.LICENSE.txt} +0 -0
|
@@ -5,6 +5,7 @@ import type SpatialReference from "../../geometry/SpatialReference.js";
|
|
|
5
5
|
import type SubtypeGroupLayer from "../SubtypeGroupLayer.js";
|
|
6
6
|
import type FeatureTemplate from "./FeatureTemplate.js";
|
|
7
7
|
import type Field from "./Field.js";
|
|
8
|
+
import type FieldConfiguration from "./FieldConfiguration.js";
|
|
8
9
|
import type FieldsIndex from "./FieldsIndex.js";
|
|
9
10
|
import type LabelClass from "./LabelClass.js";
|
|
10
11
|
import type Relationship from "./Relationship.js";
|
|
@@ -29,6 +30,7 @@ import type { QueryProperties } from "../../rest/support/Query.js";
|
|
|
29
30
|
import type { RelationshipQueryProperties } from "../../rest/support/RelationshipQuery.js";
|
|
30
31
|
import type { CreatePopupTemplateOptions } from "../../support/popupUtils.js";
|
|
31
32
|
import type { AttributeTableTemplateProperties } from "../../tables/AttributeTableTemplate.js";
|
|
33
|
+
import type { FieldConfigurationProperties } from "./FieldConfiguration.js";
|
|
32
34
|
import type { FormTemplateProperties } from "../../form/FormTemplate.js";
|
|
33
35
|
import type { LabelClassProperties } from "./LabelClass.js";
|
|
34
36
|
import type { PopupTemplateProperties } from "../../PopupTemplate.js";
|
|
@@ -48,6 +50,58 @@ export interface SubtypeSublayerProperties extends LoadableMixinProperties, Iden
|
|
|
48
50
|
* @since 4.31
|
|
49
51
|
*/
|
|
50
52
|
attributeTableTemplate?: AttributeTableTemplateProperties | null;
|
|
53
|
+
/**
|
|
54
|
+
* An array of [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) objects that control how fields are displayed in popups and other UI elements. Each object specifies options for an individual field, such as its display name, via `alias`, and formatting rules, via `fieldFormat`. Assign this property before the layer loads to ensure the configurations take effect. For more information, see the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) documentation.
|
|
55
|
+
* If no field configurations are provided, they are automatically created when a [popupTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#popupTemplate) is assigned to the layer. If no [popupTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#popupTemplate) is set, you can manually define field configurations to customize how fields are shown.
|
|
56
|
+
* > [!WARNING]
|
|
57
|
+
* >
|
|
58
|
+
* > Support is limited in version 5.1. For details, see the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) documentation.
|
|
59
|
+
*
|
|
60
|
+
* To modify field configurations, clone [fieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fieldConfigurations), make the changes, and then reassign the updated clone back to [fieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fieldConfigurations).
|
|
61
|
+
*
|
|
62
|
+
* @since 5.1
|
|
63
|
+
* @see [SubtypeSublayer.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#getFieldConfiguration)
|
|
64
|
+
* @see [SubtypeSublayer.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#getFieldAlias)
|
|
65
|
+
* @example
|
|
66
|
+
* // Adding a new field configuration
|
|
67
|
+
* const addNewConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
68
|
+
* // Check if there is already an existing configuration for fieldName
|
|
69
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
70
|
+
* if (!existingConfig) {
|
|
71
|
+
* const newConfig = new FieldConfiguration({ name: fieldName, alias, fieldFormat });
|
|
72
|
+
* const newConfigs = clone(layer.fieldConfigurations);
|
|
73
|
+
* newConfigs.push(newConfig);
|
|
74
|
+
* layer.fieldConfigurations = newConfigs;
|
|
75
|
+
* }
|
|
76
|
+
* };
|
|
77
|
+
* @example
|
|
78
|
+
* // Updating an existing field configuration
|
|
79
|
+
* const updateConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
80
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
81
|
+
* if (existingConfig) {
|
|
82
|
+
* const newConfig = existingConfig.clone();
|
|
83
|
+
* newConfig.alias = alias;
|
|
84
|
+
* newConfig.fieldFormat = fieldFormat;
|
|
85
|
+
*
|
|
86
|
+
* const index = layer.fieldConfigurations.indexOf(existingConfig);
|
|
87
|
+
* const newConfigs = clone(layer.fieldConfigurations);
|
|
88
|
+
* newConfigs[index] = newConfig;
|
|
89
|
+
* layer.fieldConfigurations = newConfigs;
|
|
90
|
+
* }
|
|
91
|
+
* };
|
|
92
|
+
* @example
|
|
93
|
+
* // Deleting an existing field configuration
|
|
94
|
+
* const deleteConfig = (layer, fieldName) => {
|
|
95
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
96
|
+
* if (existingConfig) {
|
|
97
|
+
* const index = layer.fieldConfigurations.indexOf(existingConfig);
|
|
98
|
+
* var newConfigs = clone(layer.fieldConfigurations);
|
|
99
|
+
* newConfigs.splice(index, 1);
|
|
100
|
+
* layer.fieldConfigurations = newConfigs;
|
|
101
|
+
* }
|
|
102
|
+
* };
|
|
103
|
+
*/
|
|
104
|
+
fieldConfigurations?: FieldConfigurationProperties[] | null;
|
|
51
105
|
/**
|
|
52
106
|
* The [template](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/) used in an associated layer's [FeatureForm](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureForm/). All of the properties and field configurations set on the layer's [FeatureForm](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureForm/) are handled via the [FormTemplate](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/).
|
|
53
107
|
*
|
|
@@ -230,6 +284,59 @@ export default class SubtypeSublayer extends SubtypeSublayerSuperclass {
|
|
|
230
284
|
* @since 4.26
|
|
231
285
|
*/
|
|
232
286
|
get effectiveEditingEnabled(): boolean;
|
|
287
|
+
/**
|
|
288
|
+
* An array of [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) objects that control how fields are displayed in popups and other UI elements. Each object specifies options for an individual field, such as its display name, via `alias`, and formatting rules, via `fieldFormat`. Assign this property before the layer loads to ensure the configurations take effect. For more information, see the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) documentation.
|
|
289
|
+
* If no field configurations are provided, they are automatically created when a [popupTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#popupTemplate) is assigned to the layer. If no [popupTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#popupTemplate) is set, you can manually define field configurations to customize how fields are shown.
|
|
290
|
+
* > [!WARNING]
|
|
291
|
+
* >
|
|
292
|
+
* > Support is limited in version 5.1. For details, see the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) documentation.
|
|
293
|
+
*
|
|
294
|
+
* To modify field configurations, clone [fieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fieldConfigurations), make the changes, and then reassign the updated clone back to [fieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fieldConfigurations).
|
|
295
|
+
*
|
|
296
|
+
* @since 5.1
|
|
297
|
+
* @see [SubtypeSublayer.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#getFieldConfiguration)
|
|
298
|
+
* @see [SubtypeSublayer.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#getFieldAlias)
|
|
299
|
+
* @example
|
|
300
|
+
* // Adding a new field configuration
|
|
301
|
+
* const addNewConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
302
|
+
* // Check if there is already an existing configuration for fieldName
|
|
303
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
304
|
+
* if (!existingConfig) {
|
|
305
|
+
* const newConfig = new FieldConfiguration({ name: fieldName, alias, fieldFormat });
|
|
306
|
+
* const newConfigs = clone(layer.fieldConfigurations);
|
|
307
|
+
* newConfigs.push(newConfig);
|
|
308
|
+
* layer.fieldConfigurations = newConfigs;
|
|
309
|
+
* }
|
|
310
|
+
* };
|
|
311
|
+
* @example
|
|
312
|
+
* // Updating an existing field configuration
|
|
313
|
+
* const updateConfig = (layer, fieldName, alias, fieldFormat) => {
|
|
314
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
315
|
+
* if (existingConfig) {
|
|
316
|
+
* const newConfig = existingConfig.clone();
|
|
317
|
+
* newConfig.alias = alias;
|
|
318
|
+
* newConfig.fieldFormat = fieldFormat;
|
|
319
|
+
*
|
|
320
|
+
* const index = layer.fieldConfigurations.indexOf(existingConfig);
|
|
321
|
+
* const newConfigs = clone(layer.fieldConfigurations);
|
|
322
|
+
* newConfigs[index] = newConfig;
|
|
323
|
+
* layer.fieldConfigurations = newConfigs;
|
|
324
|
+
* }
|
|
325
|
+
* };
|
|
326
|
+
* @example
|
|
327
|
+
* // Deleting an existing field configuration
|
|
328
|
+
* const deleteConfig = (layer, fieldName) => {
|
|
329
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
330
|
+
* if (existingConfig) {
|
|
331
|
+
* const index = layer.fieldConfigurations.indexOf(existingConfig);
|
|
332
|
+
* var newConfigs = clone(layer.fieldConfigurations);
|
|
333
|
+
* newConfigs.splice(index, 1);
|
|
334
|
+
* layer.fieldConfigurations = newConfigs;
|
|
335
|
+
* }
|
|
336
|
+
* };
|
|
337
|
+
*/
|
|
338
|
+
get fieldConfigurations(): FieldConfiguration[] | null | undefined;
|
|
339
|
+
set fieldConfigurations(value: FieldConfigurationProperties[] | null | undefined);
|
|
233
340
|
/**
|
|
234
341
|
* An array of fields in the layer. Each field represents an attribute
|
|
235
342
|
* that may contain a value for each feature in the layer. For example,
|
|
@@ -638,6 +745,19 @@ export default class SubtypeSublayer extends SubtypeSublayerSuperclass {
|
|
|
638
745
|
* }
|
|
639
746
|
*/
|
|
640
747
|
applyEdits(edits: Edits, options?: EditOptions): Promise<EditsResult>;
|
|
748
|
+
/**
|
|
749
|
+
* Creates default field configuration objects that define the display properties of fields.
|
|
750
|
+
* These field configurations are generated from the layer's [fields](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fields) property.
|
|
751
|
+
*
|
|
752
|
+
* @returns An array of field configuration objects, or `null` if the layer does not have any fields that require formatting.
|
|
753
|
+
* @since 5.1
|
|
754
|
+
* @see [SubtypeSublayer.fieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fieldConfigurations)
|
|
755
|
+
* @returns An array of field configuration objects, or `null` if the layer does not have any fields that require formatting.
|
|
756
|
+
* @example
|
|
757
|
+
* const fieldConfigs = layer.createFieldConfigurations();
|
|
758
|
+
* layer.fieldConfigurations = fieldConfigs;
|
|
759
|
+
*/
|
|
760
|
+
createFieldConfigurations(): FieldConfiguration[] | null | undefined;
|
|
641
761
|
/**
|
|
642
762
|
* Creates a popup template for the layer, populated with all the fields of the layer.
|
|
643
763
|
*
|
|
@@ -708,6 +828,33 @@ export default class SubtypeSublayer extends SubtypeSublayerSuperclass {
|
|
|
708
828
|
* @see [fields](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fields)
|
|
709
829
|
*/
|
|
710
830
|
getField(fieldName: string): Field | null | undefined;
|
|
831
|
+
/**
|
|
832
|
+
* Returns the alias of the specified field. Previously, this value was commonly retrieved from [Layer.popupTemplate.fieldInfos[x].label](https://developers.arcgis.com/javascript/latest/references/core/popup/FieldInfo/#label) or [Layer.fields[x].alias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/Field/#alias). While these properties are still supported, this method is now the recommended approach for obtaining a field's alias.
|
|
833
|
+
*
|
|
834
|
+
* The alias is resolved in the following order:
|
|
835
|
+
*
|
|
836
|
+
* 1. [Field configuration alias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fieldConfigurations)
|
|
837
|
+
* 2. [Field alias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fields) defined on the field.
|
|
838
|
+
*
|
|
839
|
+
* @param fieldName - The name of the field for which to get the alias.
|
|
840
|
+
* @returns The alias of the specified field.
|
|
841
|
+
* @since 5.1
|
|
842
|
+
* @see [SubtypeSublayer.fieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fieldConfigurations)
|
|
843
|
+
* @see [SubtypeSublayer.getFieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#getFieldConfiguration)
|
|
844
|
+
*/
|
|
845
|
+
getFieldAlias(fieldName: string): string | null | undefined;
|
|
846
|
+
/**
|
|
847
|
+
* Returns the [FieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/) for the specified field. The field configuration provides optional formatting and display information for the field.
|
|
848
|
+
*
|
|
849
|
+
* Previously, field formatting was commonly retrieved from [Layer.popupTemplate.fieldInfos[x].format](https://developers.arcgis.com/javascript/latest/references/core/popup/FieldInfo/#format). This is no longer needed, instead use [Layer.getFieldConfiguration(fieldname).fieldFormat](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/#fieldFormat) to retrieve the field configuration formatting.
|
|
850
|
+
*
|
|
851
|
+
* @param fieldName - The name of the field for which to get the configuration.
|
|
852
|
+
* @returns The field configuration of the specified field.
|
|
853
|
+
* @since 5.1
|
|
854
|
+
* @see [SubtypeSublayer.fieldConfigurations](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#fieldConfigurations)
|
|
855
|
+
* @see [SubtypeSublayer.getFieldAlias](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#getFieldAlias)
|
|
856
|
+
*/
|
|
857
|
+
getFieldConfiguration(fieldName: string): FieldConfiguration | null | undefined;
|
|
711
858
|
/**
|
|
712
859
|
* Returns the [Domain](https://developers.arcgis.com/javascript/latest/references/core/layers/support/Domain/) associated with the given field name. The domain can be either a
|
|
713
860
|
* [CodedValueDomain](https://developers.arcgis.com/javascript/latest/references/core/layers/support/CodedValueDomain/) or [RangeDomain](https://developers.arcgis.com/javascript/latest/references/core/layers/support/RangeDomain/).
|
|
@@ -16,6 +16,8 @@ export interface TelemetryDataProperties {
|
|
|
16
16
|
lineOfSight?: PolylineProperties | null;
|
|
17
17
|
/** The location of the sensor. */
|
|
18
18
|
sensorLocation?: PointProperties | null;
|
|
19
|
+
/** The path that the moving sensor follows through the duration of the video collection. */
|
|
20
|
+
sensorPath?: PolylineProperties | null;
|
|
19
21
|
/** The trail of the sensor. */
|
|
20
22
|
sensorTrail?: PolylineProperties | null;
|
|
21
23
|
}
|
|
@@ -41,6 +43,9 @@ export default class TelemetryData extends TelemetryDataSuperclass {
|
|
|
41
43
|
/** The location of the sensor. */
|
|
42
44
|
get sensorLocation(): Point | null | undefined;
|
|
43
45
|
set sensorLocation(value: PointProperties | null | undefined);
|
|
46
|
+
/** The path that the moving sensor follows through the duration of the video collection. */
|
|
47
|
+
get sensorPath(): Polyline | null | undefined;
|
|
48
|
+
set sensorPath(value: PolylineProperties | null | undefined);
|
|
44
49
|
/** The trail of the sensor. */
|
|
45
50
|
get sensorTrail(): Polyline | null | undefined;
|
|
46
51
|
set sensorTrail(value: PolylineProperties | null | undefined);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as o}from"tslib";import{ClonableMixin as t}from"../../core/Clonable.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import i from"../../geometry/Point.js";import p from"../../geometry/Polygon.js";import l from"../../geometry/Polyline.js";let n=class extends(t(e)){constructor(o){super(o),this.frameCenter=null,this.frameOutline=null,this.lineOfSight=null,this.sensorLocation=null,this.sensorTrail=null}};o([r({type:i})],n.prototype,"frameCenter",void 0),o([r({type:p})],n.prototype,"frameOutline",void 0),o([r({type:l})],n.prototype,"lineOfSight",void 0),o([r({type:i})],n.prototype,"sensorLocation",void 0),o([r({type:l})],n.prototype,"sensorTrail",void 0),n=o([s("esri.layers.support.TelemetryData")],n);export{n as default};
|
|
2
|
+
import{__decorate as o}from"tslib";import{ClonableMixin as t}from"../../core/Clonable.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import i from"../../geometry/Point.js";import p from"../../geometry/Polygon.js";import l from"../../geometry/Polyline.js";let n=class extends(t(e)){constructor(o){super(o),this.frameCenter=null,this.frameOutline=null,this.lineOfSight=null,this.sensorLocation=null,this.sensorPath=null,this.sensorTrail=null}};o([r({type:i})],n.prototype,"frameCenter",void 0),o([r({type:p})],n.prototype,"frameOutline",void 0),o([r({type:l})],n.prototype,"lineOfSight",void 0),o([r({type:i})],n.prototype,"sensorLocation",void 0),o([r({type:l})],n.prototype,"sensorPath",void 0),o([r({type:l})],n.prototype,"sensorTrail",void 0),n=o([s("esri.layers.support.TelemetryData")],n);export{n as default};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ClonableMixin } from "../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport } from "../../core/JSONSupport.js";
|
|
3
3
|
|
|
4
|
-
export interface TelemetryDisplayProperties extends Partial<Pick<TelemetryDisplay, "frame" | "frameCenter" | "frameOutline" | "lineOfSight" | "sensorLocation" | "sensorTrail">> {}
|
|
4
|
+
export interface TelemetryDisplayProperties extends Partial<Pick<TelemetryDisplay, "frame" | "frameCenter" | "frameOutline" | "lineOfSight" | "sensorLocation" | "sensorPath" | "sensorTrail">> {}
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The TelemetryDisplay class is used to choose what telemetry data to display on the map.
|
|
8
|
-
* The class contains options for the frame center, frame outline, line of sight, sensor location,
|
|
8
|
+
* The class contains options for the frame center, frame outline, line of sight, sensor location,
|
|
9
|
+
* sensor path and sensor trail.
|
|
9
10
|
*
|
|
10
11
|
* @since 4.30
|
|
11
12
|
* @see [VideoLayer.telemetryDisplay](https://developers.arcgis.com/javascript/latest/references/core/layers/VideoLayer/#telemetryDisplay)
|
|
@@ -42,6 +43,13 @@ export default class TelemetryDisplay extends TelemetryDisplaySuperclass {
|
|
|
42
43
|
* @default true
|
|
43
44
|
*/
|
|
44
45
|
accessor sensorLocation: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Determines if the sensor path is displayed.
|
|
48
|
+
*
|
|
49
|
+
* @default true
|
|
50
|
+
* @since 5.1
|
|
51
|
+
*/
|
|
52
|
+
accessor sensorPath: boolean;
|
|
45
53
|
/**
|
|
46
54
|
* Determines if the sensor trail is displayed.
|
|
47
55
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as o}from"tslib";import{ClonableMixin as
|
|
2
|
+
import{__decorate as o}from"tslib";import{ClonableMixin as t}from"../../core/Clonable.js";import{JSONSupport as r}from"../../core/JSONSupport.js";import{property as e,subclass as s}from"../../core/accessorSupport/decorators.js";const i={type:Boolean,json:{write:!0}};let p=class extends(t(r)){constructor(o){super(o),this.frame=!1,this.frameCenter=!1,this.frameOutline=!0,this.lineOfSight=!0,this.sensorLocation=!0,this.sensorPath=!0,this.sensorTrail=!0}};o([e(i)],p.prototype,"frame",void 0),o([e(i)],p.prototype,"frameCenter",void 0),o([e(i)],p.prototype,"frameOutline",void 0),o([e(i)],p.prototype,"lineOfSight",void 0),o([e(i)],p.prototype,"sensorLocation",void 0),o([e(i)],p.prototype,"sensorPath",void 0),o([e(i)],p.prototype,"sensorTrail",void 0),p=o([s("esri.layers.support.TelemetryDisplay")],p);export{p as default};
|