@arcgis/core 5.2.0-next.33 → 5.2.0-next.34

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 (210) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{4e803d12486c8de4c901.js → 0087ad36f7d38fc7fe11.js} +18 -18
  3. package/assets/esri/core/workers/chunks/{39c994536ce6c1e5c956.js → 03350a56f840cffe5459.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{2628136bf9f47d238a24.js → 050aba7089318e1c7d53.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{dd5dddf7e422216d3806.js → 0a2f08298a3c932614f2.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{a844c4e031e77db11478.js → 0df978697328b6453c94.js} +1 -1
  7. package/assets/esri/core/workers/chunks/0f8fcbd0650b6a924f75.js +1 -0
  8. package/assets/esri/core/workers/chunks/{83ae56c7fa8d84865605.js → 0f976bfb7db98c2c0e05.js} +1 -1
  9. package/assets/esri/core/workers/chunks/10510f76f8538c2dfb84.js +1 -0
  10. package/assets/esri/core/workers/chunks/{3f63b14b53b5ca716e3a.js → 18c4c437ded8bfbd3305.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{b60f24a6c777301803f4.js → 1958facb000b6c16bfe4.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{1664434dc7a67c8ce453.js → 1ad5fcae6d6a9801cf58.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{390fda094fa8695d98cf.js → 22c447fcc9a28afeb6e3.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{7656900713e55036c3c1.js → 29542a3d7f3fa8d42380.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{1e386475937e02b3f523.js → 2b669473aa2c7cfb63c7.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{c8091e8fd7ca43a4490a.js → 2bb3494659609594c4ca.js} +1 -1
  17. package/assets/esri/core/workers/chunks/2c00f89030c7a4201033.js +2 -0
  18. package/assets/esri/core/workers/chunks/{b75a4753cea6544da8bb.js → 2c61bb25578f73ba49bc.js} +1 -1
  19. package/assets/esri/core/workers/chunks/2d92f0042facb55edcff.js +1 -0
  20. package/assets/esri/core/workers/chunks/2da797ae5af9d2ede42d.js +1 -0
  21. package/assets/esri/core/workers/chunks/{34eb22ee13df24271532.js → 2e495a28494c2351837b.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{a0b78cbeb0e53107d819.js → 367a3031abbeff0c0090.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{aba7a053015a9738d8a0.js → 368db1420b8520beae05.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{7832d94f35b79e27ee51.js → 37dc6a8495f1f44e2d45.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{92458803531fdfe1557a.js → 38a6a7c56c592f336a12.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{c63b315c6b76b4860fc5.js → 39ff5b2a05a90e1cb214.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{0a52373c4ba652e0ee0f.js → 3b914ca36e7e2b00cfe6.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{f6afc597eaf2afa9a4a0.js → 3dd8145ef89f32920177.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{b289c46ce2dc04d32e81.js → 3e8fa2a7a36881234479.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{4ecc345c3732f7fc130f.js → 42b1c526c4c9636a169d.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{9508fa53da5f92a0ab70.js → 4316b78fc36bfd893a90.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{5bf01e0eff8a78b65e9e.js → 4656a4bf430d7eed1465.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{43ef6dee2e1d9ed7885e.js → 472ec242cd3070e6acfe.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{1bbf5f5da5842b93f638.js → 4f08b69f4a33a114c5f7.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{c60b4f2dd5fccdf362a7.js → 514ab968c0d75062e6ab.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{ba1c4a8794ac55942e35.js → 51d7145f748b4865de7f.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{2f40193d1b2e534c5226.js → 570a4725b2a4a19c5148.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{1305690054214a9cf48d.js → 586ca90e46f5cbdfeece.js} +1 -1
  39. package/assets/esri/core/workers/chunks/595401947e74a0a67144.js +1 -0
  40. package/assets/esri/core/workers/chunks/{70cb825bb37f1977d2ab.js → 59c22bab85f9cdbb9948.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{b624796ff4a9d4c406bf.js → 61efc7f5fab1c2b1f764.js} +1 -1
  42. package/assets/esri/core/workers/chunks/{c593539c2cce7a2b9d44.js → 6596b12bb286a0b45a68.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{bb1fad01d9f070e7d795.js → 661f50cb97604453f942.js} +1 -1
  44. package/assets/esri/core/workers/chunks/{51a53011478e0cf96e0b.js → 6c02493a1c1deff49c7e.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{71f09e34d56c9fe5c307.js → 6d72a1bdc2664df62c4c.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{4ea325c829d3b82854b1.js → 7085b4c655a19694da04.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{9f3d37e5f42bf1529673.js → 71b672259bac2befd9c7.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{a536904fe6f3b16fdbdc.js → 757982a73174aa7ab0d1.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{d0321dd4b5b2d863eecd.js → 777b16b76db406c99c69.js} +1 -1
  50. package/assets/esri/core/workers/chunks/7a59d39010ed33b8fabb.js +1 -0
  51. package/assets/esri/core/workers/chunks/{32b5d2537feefe6e94a3.js → 7d65a8ec5e1f871b9321.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{fe42fa2144691b9186fd.js → 828b64624c76156a6416.js} +1 -1
  53. package/assets/esri/core/workers/chunks/857532de88f21e8c3466.js +1 -0
  54. package/assets/esri/core/workers/chunks/85a280ee915010a8da3c.js +1 -0
  55. package/assets/esri/core/workers/chunks/{3d1e5bfd88771d4a0bf6.js → 866950e9ab96aebc6b32.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{8c62e2dabd1f1e13d244.js → 86731e276b31453bc235.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{977e6f589bd266d6067d.js → 87c7092282214f5b78b8.js} +4 -4
  58. package/assets/esri/core/workers/chunks/{25932fa010f9a32475c1.js → 88ec63501fa2f6fdadca.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{af3b060fdfa3b6174340.js → 8aa5bbf9a9b09815725a.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{2353fbc1ff4481dcfb1f.js → 8b68a69ab8fb1679e7b2.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{35b3ff25f5fe24fe15e2.js → 96860b6035e0b06672dd.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{e2f33945d838183a2192.js → 98685bd149dee1d6dc99.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{122892f365f5327d290c.js → 9de9cec5c644bc452294.js} +1 -1
  64. package/assets/esri/core/workers/chunks/a0f7e37d385fc68b138d.js +1 -0
  65. package/assets/esri/core/workers/chunks/{940ebb13618d38c6b459.js → a2a688dd2ed4565e01ff.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{47f21b65065558d583ca.js → a2e754df3215e8b00a8f.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{f59b76fde2cbd17f64b3.js → a3ae7c41832c7a8b0570.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{6dc60afb0c39bbb001a3.js → a3e86830460e52706a4d.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{c030a974a63155f450e9.js → a58b8903ae17acf117d6.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{c4a2ec2e5897300163ac.js → ab3d1c00ef514b61ce0b.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{b324bdb9c74fc3f956db.js → add79af151e3eb560599.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{3b3f91a61e3f29af1fb2.js → ae5363956b4467208e04.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{38b69fba9ae4ccbae6b7.js → afaf6874a645854c3357.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{36913f0f944a9eb82cd3.js → b24b7411a73d1da87c30.js} +1 -1
  75. package/assets/esri/core/workers/chunks/b7d7bfcb089a3f1a38b6.js +1 -0
  76. package/assets/esri/core/workers/chunks/{a3393780655152102c45.js → b97b83159fec34f383af.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{8ade399db21938822a7c.js → bec660ee2e7828f965e2.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{6b56971783bf4c31a563.js → c19fe4f31e4ef84bbcf6.js} +1 -1
  79. package/assets/esri/core/workers/chunks/{5cccb8b06014ccef30f8.js → c228b058dd91bf0e1102.js} +1 -1
  80. package/assets/esri/core/workers/chunks/c2a02c33462bcdabd39d.js +1 -0
  81. package/assets/esri/core/workers/chunks/{cb30e8a66d6dcfebd439.js → cda2bae39135e5519d8c.js} +1 -1
  82. package/assets/esri/core/workers/chunks/{de83c177f8a1234a5b2e.js → cffef41791f0cfa6c26c.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{70c94bcfa20453134037.js → d1928a8c86a8966e5582.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{58e0e50b6c3abaa4798f.js → d26b1a9f47b4b2744c89.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{2baee42e1797a709fe4b.js → d4a96f0402172787823a.js} +1 -1
  86. package/assets/esri/core/workers/chunks/d7e17df1c3675bf3633e.js +1 -0
  87. package/assets/esri/core/workers/chunks/dfae4440afe0ca7c5b25.js +1 -0
  88. package/assets/esri/core/workers/chunks/{bd260798b8de09a1eeb2.js → e3a4695c31d3f9d55213.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{197b9f8483fad2258650.js → e6263e1983e703befe48.js} +1 -1
  90. package/assets/esri/core/workers/chunks/{6991ba1b204668e7d4da.js → e67a9f9298d63026e7f6.js} +1 -1
  91. package/assets/esri/core/workers/chunks/{6f240fe78b299e6c4fcc.js → eeee7421f64a52074ff4.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{1e109a521ca8772fdf04.js → eef7e0bee19c4258ba55.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{49a45083a9a155614c1c.js → ef32e454012f3b0e3f77.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{83ce38342796bd6d73ce.js → f137e544076482e348ad.js} +1 -1
  95. package/assets/esri/core/workers/chunks/{e181d0f5562878b3dc01.js → f72f38e7609756a7f8ea.js} +1 -1
  96. package/assets/esri/core/workers/chunks/{ef5d11581a98fb333ad2.js → f83e3ad67b60744afd6d.js} +1 -1
  97. package/assets/esri/core/workers/chunks/{456b77b8f13933a75b68.js → fe8032905992e6574714.js} +3 -3
  98. package/assets/esri/core/workers/chunks/{2f02880a7f081eb210cd.js → fec9ce6ad634c904ffdf.js} +1 -1
  99. package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
  100. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  101. package/chunks/GaussianSplatComposition.glsl.js +4 -4
  102. package/chunks/OITAddEmission.glsl.js +6 -0
  103. package/chunks/OITFilterOpaque.glsl.js +4 -0
  104. package/chunks/lerc-wasm.js +1 -1
  105. package/config.js +1 -1
  106. package/core/workers/workerFactory.js +1 -1
  107. package/form/elements/inputs/attachments/AttachmentInput.js +1 -1
  108. package/geometry/support/frustum.js +1 -1
  109. package/geometry/support/plane.js +1 -1
  110. package/kernel.js +1 -1
  111. package/layers/AnnotationFeatureLayer.d.ts +110 -67
  112. package/layers/CSVLayer.d.ts +144 -175
  113. package/layers/CatalogLayer.d.ts +129 -132
  114. package/layers/DimensionFeatureLayer.d.ts +106 -63
  115. package/layers/FeatureLayer.d.ts +77 -150
  116. package/layers/GeoJSONLayer.d.ts +111 -168
  117. package/layers/OrientedImageryLayer.d.ts +125 -79
  118. package/layers/ParquetLayer.d.ts +116 -75
  119. package/layers/SubtypeGroupLayer.d.ts +86 -111
  120. package/layers/WFSLayer.d.ts +157 -127
  121. package/layers/catalog/CatalogFootprintLayer.d.ts +142 -129
  122. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  123. package/layers/graphics/sources/support/QueryTask.js +1 -1
  124. package/layers/mixins/EditBusLayer.js +1 -1
  125. package/layers/pointCloudFilters/PointCloudBitfieldFilter.d.ts +1 -1
  126. package/layers/video/VideoController.js +1 -1
  127. package/package.json +2 -2
  128. package/support/revision.js +1 -1
  129. package/views/2d/engine/webgl/definitions.js +1 -1
  130. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
  131. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  132. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  133. package/views/2d/input/MapViewInputManager.js +1 -1
  134. package/views/2d/layers/support/annodime/DimensionInfo.js +1 -1
  135. package/views/2d/layers/support/annodime/virtualFields.js +1 -1
  136. package/views/3d/analysis/Dimension/LengthDimensionSubTool.js +1 -1
  137. package/views/3d/input/SceneInputManager.js +1 -1
  138. package/views/3d/interactive/manipulators/RotateManipulator.js +1 -1
  139. package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
  140. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  141. package/views/3d/terrain/PatchRenderData.js +1 -1
  142. package/views/3d/webgl-engine/core/shaderLibrary/util/emissionFilter.glsl.js +2 -0
  143. package/views/3d/webgl-engine/effects/transparency/OITAddEmission.glsl.js +2 -0
  144. package/views/3d/webgl-engine/effects/transparency/OITAddEmissionTechnique.js +2 -0
  145. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  146. package/views/3d/webgl-engine/effects/transparency/OITFilterOpaque.glsl.js +2 -0
  147. package/views/3d/webgl-engine/effects/transparency/OITFilterOpaqueTechnique.js +2 -0
  148. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  149. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  150. package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
  151. package/views/3d/webgl-engine/lib/intersectorUtils.js +1 -1
  152. package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
  153. package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
  154. package/views/3d/webgl-engine/lib/verticalOffsetUtils.js +1 -1
  155. package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
  156. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  157. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  158. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  159. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  160. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  161. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  162. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  163. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  164. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  165. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  166. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  167. package/views/3d/webgl-engine/materials/TriangleMaterial.js +1 -1
  168. package/views/3d/webgl-engine/materials/intersectWithPolygonOffset.js +1 -1
  169. package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
  170. package/views/3d/webgl-engine/shaders/CheckerBoardTechniqueConfiguration.js +1 -1
  171. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  172. package/views/3d/webgl-engine/shaders/GaussianSplatComposition.glsl.js +1 -1
  173. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  174. package/views/3d/webgl-engine/shaders/ImageMaterialTechniqueConfiguration.js +1 -1
  175. package/views/3d/webgl-engine/shaders/LineMarkerTechniqueConfiguration.js +1 -1
  176. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +3 -3
  177. package/views/input/BrowserEventSource.js +1 -1
  178. package/views/input/handlers/PreventTouchSelection.js +2 -0
  179. package/views/layers/FeatureLikeLayerView.d.ts +9 -64
  180. package/views/layers/GraphicsLayerView.d.ts +1 -1
  181. package/views/layers/types.d.ts +8 -1
  182. package/widgets/BatchAttributeForm/VisibleElements.js +1 -1
  183. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  184. package/widgets/BatchAttributeForm.js +1 -1
  185. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  186. package/widgets/Editor/VisibleElements.d.ts +14 -1
  187. package/widgets/FeatureForm.js +1 -1
  188. package/assets/esri/core/workers/chunks/209460f8aae3f9f8c9b8.js +0 -1
  189. package/assets/esri/core/workers/chunks/4be31fcc5482a2526d2b.js +0 -1
  190. package/assets/esri/core/workers/chunks/58acc18b92533166135d.js +0 -1
  191. package/assets/esri/core/workers/chunks/6162f6735ea4622e54d8.js +0 -1
  192. package/assets/esri/core/workers/chunks/718d2d430c1a5a940b83.js +0 -1
  193. package/assets/esri/core/workers/chunks/a6379a8df8c08b729b9c.js +0 -1
  194. package/assets/esri/core/workers/chunks/b0253fe7b3529bc22270.js +0 -1
  195. package/assets/esri/core/workers/chunks/bd0829eb79efff5b7223.js +0 -1
  196. package/assets/esri/core/workers/chunks/c193b4a175a544c4fcd6.js +0 -1
  197. package/assets/esri/core/workers/chunks/d28169816c768d55aa09.js +0 -1
  198. package/assets/esri/core/workers/chunks/d7c0ab622caf495dbcef.js +0 -1
  199. package/assets/esri/core/workers/chunks/f10a339b16d84b650012.js +0 -2
  200. package/assets/esri/core/workers/chunks/f69d3ff8a69c1985bca3.js +0 -1
  201. package/assets/esri/core/workers/chunks/f847a4846c427f671455.js +0 -1
  202. package/chunks/OITBlendEmission.glsl.js +0 -6
  203. package/chunks/OITDimOpaque.glsl.js +0 -4
  204. package/views/2d/layers/support/annodime/fields.js +0 -2
  205. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +0 -2
  206. package/views/3d/webgl-engine/effects/transparency/OITBlendEmission.glsl.js +0 -2
  207. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechnique.js +0 -2
  208. package/views/3d/webgl-engine/effects/transparency/OITDimOpaque.glsl.js +0 -2
  209. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +0 -2
  210. /package/assets/esri/core/workers/chunks/{f10a339b16d84b650012.js.LICENSE.txt → 2c00f89030c7a4201033.js.LICENSE.txt} +0 -0
@@ -486,13 +486,12 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
486
486
  */
487
487
  createQuery(): Query;
488
488
  /**
489
- * Executes an [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/) against a CatalogLayer, which groups features into bins based on ranges in numeric or date fields, and returns an
489
+ * Executes a [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/) against a [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/), which groups features into bins based on ranges in numeric or date fields, and returns a
490
490
  * [AttributeBinsFeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsFeatureSet/) containing the series of bins. Please refer to the [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/) document for more detailed information
491
491
  * on how to configure the bin parameters.
492
492
  *
493
- * Binned data can condense complex information into meaningful insight. This query allows you to classify data into meaningful categories and summarize the data within each bin with summary statistics.
494
- * Binned data can be effectively visualized in histograms (or bar charts), providing clearer insights into data distributions and trends.
495
- * It can reveal underlying patterns that might be obscured in raw data. For example, bins can show concentrations of values in common ranges.
493
+ * Binned data can condense complex information into meaningful insight. This query allows you to classify data into meaningful categories and summarize the data
494
+ * within each bin with summary statistics.
496
495
  *
497
496
  * > [!WARNING]
498
497
  * >
@@ -501,177 +500,175 @@ export default class CatalogLayer extends CatalogLayerSuperclass {
501
500
  * > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/).
502
501
  *
503
502
  * @param binsQuery - Specifies the parameters of the `queryAttributeBins()` operation. The [AttributeBinsQuery.binParameters](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/#binParameters) property must be set.
504
- * @param options - An object with the following properties.
505
- * @returns When resolved, returns an [AttributeBinsFeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsFeatureSet/) containing
506
- * a series of bins. Each feature in the AttributeBinsFeatureSet represents a bin. The attributes of each feature contains statistics summarizing the data in the bin, including count, average, standard deviation, etc.
503
+ * @param options - Abort options that can be passed into an asynchronous method to allow termination.
504
+ * @returns When resolved, returns a [AttributeBinsFeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsFeatureSet/) containing a series of bins. Each feature in the AttributeBinsFeatureSet
505
+ * represents a bin. The attributes of each feature contain statistics summarizing the data in the bin, including count, average, standard deviation, etc.
507
506
  * @since 4.33
508
507
  * @see [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/)
509
508
  * @see [Sample - Attribute Bins Query](https://developers.arcgis.com/javascript/latest/sample-code/query-attribute-bins/)
510
- * @example
511
- * // Query the temperature field in the feature layer and create a histogram
512
- * // Analyze temperature data over a year, create 100 bins for different temperature ranges
513
- * // to assess frequency and identify patterns.
514
- * const binQuery = new AttributeBinsQuery({
515
- * where: "UnitTop = 0",
516
- * binParameters: new AutoIntervalBinParameters({
517
- * bins: 100,
518
- * field: "temp",
519
- * start: 0, // lowest temp value to be included in the bin query
520
- * end: 30 // highest temp value to be included
521
- * })
522
- * });
523
- *
524
- * layer.queryAttributeBins(query).then((results) => {
525
- * const bins = results.features.map((bin) => {
526
- * return {
527
- * minValue: bin.attributes.lowerBoundary,
528
- * maxValue: bin.attributes.upperBoundary,
529
- * count: bin.attributes.temperature_count,
530
- * };
531
- * });
532
- *
533
- * // get the lower boundary of the first bin
534
- * const min = results.features[0].attributes.lowerBoundary;
535
- * // get the upper boundary of the last bin
536
- * const max = results.features[results.features.length - 1].attributes.upperBoundary;
537
- * // calculate the average for the bins
538
- * const average = results.features[0].attributes.lowerBoundary + results.features[results.features.length - 1].attributes.upperBoundary) / 2;
539
- *
540
- * const histogram = new Histogram({
541
- * container: "histogramDiv",
542
- * bins: bins,
543
- * min: min,
544
- * max: max,
545
- * average: average,
546
- * barCreatedFunction:(index, element) => {
547
- * element.setAttribute("fill", "#FFA500");
548
- * element.setAttribute("opacity", 0.5);
549
- * },
550
- * labelFormatFunction: (value, type) => {
551
- * return (Math.round(value)).toLocaleString();
552
- * },
553
- * dataLines: [{
554
- * value: histogram.min,
555
- * label: histogram.min.toLocaleString()
556
- * }, {
557
- * value: histogram.average,
558
- * label: histogram.average.toLocaleString()
559
- * }, {
560
- * value: histogram.max,
561
- * label: histogram.max.toLocaleString()
562
- * }]
563
- * });
564
- * });
565
509
  */
566
510
  queryAttributeBins(binsQuery: AttributeBinsQueryProperties, options?: RequestOptions): Promise<AttributeBinsFeatureSet>;
567
511
  /**
568
512
  * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and returns the [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) of features that satisfy the query. If no
569
513
  * parameters are specified, then the extent and count of all features satisfying the layer's configuration/filters are returned.
514
+ *
570
515
  *
571
- * > [!WARNING]
572
- * >
573
- * > To query for the extent of features/graphics available to or visible in the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) on the client rather than making a server-side query, you must
574
- * > use the [CatalogFootprintLayerView#queryExtent](https://developers.arcgis.com/javascript/latest/references/core/views/layers/FeatureLikeLayerView/#queryExtent) method.
575
- *
576
- * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, then the extent and count of all features
577
- * satisfying the layer's configuration/filters are returned.
578
- * @param options - An object with the following properties.
579
- * @returns When resolved, returns the extent and count of the features that satisfy the input query. See the object specification table below for details.
516
+ * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, then the extent and count of all features satisfying the layer's configuration/filters are returned.
517
+ * @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
518
+ * @returns When resolved, returns the extent and count of the features
519
+ * that satisfy the input query. See the object specification table below for details.
580
520
  * Property | Type | Description
581
521
  * ---------|------|-------------
582
522
  * count | Number | The number of features that satisfy the input query.
583
- * extent | [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) \| null | The extent of the features that satisfy the query.
523
+ * extent | [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) | The extent of the features that satisfy the query.
524
+ * @see [Sample - Zoom to extent of all features](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-queryextent/)
584
525
  * @example
526
+ * ```js
585
527
  * // Queries for the extent of all features matching the layer's configurations
586
528
  * // e.g. definitionExpression
587
- * layer.queryExtent().then(function(results){
588
- * // go to the extent of the results satisfying the query
589
- * view.goTo(results.extent);
529
+ * layer.queryExtent().then((result) =>{
530
+ * // go to the extent of the result satisfying the query
531
+ * viewElement.goTo(result.extent);
590
532
  * });
533
+ * ```
591
534
  * @example
535
+ * ```js
592
536
  * const query = new Query();
593
537
  * query.where = "region = 'Southern California'";
594
538
  *
595
- * layer.queryExtent(query).then((results) =>{
596
- * view.goTo(results.extent); // go to the extent of the results satisfying the query
539
+ * const result = await layer.queryExtent(query);
540
+ * viewElement.goTo(result.extent); // go to the extent of the result satisfying the query
597
541
  * });
542
+ * ```
598
543
  */
599
544
  queryExtent(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<{
600
545
  count: number;
601
546
  extent: Extent | null;
602
547
  }>;
603
548
  /**
604
- * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the service and returns the number of features that satisfy the query. If no parameters are specified,
605
- * then the total number of features satisfying the layer's configuration/filters is returned.
606
- *
607
- * @param query - Specifies the attributes and spatial filter of the query.
608
- * When no parameters are passed to this method, all features in the client are returned. To only return features
609
- * visible in the view, set the `geometry` parameter in the query object to the view's extent.
610
- * @param options - An object with the following properties.
611
- * @returns When resolved, returns an the number of features satisfying the query.
549
+ * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service or layer data and
550
+ * returns the number of features that satisfy the query. If no parameters are specified,
551
+ * the total number of features satisfying the layer's configuration/filters is returned.
552
+ *
553
+ *
554
+ * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, the total number of features satisfying the layer's configuration/filters is returned.
555
+ * @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
556
+ * @returns When resolved, returns the number of features that satisfy the query.
557
+ * @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
612
558
  * @example
613
- * // returns a count of all features in the layer
614
- * const count = await layer.queryFeatureCount();
615
- * console.log("Feature count: ", count);
559
+ * ```js
560
+ * // Queries for the count of all features matching the layer's configurations
561
+ * // e.g. definitionExpression
562
+ * layer.queryFeatureCount().then((numFeatures) => {
563
+ * // prints the total count to the console
564
+ * console.log(numFeatures);
565
+ * });
566
+ * ```
567
+ * @example
568
+ * ```js
569
+ * const query = new Query();
570
+ * query.where = "region = 'Southern California'";
571
+ *
572
+ * const featureCount = await layer.queryFeatureCount(query);
573
+ * console.log(featureCount); // prints the number of results satisfying the query
574
+ * ```
616
575
  */
617
576
  queryFeatureCount(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<number>;
618
577
  /**
619
- * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the service and returns a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) once the promise resolves.
620
- * A [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) contains an array of [Graphic](https://developers.arcgis.com/javascript/latest/references/core/Graphic/)
621
- * features, which can be added to the [view's graphics](https://developers.arcgis.com/javascript/latest/references/core/views/View/#graphics). This array will not be populated if zero results are found.
622
- *
623
- * @param query - Specifies the attributes and spatial filter of the query. When no parameters are passed to this method,
624
- * all features in the client are returned. To only return features visible in the view, set the `geometry` parameter in the query object to the view's extent.
625
- * @param options - An object with the following properties.
626
- * @returns When resolved, a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) containing
627
- * an array of graphic features is returned.
628
- * @see [Sample - Explore data in CatalogLayer](https://developers.arcgis.com/javascript/latest/sample-code/layers-cataloglayer-2d/)
578
+ * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against a feature service or layer data and returns a
579
+ * [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) once the promise resolves. A FeatureSet contains an array of [features](https://developers.arcgis.com/javascript/latest/references/core/Graphic/).
580
+ *
581
+ * > [!WARNING]
582
+ * >
583
+ * > **Notes**
584
+ * > - When querying a feature service with z-values and no [vertical coordinate system](https://doc.esri.com/en/arcgis-pro/latest/help/mapping/properties/vertical-coordinate-systems.html)
585
+ * > information, z-values are automatically converted to match [Query.outSpatialReference](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outSpatialReference) units.
586
+ * > Example: The service has a horizontal spatial reference using `feet` units and the query is made with `outSpatialReference`
587
+ * > based on `meter` units, then [FeatureLayer.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#queryFeatures) automatically converts the values from `feet` to `meter` units.
588
+ *
589
+ *
590
+ * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, all features satisfying the layer's configuration/filters are returned.
591
+ * @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
592
+ * @returns When resolved, returns a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) containing an array of graphic features.
593
+ * @see [Samples using queryFeatures() method](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=queryfeatures)
629
594
  * @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
630
595
  * @example
631
- * // Queries for all the features in the service
632
- * catalogLayer.queryFeatures().then((results) => {
633
- * // prints the array of result graphics to the console
634
- * console.log(results.features);
635
- * });
596
+ * ```js
597
+ * // Queries for all the features matching the layer's configurations
598
+ * // e.g. definitionExpression
599
+ * const results = await layer.queryFeatures();
600
+ * // prints the array of result graphics to the console
601
+ * console.log(results.features);
602
+ * ```
636
603
  * @example
637
- * // query all feature service types from the catalog layer
638
- * let query = new Query({
639
- * where: "cd_itemtype = 'Feature Service'",
640
- * returnGeometry: true
641
- * });
604
+ * ```js
605
+ * // create a query object to filter features by setting desired properties
606
+ * const query = new Query();
607
+ * query.where = "STATE_NAME = 'Washington'";
608
+ * query.outSpatialReference = { wkid: 102100 };
609
+ * query.returnGeometry = true;
610
+ * query.outFields = [ "CITY_NAME" ];
642
611
  *
643
- * catalogLayer.queryFeatures(query).then((results) => {
644
- * processResults(results);
645
- * })
646
- * .catch(function (error) {
647
- * console.log(error)
648
- * });
612
+ * const results = await layer.queryFeatures(query);
613
+ * console.log(results.features); // prints the array of features to the console
614
+ * ```
615
+ * @example
616
+ * ```js
617
+ * // Get a query object for the layer's current configuration
618
+ * const queryParams = layer.createQuery();
619
+ * // set a geometry for filtering features by a region of interest
620
+ * queryParams.geometry = extentForRegionOfInterest;
621
+ * // Add to the layer's current definitionExpression
622
+ * queryParams.where = queryParams.where + " AND TYPE = 'Extreme'";
623
+ *
624
+ * // query the layer with the modified params object
625
+ * const results = await layer.queryFeatures(queryParams);
626
+ * // prints the array of result graphics to the console
627
+ * console.log(results.features);
628
+ * ```
629
+ * @example
630
+ * ```js
631
+ * // query all features from the layer and only return
632
+ * // attributes specified in outFields.
633
+ * const query = { // autocasts as Query
634
+ * where: "1=1", // select all features
635
+ * returnGeometry: false,
636
+ * outFields: ["State_Name", "City_Name", "pop2010"]
637
+ * };
638
+ *
639
+ * const results = await layer.queryFeatures(query);
640
+ * console.log(results.features); // prints the array of features to the console
641
+ * ```
649
642
  */
650
643
  queryFeatures(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<FeatureSet>;
651
644
  /**
652
- * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the service and returns an array of Object IDs for features that satisfy the input query.
653
- * If no parameters are specified, then the Object IDs of all features satisfying the layer's configuration/filters are returned.
654
- *
655
- * @param query - Specifies the attributes and spatial filter of the query.
656
- * When no parameters are passed to this method, all features in the client are returned. To only return features
657
- * visible in the view, set the `geometry` parameter in the query object to the view's extent.
658
- * @param options - An object with the following properties.
659
- * @returns When resolved, returns an array of numbers representing the object IDs of the features
660
- * satisfying the query.
645
+ * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and returns an
646
+ * array of Object IDs for features that satisfy the input query. If no parameters are specified,
647
+ * then the Object IDs of all features satisfying the layer's configuration/filters are returned.
648
+ *
649
+ *
650
+ * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, then the Object IDs of all features satisfying the layer's configuration/filters are returned.
651
+ * @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
652
+ * @returns When resolved, returns an array of numbers representing the object IDs of the features satisfying the query.
653
+ * @see [Sample - Query Related Features](https://developers.arcgis.com/javascript/latest/sample-code/query-related-features/)
661
654
  * @example
662
- * // Queries for all the Object IDs of features
663
- * const result = await catalogLayer.queryObjectIds();
664
- * // prints the array of Object IDs to the console
665
- * console.log(result);
655
+ * ```js
656
+ * // Queries for all the Object IDs of features matching the layer's configurations
657
+ * // e.g. definitionExpression
658
+ * layer.queryObjectIds().then((results) => {
659
+ * // prints the array of Object IDs to the console
660
+ * console.log(results);
661
+ * });
662
+ * ```
666
663
  * @example
664
+ * ```js
667
665
  * const query = new Query({
668
- * where: "state = California"
666
+ * where: "SUB_REGION = 'Pacific'"
669
667
  * });
670
668
  *
671
- * //query objectIds of features belonging to California
672
- * catalogLayer.queryObjectIds(query).then((ids) => {
673
- * console.log(ids); // an array of object IDs
674
- * });
669
+ * const ids = await layer.queryObjectIds(query);
670
+ * console.log(ids); // an array of object IDs
671
+ * ```
675
672
  */
676
673
  queryObjectIds(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<ObjectId[]>;
677
674
  }
@@ -171,114 +171,148 @@ export default class DimensionFeatureLayer extends DimensionFeatureLayerSupercla
171
171
  */
172
172
  createQuery(): Query;
173
173
  /**
174
- * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and
175
- * returns the [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) of features that satisfy the query. If no
176
- * parameters are specified, then the extent and count of all features
177
- * satisfying the layer's configuration/filters are returned.
174
+ * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and returns the [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) of features that satisfy the query. If no
175
+ * parameters are specified, then the extent and count of all features satisfying the layer's configuration/filters are returned.
176
+ *
178
177
  *
179
178
  * > [!WARNING]
180
- * >
181
- * > To query for the extent of features/graphics available to or visible in the
182
- * > [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) on the client rather than making a server-side query, you must use the
183
- * > [DimensionFeatureLayerView.queryExtent()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/DimensionFeatureLayerView/#queryExtent) method.
179
+ * > - To query for the extent of features/graphics visible in the view on the client-side rather than making a server-side query, you must use the
180
+ * > [DimensionFeatureLayerView.queryExtent()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/DimensionFeatureLayerView/#queryExtent).
181
+ *
184
182
  *
185
- * @param query - Specifies the attributes and spatial
186
- * filter of the query. If no parameters are specified, then the extent and count of all features
187
- * satisfying the layer's configuration/filters are returned.
188
- * @param options - An object with the following properties.
183
+ * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, then the extent and count of all features satisfying the layer's configuration/filters are returned.
184
+ * @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
189
185
  * @returns When resolved, returns the extent and count of the features
190
186
  * that satisfy the input query. See the object specification table below for details.
191
187
  * Property | Type | Description
192
188
  * ---------|------|-------------
193
189
  * count | Number | The number of features that satisfy the input query.
194
- * extent | [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) \| null | The extent of the features that satisfy the query.
190
+ * extent | [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) | The extent of the features that satisfy the query.
195
191
  * @see [Sample - Zoom to extent of all features](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-queryextent/)
196
192
  * @example
193
+ * ```js
197
194
  * // Queries for the extent of all features matching the layer's configurations
198
195
  * // e.g. definitionExpression
199
- * layer.queryExtent().then((results) => {
200
- * // go to the extent of the results satisfying the query
201
- * view.goTo(results.extent);
196
+ * layer.queryExtent().then((result) =>{
197
+ * // go to the extent of the result satisfying the query
198
+ * viewElement.goTo(result.extent);
199
+ * });
200
+ * ```
201
+ * @example
202
+ * ```js
203
+ * const query = new Query();
204
+ * query.where = "region = 'Southern California'";
205
+ *
206
+ * const result = await layer.queryExtent(query);
207
+ * viewElement.goTo(result.extent); // go to the extent of the result satisfying the query
202
208
  * });
209
+ * ```
203
210
  */
204
211
  queryExtent(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<{
205
212
  count: number;
206
213
  extent: Extent | null;
207
214
  }>;
208
215
  /**
209
- * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and
216
+ * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service or layer data and
210
217
  * returns the number of features that satisfy the query. If no parameters are specified,
211
218
  * the total number of features satisfying the layer's configuration/filters is returned.
212
219
  *
220
+ *
213
221
  * > [!WARNING]
214
- * >
215
- * > To query for the count of features/graphics available to or visible in the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/)
216
- * > on the client rather than making a server-side query, you must use the
217
- * > [DimensionFeatureLayerView.queryFeatureCount()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/DimensionFeatureLayerView/#queryFeatureCount) method.
222
+ * > - To query the count of features available in the view on the client-side rather than making a server-side query, use
223
+ * > [DimensionFeatureLayerView.queryFeatureCount()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/DimensionFeatureLayerView/#queryFeatureCount).
224
+ *
218
225
  *
219
- * @param query - Specifies the attributes and
220
- * spatial filter of the query. If no parameters are specified, the total number of features
221
- * satisfying the layer's configuration/filters is returned.
222
- * @param options - An object with the following properties.
226
+ * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, the total number of features satisfying the layer's configuration/filters is returned.
227
+ * @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
223
228
  * @returns When resolved, returns the number of features that satisfy the query.
224
229
  * @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
225
230
  * @example
231
+ * ```js
226
232
  * // Queries for the count of all features matching the layer's configurations
227
233
  * // e.g. definitionExpression
228
234
  * layer.queryFeatureCount().then((numFeatures) => {
229
235
  * // prints the total count to the console
230
236
  * console.log(numFeatures);
231
237
  * });
238
+ * ```
239
+ * @example
240
+ * ```js
241
+ * const query = new Query();
242
+ * query.where = "region = 'Southern California'";
243
+ *
244
+ * const featureCount = await layer.queryFeatureCount(query);
245
+ * console.log(featureCount); // prints the number of results satisfying the query
246
+ * ```
232
247
  */
233
248
  queryFeatureCount(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<number>;
234
249
  /**
235
- * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and returns a
236
- * [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) once the promise resolves.
237
- * A [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) contains an array of [features](https://developers.arcgis.com/javascript/latest/references/core/Graphic/).
238
- * See the [querying](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#querying)
239
- * section for more information on how to query features from a layer.
250
+ * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against a feature service or layer data and returns a
251
+ * [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) once the promise resolves. A FeatureSet contains an array of [features](https://developers.arcgis.com/javascript/latest/references/core/Graphic/).
240
252
  *
241
253
  * > [!WARNING]
242
254
  * >
243
255
  * > **Notes**
244
- * >
245
- * > To query features available to or visible in the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) on the client rather than making a server-side query, you must
246
- * > use the [DimensionFeatureLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/DimensionFeatureLayerView/#queryFeatures) method.
247
- * >
248
- * > When querying a service with z-values and no [vertical coordinate system](https://doc.esri.com/en/arcgis-pro/latest/help/mapping/properties/vertical-coordinate-systems.html) information,
249
- * > the z-values will automatically be converted to match the [Query.outSpatialReference](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outSpatialReference) units.
256
+ * > - To query features visible in the view on the client-side rather than making a server-side query, use
257
+ * > [DimensionFeatureLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/DimensionFeatureLayerView/#queryFeatures).
258
+ * > - When querying a feature service with z-values and no [vertical coordinate system](https://doc.esri.com/en/arcgis-pro/latest/help/mapping/properties/vertical-coordinate-systems.html)
259
+ * > information, z-values are automatically converted to match [Query.outSpatialReference](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outSpatialReference) units.
250
260
  * > Example: The service has a horizontal spatial reference using `feet` units and the query is made with `outSpatialReference`
251
- * > based on `meter` units, then [queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/DimensionFeatureLayer/#queryFeatures) automatically converts the values from `feet` to `meter` units.
261
+ * > based on `meter` units, then [FeatureLayer.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#queryFeatures) automatically converts the values from `feet` to `meter` units.
262
+ *
252
263
  *
253
- * @param query - Specifies the attributes and spatial
254
- * filter of the query. If no parameters are specified, then all features satisfying the layer's
255
- * configuration/filters are returned.
256
- * @param options - An object with the following properties.
257
- * @returns When resolved, a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) containing
258
- * an array of graphic features is returned.
259
- * @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
264
+ * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, all features satisfying the layer's configuration/filters are returned.
265
+ * @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
266
+ * @returns When resolved, returns a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) containing an array of graphic features.
267
+ * @see [Samples using queryFeatures() method](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=queryfeatures)
260
268
  * @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
261
269
  * @example
270
+ * ```js
262
271
  * // Queries for all the features matching the layer's configurations
263
272
  * // e.g. definitionExpression
264
- * layer.queryFeatures().then((results) => {
265
- * // prints the array of result graphics to the console
266
- * console.log(results.features);
267
- * });
273
+ * const results = await layer.queryFeatures();
274
+ * // prints the array of result graphics to the console
275
+ * console.log(results.features);
276
+ * ```
268
277
  * @example
269
- * const layer = new DimensionFeatureLayer({
270
- * url: fsUrl // points to a Feature Service layer url
271
- * });
272
- *
278
+ * ```js
279
+ * // create a query object to filter features by setting desired properties
273
280
  * const query = new Query();
274
281
  * query.where = "STATE_NAME = 'Washington'";
275
282
  * query.outSpatialReference = { wkid: 102100 };
276
283
  * query.returnGeometry = true;
277
284
  * query.outFields = [ "CITY_NAME" ];
278
285
  *
279
- * layer.queryFeatures(query).then((results) => {
280
- * console.log(results.features); // prints the array of features to the console
281
- * });
286
+ * const results = await layer.queryFeatures(query);
287
+ * console.log(results.features); // prints the array of features to the console
288
+ * ```
289
+ * @example
290
+ * ```js
291
+ * // Get a query object for the layer's current configuration
292
+ * const queryParams = layer.createQuery();
293
+ * // set a geometry for filtering features by a region of interest
294
+ * queryParams.geometry = extentForRegionOfInterest;
295
+ * // Add to the layer's current definitionExpression
296
+ * queryParams.where = queryParams.where + " AND TYPE = 'Extreme'";
297
+ *
298
+ * // query the layer with the modified params object
299
+ * const results = await layer.queryFeatures(queryParams);
300
+ * // prints the array of result graphics to the console
301
+ * console.log(results.features);
302
+ * ```
303
+ * @example
304
+ * ```js
305
+ * // query all features from the layer and only return
306
+ * // attributes specified in outFields.
307
+ * const query = { // autocasts as Query
308
+ * where: "1=1", // select all features
309
+ * returnGeometry: false,
310
+ * outFields: ["State_Name", "City_Name", "pop2010"]
311
+ * };
312
+ *
313
+ * const results = await layer.queryFeatures(query);
314
+ * console.log(results.features); // prints the array of features to the console
315
+ * ```
282
316
  */
283
317
  queryFeatures(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<FeatureSet>;
284
318
  /**
@@ -286,25 +320,34 @@ export default class DimensionFeatureLayer extends DimensionFeatureLayerSupercla
286
320
  * array of Object IDs for features that satisfy the input query. If no parameters are specified,
287
321
  * then the Object IDs of all features satisfying the layer's configuration/filters are returned.
288
322
  *
323
+ *
289
324
  * > [!WARNING]
290
- * >
291
- * > To query for ObjectIDs of features available to or visible in the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) on the client rather
292
- * > than making a server-side query, you must use the
293
- * > [DimensionFeatureLayerView.queryObjectIds()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/DimensionFeatureLayerView/#queryObjectIds) method.
325
+ * > - To query the ObjectIDs of features visible in the view on the client-side rather than making a server-side query, use
326
+ * > [DimensionFeatureLayerView.queryObjectIds()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/DimensionFeatureLayerView/#queryObjectIds).
327
+ *
294
328
  *
295
- * @param query - Specifies the attributes and spatial
296
- * filter of the query. If no parameters are specified, then the Object IDs of all features
297
- * satisfying the layer's configuration/filters are returned.
298
- * @param options - An object with the following properties.
329
+ * @param query - Specifies the attributes and spatial filter of the query. If no parameters are specified, then the Object IDs of all features satisfying the layer's configuration/filters are returned.
330
+ * @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
299
331
  * @returns When resolved, returns an array of numbers representing the object IDs of the features satisfying the query.
300
332
  * @see [Sample - Query Related Features](https://developers.arcgis.com/javascript/latest/sample-code/query-related-features/)
301
333
  * @example
334
+ * ```js
302
335
  * // Queries for all the Object IDs of features matching the layer's configurations
303
336
  * // e.g. definitionExpression
304
337
  * layer.queryObjectIds().then((results) => {
305
338
  * // prints the array of Object IDs to the console
306
339
  * console.log(results);
307
340
  * });
341
+ * ```
342
+ * @example
343
+ * ```js
344
+ * const query = new Query({
345
+ * where: "SUB_REGION = 'Pacific'"
346
+ * });
347
+ *
348
+ * const ids = await layer.queryObjectIds(query);
349
+ * console.log(ids); // an array of object IDs
350
+ * ```
308
351
  */
309
352
  queryObjectIds(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<ObjectId[]>;
310
353
  }