@vertigis/arcgis-extensions 48.4.0 → 48.4.1

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.
Files changed (179) hide show
  1. package/AppConfig.schema.json +29 -21
  2. package/data/FeatureSettings.js +1 -1
  3. package/data/_TableExtension.d.ts +1 -1
  4. package/docs/html/assets/navigation.js +1 -1
  5. package/docs/html/assets/search.js +1 -1
  6. package/docs/html/classes/data__TableExtension.TableSchema.html +2 -2
  7. package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +1 -1
  8. package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +1 -1
  9. package/docs/html/classes/utilities_log.ConsoleLogger.html +7 -7
  10. package/docs/html/classes/utilities_log.LoggerBase.html +7 -7
  11. package/docs/html/functions/utilities__gml.esriToGml.html +2 -2
  12. package/docs/html/functions/utilities__layers.getEquivalencyTypeForLayers.html +1 -0
  13. package/docs/html/functions/utilities__layers.getLayerUrl.html +2 -2
  14. package/docs/html/functions/utilities_geometry.buffer.html +5 -5
  15. package/docs/html/functions/utilities_geometry.esriToGml.html +2 -2
  16. package/docs/html/functions/utilities_iterable.find.html +2 -2
  17. package/docs/html/functions/utilities_iterable.first.html +2 -2
  18. package/docs/html/functions/utilities_mapping.getMapSpatialReference.html +2 -2
  19. package/docs/html/functions/utilities_object.deepSearchAndTransform.html +6 -4
  20. package/docs/html/functions/utilities_object.deepSearchAndTransformAsync.html +6 -4
  21. package/docs/html/functions/utilities_object.getPropertyDescriptor.html +2 -2
  22. package/docs/html/functions/utilities_object.isEmpty.html +1 -1
  23. package/docs/html/functions/utilities_object.map.html +1 -1
  24. package/docs/html/functions/utilities_object.toJSON.html +1 -1
  25. package/docs/html/functions/utilities_portal.getPortalItemHtmlUrl.html +2 -2
  26. package/docs/html/functions/utilities_portal.toPortalItem.html +4 -1
  27. package/docs/html/functions/utilities_set.find.html +2 -2
  28. package/docs/html/hierarchy.html +1 -1
  29. package/docs/html/interfaces/data_FieldExtension.FieldProperties.html +4 -2
  30. package/docs/html/interfaces/json_AnnotationLayerJson.AnnotationLayerJson.html +2 -2
  31. package/docs/html/interfaces/json_BasemapLayerJson.BasemapLayerJsonBase.html +2 -2
  32. package/docs/html/interfaces/json_BingLayerJson.BingLayerJson.html +2 -2
  33. package/docs/html/interfaces/json_BuildingSceneLayerJson.BuildingSceneLayerJson.html +2 -2
  34. package/docs/html/interfaces/json_CSVLayerJson.CSVLayerJson.html +2 -2
  35. package/docs/html/interfaces/json_FeatureLayerJson.FeatureLayerJson.html +5 -3
  36. package/docs/html/interfaces/json_FeatureSetJson.FeatureSetJson.html +4 -2
  37. package/docs/html/interfaces/json_FieldJson.FieldJson.html +4 -2
  38. package/docs/html/interfaces/json_GeoJSONLayerJson.GeoJSONLayerJson.html +2 -2
  39. package/docs/html/interfaces/json_GeoRSSLayerJson.GeoRSSLayerJson.html +2 -2
  40. package/docs/html/interfaces/json_GroupLayerJson.GroupLayerJson.html +2 -2
  41. package/docs/html/interfaces/json_ImageServiceLayerJson.ImageServiceLayerJson.html +2 -2
  42. package/docs/html/interfaces/json_ImageServiceVectorLayerJson.ImageServiceVectorLayerJson.html +2 -2
  43. package/docs/html/interfaces/json_IntegratedMeshLayerJson.IntegratedMeshLayerJson.html +2 -2
  44. package/docs/html/interfaces/json_ItemJson.ItemJson.html +5 -2
  45. package/docs/html/interfaces/json_KMLLayerJson.KMLLayerJson.html +2 -2
  46. package/docs/html/interfaces/json_LayerDefinitionJson.LayerDefinitionJson.html +2 -2
  47. package/docs/html/interfaces/json_LayerJson.LayerJsonBase.html +2 -2
  48. package/docs/html/interfaces/json_MapServiceLayerJson.MapServiceLayerJson.html +2 -2
  49. package/docs/html/interfaces/json_OpenStreetMapLayerJson.OpenStreetMapLayerJson.html +2 -2
  50. package/docs/html/interfaces/json_OperationalLayerJson.OperationalLayerJsonBase.html +2 -2
  51. package/docs/html/interfaces/json_PointCloudLayerJson.PointCloudLayerJson.html +2 -2
  52. package/docs/html/interfaces/json_RasterDataElevationLayerJson.RasterDataElevationLayerJson.html +2 -2
  53. package/docs/html/interfaces/json_SceneLayerJson.SceneLayerJson.html +2 -2
  54. package/docs/html/interfaces/json_StreamLayerJson.StreamLayerJson.html +6 -4
  55. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeGroupLayerJson.html +10 -5
  56. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeSubtypeGroupLayerJson.html +10 -5
  57. package/docs/html/interfaces/json_SubtypeSublayerJson.SubtypeSublayerJson.html +9 -6
  58. package/docs/html/interfaces/json_SymbolJson.TextSymbolJson.html +2 -2
  59. package/docs/html/interfaces/json_TiledElevationServiceLayerJson.TiledElevationServiceLayerJson.html +2 -2
  60. package/docs/html/interfaces/json_TiledImageServiceLayerJson.TiledImageServiceLayerJson.html +2 -2
  61. package/docs/html/interfaces/json_TiledMapServiceLayerJson.TiledMapServiceLayerJson.html +2 -2
  62. package/docs/html/interfaces/json_VectorTileLayerJson.VectorTileLayerJson.html +2 -2
  63. package/docs/html/interfaces/json_WFSLayerJson.WFSLayerJson.html +2 -2
  64. package/docs/html/interfaces/json_WMSLayerJson.WMSLayerJson.html +2 -2
  65. package/docs/html/interfaces/json_WebTileLayerJson.TileInfoJson.html +2 -2
  66. package/docs/html/interfaces/json_WebTileLayerJson.WebTileLayerJson.html +2 -2
  67. package/docs/html/interfaces/mapping_BuildingSceneLayerExtension.BuildingSceneLayerProperties.html +2 -2
  68. package/docs/html/interfaces/mapping_FeatureLayerExtension.FeatureLayerProperties.html +6 -4
  69. package/docs/html/interfaces/mapping_FeatureLayerExtensionBase.FeatureLayerBaseProperties.html +6 -4
  70. package/docs/html/interfaces/mapping_MapImageLayerExtension.MapImageLayerExtensionProperties.html +3 -3
  71. package/docs/html/interfaces/mapping_PointCloudLayerExtension.PointCloudLayerProperties.html +2 -2
  72. package/docs/html/interfaces/utilities_format_FormatSettings.FormatSettings.html +1 -1
  73. package/docs/html/interfaces/utilities_log.LogMessageOptions.html +30 -0
  74. package/docs/html/interfaces/utilities_log.LogMessageResourceOptions.html +33 -0
  75. package/docs/html/interfaces/utilities_log.Logger.html +8 -8
  76. package/docs/html/modules/utilities_log.html +3 -1
  77. package/docs/html/types/utilities_log.LogOptions.html +2 -0
  78. package/docs/html/variables/version.version.html +1 -1
  79. package/json/AnnotationLayerJson.d.ts +7 -7
  80. package/json/BasemapJson.d.ts +4 -4
  81. package/json/BasemapJson.js +1 -1
  82. package/json/BasemapLayerJson.d.ts +1 -1
  83. package/json/BingLayerJson.d.ts +1 -1
  84. package/json/BuildingSceneLayerJson.d.ts +18 -18
  85. package/json/BuildingSceneSublayerJson.d.ts +8 -8
  86. package/json/CSVLayerJson.d.ts +12 -12
  87. package/json/DefinitionEditorJson.d.ts +9 -9
  88. package/json/DrawingInfoJson.d.ts +29 -29
  89. package/json/EnvironmentJson.d.ts +19 -19
  90. package/json/FeatureCollectionJson.d.ts +1 -1
  91. package/json/FeatureJson.d.ts +4 -4
  92. package/json/FeatureJson.js +1 -1
  93. package/json/FeatureLayerJson.d.ts +20 -16
  94. package/json/FeatureLayerJson.js +1 -1
  95. package/json/FeatureSetJson.d.ts +5 -0
  96. package/json/FieldJson.d.ts +11 -7
  97. package/json/FormInfoJson.d.ts +48 -48
  98. package/json/GeoJSONLayerJson.d.ts +6 -6
  99. package/json/GeoRSSLayerJson.d.ts +4 -4
  100. package/json/GeometryJson.d.ts +12 -12
  101. package/json/GroundJson.d.ts +4 -4
  102. package/json/GroupLayerJson.d.ts +3 -3
  103. package/json/ImageServiceLayerJson.d.ts +20 -20
  104. package/json/ImageServiceVectorLayerJson.d.ts +6 -6
  105. package/json/IntegratedMeshLayerJson.d.ts +2 -2
  106. package/json/ItemJson.d.ts +51 -46
  107. package/json/KMLLayerJson.d.ts +3 -3
  108. package/json/LayerDefinitionJson.d.ts +102 -102
  109. package/json/LayerJson.d.ts +21 -21
  110. package/json/LayerJson.js +1 -1
  111. package/json/MapServiceLayerJson.d.ts +6 -6
  112. package/json/MosaicRuleJson.d.ts +14 -14
  113. package/json/OpenStreetMapLayerJson.d.ts +1 -1
  114. package/json/OperationalLayerJson.d.ts +2 -2
  115. package/json/PointCloudLayerJson.d.ts +4 -4
  116. package/json/PopupInfoJson.d.ts +47 -47
  117. package/json/RasterDataElevationLayerJson.d.ts +1 -1
  118. package/json/RendererJson.d.ts +113 -113
  119. package/json/SceneLayerJson.d.ts +7 -7
  120. package/json/SpatialReferenceJson.d.ts +5 -5
  121. package/json/SublayerJson.d.ts +17 -17
  122. package/json/SublayerJson.js +1 -1
  123. package/json/SubtypeGroupLayerJson.d.ts +14 -5
  124. package/json/SubtypeSublayerJson.d.ts +13 -8
  125. package/json/SymbolJson.d.ts +122 -122
  126. package/json/TableJson.d.ts +10 -10
  127. package/json/TableJson.js +1 -1
  128. package/json/TemplateJson.d.ts +4 -4
  129. package/json/TiledElevationServiceLayerJson.d.ts +3 -3
  130. package/json/TiledImageServiceLayerJson.d.ts +3 -3
  131. package/json/TiledMapServiceLayerJson.d.ts +12 -12
  132. package/json/TypeJson.d.ts +4 -4
  133. package/json/VectorTileLayerJson.d.ts +4 -4
  134. package/json/ViewpointJson.d.ts +6 -6
  135. package/json/WFSLayerJson.d.ts +16 -16
  136. package/json/WMSLayerJson.d.ts +16 -16
  137. package/json/WMSSublayerJson.d.ts +5 -5
  138. package/json/WebMapJson.d.ts +134 -133
  139. package/json/WebMapJson.js +1 -1
  140. package/json/WebSceneJson.d.ts +6 -6
  141. package/json/WebTileLayerJson.d.ts +26 -26
  142. package/mapping/ImageryLayerExtension.js +1 -1
  143. package/mapping/MapExtension.js +1 -1
  144. package/package.json +1 -1
  145. package/utilities/ObservableSet.d.ts +1 -1
  146. package/utilities/ObservableSet.js +1 -1
  147. package/utilities/ObservableWeakSet.d.ts +1 -1
  148. package/utilities/ObservableWeakSet.js +1 -1
  149. package/utilities/_gml.d.ts +1 -1
  150. package/utilities/_gml.js +1 -1
  151. package/utilities/_layers.d.ts +5 -3
  152. package/utilities/_layers.js +1 -1
  153. package/utilities/_wkt.js +1 -1
  154. package/utilities/array.js +1 -1
  155. package/utilities/asyncIterable.js +1 -1
  156. package/utilities/checkArg.js +1 -1
  157. package/utilities/esri.js +1 -1
  158. package/utilities/format/date.d.ts +8 -8
  159. package/utilities/format/date.js +1 -1
  160. package/utilities/format/number.d.ts +9 -9
  161. package/utilities/format/number.js +1 -1
  162. package/utilities/format/string.d.ts +12 -12
  163. package/utilities/format/string.js +1 -1
  164. package/utilities/geometry.d.ts +4 -3
  165. package/utilities/geometry.js +1 -1
  166. package/utilities/iterable.d.ts +2 -2
  167. package/utilities/log.d.ts +26 -7
  168. package/utilities/log.js +1 -1
  169. package/utilities/mapping.d.ts +1 -1
  170. package/utilities/mapping.js +1 -1
  171. package/utilities/object.d.ts +10 -6
  172. package/utilities/object.js +1 -1
  173. package/utilities/portal.d.ts +4 -1
  174. package/utilities/portal.js +1 -1
  175. package/utilities/query.js +1 -1
  176. package/utilities/set.d.ts +1 -1
  177. package/version.d.ts +1 -1
  178. package/version.js +1 -1
  179. package/docs/html/interfaces/utilities_log.LogOptions.html +0 -33
@@ -14,17 +14,17 @@ export interface SceneLayerJson extends OperationalLayerJsonBase {
14
14
  * Indicates whether to allow a client to ignore popups defined by the
15
15
  * service item.
16
16
  */
17
- disablePopup?: boolean;
17
+ disablePopup?: boolean | null;
18
18
  /**
19
19
  * Optional string containing the item ID of the service if it's registered
20
20
  * on ArcGIS Online or your organization's portal.
21
21
  */
22
- itemId?: string;
22
+ itemId?: string | null;
23
23
  /**
24
24
  * A layerDefinition object defining the attribute schema and drawing
25
25
  * information for the layer.
26
26
  */
27
- layerDefinition?: LayerDefinitionJson;
27
+ layerDefinition?: LayerDefinitionJson | null;
28
28
  /**
29
29
  * The type of layer.
30
30
  */
@@ -33,19 +33,19 @@ export interface SceneLayerJson extends OperationalLayerJsonBase {
33
33
  * A PopupInfo object defining the content of pop-up windows when you click
34
34
  * or query a feature.
35
35
  */
36
- popupInfo?: PopupInfoJson;
36
+ popupInfo?: PopupInfoJson | null;
37
37
  /**
38
38
  * Apply perspective scaling to screen-size symbols.
39
39
  */
40
- screenSizePerspective?: boolean;
40
+ screenSizePerspective?: boolean | null;
41
41
  /**
42
42
  * Indicates whether to display labels for this layer. If true, labels will
43
43
  * appear as defined in the labelingInfo property.
44
44
  */
45
- showLabels?: boolean;
45
+ showLabels?: boolean | null;
46
46
  /**
47
47
  * The URL to the layer.If the layer is not from a web service but rather a
48
48
  * feature collection, then the url property is omitted.
49
49
  */
50
- url?: string;
50
+ url?: string | null;
51
51
  }
@@ -29,23 +29,23 @@ export interface SpatialReferenceJson {
29
29
  * reference. For example a WKID of '102100' (Web Mercator) has a latestWKid
30
30
  * of '3857'.
31
31
  */
32
- latestWkid?: number;
32
+ latestWkid?: number | null;
33
33
  /**
34
34
  * The well-known ID (WKID) of the coordinate system. Specify either WKID or
35
35
  * the well-known text (WKT) of the coordinate system.
36
36
  */
37
- wkid?: number;
37
+ wkid?: number | null;
38
38
  /**
39
39
  * The well-known text (WKT) of the coordinate system. Specify either WKT or
40
40
  * WKID of the coordinate system.
41
41
  */
42
- wkt?: string;
42
+ wkt?: string | null;
43
43
  /**
44
44
  * (Optional) The wkid value of the vertical coordinate system.
45
45
  */
46
- vcsWkid?: number;
46
+ vcsWkid?: number | null;
47
47
  /**
48
48
  * (Optional) The current wkid value of the vertical coordinate system.
49
49
  */
50
- latestVcsWkid?: number;
50
+ latestVcsWkid?: number | null;
51
51
  }
@@ -17,88 +17,88 @@ export interface SublayerJson {
17
17
  /**
18
18
  * Default visibility of the layers in the map service.
19
19
  */
20
- defaultVisibility?: boolean;
20
+ defaultVisibility?: boolean | null;
21
21
  /**
22
22
  * An object that provides interactive filters.
23
23
  */
24
- definitionEditor?: DefinitionEditorJson;
24
+ definitionEditor?: DefinitionEditorJson | null;
25
25
  /**
26
26
  * Indicates whether to allow a client to ignore the popups defined on the
27
27
  * layer. The popupInfo object could be saved in the map or item.
28
28
  */
29
- disablePopup?: boolean;
29
+ disablePopup?: boolean | null;
30
30
  /**
31
31
  * A featureSet object containing the geometry and attributes of the
32
32
  * features in the layer. Used with feature collections only.
33
33
  */
34
- featureSet?: FeatureSetJson;
34
+ featureSet?: FeatureSetJson | null;
35
35
  /**
36
36
  * Information about each field in a layer.
37
37
  *
38
38
  * NOTE: This is how it's typed and documented in the web map spec, but is
39
39
  * almost certainly total nonsense.
40
40
  */
41
- field?: FieldJson;
41
+ field?: FieldJson | null;
42
42
  /**
43
43
  * A number indicating the index position of the layer in the WMS or map
44
44
  * service.
45
45
  */
46
- id?: string | number;
46
+ id?: string | number | null;
47
47
  /**
48
48
  * An array of LayerDefinition objects defining the attribute schema and
49
49
  * drawing information for the layer.
50
50
  */
51
- layerDefinition?: LayerDefinitionJson;
51
+ layerDefinition?: LayerDefinitionJson | null;
52
52
  /**
53
53
  * A URL to a service that should be used for all queries against the layer.
54
54
  * Used with hosted tiled map services on ArcGIS Online when there is an
55
55
  * associated feature service that allows for queries.
56
56
  */
57
- layerUrl?: string;
57
+ layerUrl?: string | null;
58
58
  /**
59
59
  * Represents the maximum scale at which the layer definition will be
60
60
  * applied.
61
61
  */
62
- maxScale?: number;
62
+ maxScale?: number | null;
63
63
  /**
64
64
  * Represents the minimum scale at which the layer definition will be
65
65
  * applied.
66
66
  */
67
- minScale?: number;
67
+ minScale?: number | null;
68
68
  /**
69
69
  * (Deprecated, use title instead.) A name for the layer.
70
70
  */
71
- name?: string;
71
+ name?: string | null;
72
72
  /**
73
73
  * Iterates within a feature set. Number objectId value is incremented +1
74
74
  * based on last Object ID defined for the feature in a feature set.
75
75
  */
76
- nextObjectId?: number;
76
+ nextObjectId?: number | null;
77
77
  /**
78
78
  * If working with nested layers, this is the numeric value indicating the
79
79
  * layer id of the next layer (parent) directly above the current referenced
80
80
  * layer.
81
81
  */
82
- parentLayerId?: number;
82
+ parentLayerId?: number | null;
83
83
  /**
84
84
  * A popupInfo object defining the pop-up window content for the layer.
85
85
  */
86
- popupInfo?: PopupInfoJson;
86
+ popupInfo?: PopupInfoJson | null;
87
87
  /**
88
88
  * Indicates whether to allow map authors the ability to control what layers
89
89
  * should be shown in a client's legend.
90
90
  */
91
- showLegend?: boolean;
91
+ showLegend?: boolean | null;
92
92
  /**
93
93
  * If the layer is a parent layer, it will have one or more sub layers
94
94
  * included in an array.
95
95
  */
96
- subLayerIds?: number[];
96
+ subLayerIds?: number[] | null;
97
97
  /**
98
98
  * A user-friendly title for the layer that can be used in a table of
99
99
  * contents.
100
100
  */
101
- title?: string;
101
+ title?: string | null;
102
102
  }
103
103
  /**
104
104
  * Creates an ArcGIS JS API Sublayer from the given sublayer JSON.
@@ -1 +1 @@
1
- import{isBuildingComponentSublayer as r,isBuildingGroupSublayer as a,isWMSSublayer as e}from"../utilities/layers.js";import{layerToJson as i}from"./LayerJson.js";export async function jsonToSublayer(r,a){return"WMS"===a?(await import("../portal/WMSSublayer.js")).WMSSublayer.toEsriApiWMSSublayer(r):(await import("../portal/Layer.js")).Layer.toEsriApiSublayer(r,a)}export async function applyJsonToSublayer(i,t){i&&Object.keys(i).some((r=>"$ref"!==r&&"$sublayerType"!==r))&&(e(t)?await(await import("../portal/WMSSublayer.js")).WMSSublayer.applyToEsriApiWMSSublayer(i,t):r(t)||a(t)?await(await import("../portal/BuildingSceneSublayer.js")).BuildingSceneSublayer.applyToEsriApiBuildingSublayer(i,t):await(await import("../portal/Layer.js")).Layer.applyToEsriApiSublayer(i,t))}export function sublayerToJson(r){const{layer:a}=r;if(a){const e=i(a);return e?.layers?.find((a=>a.id===r.id))}return r.write({},{layerContainerType:"operational-layers",origin:"web-map",writeSublayerStructure:!0})}
1
+ import{isBuildingComponentSublayer as r,isBuildingGroupSublayer as a,isWMSSublayer as e}from"../utilities/layers.js";import{layerToJson as i}from"./LayerJson.js";export async function jsonToSublayer(r,a){return"WMS"===a?(await import("../portal/WMSSublayer.js")).WMSSublayer.toEsriApiWMSSublayer(r):(await import("../portal/Layer.js")).Layer.toEsriApiSublayer(r,a)}export async function applyJsonToSublayer(i,t){i&&Object.keys(i).some((r=>"$ref"!==r&&"$sublayerType"!==r))&&(e(t)?await(await import("../portal/WMSSublayer.js")).WMSSublayer.applyToEsriApiWMSSublayer(i,t):r(t)||a(t)?await(await import("../portal/BuildingSceneSublayer.js")).BuildingSceneSublayer.applyToEsriApiBuildingSublayer(i,t):await(await import("../portal/Layer.js")).Layer.applyToEsriApiSublayer(i,t))}export function sublayerToJson(r){const{layer:a}=r;if(a){const e=i(a);if(null!=e?.layers)return e.layers.find((a=>a.id===r.id))}return r.write({},{layerContainerType:"operational-layers",origin:"web-map",writeSublayerStructure:!0})}
@@ -17,27 +17,36 @@ export interface SubtypeGroupLayerJson extends OperationalLayerJsonBase {
17
17
  * A sequence of custom parameters appended to the URL of all requests
18
18
  * related to supporting ArcGIS layer types.
19
19
  */
20
- customParameters?: Record<string, unknown>;
20
+ customParameters?: Record<string, unknown> | null;
21
+ /**
22
+ * Optional string containing the item ID of the service if it's registered
23
+ * on ArcGIS Online or your organization's portal.
24
+ */
25
+ itemId?: string | null;
21
26
  /**
22
27
  * A layerDefinition object defining the attribute schema and drawing
23
28
  * information for the layer.
24
29
  */
25
- layerDefinition?: LayerDefinitionJson;
30
+ layerDefinition?: LayerDefinitionJson | null;
26
31
  /**
27
32
  * An array of feature layers, each describing the properties for a subtype
28
33
  * in the feature service layer.
29
34
  */
30
- layers?: SubtypeSublayerJson[];
35
+ layers?: SubtypeSublayerJson[] | null;
31
36
  /**
32
37
  * String indicating the layer type. Value of this property must be
33
38
  * SubtypeGroupLayer.
34
39
  */
35
40
  layerType: "SubtypeGroupLayer";
41
+ /**
42
+ * Indicates whether to disable time animation if the layer supports it.
43
+ */
44
+ timeAnimation?: boolean | null;
36
45
  /**
37
46
  * The URL to the layer. If the layer is not from a web service but rather a
38
47
  * feature collection, then the url property is omitted.
39
48
  */
40
- url?: string;
49
+ url?: string | null;
41
50
  }
42
51
  /**
43
52
  * Subtype group layers can be created by referencing a layer from a feature
@@ -52,7 +61,7 @@ export interface SubtypeSubtypeGroupLayerJson extends Omit<SubtypeGroupLayerJson
52
61
  * A sequence of custom parameters appended to the URL of all requests
53
62
  * related to supporting ArcGIS layer types.
54
63
  */
55
- customParameters?: Record<string, unknown>;
64
+ customParameters?: Record<string, unknown> | null;
56
65
  /**
57
66
  * String indicating the layer type.
58
67
  */
@@ -13,20 +13,25 @@ import type { PopupInfoJson } from "./PopupInfoJson";
13
13
  * based on the supplied definition.
14
14
  *
15
15
  * See
16
- * {@link https://developers.arcgis.com/web-map-specification/objects/subtypeSublayer/}
17
- * {@link https://developers.arcgis.com/web-scene-specification/objects/subtypeSublayer/}.
16
+ * {@link https://developers.arcgis.com/web-map-specification/objects/subtypeLayer/}
17
+ * {@link https://developers.arcgis.com/web-scene-specification/objects/subtypeLayer/}.
18
18
  */
19
19
  export interface SubtypeSublayerJson extends OperationalLayerJsonBase {
20
20
  /**
21
21
  * A sequence of custom parameters appended to the URL of all requests
22
22
  * related to supporting ArcGIS sublayer types.
23
23
  */
24
- customParameters?: Record<string, unknown>;
24
+ customParameters?: Record<string, unknown> | null;
25
25
  /**
26
26
  * Indicates whether to allow a client to ignore popups defined by the
27
27
  * service item.
28
28
  */
29
- disablePopup?: boolean;
29
+ disablePopup?: boolean | null;
30
+ /**
31
+ * Indicates whether a client should allow feature editing for this layer.
32
+ * Applicable only if the layer has editing capability.
33
+ */
34
+ enableEditing?: boolean | null;
30
35
  /**
31
36
  * The type of sublayer.
32
37
  */
@@ -35,20 +40,20 @@ export interface SubtypeSublayerJson extends OperationalLayerJsonBase {
35
40
  * A PopupInfo object defining the content of pop-up windows when you click
36
41
  * or query a feature.
37
42
  */
38
- popupInfo?: PopupInfoJson;
43
+ popupInfo?: PopupInfoJson | null;
39
44
  /**
40
45
  * Indicates whether to display labels for this sublayer. If true, labels
41
46
  * will appear as defined in the labelingInfo property.
42
47
  */
43
- showLabels?: boolean;
48
+ showLabels?: boolean | null;
44
49
  /**
45
50
  * The feature subtype code identifying the sublayer. Used with
46
51
  * SubtypeGroupLayers.
47
52
  */
48
- subtypeCode?: string | number;
53
+ subtypeCode?: string | number | null;
49
54
  /**
50
55
  * A layerDefinition object defining the attribute schema and drawing
51
56
  * information for the layer.
52
57
  */
53
- layerDefinition?: LayerDefinitionJson;
58
+ layerDefinition?: LayerDefinitionJson | null;
54
59
  }