@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/GeoJSONLayer.d.ts
CHANGED
|
@@ -1571,13 +1571,12 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
|
|
|
1571
1571
|
*/
|
|
1572
1572
|
getFieldDomain(fieldName: string, options?: FieldDomainOptions): DomainUnion | null | undefined;
|
|
1573
1573
|
/**
|
|
1574
|
-
* Executes a [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/) against a GeoJSONLayer, which groups features into bins based on ranges in numeric or date fields, and returns a
|
|
1574
|
+
* Executes a [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/) against a [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/), which groups features into bins based on ranges in numeric or date fields, and returns a
|
|
1575
1575
|
* [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
|
|
1576
1576
|
* on how to configure the bin parameters.
|
|
1577
1577
|
*
|
|
1578
|
-
* Binned data can condense complex information into meaningful insight. This query allows you to classify data into meaningful categories and summarize the data
|
|
1579
|
-
*
|
|
1580
|
-
* It can reveal underlying patterns that might be obscured in raw data. For example, bins can show concentrations of values in common ranges.
|
|
1578
|
+
* Binned data can condense complex information into meaningful insight. This query allows you to classify data into meaningful categories and summarize the data
|
|
1579
|
+
* within each bin with summary statistics.
|
|
1581
1580
|
*
|
|
1582
1581
|
* > [!WARNING]
|
|
1583
1582
|
* >
|
|
@@ -1586,211 +1585,145 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
|
|
|
1586
1585
|
* > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/).
|
|
1587
1586
|
*
|
|
1588
1587
|
* @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.
|
|
1589
|
-
* @param options -
|
|
1590
|
-
* @returns When resolved, returns a [AttributeBinsFeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsFeatureSet/) containing
|
|
1591
|
-
*
|
|
1588
|
+
* @param options - Abort options that can be passed into an asynchronous method to allow termination.
|
|
1589
|
+
* @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
|
|
1590
|
+
* represents a bin. The attributes of each feature contain statistics summarizing the data in the bin, including count, average, standard deviation, etc.
|
|
1592
1591
|
* @since 4.33
|
|
1593
1592
|
* @see [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/references/core/rest/support/AttributeBinsQuery/)
|
|
1594
1593
|
* @see [Sample - Attribute Bins Query](https://developers.arcgis.com/javascript/latest/sample-code/query-attribute-bins/)
|
|
1595
|
-
* @example
|
|
1596
|
-
* // Query the temperature field in the feature layer and create a histogram
|
|
1597
|
-
* // Analyze temperature data over a year, create 100 bins for different temperature ranges
|
|
1598
|
-
* // to assess frequency and identify patterns.
|
|
1599
|
-
* const binQuery = new AttributeBinsQuery({
|
|
1600
|
-
* where: "UnitTop = 0",
|
|
1601
|
-
* binParameters: new AutoIntervalBinParameters({
|
|
1602
|
-
* bins: 100,
|
|
1603
|
-
* field: "temp",
|
|
1604
|
-
* start: 0, // lowest temp value to be included in the bin query
|
|
1605
|
-
* end: 30 // highest temp value to be included
|
|
1606
|
-
* })
|
|
1607
|
-
* });
|
|
1608
|
-
*
|
|
1609
|
-
* layer.queryAttributeBins(query).then((results) => {
|
|
1610
|
-
* const bins = results.features.map((bin) => {
|
|
1611
|
-
* return {
|
|
1612
|
-
* minValue: bin.attributes.lowerBoundary,
|
|
1613
|
-
* maxValue: bin.attributes.upperBoundary,
|
|
1614
|
-
* count: bin.attributes.temperature_count,
|
|
1615
|
-
* };
|
|
1616
|
-
* });
|
|
1617
|
-
*
|
|
1618
|
-
* // get the lower boundary of the first bin
|
|
1619
|
-
* const min = results.features[0].attributes.lowerBoundary;
|
|
1620
|
-
* // get the upper boundary of the last bin
|
|
1621
|
-
* const max = results.features[results.features.length - 1].attributes.upperBoundary;
|
|
1622
|
-
* // calculate the average for the bins
|
|
1623
|
-
* const average = results.features[0].attributes.lowerBoundary + results.features[results.features.length - 1].attributes.upperBoundary) / 2;
|
|
1624
|
-
*
|
|
1625
|
-
* const histogram = new Histogram({
|
|
1626
|
-
* container: "histogramDiv",
|
|
1627
|
-
* bins: bins,
|
|
1628
|
-
* min: min,
|
|
1629
|
-
* max: max,
|
|
1630
|
-
* average: average,
|
|
1631
|
-
* barCreatedFunction:(index, element) => {
|
|
1632
|
-
* element.setAttribute("fill", "#FFA500");
|
|
1633
|
-
* element.setAttribute("opacity", 0.5);
|
|
1634
|
-
* },
|
|
1635
|
-
* labelFormatFunction: (value, type) => {
|
|
1636
|
-
* return (Math.round(value)).toLocaleString();
|
|
1637
|
-
* },
|
|
1638
|
-
* dataLines: [{
|
|
1639
|
-
* value: histogram.min,
|
|
1640
|
-
* label: histogram.min.toLocaleString()
|
|
1641
|
-
* }, {
|
|
1642
|
-
* value: histogram.average,
|
|
1643
|
-
* label: histogram.average.toLocaleString()
|
|
1644
|
-
* }, {
|
|
1645
|
-
* value: histogram.max,
|
|
1646
|
-
* label: histogram.max.toLocaleString()
|
|
1647
|
-
* }]
|
|
1648
|
-
* });
|
|
1649
|
-
* });
|
|
1650
1594
|
*/
|
|
1651
1595
|
queryAttributeBins(binsQuery: AttributeBinsQueryProperties, options?: RequestOptions): Promise<AttributeBinsFeatureSet>;
|
|
1652
1596
|
/**
|
|
1653
|
-
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the
|
|
1654
|
-
*
|
|
1655
|
-
*
|
|
1656
|
-
* satisfying the layer's configuration/filters are returned.
|
|
1597
|
+
* 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
|
|
1598
|
+
* parameters are specified, then the extent and count of all features satisfying the layer's configuration/filters are returned.
|
|
1599
|
+
*
|
|
1657
1600
|
*
|
|
1658
1601
|
* > [!WARNING]
|
|
1659
|
-
* >
|
|
1660
|
-
* >
|
|
1661
|
-
* >
|
|
1662
|
-
* > Spatial queries
|
|
1663
|
-
* >
|
|
1664
|
-
* >
|
|
1665
|
-
* > - GDM 2000 (4742) – Malaysia
|
|
1666
|
-
* > - Gusterberg (Ferro) (8042) – Austria/Czech Republic
|
|
1602
|
+
* > - 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
|
|
1603
|
+
* > [GeoJSONLayerView.queryExtent()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/GeoJSONLayerView/#queryExtent).
|
|
1604
|
+
* > - Spatial queries have the same limitations as those listed in the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) documentation.
|
|
1605
|
+
* > - 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/):
|
|
1606
|
+
* > - GDM 2000 (4742) - Malaysia
|
|
1607
|
+
* > - Gusterberg (Ferro) (8042) - Austria/Czech Republic
|
|
1667
1608
|
* > - ISN2016 (8086) - Iceland
|
|
1668
1609
|
* > - SVY21 (4757) - Singapore
|
|
1669
1610
|
*
|
|
1670
|
-
* @param query - Specifies the attributes and spatial
|
|
1671
|
-
*
|
|
1672
|
-
* satisfying the layer's configuration/filters are returned.
|
|
1673
|
-
* @param options - An object with the following properties.
|
|
1611
|
+
* @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.
|
|
1612
|
+
* @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
|
|
1674
1613
|
* @returns When resolved, returns the extent and count of the features
|
|
1675
1614
|
* that satisfy the input query. See the object specification table below for details.
|
|
1676
1615
|
* Property | Type | Description
|
|
1677
1616
|
* ---------|------|-------------
|
|
1678
1617
|
* count | Number | The number of features that satisfy the input query.
|
|
1679
|
-
* extent | [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/)
|
|
1618
|
+
* extent | [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) | The extent of the features that satisfy the query.
|
|
1619
|
+
* @see [Sample - Zoom to extent of all features](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-queryextent/)
|
|
1680
1620
|
* @example
|
|
1621
|
+
* ```js
|
|
1681
1622
|
* // Queries for the extent of all features matching the layer's configurations
|
|
1682
1623
|
* // e.g. definitionExpression
|
|
1683
|
-
* layer.queryExtent().then(
|
|
1684
|
-
* // go to the extent of the
|
|
1685
|
-
*
|
|
1624
|
+
* layer.queryExtent().then((result) =>{
|
|
1625
|
+
* // go to the extent of the result satisfying the query
|
|
1626
|
+
* viewElement.goTo(result.extent);
|
|
1686
1627
|
* });
|
|
1628
|
+
* ```
|
|
1687
1629
|
* @example
|
|
1688
|
-
*
|
|
1689
|
-
* url: dataUrl
|
|
1690
|
-
* });
|
|
1691
|
-
*
|
|
1630
|
+
* ```js
|
|
1692
1631
|
* const query = new Query();
|
|
1693
1632
|
* query.where = "region = 'Southern California'";
|
|
1694
1633
|
*
|
|
1695
|
-
* layer.queryExtent(query)
|
|
1696
|
-
*
|
|
1634
|
+
* const result = await layer.queryExtent(query);
|
|
1635
|
+
* viewElement.goTo(result.extent); // go to the extent of the result satisfying the query
|
|
1697
1636
|
* });
|
|
1637
|
+
* ```
|
|
1698
1638
|
*/
|
|
1699
1639
|
queryExtent(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<{
|
|
1700
1640
|
count: number;
|
|
1701
1641
|
extent: Extent | null;
|
|
1702
1642
|
}>;
|
|
1703
1643
|
/**
|
|
1704
|
-
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the layer and
|
|
1644
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service or layer data and
|
|
1705
1645
|
* returns the number of features that satisfy the query. If no parameters are specified,
|
|
1706
1646
|
* the total number of features satisfying the layer's configuration/filters is returned.
|
|
1707
1647
|
*
|
|
1648
|
+
*
|
|
1708
1649
|
* > [!WARNING]
|
|
1709
|
-
* >
|
|
1710
|
-
* >
|
|
1711
|
-
* >
|
|
1712
|
-
* > Spatial queries
|
|
1713
|
-
* >
|
|
1714
|
-
* >
|
|
1715
|
-
* > - GDM 2000 (4742) – Malaysia
|
|
1716
|
-
* > - Gusterberg (Ferro) (8042) – Austria/Czech Republic
|
|
1650
|
+
* > - To query the count of features available in the view on the client-side rather than making a server-side query, use
|
|
1651
|
+
* > [GeoJSONLayerView.queryFeatureCount()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/GeoJSONLayerView/#queryFeatureCount).
|
|
1652
|
+
* > - Spatial queries have the same limitations as those listed in the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) documentation.
|
|
1653
|
+
* > - 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/):
|
|
1654
|
+
* > - GDM 2000 (4742) - Malaysia
|
|
1655
|
+
* > - Gusterberg (Ferro) (8042) - Austria/Czech Republic
|
|
1717
1656
|
* > - ISN2016 (8086) - Iceland
|
|
1718
1657
|
* > - SVY21 (4757) - Singapore
|
|
1719
1658
|
*
|
|
1720
|
-
* @param query - Specifies the attributes and
|
|
1721
|
-
*
|
|
1722
|
-
* satisfying the layer's configuration/filters is returned.
|
|
1723
|
-
* @param options - An object with the following properties.
|
|
1659
|
+
* @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.
|
|
1660
|
+
* @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
|
|
1724
1661
|
* @returns When resolved, returns the number of features that satisfy the query.
|
|
1662
|
+
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
1725
1663
|
* @example
|
|
1664
|
+
* ```js
|
|
1726
1665
|
* // Queries for the count of all features matching the layer's configurations
|
|
1727
1666
|
* // e.g. definitionExpression
|
|
1728
|
-
* layer.queryFeatureCount().then(
|
|
1667
|
+
* layer.queryFeatureCount().then((numFeatures) => {
|
|
1729
1668
|
* // prints the total count to the console
|
|
1730
1669
|
* console.log(numFeatures);
|
|
1731
1670
|
* });
|
|
1671
|
+
* ```
|
|
1732
1672
|
* @example
|
|
1733
|
-
*
|
|
1734
|
-
* url: dataUrl
|
|
1735
|
-
* });
|
|
1736
|
-
*
|
|
1673
|
+
* ```js
|
|
1737
1674
|
* const query = new Query();
|
|
1738
1675
|
* query.where = "region = 'Southern California'";
|
|
1739
1676
|
*
|
|
1740
|
-
* layer.queryFeatureCount(query)
|
|
1741
|
-
*
|
|
1742
|
-
*
|
|
1677
|
+
* const featureCount = await layer.queryFeatureCount(query);
|
|
1678
|
+
* console.log(featureCount); // prints the number of results satisfying the query
|
|
1679
|
+
* ```
|
|
1743
1680
|
*/
|
|
1744
1681
|
queryFeatureCount(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<number>;
|
|
1745
1682
|
/**
|
|
1746
|
-
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against
|
|
1747
|
-
* [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) once the promise resolves.
|
|
1748
|
-
* 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/)
|
|
1749
|
-
* features, which can be added to the [view's graphics](https://developers.arcgis.com/javascript/latest/references/core/views/View/#graphics).
|
|
1750
|
-
* This array will not be populated if zero results are found.
|
|
1683
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against a feature service or layer data and returns a
|
|
1684
|
+
* [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/).
|
|
1751
1685
|
*
|
|
1752
1686
|
* > [!WARNING]
|
|
1753
1687
|
* >
|
|
1754
|
-
* > **
|
|
1755
|
-
* >
|
|
1756
|
-
* >
|
|
1757
|
-
* >
|
|
1758
|
-
* >
|
|
1759
|
-
* > Spatial queries are not
|
|
1760
|
-
* > - GDM 2000 (4742)
|
|
1761
|
-
* > - Gusterberg (Ferro) (8042)
|
|
1688
|
+
* > **Notes**
|
|
1689
|
+
* > - To query features visible in the view on the client-side rather than making a server-side query, use
|
|
1690
|
+
* > [GeoJSONLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/GeoJSONLayerView/#queryFeatures).
|
|
1691
|
+
* > - Attribute values used in attribute queries executed against these layers are case sensitive.
|
|
1692
|
+
* > - Spatial queries have the same limitations as those listed in the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) documentation.
|
|
1693
|
+
* > - 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/):
|
|
1694
|
+
* > - GDM 2000 (4742) - Malaysia
|
|
1695
|
+
* > - Gusterberg (Ferro) (8042) - Austria/Czech Republic
|
|
1762
1696
|
* > - ISN2016 (8086) - Iceland
|
|
1763
1697
|
* > - SVY21 (4757) - Singapore
|
|
1764
1698
|
*
|
|
1765
|
-
* @param query - Specifies the attributes and spatial
|
|
1766
|
-
*
|
|
1767
|
-
*
|
|
1768
|
-
* @
|
|
1769
|
-
* @
|
|
1770
|
-
*
|
|
1771
|
-
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
1699
|
+
* @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.
|
|
1700
|
+
* @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
|
|
1701
|
+
* @returns When resolved, returns a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) containing an array of graphic features.
|
|
1702
|
+
* @since 4.34
|
|
1703
|
+
* @see [Samples using queryFeatures() method](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=queryfeatures)
|
|
1704
|
+
* @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
|
|
1772
1705
|
* @example
|
|
1706
|
+
* ```js
|
|
1773
1707
|
* // Queries for all the features matching the layer's configurations
|
|
1774
1708
|
* // e.g. definitionExpression
|
|
1775
|
-
* layer.queryFeatures()
|
|
1776
|
-
*
|
|
1777
|
-
*
|
|
1778
|
-
*
|
|
1709
|
+
* const results = await layer.queryFeatures();
|
|
1710
|
+
* // prints the array of result graphics to the console
|
|
1711
|
+
* console.log(results.features);
|
|
1712
|
+
* ```
|
|
1779
1713
|
* @example
|
|
1780
|
-
*
|
|
1781
|
-
*
|
|
1782
|
-
* });
|
|
1783
|
-
*
|
|
1714
|
+
* ```js
|
|
1715
|
+
* // create a query object to filter features by setting desired properties
|
|
1784
1716
|
* const query = new Query();
|
|
1785
1717
|
* query.where = "STATE_NAME = 'Washington'";
|
|
1786
1718
|
* query.outSpatialReference = { wkid: 102100 };
|
|
1787
1719
|
* query.returnGeometry = true;
|
|
1788
1720
|
* query.outFields = [ "CITY_NAME" ];
|
|
1789
1721
|
*
|
|
1790
|
-
* layer.queryFeatures(query)
|
|
1791
|
-
*
|
|
1792
|
-
*
|
|
1722
|
+
* const results = await layer.queryFeatures(query);
|
|
1723
|
+
* console.log(results.features); // prints the array of features to the console
|
|
1724
|
+
* ```
|
|
1793
1725
|
* @example
|
|
1726
|
+
* ```js
|
|
1794
1727
|
* // Get a query object for the layer's current configuration
|
|
1795
1728
|
* const queryParams = layer.createQuery();
|
|
1796
1729
|
* // set a geometry for filtering features by a region of interest
|
|
@@ -1799,53 +1732,63 @@ export default class GeoJSONLayer extends GeoJSONLayerSuperclass {
|
|
|
1799
1732
|
* queryParams.where = queryParams.where + " AND TYPE = 'Extreme'";
|
|
1800
1733
|
*
|
|
1801
1734
|
* // query the layer with the modified params object
|
|
1802
|
-
* layer.queryFeatures(queryParams)
|
|
1803
|
-
*
|
|
1804
|
-
*
|
|
1805
|
-
*
|
|
1735
|
+
* const results = await layer.queryFeatures(queryParams);
|
|
1736
|
+
* // prints the array of result graphics to the console
|
|
1737
|
+
* console.log(results.features);
|
|
1738
|
+
* ```
|
|
1739
|
+
* @example
|
|
1740
|
+
* ```js
|
|
1741
|
+
* // query all features from the layer and only return
|
|
1742
|
+
* // attributes specified in outFields.
|
|
1743
|
+
* const query = { // autocasts as Query
|
|
1744
|
+
* where: "1=1", // select all features
|
|
1745
|
+
* returnGeometry: false,
|
|
1746
|
+
* outFields: ["State_Name", "City_Name", "pop2010"]
|
|
1747
|
+
* };
|
|
1748
|
+
*
|
|
1749
|
+
* const results = await layer.queryFeatures(query);
|
|
1750
|
+
* console.log(results.features); // prints the array of features to the console
|
|
1751
|
+
* ```
|
|
1806
1752
|
*/
|
|
1807
1753
|
queryFeatures(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<FeatureSet>;
|
|
1808
1754
|
/**
|
|
1809
|
-
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the
|
|
1755
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and returns an
|
|
1810
1756
|
* array of Object IDs for features that satisfy the input query. If no parameters are specified,
|
|
1811
1757
|
* then the Object IDs of all features satisfying the layer's configuration/filters are returned.
|
|
1812
1758
|
*
|
|
1759
|
+
*
|
|
1813
1760
|
* > [!WARNING]
|
|
1814
|
-
* >
|
|
1815
|
-
* >
|
|
1816
|
-
* >
|
|
1817
|
-
* > Spatial queries
|
|
1818
|
-
* >
|
|
1819
|
-
* >
|
|
1820
|
-
* > - GDM 2000 (4742) – Malaysia
|
|
1821
|
-
* > - Gusterberg (Ferro) (8042) – Austria/Czech Republic
|
|
1761
|
+
* > - To query the ObjectIDs of features visible in the view on the client-side rather than making a server-side query, use
|
|
1762
|
+
* > [GeoJSONLayerView.queryObjectIds()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/GeoJSONLayerView/#queryObjectIds).
|
|
1763
|
+
* > - Spatial queries have the same limitations as those listed in the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) documentation.
|
|
1764
|
+
* > - 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/):
|
|
1765
|
+
* > - GDM 2000 (4742) - Malaysia
|
|
1766
|
+
* > - Gusterberg (Ferro) (8042) - Austria/Czech Republic
|
|
1822
1767
|
* > - ISN2016 (8086) - Iceland
|
|
1823
1768
|
* > - SVY21 (4757) - Singapore
|
|
1824
1769
|
*
|
|
1825
|
-
* @param query - Specifies the attributes and spatial
|
|
1826
|
-
*
|
|
1827
|
-
*
|
|
1828
|
-
* @
|
|
1829
|
-
* @returns When resolved, returns an array of numbers representing the object IDs of the features
|
|
1830
|
-
* satisfying the query.
|
|
1770
|
+
* @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.
|
|
1771
|
+
* @param options - Additional request options. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions).
|
|
1772
|
+
* @returns When resolved, returns an array of numbers representing the object IDs of the features satisfying the query.
|
|
1773
|
+
* @see [Sample - Query Related Features](https://developers.arcgis.com/javascript/latest/sample-code/query-related-features/)
|
|
1831
1774
|
* @example
|
|
1775
|
+
* ```js
|
|
1832
1776
|
* // Queries for all the Object IDs of features matching the layer's configurations
|
|
1833
1777
|
* // e.g. definitionExpression
|
|
1834
|
-
* layer.queryObjectIds().then(
|
|
1778
|
+
* layer.queryObjectIds().then((results) => {
|
|
1835
1779
|
* // prints the array of Object IDs to the console
|
|
1836
1780
|
* console.log(results);
|
|
1837
1781
|
* });
|
|
1782
|
+
* ```
|
|
1838
1783
|
* @example
|
|
1839
|
-
*
|
|
1840
|
-
*
|
|
1784
|
+
* ```js
|
|
1785
|
+
* const query = new Query({
|
|
1786
|
+
* where: "SUB_REGION = 'Pacific'"
|
|
1841
1787
|
* });
|
|
1842
1788
|
*
|
|
1843
|
-
* const
|
|
1844
|
-
*
|
|
1845
|
-
*
|
|
1846
|
-
* layer.queryObjectIds(query).then(function(ids){
|
|
1847
|
-
* console.log(ids); // an array of object IDs
|
|
1848
|
-
* });
|
|
1789
|
+
* const ids = await layer.queryObjectIds(query);
|
|
1790
|
+
* console.log(ids); // an array of object IDs
|
|
1791
|
+
* ```
|
|
1849
1792
|
*/
|
|
1850
1793
|
queryObjectIds(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<ObjectId[]>;
|
|
1851
1794
|
/**
|