@vertigis/arcgis-extensions 48.4.0 → 48.5.0

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 (183) 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/tasks_identify_WMSSublayerIdentifyProvider.WMSSublayerIdentifyProvider.html +2 -2
  8. package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +1 -1
  9. package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +1 -1
  10. package/docs/html/classes/utilities_log.ConsoleLogger.html +7 -7
  11. package/docs/html/classes/utilities_log.LoggerBase.html +7 -7
  12. package/docs/html/functions/utilities__gml.esriToGml.html +2 -2
  13. package/docs/html/functions/utilities__layers.getEquivalencyTypeForLayers.html +1 -0
  14. package/docs/html/functions/utilities__layers.getLayerUrl.html +2 -2
  15. package/docs/html/functions/utilities_geometry.buffer.html +5 -5
  16. package/docs/html/functions/utilities_geometry.esriToGml.html +2 -2
  17. package/docs/html/functions/utilities_iterable.find.html +2 -2
  18. package/docs/html/functions/utilities_iterable.first.html +2 -2
  19. package/docs/html/functions/utilities_mapping.getMapSpatialReference.html +2 -2
  20. package/docs/html/functions/utilities_object.deepSearchAndTransform.html +6 -4
  21. package/docs/html/functions/utilities_object.deepSearchAndTransformAsync.html +6 -4
  22. package/docs/html/functions/utilities_object.getPropertyDescriptor.html +2 -2
  23. package/docs/html/functions/utilities_object.isEmpty.html +1 -1
  24. package/docs/html/functions/utilities_object.map.html +1 -1
  25. package/docs/html/functions/utilities_object.toJSON.html +1 -1
  26. package/docs/html/functions/utilities_portal.getPortalItemHtmlUrl.html +2 -2
  27. package/docs/html/functions/utilities_portal.toPortalItem.html +4 -1
  28. package/docs/html/functions/utilities_set.find.html +2 -2
  29. package/docs/html/hierarchy.html +1 -1
  30. package/docs/html/interfaces/data_FieldExtension.FieldProperties.html +4 -2
  31. package/docs/html/interfaces/json_AnnotationLayerJson.AnnotationLayerJson.html +2 -2
  32. package/docs/html/interfaces/json_BasemapLayerJson.BasemapLayerJsonBase.html +2 -2
  33. package/docs/html/interfaces/json_BingLayerJson.BingLayerJson.html +2 -2
  34. package/docs/html/interfaces/json_BuildingSceneLayerJson.BuildingSceneLayerJson.html +2 -2
  35. package/docs/html/interfaces/json_CSVLayerJson.CSVLayerJson.html +2 -2
  36. package/docs/html/interfaces/json_FeatureLayerJson.FeatureLayerJson.html +5 -3
  37. package/docs/html/interfaces/json_FeatureSetJson.FeatureSetJson.html +4 -2
  38. package/docs/html/interfaces/json_FieldJson.FieldJson.html +4 -2
  39. package/docs/html/interfaces/json_GeoJSONLayerJson.GeoJSONLayerJson.html +2 -2
  40. package/docs/html/interfaces/json_GeoRSSLayerJson.GeoRSSLayerJson.html +2 -2
  41. package/docs/html/interfaces/json_GroupLayerJson.GroupLayerJson.html +2 -2
  42. package/docs/html/interfaces/json_ImageServiceLayerJson.ImageServiceLayerJson.html +2 -2
  43. package/docs/html/interfaces/json_ImageServiceVectorLayerJson.ImageServiceVectorLayerJson.html +2 -2
  44. package/docs/html/interfaces/json_IntegratedMeshLayerJson.IntegratedMeshLayerJson.html +2 -2
  45. package/docs/html/interfaces/json_ItemJson.ItemJson.html +5 -2
  46. package/docs/html/interfaces/json_KMLLayerJson.KMLLayerJson.html +2 -2
  47. package/docs/html/interfaces/json_LayerDefinitionJson.LayerDefinitionJson.html +2 -2
  48. package/docs/html/interfaces/json_LayerJson.LayerJsonBase.html +2 -2
  49. package/docs/html/interfaces/json_MapServiceLayerJson.MapServiceLayerJson.html +2 -2
  50. package/docs/html/interfaces/json_OpenStreetMapLayerJson.OpenStreetMapLayerJson.html +2 -2
  51. package/docs/html/interfaces/json_OperationalLayerJson.OperationalLayerJsonBase.html +2 -2
  52. package/docs/html/interfaces/json_PointCloudLayerJson.PointCloudLayerJson.html +2 -2
  53. package/docs/html/interfaces/json_RasterDataElevationLayerJson.RasterDataElevationLayerJson.html +2 -2
  54. package/docs/html/interfaces/json_SceneLayerJson.SceneLayerJson.html +2 -2
  55. package/docs/html/interfaces/json_StreamLayerJson.StreamLayerJson.html +6 -4
  56. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeGroupLayerJson.html +10 -5
  57. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeSubtypeGroupLayerJson.html +10 -5
  58. package/docs/html/interfaces/json_SubtypeSublayerJson.SubtypeSublayerJson.html +9 -6
  59. package/docs/html/interfaces/json_SymbolJson.TextSymbolJson.html +2 -2
  60. package/docs/html/interfaces/json_TiledElevationServiceLayerJson.TiledElevationServiceLayerJson.html +2 -2
  61. package/docs/html/interfaces/json_TiledImageServiceLayerJson.TiledImageServiceLayerJson.html +2 -2
  62. package/docs/html/interfaces/json_TiledMapServiceLayerJson.TiledMapServiceLayerJson.html +2 -2
  63. package/docs/html/interfaces/json_VectorTileLayerJson.VectorTileLayerJson.html +2 -2
  64. package/docs/html/interfaces/json_WFSLayerJson.WFSLayerJson.html +2 -2
  65. package/docs/html/interfaces/json_WMSLayerJson.WMSLayerJson.html +2 -2
  66. package/docs/html/interfaces/json_WebTileLayerJson.TileInfoJson.html +2 -2
  67. package/docs/html/interfaces/json_WebTileLayerJson.WebTileLayerJson.html +2 -2
  68. package/docs/html/interfaces/mapping_BuildingSceneLayerExtension.BuildingSceneLayerProperties.html +2 -2
  69. package/docs/html/interfaces/mapping_FeatureLayerExtension.FeatureLayerProperties.html +6 -4
  70. package/docs/html/interfaces/mapping_FeatureLayerExtensionBase.FeatureLayerBaseProperties.html +6 -4
  71. package/docs/html/interfaces/mapping_MapImageLayerExtension.MapImageLayerExtensionProperties.html +3 -3
  72. package/docs/html/interfaces/mapping_PointCloudLayerExtension.PointCloudLayerProperties.html +2 -2
  73. package/docs/html/interfaces/utilities_format_FormatSettings.FormatSettings.html +1 -1
  74. package/docs/html/interfaces/utilities_log.LogMessageOptions.html +30 -0
  75. package/docs/html/interfaces/utilities_log.LogMessageResourceOptions.html +33 -0
  76. package/docs/html/interfaces/utilities_log.Logger.html +8 -8
  77. package/docs/html/modules/utilities_log.html +3 -1
  78. package/docs/html/types/utilities_log.LogOptions.html +2 -0
  79. package/docs/html/variables/version.version.html +1 -1
  80. package/json/AnnotationLayerJson.d.ts +7 -7
  81. package/json/BasemapJson.d.ts +4 -4
  82. package/json/BasemapJson.js +1 -1
  83. package/json/BasemapLayerJson.d.ts +1 -1
  84. package/json/BingLayerJson.d.ts +1 -1
  85. package/json/BuildingSceneLayerJson.d.ts +18 -18
  86. package/json/BuildingSceneSublayerJson.d.ts +8 -8
  87. package/json/CSVLayerJson.d.ts +12 -12
  88. package/json/DefinitionEditorJson.d.ts +9 -9
  89. package/json/DrawingInfoJson.d.ts +29 -29
  90. package/json/EnvironmentJson.d.ts +19 -19
  91. package/json/FeatureCollectionJson.d.ts +1 -1
  92. package/json/FeatureJson.d.ts +4 -4
  93. package/json/FeatureJson.js +1 -1
  94. package/json/FeatureLayerJson.d.ts +20 -16
  95. package/json/FeatureLayerJson.js +1 -1
  96. package/json/FeatureSetJson.d.ts +5 -0
  97. package/json/FieldJson.d.ts +11 -7
  98. package/json/FormInfoJson.d.ts +48 -48
  99. package/json/GeoJSONLayerJson.d.ts +6 -6
  100. package/json/GeoRSSLayerJson.d.ts +4 -4
  101. package/json/GeometryJson.d.ts +12 -12
  102. package/json/GroundJson.d.ts +4 -4
  103. package/json/GroupLayerJson.d.ts +3 -3
  104. package/json/ImageServiceLayerJson.d.ts +20 -20
  105. package/json/ImageServiceVectorLayerJson.d.ts +6 -6
  106. package/json/IntegratedMeshLayerJson.d.ts +2 -2
  107. package/json/ItemJson.d.ts +51 -46
  108. package/json/KMLLayerJson.d.ts +3 -3
  109. package/json/LayerDefinitionJson.d.ts +102 -102
  110. package/json/LayerJson.d.ts +21 -21
  111. package/json/LayerJson.js +1 -1
  112. package/json/MapServiceLayerJson.d.ts +6 -6
  113. package/json/MosaicRuleJson.d.ts +14 -14
  114. package/json/OpenStreetMapLayerJson.d.ts +1 -1
  115. package/json/OperationalLayerJson.d.ts +2 -2
  116. package/json/PointCloudLayerJson.d.ts +4 -4
  117. package/json/PopupInfoJson.d.ts +47 -47
  118. package/json/RasterDataElevationLayerJson.d.ts +1 -1
  119. package/json/RendererJson.d.ts +113 -113
  120. package/json/SceneLayerJson.d.ts +7 -7
  121. package/json/SpatialReferenceJson.d.ts +5 -5
  122. package/json/SublayerJson.d.ts +17 -17
  123. package/json/SublayerJson.js +1 -1
  124. package/json/SubtypeGroupLayerJson.d.ts +14 -5
  125. package/json/SubtypeSublayerJson.d.ts +13 -8
  126. package/json/SymbolJson.d.ts +122 -122
  127. package/json/TableJson.d.ts +10 -10
  128. package/json/TableJson.js +1 -1
  129. package/json/TemplateJson.d.ts +4 -4
  130. package/json/TiledElevationServiceLayerJson.d.ts +3 -3
  131. package/json/TiledImageServiceLayerJson.d.ts +3 -3
  132. package/json/TiledMapServiceLayerJson.d.ts +12 -12
  133. package/json/TypeJson.d.ts +4 -4
  134. package/json/VectorTileLayerJson.d.ts +4 -4
  135. package/json/ViewpointJson.d.ts +6 -6
  136. package/json/WFSLayerJson.d.ts +16 -16
  137. package/json/WMSLayerJson.d.ts +16 -16
  138. package/json/WMSSublayerJson.d.ts +5 -5
  139. package/json/WebMapJson.d.ts +134 -133
  140. package/json/WebMapJson.js +1 -1
  141. package/json/WebSceneJson.d.ts +6 -6
  142. package/json/WebTileLayerJson.d.ts +26 -26
  143. package/mapping/ImageryLayerExtension.js +1 -1
  144. package/mapping/MapExtension.js +1 -1
  145. package/package.json +1 -1
  146. package/tasks/identify/WMSLayerFeatureInfoIdentifyProvider.js +1 -1
  147. package/tasks/identify/WMSSublayerIdentifyProvider.d.ts +3 -2
  148. package/tasks/identify/WMSSublayerIdentifyProvider.js +1 -1
  149. package/utilities/ObservableSet.d.ts +1 -1
  150. package/utilities/ObservableSet.js +1 -1
  151. package/utilities/ObservableWeakSet.d.ts +1 -1
  152. package/utilities/ObservableWeakSet.js +1 -1
  153. package/utilities/_gml.d.ts +1 -1
  154. package/utilities/_gml.js +1 -1
  155. package/utilities/_layers.d.ts +5 -3
  156. package/utilities/_layers.js +1 -1
  157. package/utilities/_wkt.js +1 -1
  158. package/utilities/array.js +1 -1
  159. package/utilities/asyncIterable.js +1 -1
  160. package/utilities/checkArg.js +1 -1
  161. package/utilities/esri.js +1 -1
  162. package/utilities/format/date.d.ts +8 -8
  163. package/utilities/format/date.js +1 -1
  164. package/utilities/format/number.d.ts +9 -9
  165. package/utilities/format/number.js +1 -1
  166. package/utilities/format/string.d.ts +12 -12
  167. package/utilities/format/string.js +1 -1
  168. package/utilities/geometry.d.ts +4 -3
  169. package/utilities/geometry.js +1 -1
  170. package/utilities/iterable.d.ts +2 -2
  171. package/utilities/log.d.ts +26 -7
  172. package/utilities/log.js +1 -1
  173. package/utilities/mapping.d.ts +1 -1
  174. package/utilities/mapping.js +1 -1
  175. package/utilities/object.d.ts +10 -6
  176. package/utilities/object.js +1 -1
  177. package/utilities/portal.d.ts +4 -1
  178. package/utilities/portal.js +1 -1
  179. package/utilities/query.js +1 -1
  180. package/utilities/set.d.ts +1 -1
  181. package/version.d.ts +1 -1
  182. package/version.js +1 -1
  183. package/docs/html/interfaces/utilities_log.LogOptions.html +0 -33
@@ -15,50 +15,50 @@ export interface TableJson {
15
15
  * an editable feature service. Available operations include: 'Create',
16
16
  * 'Delete', 'Query', 'Update', and 'Editing'.
17
17
  */
18
- capabilities?: "Create" | "Delete" | "Query" | "Update" | "Editing";
18
+ capabilities?: "Create" | "Delete" | "Query" | "Update" | "Editing" | null;
19
19
  /**
20
20
  * Object indicating the definitionEditor used as a layer's interactive
21
21
  * filter.
22
22
  */
23
- definitionEditor?: DefinitionEditorJson;
23
+ definitionEditor?: DefinitionEditorJson | null;
24
24
  /**
25
25
  * A formInfo object defining the content of the form when you are editing a
26
26
  * record.
27
27
  */
28
- formInfo?: FormInfoJson;
28
+ formInfo?: FormInfoJson | null;
29
29
  /**
30
30
  * Unique string identifier for the table.
31
31
  */
32
- id?: string;
32
+ id?: string | null;
33
33
  /**
34
34
  * Unique string value indicating an item registered in ArcGIS Online or
35
35
  * your organization's portal.
36
36
  */
37
- itemId?: string;
37
+ itemId?: string | null;
38
38
  /**
39
39
  * A layerDefinition object defining the attribute schema and drawing
40
40
  * information for the layer. Used with CSV layers.
41
41
  */
42
- layerDefinition?: LayerDefinitionJson;
42
+ layerDefinition?: LayerDefinitionJson | null;
43
43
  /**
44
44
  * An object defining the content of popup windows when you query a record
45
45
  * and the sort option for child related records.
46
46
  */
47
- popupInfo?: PopupInfoJson;
47
+ popupInfo?: PopupInfoJson | null;
48
48
  /**
49
49
  * Refresh interval of the table in minutes. Non-zero value indicates
50
50
  * automatic table refresh at the specified interval. Value of 0 indicates
51
51
  * auto refresh is not enabled.
52
52
  */
53
- refreshInterval?: number;
53
+ refreshInterval?: number | null;
54
54
  /**
55
55
  * String value for the title of the table.
56
56
  */
57
- title?: string;
57
+ title?: string | null;
58
58
  /**
59
59
  * String value indicating the URL reference of the hosted table.
60
60
  */
61
- url?: string;
61
+ url?: string | null;
62
62
  }
63
63
  /**
64
64
  * Creates an ArcGIS JS API table (FeatureLayer) from the given table JSON.
package/json/TableJson.js CHANGED
@@ -1 +1 @@
1
- import{isWebMap as t,isWebScene as a}from"../utilities/mapping.js";export async function jsonToTable(t){return(await import("../portal/Table.js")).toEsriApiTable(t)}export async function applyJsonToTable(t,a){t&&Object.keys(t).some((t=>"$ref"!==t))&&await(await import("../portal/Table.js")).applyToEsriTable(t,a)}export function tableToJson(e){const{parent:o}=e;if(t(o)||a(o)){const t=o.toJSON();return t.tables?.find((t=>t.id===e.id))}return e.write({},{layerContainerType:"tables",origin:"web-map"})}
1
+ import{isWebMap as t,isWebScene as a}from"../utilities/mapping.js";export async function jsonToTable(t){return(await import("../portal/Table.js")).toEsriApiTable(t)}export async function applyJsonToTable(t,a){t&&Object.keys(t).some((t=>"$ref"!==t))&&await(await import("../portal/Table.js")).applyToEsriTable(t,a)}export function tableToJson(e){const{parent:o}=e;if(t(o)||a(o)){const t=o.toJSON();if(null!=t.tables)return t.tables.find((t=>t.id===e.id))}return e.write({},{layerContainerType:"tables",origin:"web-map"})}
@@ -16,20 +16,20 @@ export interface TemplateJson {
16
16
  /**
17
17
  * A detailed description of the template.
18
18
  */
19
- description?: string;
19
+ description?: string | null;
20
20
  /**
21
21
  * An optional string that can define a client-side drawing tool to be used
22
22
  * with this feature. See the web map specification for more details.
23
23
  */
24
- drawingTool?: "esriFeatureEditToolCircle" | "esriFeatureEditToolDownArrow" | "esriFeatureEditToolEllipse" | "esriFeatureEditToolFreehand" | "esriFeatureEditToolLeftArrow" | "esriFeatureEditToolLine" | "esriFeatureEditToolPoint" | "esriFeatureEditToolPolygon" | "esriFeatureEditToolRectangle" | "esriFeatureEditToolRightArrow" | "esriFeatureEditToolText" | "esriFeatureEditToolTriangle" | "esriFeatureEditToolUpArrow";
24
+ drawingTool?: "esriFeatureEditToolCircle" | "esriFeatureEditToolDownArrow" | "esriFeatureEditToolEllipse" | "esriFeatureEditToolFreehand" | "esriFeatureEditToolLeftArrow" | "esriFeatureEditToolLine" | "esriFeatureEditToolPoint" | "esriFeatureEditToolPolygon" | "esriFeatureEditToolRectangle" | "esriFeatureEditToolRightArrow" | "esriFeatureEditToolText" | "esriFeatureEditToolTriangle" | "esriFeatureEditToolUpArrow" | null;
25
25
  /**
26
26
  * A string containing a user-friendly name for the template. This name
27
27
  * could appear on a menu of feature choices displayed in the client editing
28
28
  * environment.
29
29
  */
30
- name?: string;
30
+ name?: string | null;
31
31
  /**
32
32
  * A feature object representing a prototypical feature for the template.
33
33
  */
34
- prototype?: FeatureJson;
34
+ prototype?: FeatureJson | null;
35
35
  }
@@ -17,17 +17,17 @@ export interface TiledElevationServiceLayerJson extends OperationalLayerJsonBase
17
17
  * The URL to the layer.If the layer is not from a web service but rather a
18
18
  * feature collection, then the url property is omitted.
19
19
  */
20
- url?: string;
20
+ url?: string | null;
21
21
  /**
22
22
  * Optional string containing the item ID of the service if it's registered
23
23
  * on ArcGIS Online or your organization's portal.
24
24
  */
25
- itemId?: string;
25
+ itemId?: string | null;
26
26
  /**
27
27
  * For offline data, a path to an ArcGIS Runtime supported raster data file.
28
28
  * A URI format is used, starting with file: followed by a file system path.
29
29
  * A relative path must be from the file which defines the layer. For
30
30
  * example `file:../data/raster_data/beijing.tif`.
31
31
  */
32
- path?: string;
32
+ path?: string | null;
33
33
  }
@@ -14,7 +14,7 @@ export interface TiledImageServiceLayerJson extends OperationalLayerJsonBase, Ba
14
14
  * A sequence of custom parameters appended to the URL of all requests
15
15
  * related to supporting ArcGIS layer types.
16
16
  */
17
- customParameters?: Record<string, unknown>;
17
+ customParameters?: Record<string, unknown> | null;
18
18
  /**
19
19
  * The type of layer.
20
20
  */
@@ -22,11 +22,11 @@ export interface TiledImageServiceLayerJson extends OperationalLayerJsonBase, Ba
22
22
  /**
23
23
  * URL to the ArcGIS Server Image Service.
24
24
  */
25
- url?: string;
25
+ url?: string | null;
26
26
  /**
27
27
  * An object that defines the attribute schema and drawing information for a
28
28
  * layer drawn using client-side graphics. See layerDefinition properties
29
29
  * table.
30
30
  */
31
- layerDefinition?: LayerDefinitionJson;
31
+ layerDefinition?: LayerDefinitionJson | null;
32
32
  }
@@ -15,14 +15,14 @@ export interface TiledMapServiceLayerJson extends OperationalLayerJsonBase, Base
15
15
  * A sequence of custom parameters appended to the URL of all requests
16
16
  * related to supporting ArcGIS layer types.
17
17
  */
18
- customParameters?: Record<string, unknown>;
18
+ customParameters?: Record<string, unknown> | null;
19
19
  /**
20
20
  * NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating
21
21
  * the display levels of the basemap layer. Only applicable for
22
22
  * TiledMapService layers. All tiled map service layers should share the
23
23
  * same tiling scheme. This property cannot be set via the Map Viewer UI.
24
24
  */
25
- displayLevels?: number[];
25
+ displayLevels?: number[] | null;
26
26
  /**
27
27
  * Exclusion areas define extent areas where no data will be fetched for a
28
28
  * layer. NOTE: Applicable if used as a baseMapLayer. An array of
@@ -34,34 +34,34 @@ export interface TiledMapServiceLayerJson extends OperationalLayerJsonBase, Base
34
34
  * The geometry defining the area where no data will be fetched. Only
35
35
  * extent is supported.
36
36
  */
37
- geometry?: ExtentJson;
37
+ geometry?: ExtentJson | null;
38
38
  /**
39
39
  * The zoom level where the exclusion ends.
40
40
  */
41
- maxScale?: number;
41
+ maxScale?: number | null;
42
42
  /**
43
43
  * The zoom level where the exclusion ends.
44
44
  */
45
- maxZoom?: number;
45
+ maxZoom?: number | null;
46
46
  /**
47
47
  * The zoom level where the exclusion starts.
48
48
  */
49
- minScale?: number;
49
+ minScale?: number | null;
50
50
  /**
51
51
  * The zoom level where the exclusion starts.
52
52
  */
53
- minZoom?: number;
54
- };
53
+ minZoom?: number | null;
54
+ } | null;
55
55
  /**
56
56
  * Optional string containing the item ID of the service if it's registered
57
57
  * on ArcGIS Online or your organization's portal.
58
58
  */
59
- itemId?: string;
59
+ itemId?: string | null;
60
60
  /**
61
61
  * An array of layer objects defining the styling, geometry, and attribute
62
62
  * information for the features.
63
63
  */
64
- layers?: SublayerJson[];
64
+ layers?: SublayerJson[] | null;
65
65
  /**
66
66
  * The type of layer.
67
67
  */
@@ -70,9 +70,9 @@ export interface TiledMapServiceLayerJson extends OperationalLayerJsonBase, Base
70
70
  * The path to the supporting offline layer. Mobile only. Only valid in MMAP
71
71
  * JSON.
72
72
  */
73
- path?: string;
73
+ path?: string | null;
74
74
  /**
75
75
  * URL to the ArcGIS Server tiled Map Service.
76
76
  */
77
- url?: string;
77
+ url?: string | null;
78
78
  }
@@ -12,17 +12,17 @@ export interface TypeJson {
12
12
  /**
13
13
  * A set of domain objects for each domain in the type.
14
14
  */
15
- domains?: Record<string, DomainJson>;
15
+ domains?: Record<string, DomainJson> | null;
16
16
  /**
17
17
  * A unique numerical ID for the type.
18
18
  */
19
- id?: number | string;
19
+ id?: number | string | null;
20
20
  /**
21
21
  * A string containing a user-friendly name for the type. This might be
22
22
  * shown on a menu of feature types that editors can create in the
23
23
  * collection.
24
24
  */
25
- name?: string;
25
+ name?: string | null;
26
26
  /**
27
27
  * An array of template objects describing features that can be created in
28
28
  * this layer. Templates are used with map notes, other feature collections,
@@ -38,5 +38,5 @@ export interface TypeJson {
38
38
  * named Copper pipe containing two templates: one whose DIAMETER property
39
39
  * is 12 and another whose DIAMETER property is 10.
40
40
  */
41
- templates?: TemplateJson[];
41
+ templates?: TemplateJson[] | null;
42
42
  }
@@ -13,12 +13,12 @@ export interface VectorTileLayerJson extends OperationalLayerJsonBase, BasemapLa
13
13
  * A sequence of custom parameters appended to the URL of all requests
14
14
  * related to supporting ArcGIS layer types.
15
15
  */
16
- customParameters?: Record<string, unknown>;
16
+ customParameters?: Record<string, unknown> | null;
17
17
  /**
18
18
  * Optional string containing the item ID of the service if it's registered
19
19
  * on ArcGIS Online or your organization's portal.
20
20
  */
21
- itemId?: string;
21
+ itemId?: string | null;
22
22
  /**
23
23
  * The type of layer.
24
24
  */
@@ -27,11 +27,11 @@ export interface VectorTileLayerJson extends OperationalLayerJsonBase, BasemapLa
27
27
  * The path to the supporting offline layer. Mobile only. Only valid in MMAP
28
28
  * JSON.
29
29
  */
30
- path?: string;
30
+ path?: string | null;
31
31
  /**
32
32
  * A url to a JSON file containing the stylesheet information used to render
33
33
  * the layer. You may also pass an object containing the stylesheet
34
34
  * information identical to the JSON file.
35
35
  */
36
- styleUrl?: string;
36
+ styleUrl?: string | null;
37
37
  }
@@ -14,19 +14,19 @@ export interface ViewpointJson {
14
14
  * The camera defines the position, tilt, and heading of the point from
15
15
  * which the SceneView's visible extent is observed.
16
16
  */
17
- camera?: CameraJson;
17
+ camera?: CameraJson | null;
18
18
  /**
19
19
  * The rotation of due north in relation to the top of the view in degrees.
20
20
  */
21
- rotation?: number;
21
+ rotation?: number | null;
22
22
  /**
23
23
  * The scale of the viewpoint.
24
24
  */
25
- scale?: number;
25
+ scale?: number | null;
26
26
  /**
27
27
  * The target geometry framed by the viewpoint.
28
28
  */
29
- targetGeometry?: GeometryJson;
29
+ targetGeometry?: GeometryJson | null;
30
30
  }
31
31
  /**
32
32
  * The camera defines the position, tilt, and heading of the point from which
@@ -41,7 +41,7 @@ export interface CameraJson {
41
41
  * top of the screen. It increases as the view rotates clockwise. The angles
42
42
  * are always normalized between 0 and 360 degrees.
43
43
  */
44
- heading?: number;
44
+ heading?: number | null;
45
45
  /**
46
46
  * The position of the camera defined by a map point.
47
47
  */
@@ -52,5 +52,5 @@ export interface CameraJson {
52
52
  * straight down at the surface and 90 degrees when the camera is looking
53
53
  * parallel to the surface.
54
54
  */
55
- tilt?: number;
55
+ tilt?: number | null;
56
56
  }
@@ -15,17 +15,17 @@ export interface WFSLayerJson extends OperationalLayerJsonBase {
15
15
  * Indicates whether to allow a client to ignore popups defined by the
16
16
  * service item.
17
17
  */
18
- disablePopup?: boolean;
18
+ disablePopup?: boolean | null;
19
19
  /**
20
20
  * Optional string containing the item ID of the service if it's registered
21
21
  * on ArcGIS Online or your organization's portal.
22
22
  */
23
- itemId?: string;
23
+ itemId?: string | null;
24
24
  /**
25
25
  * A layerDefinition object defining the attribute schema and drawing
26
26
  * information for the layer.
27
27
  */
28
- layerDefinition?: LayerDefinitionJson;
28
+ layerDefinition?: LayerDefinitionJson | null;
29
29
  /**
30
30
  * The type of layer.
31
31
  */
@@ -33,27 +33,27 @@ export interface WFSLayerJson extends OperationalLayerJsonBase {
33
33
  /**
34
34
  * Number where 0 means 'snapshot' and 1 means 'ondemand'.
35
35
  */
36
- mode?: 0 | 1;
36
+ mode?: 0 | 1 | null;
37
37
  /**
38
38
  * A PopupInfo object defining the content of pop-up windows when you click
39
39
  * or query a feature.
40
40
  */
41
- popupInfo?: PopupInfoJson;
41
+ popupInfo?: PopupInfoJson | null;
42
42
  /**
43
43
  * Indicates whether to display labels for this layer. If true, labels will
44
44
  * appear as defined in the labelingInfo property.
45
45
  */
46
- showLabels?: boolean;
46
+ showLabels?: boolean | null;
47
47
  /**
48
48
  * The URL to the layer. If the layer is not from a web service but rather a
49
49
  * feature collection, than the url property is omitted.
50
50
  */
51
- url?: string;
51
+ url?: string | null;
52
52
  /**
53
53
  * Object that defines and provides information about layers in a WFS
54
54
  * service.
55
55
  */
56
- wfsInfo?: WFSInfoJson;
56
+ wfsInfo?: WFSInfoJson | null;
57
57
  }
58
58
  /**
59
59
  * Object that defines and provides information about layers in a WFS service.
@@ -67,34 +67,34 @@ export interface WFSInfoJson {
67
67
  * requests. These parameters are applied to GetCapabilities,
68
68
  * DescribeFeatureType, and GetFeatures.
69
69
  */
70
- customParameters?: Record<string, string>;
70
+ customParameters?: Record<string, string> | null;
71
71
  /**
72
72
  * URL of the WFS service operation.
73
73
  */
74
- featureUrl?: string;
74
+ featureUrl?: string | null;
75
75
  /**
76
76
  * Set this to limit the number of requested features that a GetFeature
77
77
  * request presents.
78
78
  */
79
- maxFeatures?: number;
79
+ maxFeatures?: number | null;
80
80
  /**
81
81
  * The name of the WFS layer. This is used to set layer visibility.
82
82
  */
83
- name?: string;
83
+ name?: string | null;
84
84
  /**
85
85
  * List of supported spatial reference IDs.
86
86
  */
87
- supportedSpatialReferences?: number[];
87
+ supportedSpatialReferences?: number[] | null;
88
88
  /**
89
89
  * Boolean value indicating whether X and Y axis are flipped.
90
90
  */
91
- swapXY?: boolean;
91
+ swapXY?: boolean | null;
92
92
  /**
93
93
  * Value indicating which version of the WFS specification is used.
94
94
  */
95
- version?: string;
95
+ version?: string | null;
96
96
  /**
97
97
  * String indicating namespace.
98
98
  */
99
- wfsNamespace?: string;
99
+ wfsNamespace?: string | null;
100
100
  }
@@ -16,33 +16,33 @@ export interface WMSLayerJson extends OperationalLayerJsonBase, BasemapLayerJson
16
16
  * This is copied from the capabilities document exposed by the WMS
17
17
  * service.
18
18
  */
19
- copyright?: string;
19
+ copyright?: string | null;
20
20
  /**
21
21
  * A sequence of custom parameters to WMS layer requests. These parameters
22
22
  * are applied to GetMap and GetFeatureInfo requests. The
23
23
  * customLayerParameters property takes precedence if customParameters is
24
24
  * also present.
25
25
  */
26
- customLayerParameters?: Record<string, unknown>;
26
+ customLayerParameters?: Record<string, unknown> | null;
27
27
  /**
28
28
  * A sequence of custom parameters to all WMS requests. These parameters are
29
29
  * applied to GetCapabilities, GetMap, and GetFeatureInfo requests. If used
30
30
  * with the customLayerParameters property, customParameters will not take
31
31
  * precedence.
32
32
  */
33
- customParameters?: Record<string, unknown>;
33
+ customParameters?: Record<string, unknown> | null;
34
34
  /**
35
35
  * The rectangular map extent that should be requested from the service.
36
36
  */
37
- extent?: number[][];
37
+ extent?: number[][] | null;
38
38
  /**
39
39
  * Format of the Feature.
40
40
  */
41
- featureInfoFormat?: "text/html" | "text/plain";
41
+ featureInfoFormat?: "text/html" | "text/plain" | null;
42
42
  /**
43
43
  * URL of the Feature.
44
44
  */
45
- featureInfoUrl?: string;
45
+ featureInfoUrl?: string | null;
46
46
  /**
47
47
  * A string containing the image format to be requested from a WMS service.
48
48
  */
@@ -51,12 +51,12 @@ export interface WMSLayerJson extends OperationalLayerJsonBase, BasemapLayerJson
51
51
  * Optional string containing the item ID of the service if it's registered
52
52
  * on ArcGIS Online or your organization's portal.
53
53
  */
54
- itemId?: string;
54
+ itemId?: string | null;
55
55
  /**
56
56
  * An array of wms sub layer objects defining the styling, geometry, and
57
57
  * attribute information for the features.
58
58
  */
59
- layers?: WMSSublayerJson[];
59
+ layers?: WMSSublayerJson[] | null;
60
60
  /**
61
61
  * Type of the layer.
62
62
  */
@@ -64,38 +64,38 @@ export interface WMSLayerJson extends OperationalLayerJsonBase, BasemapLayerJson
64
64
  /**
65
65
  * URL to legend.
66
66
  */
67
- legendUrl?: string;
67
+ legendUrl?: string | null;
68
68
  /**
69
69
  * The URL of the WMS map. You should also supply the url property, which is
70
70
  * the URL of the WMS capabilities document.
71
71
  */
72
- mapUrl?: string;
72
+ mapUrl?: string | null;
73
73
  /**
74
74
  * A number defining the maximum height, in pixels, that should be requested
75
75
  * from the service.
76
76
  */
77
- maxHeight?: number;
77
+ maxHeight?: number | null;
78
78
  /**
79
79
  * A number defining the maximum width, in pixels, that should be requested
80
80
  * from the service.
81
81
  */
82
- maxWidth?: number;
82
+ maxWidth?: number | null;
83
83
  /**
84
84
  * An array of numbers containing well-known IDs for spatial references
85
85
  * supported by the service.
86
86
  */
87
- spatialReferences?: number[];
87
+ spatialReferences?: number[] | null;
88
88
  /**
89
89
  * The URL to the layer.
90
90
  */
91
- url?: string;
91
+ url?: string | null;
92
92
  /**
93
93
  * A string containing the version number of the service.
94
94
  */
95
- version?: string;
95
+ version?: string | null;
96
96
  /**
97
97
  * An array of layers that should appear visible. The array contains the
98
98
  * names of the visible layers.
99
99
  */
100
- visibleLayers?: string[];
100
+ visibleLayers?: string[] | null;
101
101
  }
@@ -9,22 +9,22 @@ export interface WMSSublayerJson {
9
9
  /**
10
10
  * A string URL to a legend graphic for the layer.
11
11
  */
12
- legendUrl?: string;
12
+ legendUrl?: string | null;
13
13
  /**
14
14
  * A string containing a unique name for the layer.
15
15
  */
16
- name?: string;
16
+ name?: string | null;
17
17
  /**
18
18
  * Boolean specifying whether a layer is queryable or not.
19
19
  */
20
- queryable?: boolean;
20
+ queryable?: boolean | null;
21
21
  /**
22
22
  * Boolean specifying whether to display popup or not.
23
23
  */
24
- showPopup?: boolean;
24
+ showPopup?: boolean | null;
25
25
  /**
26
26
  * A user-friendly string title for the layer that can be used in a table of
27
27
  * contents.
28
28
  */
29
- title?: string;
29
+ title?: string | null;
30
30
  }