@arcgis/core 5.2.0-next.32 → 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.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{4e803d12486c8de4c901.js → 0087ad36f7d38fc7fe11.js} +18 -18
- package/assets/esri/core/workers/chunks/{39c994536ce6c1e5c956.js → 03350a56f840cffe5459.js} +1 -1
- package/assets/esri/core/workers/chunks/{2628136bf9f47d238a24.js → 050aba7089318e1c7d53.js} +1 -1
- package/assets/esri/core/workers/chunks/{dd5dddf7e422216d3806.js → 0a2f08298a3c932614f2.js} +1 -1
- package/assets/esri/core/workers/chunks/{a844c4e031e77db11478.js → 0df978697328b6453c94.js} +1 -1
- package/assets/esri/core/workers/chunks/0f8fcbd0650b6a924f75.js +1 -0
- package/assets/esri/core/workers/chunks/{83ae56c7fa8d84865605.js → 0f976bfb7db98c2c0e05.js} +1 -1
- package/assets/esri/core/workers/chunks/10510f76f8538c2dfb84.js +1 -0
- package/assets/esri/core/workers/chunks/{3f63b14b53b5ca716e3a.js → 18c4c437ded8bfbd3305.js} +1 -1
- package/assets/esri/core/workers/chunks/{b60f24a6c777301803f4.js → 1958facb000b6c16bfe4.js} +1 -1
- package/assets/esri/core/workers/chunks/{1664434dc7a67c8ce453.js → 1ad5fcae6d6a9801cf58.js} +1 -1
- package/assets/esri/core/workers/chunks/{390fda094fa8695d98cf.js → 22c447fcc9a28afeb6e3.js} +1 -1
- package/assets/esri/core/workers/chunks/{7656900713e55036c3c1.js → 29542a3d7f3fa8d42380.js} +1 -1
- package/assets/esri/core/workers/chunks/{1e386475937e02b3f523.js → 2b669473aa2c7cfb63c7.js} +1 -1
- package/assets/esri/core/workers/chunks/{c8091e8fd7ca43a4490a.js → 2bb3494659609594c4ca.js} +1 -1
- package/assets/esri/core/workers/chunks/2c00f89030c7a4201033.js +2 -0
- package/assets/esri/core/workers/chunks/{b75a4753cea6544da8bb.js → 2c61bb25578f73ba49bc.js} +1 -1
- package/assets/esri/core/workers/chunks/2d92f0042facb55edcff.js +1 -0
- package/assets/esri/core/workers/chunks/2da797ae5af9d2ede42d.js +1 -0
- package/assets/esri/core/workers/chunks/{34eb22ee13df24271532.js → 2e495a28494c2351837b.js} +1 -1
- package/assets/esri/core/workers/chunks/{a0b78cbeb0e53107d819.js → 367a3031abbeff0c0090.js} +1 -1
- package/assets/esri/core/workers/chunks/{aba7a053015a9738d8a0.js → 368db1420b8520beae05.js} +1 -1
- package/assets/esri/core/workers/chunks/{7832d94f35b79e27ee51.js → 37dc6a8495f1f44e2d45.js} +1 -1
- package/assets/esri/core/workers/chunks/{92458803531fdfe1557a.js → 38a6a7c56c592f336a12.js} +1 -1
- package/assets/esri/core/workers/chunks/{c63b315c6b76b4860fc5.js → 39ff5b2a05a90e1cb214.js} +1 -1
- package/assets/esri/core/workers/chunks/{0a52373c4ba652e0ee0f.js → 3b914ca36e7e2b00cfe6.js} +1 -1
- package/assets/esri/core/workers/chunks/{f6afc597eaf2afa9a4a0.js → 3dd8145ef89f32920177.js} +1 -1
- package/assets/esri/core/workers/chunks/{b289c46ce2dc04d32e81.js → 3e8fa2a7a36881234479.js} +1 -1
- package/assets/esri/core/workers/chunks/{4ecc345c3732f7fc130f.js → 42b1c526c4c9636a169d.js} +1 -1
- package/assets/esri/core/workers/chunks/{9508fa53da5f92a0ab70.js → 4316b78fc36bfd893a90.js} +1 -1
- package/assets/esri/core/workers/chunks/{5bf01e0eff8a78b65e9e.js → 4656a4bf430d7eed1465.js} +1 -1
- package/assets/esri/core/workers/chunks/{43ef6dee2e1d9ed7885e.js → 472ec242cd3070e6acfe.js} +1 -1
- package/assets/esri/core/workers/chunks/{1bbf5f5da5842b93f638.js → 4f08b69f4a33a114c5f7.js} +1 -1
- package/assets/esri/core/workers/chunks/{c60b4f2dd5fccdf362a7.js → 514ab968c0d75062e6ab.js} +1 -1
- package/assets/esri/core/workers/chunks/{ba1c4a8794ac55942e35.js → 51d7145f748b4865de7f.js} +1 -1
- package/assets/esri/core/workers/chunks/{2f40193d1b2e534c5226.js → 570a4725b2a4a19c5148.js} +1 -1
- package/assets/esri/core/workers/chunks/{1305690054214a9cf48d.js → 586ca90e46f5cbdfeece.js} +1 -1
- package/assets/esri/core/workers/chunks/595401947e74a0a67144.js +1 -0
- package/assets/esri/core/workers/chunks/{70cb825bb37f1977d2ab.js → 59c22bab85f9cdbb9948.js} +1 -1
- package/assets/esri/core/workers/chunks/{b624796ff4a9d4c406bf.js → 61efc7f5fab1c2b1f764.js} +1 -1
- package/assets/esri/core/workers/chunks/{c593539c2cce7a2b9d44.js → 6596b12bb286a0b45a68.js} +1 -1
- package/assets/esri/core/workers/chunks/{bb1fad01d9f070e7d795.js → 661f50cb97604453f942.js} +1 -1
- package/assets/esri/core/workers/chunks/{51a53011478e0cf96e0b.js → 6c02493a1c1deff49c7e.js} +1 -1
- package/assets/esri/core/workers/chunks/{71f09e34d56c9fe5c307.js → 6d72a1bdc2664df62c4c.js} +1 -1
- package/assets/esri/core/workers/chunks/{4ea325c829d3b82854b1.js → 7085b4c655a19694da04.js} +1 -1
- package/assets/esri/core/workers/chunks/{9f3d37e5f42bf1529673.js → 71b672259bac2befd9c7.js} +1 -1
- package/assets/esri/core/workers/chunks/{a536904fe6f3b16fdbdc.js → 757982a73174aa7ab0d1.js} +1 -1
- package/assets/esri/core/workers/chunks/{d0321dd4b5b2d863eecd.js → 777b16b76db406c99c69.js} +1 -1
- package/assets/esri/core/workers/chunks/7a59d39010ed33b8fabb.js +1 -0
- package/assets/esri/core/workers/chunks/{32b5d2537feefe6e94a3.js → 7d65a8ec5e1f871b9321.js} +1 -1
- package/assets/esri/core/workers/chunks/{fe42fa2144691b9186fd.js → 828b64624c76156a6416.js} +1 -1
- package/assets/esri/core/workers/chunks/857532de88f21e8c3466.js +1 -0
- package/assets/esri/core/workers/chunks/85a280ee915010a8da3c.js +1 -0
- package/assets/esri/core/workers/chunks/{3d1e5bfd88771d4a0bf6.js → 866950e9ab96aebc6b32.js} +1 -1
- package/assets/esri/core/workers/chunks/{8c62e2dabd1f1e13d244.js → 86731e276b31453bc235.js} +1 -1
- package/assets/esri/core/workers/chunks/{977e6f589bd266d6067d.js → 87c7092282214f5b78b8.js} +4 -4
- package/assets/esri/core/workers/chunks/{25932fa010f9a32475c1.js → 88ec63501fa2f6fdadca.js} +1 -1
- package/assets/esri/core/workers/chunks/{af3b060fdfa3b6174340.js → 8aa5bbf9a9b09815725a.js} +1 -1
- package/assets/esri/core/workers/chunks/{2353fbc1ff4481dcfb1f.js → 8b68a69ab8fb1679e7b2.js} +1 -1
- package/assets/esri/core/workers/chunks/{35b3ff25f5fe24fe15e2.js → 96860b6035e0b06672dd.js} +1 -1
- package/assets/esri/core/workers/chunks/{e2f33945d838183a2192.js → 98685bd149dee1d6dc99.js} +1 -1
- package/assets/esri/core/workers/chunks/{122892f365f5327d290c.js → 9de9cec5c644bc452294.js} +1 -1
- package/assets/esri/core/workers/chunks/a0f7e37d385fc68b138d.js +1 -0
- package/assets/esri/core/workers/chunks/{940ebb13618d38c6b459.js → a2a688dd2ed4565e01ff.js} +1 -1
- package/assets/esri/core/workers/chunks/{47f21b65065558d583ca.js → a2e754df3215e8b00a8f.js} +1 -1
- package/assets/esri/core/workers/chunks/{f59b76fde2cbd17f64b3.js → a3ae7c41832c7a8b0570.js} +1 -1
- package/assets/esri/core/workers/chunks/{6dc60afb0c39bbb001a3.js → a3e86830460e52706a4d.js} +1 -1
- package/assets/esri/core/workers/chunks/{c030a974a63155f450e9.js → a58b8903ae17acf117d6.js} +1 -1
- package/assets/esri/core/workers/chunks/{c4a2ec2e5897300163ac.js → ab3d1c00ef514b61ce0b.js} +1 -1
- package/assets/esri/core/workers/chunks/{b324bdb9c74fc3f956db.js → add79af151e3eb560599.js} +1 -1
- package/assets/esri/core/workers/chunks/{3b3f91a61e3f29af1fb2.js → ae5363956b4467208e04.js} +1 -1
- package/assets/esri/core/workers/chunks/{38b69fba9ae4ccbae6b7.js → afaf6874a645854c3357.js} +1 -1
- package/assets/esri/core/workers/chunks/{36913f0f944a9eb82cd3.js → b24b7411a73d1da87c30.js} +1 -1
- package/assets/esri/core/workers/chunks/b7d7bfcb089a3f1a38b6.js +1 -0
- package/assets/esri/core/workers/chunks/{a3393780655152102c45.js → b97b83159fec34f383af.js} +1 -1
- package/assets/esri/core/workers/chunks/{8ade399db21938822a7c.js → bec660ee2e7828f965e2.js} +1 -1
- package/assets/esri/core/workers/chunks/{6b56971783bf4c31a563.js → c19fe4f31e4ef84bbcf6.js} +1 -1
- package/assets/esri/core/workers/chunks/{5cccb8b06014ccef30f8.js → c228b058dd91bf0e1102.js} +1 -1
- package/assets/esri/core/workers/chunks/c2a02c33462bcdabd39d.js +1 -0
- package/assets/esri/core/workers/chunks/{cb30e8a66d6dcfebd439.js → cda2bae39135e5519d8c.js} +1 -1
- package/assets/esri/core/workers/chunks/{de83c177f8a1234a5b2e.js → cffef41791f0cfa6c26c.js} +1 -1
- package/assets/esri/core/workers/chunks/{70c94bcfa20453134037.js → d1928a8c86a8966e5582.js} +1 -1
- package/assets/esri/core/workers/chunks/{58e0e50b6c3abaa4798f.js → d26b1a9f47b4b2744c89.js} +1 -1
- package/assets/esri/core/workers/chunks/{2baee42e1797a709fe4b.js → d4a96f0402172787823a.js} +1 -1
- package/assets/esri/core/workers/chunks/d7e17df1c3675bf3633e.js +1 -0
- package/assets/esri/core/workers/chunks/dfae4440afe0ca7c5b25.js +1 -0
- package/assets/esri/core/workers/chunks/{bd260798b8de09a1eeb2.js → e3a4695c31d3f9d55213.js} +1 -1
- package/assets/esri/core/workers/chunks/{197b9f8483fad2258650.js → e6263e1983e703befe48.js} +1 -1
- package/assets/esri/core/workers/chunks/{6991ba1b204668e7d4da.js → e67a9f9298d63026e7f6.js} +1 -1
- package/assets/esri/core/workers/chunks/{6f240fe78b299e6c4fcc.js → eeee7421f64a52074ff4.js} +1 -1
- package/assets/esri/core/workers/chunks/{1e109a521ca8772fdf04.js → eef7e0bee19c4258ba55.js} +1 -1
- package/assets/esri/core/workers/chunks/{49a45083a9a155614c1c.js → ef32e454012f3b0e3f77.js} +1 -1
- package/assets/esri/core/workers/chunks/{83ce38342796bd6d73ce.js → f137e544076482e348ad.js} +1 -1
- package/assets/esri/core/workers/chunks/{e181d0f5562878b3dc01.js → f72f38e7609756a7f8ea.js} +1 -1
- package/assets/esri/core/workers/chunks/{ef5d11581a98fb333ad2.js → f83e3ad67b60744afd6d.js} +1 -1
- package/assets/esri/core/workers/chunks/{456b77b8f13933a75b68.js → fe8032905992e6574714.js} +3 -3
- package/assets/esri/core/workers/chunks/{2f02880a7f081eb210cd.js → fec9ce6ad634c904ffdf.js} +1 -1
- package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
- package/chunks/GaussianSplatComposition.glsl.js +4 -4
- package/chunks/OITAddEmission.glsl.js +6 -0
- package/chunks/OITFilterOpaque.glsl.js +4 -0
- package/chunks/lerc-wasm.js +1 -1
- package/config.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/form/elements/inputs/attachments/AttachmentInput.js +1 -1
- package/geometry/support/frustum.js +1 -1
- package/geometry/support/plane.js +1 -1
- package/kernel.js +1 -1
- package/layers/AnnotationFeatureLayer.d.ts +110 -67
- package/layers/CSVLayer.d.ts +144 -175
- package/layers/CatalogLayer.d.ts +129 -132
- package/layers/DimensionFeatureLayer.d.ts +106 -63
- package/layers/FeatureLayer.d.ts +77 -150
- package/layers/GeoJSONLayer.d.ts +111 -168
- package/layers/OrientedImageryLayer.d.ts +125 -79
- package/layers/ParquetLayer.d.ts +116 -75
- package/layers/SubtypeGroupLayer.d.ts +86 -111
- package/layers/WFSLayer.d.ts +157 -127
- package/layers/catalog/CatalogFootprintLayer.d.ts +142 -129
- package/layers/graphics/sources/FeatureLayerSource.js +1 -1
- package/layers/graphics/sources/support/QueryTask.js +1 -1
- package/layers/mixins/EditBusLayer.js +1 -1
- package/layers/pointCloudFilters/PointCloudBitfieldFilter.d.ts +1 -1
- package/layers/video/VideoController.js +1 -1
- package/package.json +2 -2
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/input/MapViewInputManager.js +1 -1
- package/views/2d/layers/support/annodime/DimensionInfo.js +1 -1
- package/views/2d/layers/support/annodime/virtualFields.js +1 -1
- package/views/3d/analysis/Dimension/LengthDimensionSubTool.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/interactive/manipulators/RotateManipulator.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/terrain/PatchRenderData.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/emissionFilter.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/OITAddEmission.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/OITAddEmissionTechnique.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITFilterOpaque.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/OITFilterOpaqueTechnique.js +2 -0
- package/views/3d/webgl-engine/lib/Intersector.js +1 -1
- package/views/3d/webgl-engine/lib/Octree.js +1 -1
- package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
- package/views/3d/webgl-engine/lib/intersectorUtils.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
- package/views/3d/webgl-engine/lib/verticalOffsetUtils.js +1 -1
- package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/TriangleMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/intersectWithPolygonOffset.js +1 -1
- package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/CheckerBoardTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatComposition.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarkerTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +3 -3
- package/views/input/BrowserEventSource.js +1 -1
- package/views/input/handlers/PreventTouchSelection.js +2 -0
- package/views/layers/FeatureLikeLayerView.d.ts +9 -64
- package/views/layers/GraphicsLayerView.d.ts +1 -1
- package/views/layers/types.d.ts +8 -1
- package/widgets/BatchAttributeForm/VisibleElements.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
- package/widgets/Editor/VisibleElements.d.ts +14 -1
- package/widgets/FeatureForm.js +1 -1
- package/assets/esri/core/workers/chunks/209460f8aae3f9f8c9b8.js +0 -1
- package/assets/esri/core/workers/chunks/4be31fcc5482a2526d2b.js +0 -1
- package/assets/esri/core/workers/chunks/58acc18b92533166135d.js +0 -1
- package/assets/esri/core/workers/chunks/6162f6735ea4622e54d8.js +0 -1
- package/assets/esri/core/workers/chunks/718d2d430c1a5a940b83.js +0 -1
- package/assets/esri/core/workers/chunks/a6379a8df8c08b729b9c.js +0 -1
- package/assets/esri/core/workers/chunks/b0253fe7b3529bc22270.js +0 -1
- package/assets/esri/core/workers/chunks/bd0829eb79efff5b7223.js +0 -1
- package/assets/esri/core/workers/chunks/c193b4a175a544c4fcd6.js +0 -1
- package/assets/esri/core/workers/chunks/d28169816c768d55aa09.js +0 -1
- package/assets/esri/core/workers/chunks/d7c0ab622caf495dbcef.js +0 -1
- package/assets/esri/core/workers/chunks/f10a339b16d84b650012.js +0 -2
- package/assets/esri/core/workers/chunks/f69d3ff8a69c1985bca3.js +0 -1
- package/assets/esri/core/workers/chunks/f847a4846c427f671455.js +0 -1
- package/chunks/OITBlendEmission.glsl.js +0 -6
- package/chunks/OITDimOpaque.glsl.js +0 -4
- package/views/2d/layers/support/annodime/fields.js +0 -2
- package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +0 -2
- package/views/3d/webgl-engine/effects/transparency/OITBlendEmission.glsl.js +0 -2
- package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechnique.js +0 -2
- package/views/3d/webgl-engine/effects/transparency/OITDimOpaque.glsl.js +0 -2
- package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +0 -2
- /package/assets/esri/core/workers/chunks/{f10a339b16d84b650012.js.LICENSE.txt → 2c00f89030c7a4201033.js.LICENSE.txt} +0 -0
package/layers/CSVLayer.d.ts
CHANGED
|
@@ -1005,13 +1005,12 @@ export default class CSVLayer extends CSVLayerSuperclass {
|
|
|
1005
1005
|
*/
|
|
1006
1006
|
getFieldDomain(fieldName: string, options?: FieldDomainOptions): DomainUnion | null | undefined;
|
|
1007
1007
|
/**
|
|
1008
|
-
* Executes a [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/) against a
|
|
1008
|
+
* Executes a [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/) against a [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/), which groups features into bins based on ranges in numeric or date fields, and returns a
|
|
1009
1009
|
* [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
|
|
1010
1010
|
* on how to configure the bin parameters.
|
|
1011
1011
|
*
|
|
1012
|
-
* Binned data can condense complex information into meaningful insight. This query allows you to classify data into meaningful categories and summarize the data
|
|
1013
|
-
*
|
|
1014
|
-
* It can reveal underlying patterns that might be obscured in raw data. For example, bins can show concentrations of values in common ranges.
|
|
1012
|
+
* Binned data can condense complex information into meaningful insight. This query allows you to classify data into meaningful categories and summarize the data
|
|
1013
|
+
* within each bin with summary statistics.
|
|
1015
1014
|
*
|
|
1016
1015
|
* > [!WARNING]
|
|
1017
1016
|
* >
|
|
@@ -1020,243 +1019,213 @@ export default class CSVLayer extends CSVLayerSuperclass {
|
|
|
1020
1019
|
* > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/).
|
|
1021
1020
|
*
|
|
1022
1021
|
* @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.
|
|
1023
|
-
* @param options -
|
|
1024
|
-
* @returns When resolved, returns a [
|
|
1025
|
-
*
|
|
1026
|
-
* @since 4.
|
|
1027
|
-
* @see [Sample - Attribute Bins Query](https://developers.arcgis.com/javascript/latest/sample-code/query-attribute-bins/)
|
|
1022
|
+
* @param options - Abort options that can be passed into an asynchronous method to allow termination.
|
|
1023
|
+
* @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
|
|
1024
|
+
* represents a bin. The attributes of each feature contain statistics summarizing the data in the bin, including count, average, standard deviation, etc.
|
|
1025
|
+
* @since 4.33
|
|
1028
1026
|
* @see [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/)
|
|
1029
|
-
* @
|
|
1030
|
-
* // Query the temperature field in the layer and create a histogram
|
|
1031
|
-
* // Analyze temperature data over a year, create 100 bins for different temperature ranges
|
|
1032
|
-
* // to assess frequency and identify patterns.
|
|
1033
|
-
* const binQuery = new AttributeBinsQuery({
|
|
1034
|
-
* where: "UnitTop = 0",
|
|
1035
|
-
* binParameters: new AutoIntervalBinParameters({
|
|
1036
|
-
* bins: 100,
|
|
1037
|
-
* field: "temp",
|
|
1038
|
-
* start: 0, // lowest temp value to be included in the bin query
|
|
1039
|
-
* end: 30 // highest temp value to be included
|
|
1040
|
-
* })
|
|
1041
|
-
* });
|
|
1042
|
-
*
|
|
1043
|
-
* layer.queryAttributeBins(query).then((results) => {
|
|
1044
|
-
* const bins = results.features.map((bin) => {
|
|
1045
|
-
* return {
|
|
1046
|
-
* minValue: bin.attributes.lowerBoundary,
|
|
1047
|
-
* maxValue: bin.attributes.upperBoundary,
|
|
1048
|
-
* count: bin.attributes.temperature_count,
|
|
1049
|
-
* };
|
|
1050
|
-
* });
|
|
1051
|
-
*
|
|
1052
|
-
* // get the lower boundary of the first bin
|
|
1053
|
-
* const min = results.features[0].attributes.lowerBoundary;
|
|
1054
|
-
* // get the upper boundary of the last bin
|
|
1055
|
-
* const max = results.features[results.features.length - 1].attributes.upperBoundary;
|
|
1056
|
-
* // calculate the average for the bins
|
|
1057
|
-
* const average = results.features[0].attributes.lowerBoundary + results.features[results.features.length - 1].attributes.upperBoundary) / 2;
|
|
1058
|
-
*
|
|
1059
|
-
* const histogram = new Histogram({
|
|
1060
|
-
* container: "histogramDiv",
|
|
1061
|
-
* bins: bins,
|
|
1062
|
-
* min: min,
|
|
1063
|
-
* max: max,
|
|
1064
|
-
* average: average,
|
|
1065
|
-
* barCreatedFunction:(index, element) => {
|
|
1066
|
-
* element.setAttribute("fill", "#FFA500");
|
|
1067
|
-
* element.setAttribute("opacity", 0.5);
|
|
1068
|
-
* },
|
|
1069
|
-
* labelFormatFunction: (value, type) => {
|
|
1070
|
-
* return (Math.round(value)).toLocaleString();
|
|
1071
|
-
* },
|
|
1072
|
-
* dataLines: [{
|
|
1073
|
-
* value: histogram.min,
|
|
1074
|
-
* label: histogram.min.toLocaleString()
|
|
1075
|
-
* }, {
|
|
1076
|
-
* value: histogram.average,
|
|
1077
|
-
* label: histogram.average.toLocaleString()
|
|
1078
|
-
* }, {
|
|
1079
|
-
* value: histogram.max,
|
|
1080
|
-
* label: histogram.max.toLocaleString()
|
|
1081
|
-
* }]
|
|
1082
|
-
* });
|
|
1083
|
-
* });
|
|
1027
|
+
* @see [Sample - Attribute Bins Query](https://developers.arcgis.com/javascript/latest/sample-code/query-attribute-bins/)
|
|
1084
1028
|
*/
|
|
1085
1029
|
queryAttributeBins(binsQuery: AttributeBinsQueryProperties, options?: RequestOptions): Promise<AttributeBinsFeatureSet>;
|
|
1086
1030
|
/**
|
|
1087
|
-
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the
|
|
1088
|
-
*
|
|
1089
|
-
*
|
|
1090
|
-
* satisfying the layer's configuration/filters are returned.
|
|
1031
|
+
* 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
|
|
1032
|
+
* parameters are specified, then the extent and count of all features satisfying the layer's configuration/filters are returned.
|
|
1033
|
+
*
|
|
1091
1034
|
*
|
|
1092
1035
|
* > [!WARNING]
|
|
1093
|
-
* >
|
|
1094
|
-
* >
|
|
1095
|
-
* >
|
|
1096
|
-
* > Spatial queries
|
|
1097
|
-
* >
|
|
1098
|
-
* >
|
|
1099
|
-
* > - GDM 2000 (4742) – Malaysia
|
|
1100
|
-
* > - Gusterberg (Ferro) (8042) – Austria/Czech Republic
|
|
1036
|
+
* > - 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
|
|
1037
|
+
* > [CSVLayerView.queryExtent()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/CSVLayerView/#queryExtent).
|
|
1038
|
+
* > - Spatial queries have the same limitations as those listed in the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) documentation.
|
|
1039
|
+
* > - Spatial queries are currently not supported if the layer view has any of the following [SpatialReferences](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/):
|
|
1040
|
+
* > - GDM 2000 (4742) - Malaysia
|
|
1041
|
+
* > - Gusterberg (Ferro) (8042) - Austria/Czech Republic
|
|
1101
1042
|
* > - ISN2016 (8086) - Iceland
|
|
1102
1043
|
* > - SVY21 (4757) - Singapore
|
|
1103
1044
|
*
|
|
1104
|
-
* @param query - Specifies the attributes and spatial filter of the query.
|
|
1105
|
-
*
|
|
1106
|
-
* visible in the view, set the `geometry` parameter in the query object to the view's extent.
|
|
1107
|
-
* @param options - An object with the following properties.
|
|
1045
|
+
* @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.
|
|
1046
|
+
* @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
|
|
1108
1047
|
* @returns When resolved, returns the extent and count of the features
|
|
1109
1048
|
* that satisfy the input query. See the object specification table below for details.
|
|
1110
1049
|
* Property | Type | Description
|
|
1111
1050
|
* ---------|------|-------------
|
|
1112
1051
|
* count | Number | The number of features that satisfy the input query.
|
|
1113
|
-
* extent | [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/)
|
|
1052
|
+
* extent | [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) | The extent of the features that satisfy the query.
|
|
1114
1053
|
* @since 4.7
|
|
1054
|
+
* @see [Sample - Zoom to extent of all features](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-queryextent/)
|
|
1115
1055
|
* @example
|
|
1116
|
-
*
|
|
1117
|
-
* //
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1121
|
-
*
|
|
1122
|
-
*
|
|
1123
|
-
*
|
|
1124
|
-
*
|
|
1056
|
+
* ```js
|
|
1057
|
+
* // Queries for the extent of all features matching the layer's configurations
|
|
1058
|
+
* // e.g. definitionExpression
|
|
1059
|
+
* layer.queryExtent().then((result) =>{
|
|
1060
|
+
* // go to the extent of the result satisfying the query
|
|
1061
|
+
* viewElement.goTo(result.extent);
|
|
1062
|
+
* });
|
|
1063
|
+
* ```
|
|
1064
|
+
* @example
|
|
1065
|
+
* ```js
|
|
1066
|
+
* const query = new Query();
|
|
1067
|
+
* query.where = "region = 'Southern California'";
|
|
1068
|
+
*
|
|
1069
|
+
* const result = await layer.queryExtent(query);
|
|
1070
|
+
* viewElement.goTo(result.extent); // go to the extent of the result satisfying the query
|
|
1125
1071
|
* });
|
|
1072
|
+
* ```
|
|
1126
1073
|
*/
|
|
1127
1074
|
queryExtent(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<{
|
|
1128
1075
|
count: number;
|
|
1129
1076
|
extent: Extent | null;
|
|
1130
1077
|
}>;
|
|
1131
1078
|
/**
|
|
1132
|
-
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the
|
|
1079
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service or layer data and
|
|
1133
1080
|
* returns the number of features that satisfy the query. If no parameters are specified,
|
|
1134
|
-
*
|
|
1081
|
+
* the total number of features satisfying the layer's configuration/filters is returned.
|
|
1082
|
+
*
|
|
1135
1083
|
*
|
|
1136
1084
|
* > [!WARNING]
|
|
1137
|
-
* >
|
|
1138
|
-
* >
|
|
1139
|
-
* >
|
|
1140
|
-
* > Spatial queries
|
|
1141
|
-
* >
|
|
1142
|
-
* >
|
|
1143
|
-
* > - GDM 2000 (4742) – Malaysia
|
|
1144
|
-
* > - Gusterberg (Ferro) (8042) – Austria/Czech Republic
|
|
1085
|
+
* > - To query the count of features available in the view on the client-side rather than making a server-side query, use
|
|
1086
|
+
* > [CSVLayerView.queryFeatureCount()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/CSVLayerView/#queryFeatureCount).
|
|
1087
|
+
* > - Spatial queries have the same limitations as those listed in the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) documentation.
|
|
1088
|
+
* > - Spatial queries are currently not supported if the layer view has any of the following [SpatialReferences](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/):
|
|
1089
|
+
* > - GDM 2000 (4742) - Malaysia
|
|
1090
|
+
* > - Gusterberg (Ferro) (8042) - Austria/Czech Republic
|
|
1145
1091
|
* > - ISN2016 (8086) - Iceland
|
|
1146
1092
|
* > - SVY21 (4757) - Singapore
|
|
1147
1093
|
*
|
|
1148
|
-
* @param query - Specifies the attributes and spatial filter of the query.
|
|
1149
|
-
*
|
|
1150
|
-
* visible in the view, set the `geometry` parameter in the query object to the view's extent.
|
|
1151
|
-
* @param options - An object with the following properties.
|
|
1094
|
+
* @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.
|
|
1095
|
+
* @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
|
|
1152
1096
|
* @returns When resolved, returns the number of features that satisfy the query.
|
|
1153
1097
|
* @since 4.7
|
|
1098
|
+
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
1154
1099
|
* @example
|
|
1155
|
-
*
|
|
1156
|
-
*
|
|
1157
|
-
*
|
|
1158
|
-
*
|
|
1159
|
-
*
|
|
1160
|
-
* console.log(
|
|
1100
|
+
* ```js
|
|
1101
|
+
* // Queries for the count of all features matching the layer's configurations
|
|
1102
|
+
* // e.g. definitionExpression
|
|
1103
|
+
* layer.queryFeatureCount().then((numFeatures) => {
|
|
1104
|
+
* // prints the total count to the console
|
|
1105
|
+
* console.log(numFeatures);
|
|
1161
1106
|
* });
|
|
1107
|
+
* ```
|
|
1108
|
+
* @example
|
|
1109
|
+
* ```js
|
|
1110
|
+
* const query = new Query();
|
|
1111
|
+
* query.where = "region = 'Southern California'";
|
|
1112
|
+
*
|
|
1113
|
+
* const featureCount = await layer.queryFeatureCount(query);
|
|
1114
|
+
* console.log(featureCount); // prints the number of results satisfying the query
|
|
1115
|
+
* ```
|
|
1162
1116
|
*/
|
|
1163
1117
|
queryFeatureCount(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<number>;
|
|
1164
1118
|
/**
|
|
1165
|
-
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against
|
|
1166
|
-
* [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) once the promise resolves.
|
|
1167
|
-
* 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/)
|
|
1168
|
-
* features, which can be added to the [view's graphics](https://developers.arcgis.com/javascript/latest/references/core/views/View/#graphics).
|
|
1169
|
-
* This array will not be populated if zero results are found.
|
|
1119
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against a feature service or layer data and returns a
|
|
1120
|
+
* [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/).
|
|
1170
1121
|
*
|
|
1171
1122
|
* > [!WARNING]
|
|
1172
1123
|
* >
|
|
1173
|
-
* > **
|
|
1174
|
-
* >
|
|
1175
|
-
* >
|
|
1176
|
-
* >
|
|
1177
|
-
* >
|
|
1178
|
-
* > Spatial queries are not
|
|
1179
|
-
* > - GDM 2000 (4742)
|
|
1180
|
-
* > - Gusterberg (Ferro) (8042)
|
|
1124
|
+
* > **Notes**
|
|
1125
|
+
* > - To query features visible in the view on the client-side rather than making a server-side query, use
|
|
1126
|
+
* > [CSVLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/CSVLayerView/#queryFeatures).
|
|
1127
|
+
* > - Attribute values used in attribute queries executed against these layers are case sensitive.
|
|
1128
|
+
* > - Spatial queries have the same limitations as those listed in the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) documentation.
|
|
1129
|
+
* > - Spatial queries are currently not supported if the layer view has any of the following [SpatialReferences](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/):
|
|
1130
|
+
* > - GDM 2000 (4742) - Malaysia
|
|
1131
|
+
* > - Gusterberg (Ferro) (8042) - Austria/Czech Republic
|
|
1181
1132
|
* > - ISN2016 (8086) - Iceland
|
|
1182
1133
|
* > - SVY21 (4757) - Singapore
|
|
1183
1134
|
*
|
|
1184
|
-
* @param query - Specifies the attributes and spatial filter of the query.
|
|
1185
|
-
*
|
|
1186
|
-
*
|
|
1187
|
-
* @param options - An object with the following properties.
|
|
1188
|
-
* @returns When resolved, a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) containing
|
|
1189
|
-
* an array of graphic features is returned.
|
|
1135
|
+
* @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.
|
|
1136
|
+
* @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
|
|
1137
|
+
* @returns When resolved, returns a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) containing an array of graphic features.
|
|
1190
1138
|
* @since 4.7
|
|
1191
|
-
* @see [
|
|
1139
|
+
* @see [Samples using queryFeatures() method](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=queryfeatures)
|
|
1192
1140
|
* @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
|
|
1193
1141
|
* @example
|
|
1194
|
-
*
|
|
1195
|
-
*
|
|
1196
|
-
*
|
|
1197
|
-
*
|
|
1198
|
-
*
|
|
1142
|
+
* ```js
|
|
1143
|
+
* // Queries for all the features matching the layer's configurations
|
|
1144
|
+
* // e.g. definitionExpression
|
|
1145
|
+
* const results = await layer.queryFeatures();
|
|
1146
|
+
* // prints the array of result graphics to the console
|
|
1147
|
+
* console.log(results.features);
|
|
1148
|
+
* ```
|
|
1199
1149
|
* @example
|
|
1200
|
-
*
|
|
1201
|
-
*
|
|
1202
|
-
*
|
|
1203
|
-
*
|
|
1150
|
+
* ```js
|
|
1151
|
+
* // create a query object to filter features by setting desired properties
|
|
1152
|
+
* const query = new Query();
|
|
1153
|
+
* query.where = "STATE_NAME = 'Washington'";
|
|
1154
|
+
* query.outSpatialReference = { wkid: 102100 };
|
|
1155
|
+
* query.returnGeometry = true;
|
|
1156
|
+
* query.outFields = [ "CITY_NAME" ];
|
|
1157
|
+
*
|
|
1158
|
+
* const results = await layer.queryFeatures(query);
|
|
1159
|
+
* console.log(results.features); // prints the array of features to the console
|
|
1160
|
+
* ```
|
|
1161
|
+
* @example
|
|
1162
|
+
* ```js
|
|
1163
|
+
* // Get a query object for the layer's current configuration
|
|
1164
|
+
* const queryParams = layer.createQuery();
|
|
1165
|
+
* // set a geometry for filtering features by a region of interest
|
|
1166
|
+
* queryParams.geometry = extentForRegionOfInterest;
|
|
1167
|
+
* // Add to the layer's current definitionExpression
|
|
1168
|
+
* queryParams.where = queryParams.where + " AND TYPE = 'Extreme'";
|
|
1204
1169
|
*
|
|
1205
|
-
*
|
|
1206
|
-
*
|
|
1207
|
-
*
|
|
1208
|
-
*
|
|
1209
|
-
*
|
|
1210
|
-
*
|
|
1211
|
-
*
|
|
1212
|
-
*
|
|
1213
|
-
* .
|
|
1214
|
-
*
|
|
1215
|
-
*
|
|
1216
|
-
*
|
|
1217
|
-
*
|
|
1218
|
-
* }
|
|
1170
|
+
* // query the layer with the modified params object
|
|
1171
|
+
* const results = await layer.queryFeatures(queryParams);
|
|
1172
|
+
* // prints the array of result graphics to the console
|
|
1173
|
+
* console.log(results.features);
|
|
1174
|
+
* ```
|
|
1175
|
+
* @example
|
|
1176
|
+
* ```js
|
|
1177
|
+
* // query all features from the layer and only return
|
|
1178
|
+
* // attributes specified in outFields.
|
|
1179
|
+
* const query = { // autocasts as Query
|
|
1180
|
+
* where: "1=1", // select all features
|
|
1181
|
+
* returnGeometry: false,
|
|
1182
|
+
* outFields: ["State_Name", "City_Name", "pop2010"]
|
|
1183
|
+
* };
|
|
1184
|
+
*
|
|
1185
|
+
* const results = await layer.queryFeatures(query);
|
|
1186
|
+
* console.log(results.features); // prints the array of features to the console
|
|
1187
|
+
* ```
|
|
1219
1188
|
*/
|
|
1220
1189
|
queryFeatures(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<FeatureSet>;
|
|
1221
1190
|
/**
|
|
1222
|
-
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the
|
|
1191
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and returns an
|
|
1223
1192
|
* array of Object IDs for features that satisfy the input query. If no parameters are specified,
|
|
1224
1193
|
* then the Object IDs of all features satisfying the layer's configuration/filters are returned.
|
|
1225
1194
|
*
|
|
1195
|
+
*
|
|
1226
1196
|
* > [!WARNING]
|
|
1227
|
-
* >
|
|
1228
|
-
* >
|
|
1229
|
-
* >
|
|
1230
|
-
* > Spatial queries
|
|
1231
|
-
* >
|
|
1232
|
-
* >
|
|
1233
|
-
* > - GDM 2000 (4742) – Malaysia
|
|
1234
|
-
* > - Gusterberg (Ferro) (8042) – Austria/Czech Republic
|
|
1197
|
+
* > - To query the ObjectIDs of features visible in the view on the client-side rather than making a server-side query, use
|
|
1198
|
+
* > [CSVLayerView.queryObjectIds()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/CSVLayerView/#queryObjectIds).
|
|
1199
|
+
* > - Spatial queries have the same limitations as those listed in the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) documentation.
|
|
1200
|
+
* > - Spatial queries are currently not supported if the layer view has any of the following [SpatialReferences](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/):
|
|
1201
|
+
* > - GDM 2000 (4742) - Malaysia
|
|
1202
|
+
* > - Gusterberg (Ferro) (8042) - Austria/Czech Republic
|
|
1235
1203
|
* > - ISN2016 (8086) - Iceland
|
|
1236
1204
|
* > - SVY21 (4757) - Singapore
|
|
1237
1205
|
*
|
|
1238
|
-
* @param query - Specifies the attributes and spatial filter of the query.
|
|
1239
|
-
*
|
|
1240
|
-
*
|
|
1241
|
-
* @param options - An object with the following properties.
|
|
1242
|
-
* @returns When resolved, returns an array of numbers representing the object IDs of the features
|
|
1243
|
-
* satisfying the query.
|
|
1206
|
+
* @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.
|
|
1207
|
+
* @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
|
|
1208
|
+
* @returns When resolved, returns an array of numbers representing the object IDs of the features satisfying the query.
|
|
1244
1209
|
* @since 4.7
|
|
1210
|
+
* @see [Sample - Query Related Features](https://developers.arcgis.com/javascript/latest/sample-code/query-related-features/)
|
|
1245
1211
|
* @example
|
|
1246
|
-
*
|
|
1247
|
-
*
|
|
1212
|
+
* ```js
|
|
1213
|
+
* // Queries for all the Object IDs of features matching the layer's configurations
|
|
1214
|
+
* // e.g. definitionExpression
|
|
1215
|
+
* layer.queryObjectIds().then((results) => {
|
|
1248
1216
|
* // prints the array of Object IDs to the console
|
|
1249
1217
|
* console.log(results);
|
|
1250
1218
|
* });
|
|
1219
|
+
* ```
|
|
1251
1220
|
* @example
|
|
1221
|
+
* ```js
|
|
1252
1222
|
* const query = new Query({
|
|
1253
|
-
* where: "
|
|
1223
|
+
* where: "SUB_REGION = 'Pacific'"
|
|
1254
1224
|
* });
|
|
1255
1225
|
*
|
|
1256
|
-
*
|
|
1257
|
-
*
|
|
1258
|
-
*
|
|
1259
|
-
* });
|
|
1226
|
+
* const ids = await layer.queryObjectIds(query);
|
|
1227
|
+
* console.log(ids); // an array of object IDs
|
|
1228
|
+
* ```
|
|
1260
1229
|
*/
|
|
1261
1230
|
queryObjectIds(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<number[]>;
|
|
1262
1231
|
/**
|