@arcgis/core 5.0.0-next.51 → 5.0.0-next.53
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/AttributeBinsGraphic.d.ts +22 -3
- package/Basemap.d.ts +337 -3
- package/Camera.d.ts +160 -3
- package/CameraLayout.d.ts +43 -3
- package/Color.d.ts +270 -3
- package/Graphic.d.ts +400 -3
- package/Ground.d.ts +270 -3
- package/Map.d.ts +509 -3
- package/PopupTemplate.d.ts +964 -3
- package/Viewpoint.d.ts +104 -3
- package/WebDocument2D.d.ts +402 -3
- package/WebLinkChart.d.ts +280 -3
- package/WebMap.d.ts +174 -3
- package/WebScene.d.ts +662 -3
- package/analysis/Analysis.d.ts +43 -3
- package/analysis/AreaMeasurementAnalysis.d.ts +128 -3
- package/analysis/DimensionAnalysis.d.ts +112 -3
- package/analysis/DimensionSimpleStyle.d.ts +114 -3
- package/analysis/DirectLineMeasurementAnalysis.d.ts +129 -3
- package/analysis/DistanceMeasurementAnalysis.d.ts +85 -3
- package/analysis/ElevationProfile/ElevationProfileDisplayUnits.d.ts +20 -3
- package/analysis/ElevationProfile/ElevationProfileLine.d.ts +61 -3
- package/analysis/ElevationProfile/ElevationProfileLineChartOptions.d.ts +22 -3
- package/analysis/ElevationProfile/ElevationProfileLineGround.d.ts +43 -3
- package/analysis/ElevationProfile/ElevationProfileLineInput.d.ts +48 -3
- package/analysis/ElevationProfile/ElevationProfileLineQuery.d.ts +118 -3
- package/analysis/ElevationProfile/ElevationProfileLineScene.d.ts +95 -3
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +31 -3
- package/analysis/ElevationProfile/ElevationProfileViewOptions.d.ts +23 -3
- package/analysis/ElevationProfile/elevationProfileLineTypes.d.ts +8 -0
- package/analysis/ElevationProfileAnalysis.d.ts +184 -3
- package/analysis/FeatureReference.d.ts +19 -0
- package/analysis/LengthDimension.d.ts +120 -3
- package/analysis/LineOfSightAnalysis.d.ts +124 -3
- package/analysis/LineOfSightAnalysisObserver.d.ts +77 -3
- package/analysis/LineOfSightAnalysisTarget.d.ts +69 -3
- package/analysis/ShadowCast/DiscreteOptions.d.ts +44 -3
- package/analysis/ShadowCast/MinDurationOptions.d.ts +70 -0
- package/analysis/ShadowCast/MinDurationOptions.js +5 -0
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +45 -0
- package/analysis/ShadowCast/{DurationOptions.js → TotalDurationOptions.js} +1 -1
- package/analysis/ShadowCast/types.d.ts +9 -3
- package/analysis/ShadowCastAnalysis.d.ts +185 -3
- package/analysis/ShadowCastAnalysis.js +1 -1
- package/analysis/SliceAnalysis.d.ts +152 -3
- package/analysis/SlicePlane.d.ts +74 -3
- package/analysis/Viewshed.d.ts +116 -3
- package/analysis/ViewshedAnalysis.d.ts +100 -3
- package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +28 -3
- package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +22 -3
- package/analysis/VolumeMeasurement/VolumeMeasurementInputUnits.d.ts +20 -3
- package/analysis/VolumeMeasurement/volumeMeasurementUtils.d.ts +2 -0
- package/analysis/VolumeMeasurementAnalysis.d.ts +162 -3
- package/analysis/dimensionUtils.d.ts +2 -0
- package/analysis/interfaces.d.ts +12 -0
- package/analysis/support/AnalysisOriginWebScene.d.ts +24 -3
- package/applications/Components/QuantityFormatter.d.ts +84 -3
- package/applications/Components/SelectionOperation.d.ts +32 -2
- package/applications/Components/SketchTooltipControls.d.ts +26 -2
- package/applications/Components/actionUtils.d.ts +12 -2
- package/applications/Components/analysisUtils.d.ts +145 -6
- package/applications/Components/arcadeEditorUtils.d.ts +21 -3
- package/applications/Components/arcadeFeatureUtils.d.ts +37 -4
- package/applications/Components/baUtils.d.ts +61 -0
- package/applications/Components/basemapUtils.d.ts +8 -2
- package/applications/Components/drawUtils.d.ts +13 -2
- package/applications/Components/featureUtils.d.ts +86 -10
- package/applications/Components/fontUtils.d.ts +10 -2
- package/applications/Components/formatUtils.d.ts +8 -2
- package/applications/Components/getDefaultUnits.d.ts +9 -2
- package/applications/Components/gfxUtils.d.ts +3 -2
- package/applications/Components/imageryUtils.d.ts +165 -9
- package/applications/Components/layerOriginUtils.d.ts +63 -5
- package/applications/Components/layersEffectsJsonUtils.d.ts +9 -2
- package/applications/Components/previewSymbol2D.d.ts +10 -2
- package/applications/Components/reactiveUtils.d.ts +46 -6
- package/applications/Components/sanitizerUtils.d.ts +6 -2
- package/applications/Components/stringUtils.d.ts +41 -5
- package/applications/Components/styleUtils.d.ts +8 -2
- package/applications/Components/svgUtils.d.ts +37 -4
- package/applications/Components/testUtils.d.ts +15 -3
- package/applications/Components/viewUtils.d.ts +8 -2
- package/applications/Components/webStyleSymbolUtils.d.ts +18 -2
- package/applications/Excalibur/videoViewUtils.d.ts +32 -2
- package/applications/ExperienceBuilder/sketchUtils.d.ts +62 -6
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +55 -3
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +160 -10
- package/applications/KnowledgeStudio/layerInternalAccessUtils.d.ts +50 -8
- package/applications/KnowledgeStudio/reshape.d.ts +170 -4
- package/applications/KnowledgeStudio/resourceSerializationUtils.d.ts +46 -5
- package/applications/MapViewer/layerUtils.d.ts +10 -2
- package/applications/MapViewer/mediaUtils.d.ts +62 -4
- package/applications/MapViewer/templateUtils.d.ts +97 -5
- package/applications/SceneViewer/colorUtils.d.ts +10 -2
- package/applications/SceneViewer/devEnvironmentUtils.d.ts +30 -4
- package/applications/SceneViewer/layerUtils.d.ts +22 -3
- package/applications/SceneViewer/sceneViewerUtils.d.ts +248 -24
- package/applications/SceneViewer/symbolUtils.d.ts +10 -2
- package/applications/Urban/meshUtils.d.ts +14 -2
- package/applications/WebEditor/sketchUtils.d.ts +39 -3
- package/arcade/arcadeAsyncRuntime.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/arcadeRuntime.js +1 -1
- package/arcade/compilerUtils.js +1 -1
- package/arcade/containerUtils.js +1 -1
- package/arcade/featureSetUtils.js +1 -1
- package/arcade/featureset/actions/GroupBy.js +1 -1
- package/arcade/featureset/actions/OrderBy.js +1 -1
- package/arcade/featureset/support/shared.d.ts +16 -0
- package/arcade/functions/convertdirection.js +1 -1
- package/arcade/functions/date.js +1 -1
- package/arcade/functions/feature.js +1 -1
- package/arcade/functions/featuresetbase.js +1 -1
- package/arcade/functions/featuresetgeom.js +1 -1
- package/arcade/functions/featuresetstring.js +1 -1
- package/arcade/functions/fieldStats.js +1 -1
- package/arcade/functions/geomasync.js +1 -1
- package/arcade/functions/geometry.js +1 -1
- package/arcade/functions/geomsync.js +1 -1
- package/arcade/functions/knowledgegraph.js +1 -1
- package/arcade/functions/maths.js +1 -1
- package/arcade/functions/string.js +1 -1
- package/arcade/functions/track.js +1 -1
- package/arcade/geometry/functions.js +1 -1
- package/arcade/languageUtils.js +1 -1
- package/arcade/parser.js +1 -1
- package/arcade/treeAnalysis.js +1 -1
- package/arcade/validation/arcadeValidator.js +1 -1
- package/arcade.d.ts +752 -3
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{4e01e509a761a9d00b52.js → 0359ac6d938e0df936d0.js} +1 -1
- package/assets/esri/core/workers/chunks/{f609b256df9eb3803464.js → 058fb2cd6387acfd458c.js} +1 -1
- package/assets/esri/core/workers/chunks/{001a7a4cf6fe74432ed6.js → 0eb6b9c638a5fcfe9bab.js} +1 -1
- package/assets/esri/core/workers/chunks/{dee9867b3379e024ae96.js → 33154a245eeca4ba38c6.js} +1 -1
- package/assets/esri/core/workers/chunks/{e9e0f1c355f963cbea74.js → 6b8c15f3970289e73a47.js} +1 -1
- package/assets/esri/core/workers/chunks/{29286234be26680245f6.js → 7763cf4a9a4343c28591.js} +1 -1
- package/assets/esri/core/workers/chunks/7972954801b82e7afc72.js +1 -0
- package/assets/esri/core/workers/chunks/a3f23f08337e101e4e64.js +1 -0
- package/assets/esri/core/workers/chunks/be80ed6e2955eabe912f.js +1 -0
- package/assets/esri/core/workers/chunks/{b14f9a46e583e1625a2b.js → bf5a120bc0c4851dbb69.js} +1 -1
- package/assets/esri/core/workers/chunks/cef873da468668eb95cb.js +1035 -0
- package/assets/esri/core/workers/chunks/d63cf90d1356d1f10138.js +1 -0
- package/assets/esri/core/workers/chunks/{92ec96aa743cabc9475d.js → d677b378449257103ec4.js} +1 -1
- package/assets/esri/core/workers/chunks/df0e5570174bf0942d7a.js +1 -0
- package/assets/esri/core/workers/chunks/dfbbead4c24d13682891.js +1 -0
- package/assets/esri/themes/base/widgets/_OrientedImageryViewerNavigationUI.scss +5 -31
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ar.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bg.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bs.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ca.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_cs.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_da.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_de.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_el.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_en.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_es.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_et.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fi.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_he.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hr.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hu.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_id.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_it.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ja.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ko.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lt.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lv.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_nl.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_no.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pl.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-BR.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-PT.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ro.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ru.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sk.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sl.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sr.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sv.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_th.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_tr.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_uk.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_vi.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-CN.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-HK.json +1 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-TW.json +1 -0
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_ar.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_bg.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_bs.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_ca.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_cs.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_da.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_de.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_el.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_es.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_et.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_fi.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_fr.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_he.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_hr.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_hu.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_id.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_it.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_ja.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_ko.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_lt.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_lv.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_nl.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_no.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_pl.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_pt-BR.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_pt-PT.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_ro.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_ru.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_sk.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_sl.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_sr.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_sv.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_th.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_tr.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_uk.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_vi.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_zh-CN.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_zh-HK.json +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_zh-TW.json +1 -1
- package/chunks/GlowComposition.glsl.js +2 -2
- package/chunks/aiServices.js +1 -1
- package/chunks/array.js +1 -1
- package/chunks/index.js +1 -1
- package/chunks/languageUtils.js +1 -1
- package/colorUtils.d.ts +13 -0
- package/config.d.ts +459 -3
- package/config.js +1 -1
- package/core/Accessor.d.ts +297 -3
- package/core/Clonable.d.ts +17 -3
- package/core/Collection.d.ts +856 -3
- package/core/Error.d.ts +54 -3
- package/core/Evented.d.ts +63 -3
- package/core/Handles.d.ts +91 -3
- package/core/Identifiable.d.ts +19 -3
- package/core/JSONSupport.d.ts +38 -3
- package/core/Loadable.d.ts +49 -3
- package/core/Logger.d.ts +29 -0
- package/core/Message.d.ts +2 -0
- package/core/MultiOriginJSONSupport.d.ts +13 -0
- package/core/NumericIdentifiable.d.ts +6 -0
- package/core/Promise.d.ts +50 -3
- package/core/ReadOnlyMultiOriginJSONSupport.d.ts +6 -0
- package/core/Version.d.ts +7 -0
- package/core/WriteableMultiOriginJSONMixin.d.ts +6 -0
- package/core/accessorSupport/ObservableBase.js +1 -1
- package/core/accessorSupport/Properties.js +1 -1
- package/core/accessorSupport/Property.js +1 -1
- package/core/accessorSupport/PropertyOrigin.d.ts +2 -0
- package/core/accessorSupport/decorators/subclass.js +1 -1
- package/core/accessorSupport/decorators.d.ts +131 -5
- package/core/accessorSupport/interfaces.d.ts +50 -0
- package/core/accessorSupport/tracking/ObservationHandle.js +1 -1
- package/core/accessorSupport/tracking/TrackingTarget.js +1 -1
- package/core/accessorSupport/tracking.js +1 -1
- package/core/interfaces.d.ts +26 -0
- package/core/lang.d.ts +18 -2
- package/core/promiseUtils.d.ts +220 -8
- package/core/quantity.d.ts +35 -5
- package/core/reactiveUtils.d.ts +308 -6
- package/core/scheduling.d.ts +95 -3
- package/core/sql/WhereClause.d.ts +94 -3
- package/core/sql/WhereGrammar.d.ts +316 -0
- package/core/sql/sql92grammar.d.ts +12 -0
- package/core/sql.d.ts +51 -3
- package/core/string.d.ts +3 -0
- package/core/time.d.ts +2 -0
- package/core/timeUtils.d.ts +2 -0
- package/core/units.d.ts +32 -12
- package/core/urlUtils.d.ts +126 -12
- package/core/workers/Connection.d.ts +271 -3
- package/core/workers/workers.d.ts +21 -0
- package/core/workers.d.ts +74 -2
- package/editing/interfaces.d.ts +7 -0
- package/editing/sharedTemplates/SharedTemplate.d.ts +20 -3
- package/editing/sharedTemplates/SharedTemplateMetadata.d.ts +40 -3
- package/editing/sharedTemplates/interfaces.d.ts +2 -0
- package/effects/FocusArea.d.ts +79 -3
- package/effects/FocusAreaOutline.d.ts +22 -3
- package/effects/FocusAreaStyle.d.ts +2 -0
- package/effects/FocusAreas.d.ts +67 -3
- package/form/ExpressionInfo.d.ts +73 -3
- package/form/FormTemplate.d.ts +302 -3
- package/form/elements/AttachmentElement.d.ts +100 -3
- package/form/elements/Element.d.ts +77 -3
- package/form/elements/FieldElement.d.ts +260 -3
- package/form/elements/GroupElement.d.ts +135 -3
- package/form/elements/RelationshipElement.d.ts +102 -3
- package/form/elements/TextElement.d.ts +73 -3
- package/form/elements/UtilityNetworkAssociationsElement.d.ts +80 -3
- package/form/elements/inputs/BarcodeScannerInput.d.ts +16 -3
- package/form/elements/inputs/ComboBoxInput.d.ts +38 -3
- package/form/elements/inputs/DatePickerInput.d.ts +29 -3
- package/form/elements/inputs/DateTimeOffsetPickerInput.d.ts +44 -3
- package/form/elements/inputs/DateTimePickerInput.d.ts +56 -3
- package/form/elements/inputs/Input.d.ts +5 -0
- package/form/elements/inputs/RadioButtonsInput.d.ts +39 -3
- package/form/elements/inputs/SwitchInput.d.ts +39 -3
- package/form/elements/inputs/TextAreaInput.d.ts +30 -3
- package/form/elements/inputs/TextBoxInput.d.ts +31 -3
- package/form/elements/inputs/TextInput.d.ts +18 -3
- package/form/elements/inputs/TimePickerInput.d.ts +41 -3
- package/form/elements/inputs/attachments/AttachmentInput.d.ts +100 -3
- package/form/elements/inputs/attachments/AudioInput.d.ts +37 -3
- package/form/elements/inputs/attachments/DocumentInput.d.ts +29 -3
- package/form/elements/inputs/attachments/ImageInput.d.ts +37 -3
- package/form/elements/inputs/attachments/Input.d.ts +5 -0
- package/form/elements/inputs/attachments/SignatureInput.d.ts +34 -3
- package/form/elements/inputs/attachments/VideoInput.d.ts +37 -3
- package/form/elements/inputs/attachments/support/inputs.d.ts +10 -0
- package/form/elements/inputs.d.ts +73 -23
- package/form/elements.d.ts +69 -15
- package/form/support/formUtils.d.ts +4 -0
- package/geometry/Circle.d.ts +102 -3
- package/geometry/Extent.d.ts +188 -3
- package/geometry/Geometry.d.ts +64 -3
- package/geometry/HeightModelInfo.d.ts +77 -3
- package/geometry/Mesh.d.ts +604 -3
- package/geometry/Multipoint.d.ts +60 -3
- package/geometry/Point.d.ts +154 -3
- package/geometry/Polygon.d.ts +198 -3
- package/geometry/Polyline.d.ts +135 -3
- package/geometry/SpatialReference.d.ts +238 -3
- package/geometry/coordinateFormatter.d.ts +254 -13
- package/geometry/geodesicUtils.d.ts +19 -0
- package/geometry/geometryEngine.d.ts +667 -39
- package/geometry/geometryEngineInterfaces.d.ts +59 -0
- package/geometry/interfaces.d.ts +2 -0
- package/geometry/operators/affineTransformOperator.d.ts +26 -4
- package/geometry/operators/alphaShapeOperator.d.ts +54 -4
- package/geometry/operators/areaOperator.d.ts +30 -3
- package/geometry/operators/autoCompleteOperator.d.ts +21 -3
- package/geometry/operators/boundaryOperator.d.ts +34 -4
- package/geometry/operators/bufferOperator.d.ts +69 -4
- package/geometry/operators/centroidOperator.d.ts +19 -3
- package/geometry/operators/clipOperator.d.ts +29 -4
- package/geometry/operators/containsOperator.d.ts +26 -4
- package/geometry/operators/convexHullOperator.d.ts +45 -5
- package/geometry/operators/crossesOperator.d.ts +29 -4
- package/geometry/operators/cutOperator.d.ts +19 -3
- package/geometry/operators/densifyOperator.d.ts +73 -4
- package/geometry/operators/differenceOperator.d.ts +28 -4
- package/geometry/operators/disjointOperator.d.ts +27 -4
- package/geometry/operators/distanceOperator.d.ts +29 -3
- package/geometry/operators/equalsOperator.d.ts +26 -4
- package/geometry/operators/extendOperator.d.ts +40 -3
- package/geometry/operators/generalizeOperator.d.ts +55 -4
- package/geometry/operators/geodesicBufferOperator.d.ts +88 -6
- package/geometry/operators/geodesicProximityOperator.d.ts +122 -8
- package/geometry/operators/geodeticAreaOperator.d.ts +55 -5
- package/geometry/operators/geodeticDensifyOperator.d.ts +67 -6
- package/geometry/operators/geodeticDistanceOperator.d.ts +56 -5
- package/geometry/operators/geodeticLengthOperator.d.ts +55 -5
- package/geometry/operators/geodeticUtilsOperator.d.ts +104 -5
- package/geometry/operators/graphicBufferOperator.d.ts +74 -3
- package/geometry/operators/integrateOperator.d.ts +19 -3
- package/geometry/operators/intersectionOperator.d.ts +74 -5
- package/geometry/operators/intersectsOperator.d.ts +26 -4
- package/geometry/operators/isNearOperator.d.ts +31 -3
- package/geometry/operators/labelPointOperator.d.ts +27 -4
- package/geometry/operators/lengthOperator.d.ts +30 -3
- package/geometry/operators/linesToPolygonsOperator.d.ts +19 -3
- package/geometry/operators/locateBetweenOperator.d.ts +23 -3
- package/geometry/operators/minimumBoundingCircleOperator.d.ts +38 -4
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +33 -3
- package/geometry/operators/offsetOperator.d.ts +74 -4
- package/geometry/operators/overlapsOperator.d.ts +27 -4
- package/geometry/operators/polygonOverlayOperator.d.ts +61 -3
- package/geometry/operators/polygonSlicerOperator.d.ts +68 -5
- package/geometry/operators/projectOperator.d.ts +58 -6
- package/geometry/operators/proximityOperator.d.ts +81 -5
- package/geometry/operators/relateOperator.d.ts +34 -5
- package/geometry/operators/reshapeOperator.d.ts +24 -3
- package/geometry/operators/shapePreservingProjectOperator.d.ts +77 -6
- package/geometry/operators/simplifyOGCOperator.d.ts +61 -5
- package/geometry/operators/simplifyOperator.d.ts +63 -5
- package/geometry/operators/support/GeographicTransformation.d.ts +61 -3
- package/geometry/operators/support/GeographicTransformationStep.d.ts +62 -3
- package/geometry/operators/support/Transformation.d.ts +168 -3
- package/geometry/operators/support/geodeticCurveType.d.ts +2 -0
- package/geometry/operators/support/geographicTransformationUtils.d.ts +113 -5
- package/geometry/operators/support/projectionTransformation.d.ts +16 -0
- package/geometry/operators/support/proximityResult.d.ts +24 -0
- package/geometry/operators/symmetricDifferenceOperator.d.ts +27 -4
- package/geometry/operators/touchesOperator.d.ts +26 -4
- package/geometry/operators/unionOperator.d.ts +27 -4
- package/geometry/operators/withinOperator.d.ts +26 -4
- package/geometry/support/MeshComponent.d.ts +134 -3
- package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +36 -3
- package/geometry/support/MeshLocalVertexSpace.d.ts +28 -3
- package/geometry/support/MeshMaterial.d.ts +197 -3
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +149 -3
- package/geometry/support/MeshTexture.d.ts +159 -3
- package/geometry/support/MeshTextureTransform.d.ts +44 -3
- package/geometry/support/MeshTransform.d.ts +51 -3
- package/geometry/support/MeshVertexAttributes.d.ts +33 -0
- package/geometry/support/MeshVertexSpace.d.ts +4 -0
- package/geometry/support/geodesicUtils.d.ts +147 -6
- package/geometry/support/interfaces.d.ts +3 -0
- package/geometry/support/jsonUtils.d.ts +26 -3
- package/geometry/support/meshUtils/elevation.d.ts +16 -0
- package/geometry/support/meshUtils/elevationSampler.d.ts +9 -0
- package/geometry/support/meshUtils/exporters/gltf/interfaces.d.ts +11 -0
- package/geometry/support/meshUtils/georeference.d.ts +10 -0
- package/geometry/support/meshUtils/interfaces.d.ts +150 -0
- package/geometry/support/meshUtils.d.ts +144 -8
- package/geometry/support/normalizeUtils.d.ts +66 -3
- package/geometry/support/typeUtils.d.ts +14 -0
- package/geometry/support/webMercatorUtils.d.ts +75 -8
- package/geometry.d.ts +98 -15
- package/geometry.js +1 -1
- package/graphic/GraphicOrigin.d.ts +15 -3
- package/graphic/VectorTileGraphicOrigin.d.ts +30 -3
- package/ground/NavigationConstraint.d.ts +19 -0
- package/identity/Credential.d.ts +74 -3
- package/identity/IdentityManager.d.ts +30 -3
- package/identity/IdentityManagerBase.d.ts +348 -0
- package/identity/OAuthInfo.d.ts +184 -3
- package/identity/ServerInfo.d.ts +61 -3
- package/interfaces.d.ts +7130 -144795
- package/intl/date.d.ts +11 -0
- package/intl/locale.d.ts +7 -0
- package/intl/messages.d.ts +48 -0
- package/intl/number.d.ts +22 -0
- package/intl/substitute.d.ts +161 -0
- package/intl/t9n.d.ts +23 -0
- package/intl.d.ts +629 -21
- package/kernel.d.ts +21 -3
- package/kernel.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +187 -3
- package/layers/BaseElevationLayer.d.ts +243 -3
- package/layers/BaseTileLayer.d.ts +343 -3
- package/layers/BingMapsLayer.d.ts +128 -3
- package/layers/BlendMode.d.ts +2 -0
- package/layers/BuildingSceneLayer.d.ts +407 -3
- package/layers/CSVLayer.d.ts +1467 -3
- package/layers/CSVLayer.js +1 -1
- package/layers/CatalogLayer.d.ts +661 -3
- package/layers/DimensionLayer.d.ts +146 -3
- package/layers/ElevationLayer.d.ts +207 -3
- package/layers/FeatureLayer.d.ts +2188 -3
- package/layers/GeoJSONLayer.d.ts +1833 -3
- package/layers/GeoRSSLayer.d.ts +142 -3
- package/layers/GraphicsLayer.d.ts +260 -3
- package/layers/GroupLayer.d.ts +251 -3
- package/layers/ImageryLayer.d.ts +371 -3
- package/layers/ImageryTileLayer.d.ts +836 -3
- package/layers/IntegratedMesh3DTilesLayer.d.ts +191 -3
- package/layers/IntegratedMeshLayer.d.ts +212 -3
- package/layers/KMLLayer.d.ts +65 -3
- package/layers/KnowledgeGraphLayer.d.ts +600 -3
- package/layers/Layer.d.ts +519 -3
- package/layers/LayerListMode.d.ts +2 -0
- package/layers/LayerType.d.ts +2 -0
- package/layers/LineOfSightLayer.d.ts +169 -3
- package/layers/LinkChartLayer.d.ts +318 -3
- package/layers/MapImageLayer.d.ts +717 -3
- package/layers/MapNotesLayer.d.ts +194 -3
- package/layers/MediaLayer.d.ts +217 -3
- package/layers/OGCFeatureLayer.d.ts +455 -3
- package/layers/OpenStreetMapLayer.d.ts +68 -3
- package/layers/OrientedImageryLayer.d.ts +1037 -3
- package/layers/ParquetLayer.d.ts +717 -3
- package/layers/PointCloudLayer.d.ts +407 -3
- package/layers/RouteLayer.d.ts +436 -3
- package/layers/SceneLayer.d.ts +1291 -3
- package/layers/StreamLayer.d.ts +971 -3
- package/layers/SubtypeGroupLayer.d.ts +908 -3
- package/layers/TileLayer.d.ts +227 -3
- package/layers/UnknownLayer.d.ts +30 -3
- package/layers/UnsupportedLayer.d.ts +34 -3
- package/layers/VectorTileLayer.d.ts +935 -3
- package/layers/VideoLayer.d.ts +603 -3
- package/layers/ViewshedLayer.d.ts +132 -3
- package/layers/VoxelLayer.d.ts +657 -3
- package/layers/WCSLayer.d.ts +264 -3
- package/layers/WFSLayer.d.ts +848 -3
- package/layers/WMSLayer.d.ts +859 -3
- package/layers/WMTSLayer.d.ts +111 -3
- package/layers/WebTileLayer.d.ts +139 -3
- package/layers/buildingSublayers/BuildingComponentSublayer.d.ts +333 -3
- package/layers/buildingSublayers/BuildingGroupSublayer.d.ts +66 -3
- package/layers/buildingSublayers/BuildingSublayer.d.ts +64 -3
- package/layers/buildingSublayers/utils.d.ts +4 -0
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +60 -3
- package/layers/catalog/CatalogFootprintLayer.d.ts +707 -3
- package/layers/catalog/catalogUtils.d.ts +42 -3
- package/layers/effects/interfaces.d.ts +276 -0
- package/layers/graphics/editingSupport.d.ts +251 -0
- package/layers/graphics/sources/ParquetSource.d.ts +26 -0
- package/layers/interfaces.d.ts +470 -0
- package/layers/knowledgeGraph/IdTypePair.d.ts +8 -0
- package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.d.ts +73 -0
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +794 -3
- package/layers/knowledgeGraph/KnowledgeGraphSublayerBase.d.ts +6 -0
- package/layers/knowledgeGraph/LayoutMode.d.ts +3 -0
- package/layers/mixins/APIKeyMixin.d.ts +30 -3
- package/layers/mixins/ArcGISCachedService.d.ts +28 -3
- package/layers/mixins/ArcGISImageService.d.ts +1298 -3
- package/layers/mixins/ArcGISMapService.d.ts +102 -3
- package/layers/mixins/ArcGISService.d.ts +6 -0
- package/layers/mixins/BlendLayer.d.ts +241 -3
- package/layers/mixins/CustomParametersMixin.d.ts +28 -3
- package/layers/mixins/DisplayFilteredLayer.d.ts +148 -3
- package/layers/mixins/EditBusLayer.d.ts +37 -0
- package/layers/mixins/FeatureEffectLayer.d.ts +122 -3
- package/layers/mixins/FeatureLayerBase.d.ts +572 -3
- package/layers/mixins/FeatureReductionLayer.d.ts +152 -3
- package/layers/mixins/ImageryTileMixin.d.ts +398 -3
- package/layers/mixins/OperationalLayer.d.ts +25 -3
- package/layers/mixins/OrderedLayer.d.ts +134 -3
- package/layers/mixins/PortalLayer.d.ts +158 -3
- package/layers/mixins/PublishableLayer.d.ts +44 -3
- package/layers/mixins/RasterJobHandlerMixin.d.ts +6 -0
- package/layers/mixins/RasterPresetRendererMixin.d.ts +36 -3
- package/layers/mixins/RefreshableLayer.d.ts +92 -3
- package/layers/mixins/ScaleRange.d.ts +7 -0
- package/layers/mixins/ScaleRangeLayer.d.ts +80 -3
- package/layers/mixins/SceneService.d.ts +96 -3
- package/layers/mixins/SublayersOwner.d.ts +73 -3
- package/layers/mixins/TemporalLayer.d.ts +291 -3
- package/layers/mixins/TemporalSceneLayer.d.ts +176 -3
- package/layers/mixins/TrackableLayer.d.ts +32 -3
- package/layers/mixins/properties/ILayerWithGetFeatureTitle.d.ts +13 -0
- package/layers/mixins/properties/ILayerWithGetField.d.ts +6 -0
- package/layers/mixins/properties/ILayerWithSave.d.ts +11 -0
- package/layers/ogc/wcsUtils.d.ts +22 -2
- package/layers/ogc/wfsUtils.d.ts +168 -3
- package/layers/orientedImagery/core/ElevationSourceDefinitions.d.ts +8 -0
- package/layers/orientedImagery/interfaces.d.ts +57 -0
- package/layers/orientedImagery/transformations/imageToWorld.d.ts +44 -2
- package/layers/orientedImagery/transformations/interfaces.d.ts +98 -0
- package/layers/orientedImagery/transformations/worldToImage.d.ts +42 -2
- package/layers/pointCloudFilters/PointCloudBitfieldFilter.d.ts +51 -3
- package/layers/pointCloudFilters/PointCloudFilter.d.ts +57 -3
- package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +48 -3
- package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +50 -3
- package/layers/pointCloudFilters/typeUtils.d.ts +5 -0
- package/layers/raster/datasets/interfaces.d.ts +2 -0
- package/layers/raster/datasets/pixelReader.d.ts +10 -0
- package/layers/raster/datasets/wcsCapabilitiesParser.d.ts +48 -0
- package/layers/raster/datasets/wcsCoverageParser.d.ts +352 -0
- package/layers/raster/functions/changeDetectionUtils.d.ts +2 -0
- package/layers/raster/functions/creators/createAppearenceFunctions.d.ts +70 -0
- package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +244 -0
- package/layers/raster/functions/creators/createChangeFunctions.d.ts +9 -0
- package/layers/raster/functions/creators/createConversionFunctions.d.ts +16 -0
- package/layers/raster/functions/creators/createDataManagementFunctions.d.ts +186 -0
- package/layers/raster/functions/creators/createLocalFunctions.d.ts +41 -0
- package/layers/raster/functions/creators/createMultiRasterAnalysisFunctions.d.ts +25 -0
- package/layers/raster/functions/creators/createStatisticsFunctions.d.ts +43 -0
- package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +99 -0
- package/layers/raster/functions/focalStatUtils.d.ts +2 -0
- package/layers/raster/functions/interfaces.d.ts +71 -0
- package/layers/support/AggregateField.d.ts +143 -3
- package/layers/support/BuildingFieldStatistics.d.ts +23 -0
- package/layers/support/BuildingFilter.d.ts +74 -3
- package/layers/support/BuildingFilterBlock.d.ts +32 -0
- package/layers/support/BuildingFilterMode.d.ts +3 -0
- package/layers/support/BuildingFilterModeSolid.d.ts +8 -0
- package/layers/support/BuildingFilterModeWireFrame.d.ts +18 -0
- package/layers/support/BuildingFilterModeXRay.d.ts +8 -0
- package/layers/support/BuildingSummaryStatistics.d.ts +35 -3
- package/layers/support/CodedValue.d.ts +11 -0
- package/layers/support/CodedValueDomain.d.ts +37 -3
- package/layers/support/ContingencyConstraintViolation.d.ts +2 -0
- package/layers/support/ContingentValue.d.ts +2 -0
- package/layers/support/ContingentValuesResult.d.ts +2 -0
- package/layers/support/ControlPoint.d.ts +44 -0
- package/layers/support/ControlPointsGeoreference.d.ts +179 -3
- package/layers/support/CornersGeoreference.d.ts +126 -3
- package/layers/support/DateTimeFieldFormat.d.ts +145 -3
- package/layers/support/DimensionalDefinition.d.ts +88 -3
- package/layers/support/DisplayFilter.d.ts +46 -3
- package/layers/support/DisplayFilterInfo.d.ts +79 -3
- package/layers/support/Domain.d.ts +19 -3
- package/layers/support/EditFieldsInfo.d.ts +21 -0
- package/layers/support/EditingCapabilities.d.ts +21 -0
- package/layers/support/ElevationQuery.d.ts +35 -0
- package/layers/support/ElevationQueryContext.d.ts +37 -0
- package/layers/support/ElevationSampler.d.ts +119 -3
- package/layers/support/ElevationTileData.d.ts +12 -0
- package/layers/support/ExpressionInfo.d.ts +49 -3
- package/layers/support/ExtentAndRotationGeoreference.d.ts +65 -3
- package/layers/support/FacilityLayerInfo.d.ts +27 -3
- package/layers/support/FeatureEffect.d.ts +130 -3
- package/layers/support/FeatureFilter.d.ts +337 -3
- package/layers/support/FeatureReduction.d.ts +3 -0
- package/layers/support/FeatureReductionBinning.d.ts +618 -3
- package/layers/support/FeatureReductionCluster.d.ts +1188 -3
- package/layers/support/FeatureReductionSelection.d.ts +45 -3
- package/layers/support/FeatureTemplate.d.ts +45 -3
- package/layers/support/FeatureType.d.ts +36 -3
- package/layers/support/Field.d.ts +183 -3
- package/layers/support/FieldConfiguration.d.ts +158 -3
- package/layers/support/FieldFormat.d.ts +5 -0
- package/layers/support/FieldGroup.d.ts +2 -0
- package/layers/support/FieldValueType.d.ts +2 -0
- package/layers/support/FieldsIndex.d.ts +96 -3
- package/layers/support/GeometryFieldsInfo.d.ts +24 -3
- package/layers/support/GeoreferenceBase.d.ts +3 -0
- package/layers/support/I3SLayer.d.ts +9 -0
- package/layers/support/ImageElement.d.ts +122 -3
- package/layers/support/InheritedDomain.d.ts +18 -3
- package/layers/support/KMLMapImage.d.ts +28 -0
- package/layers/support/KMLSublayer.d.ts +50 -3
- package/layers/support/LOD.d.ts +37 -3
- package/layers/support/LabelClass.d.ts +396 -3
- package/layers/support/LabelExpressionInfo.d.ts +25 -0
- package/layers/support/LayerFloorInfo.d.ts +23 -3
- package/layers/support/LevelLayerInfo.d.ts +35 -3
- package/layers/support/LocalMediaElementSource.d.ts +86 -3
- package/layers/support/MapImage.d.ts +43 -3
- package/layers/support/MediaElementBase.d.ts +181 -3
- package/layers/support/MosaicRule.d.ts +216 -3
- package/layers/support/MultidimensionalSubset.d.ts +88 -3
- package/layers/support/NumberFieldFormat.d.ts +105 -3
- package/layers/support/OrderByInfo.d.ts +50 -3
- package/layers/support/ParquetGeometryEncodingBase.d.ts +9 -0
- package/layers/support/ParquetGeometryEncodingLocation.d.ts +28 -3
- package/layers/support/ParquetGeometryEncodingWkb.d.ts +31 -3
- package/layers/support/PixelBlock.d.ts +97 -3
- package/layers/support/PlaybackInfo.d.ts +43 -3
- package/layers/support/PublishingInfo.d.ts +38 -3
- package/layers/support/PurgeOptions.d.ts +23 -0
- package/layers/support/RangeDomain.d.ts +23 -3
- package/layers/support/RasterBandInfo.d.ts +47 -3
- package/layers/support/RasterFunction.d.ts +121 -3
- package/layers/support/RasterFunctionProperties.d.ts +2 -0
- package/layers/support/RasterInfo.d.ts +179 -3
- package/layers/support/RasterSensorInfo.d.ts +49 -3
- package/layers/support/RasterTypes.d.ts +15 -0
- package/layers/support/Relationship.d.ts +73 -3
- package/layers/support/RouteStopSymbols.d.ts +98 -3
- package/layers/support/RouteSymbols.d.ts +150 -3
- package/layers/support/SceneFilter.d.ts +72 -3
- package/layers/support/SceneModification.d.ts +79 -3
- package/layers/support/SceneModifications.d.ts +40 -3
- package/layers/support/SimpleBandStatistics.d.ts +10 -0
- package/layers/support/SiteLayerInfo.d.ts +24 -3
- package/layers/support/SpriteSource.d.ts +42 -0
- package/layers/support/StreamConnection.d.ts +65 -3
- package/layers/support/Sublayer.d.ts +1122 -3
- package/layers/support/Subtype.d.ts +36 -3
- package/layers/support/SubtypeSublayer.d.ts +935 -3
- package/layers/support/TelemetryData.d.ts +47 -3
- package/layers/support/TelemetryDisplay.d.ts +51 -3
- package/layers/support/TileInfo.d.ts +174 -3
- package/layers/support/TileMatrixSet.d.ts +34 -3
- package/layers/support/TimeInfo.d.ts +109 -3
- package/layers/support/TrackInfo.d.ts +312 -3
- package/layers/support/TrackPartInfo.d.ts +188 -3
- package/layers/support/VideoElement.d.ts +73 -3
- package/layers/support/VideoTimeExtent.d.ts +34 -3
- package/layers/support/WMSSublayer.d.ts +161 -3
- package/layers/support/WMTSStyle.d.ts +32 -3
- package/layers/support/WMTSSublayer.d.ts +92 -3
- package/layers/support/arcadeUtils.d.ts +84 -2
- package/layers/support/csvUtils.d.ts +43 -2
- package/layers/support/domains.d.ts +5 -0
- package/layers/support/editableLayers.d.ts +11 -0
- package/layers/support/exifUtils.d.ts +21 -0
- package/layers/support/fieldFormatUtils.d.ts +4 -0
- package/layers/support/fieldType.d.ts +2 -0
- package/layers/support/fieldUtils.d.ts +130 -10
- package/layers/support/interfaces.d.ts +411 -0
- package/layers/support/layerUtils.d.ts +4 -0
- package/layers/support/media.d.ts +39 -0
- package/layers/support/parquetUtils.d.ts +26 -2
- package/layers/support/rasterFunctionConstants.d.ts +632 -17
- package/layers/support/rasterFunctionUtils.d.ts +2110 -119
- package/layers/support/source/DataLayerSource.d.ts +168 -0
- package/layers/support/source/MapLayerSource.d.ts +54 -0
- package/layers/support/source/QueryTableDataSource.d.ts +66 -0
- package/layers/support/source/RasterDataSource.d.ts +35 -0
- package/layers/support/source/TableDataSource.d.ts +38 -0
- package/layers/support/source/types.d.ts +4 -0
- package/layers/support/wmsUtils.d.ts +73 -0
- package/layers/support/wmtsUtils.d.ts +2 -0
- package/layers/video/IVideoController.d.ts +44 -0
- package/layers/video/videoUtils.d.ts +5 -0
- package/layers/voxel/VoxelColorStop.d.ts +23 -0
- package/layers/voxel/VoxelDynamicSection.d.ts +47 -3
- package/layers/voxel/VoxelFormat.d.ts +24 -0
- package/layers/voxel/VoxelIsosurface.d.ts +44 -0
- package/layers/voxel/VoxelOpacityStop.d.ts +21 -0
- package/layers/voxel/VoxelRangeFilter.d.ts +20 -0
- package/layers/voxel/VoxelSlice.d.ts +44 -3
- package/layers/voxel/VoxelTransferFunctionStyle.d.ts +64 -3
- package/layers/voxel/VoxelUniqueValue.d.ts +35 -0
- package/layers/voxel/VoxelVariable.d.ts +36 -3
- package/layers/voxel/VoxelVariableStyle.d.ts +91 -3
- package/layers/voxel/VoxelVolume.d.ts +47 -3
- package/layers/voxel/VoxelVolumeStyle.d.ts +76 -3
- package/linkChart/ChronologicalLayoutSettings.d.ts +136 -3
- package/linkChart/LayoutSettings.d.ts +39 -3
- package/linkChart/LinkChartProperties.d.ts +72 -3
- package/linkChart/NonspatialDataDisplay.d.ts +23 -3
- package/linkChart/OrganicLayoutSettings.d.ts +56 -3
- package/linkChart/interfaces.d.ts +4 -0
- package/networks/CircuitManager.d.ts +182 -3
- package/networks/Network.d.ts +294 -3
- package/networks/UnitIdentifierManager.d.ts +102 -3
- package/networks/UtilityNetwork.d.ts +447 -3
- package/networks/UtilityNetworkTraceAnalysis.d.ts +126 -0
- package/networks/UtilityNetworkTraceAnalysis.js +5 -0
- package/networks/support/Circuit.d.ts +290 -3
- package/networks/support/CircuitLocation.d.ts +40 -3
- package/networks/support/CircuitPath.d.ts +48 -3
- package/networks/support/CircuitPathConnectivityElement.d.ts +25 -3
- package/networks/support/CircuitSection.d.ts +157 -3
- package/networks/support/NamedTraceConfiguration.d.ts +69 -3
- package/networks/support/NetworkSystemLayers.d.ts +167 -3
- package/networks/support/Subcircuit.d.ts +54 -3
- package/networks/support/Terminal.d.ts +30 -3
- package/networks/support/TerminalConfiguration.d.ts +42 -3
- package/networks/support/TopologyValidationJobInfo.d.ts +115 -3
- package/networks/support/TraceConfiguration.d.ts +62 -3
- package/networks/support/TraceJobInfo.d.ts +142 -3
- package/networks/support/UNTraceConfiguration.d.ts +155 -3
- package/networks/support/jsonTypes.d.ts +289 -0
- package/networks/support/typeUtils.d.ts +18 -0
- package/networks/support/utils.d.ts +25 -0
- package/package.json +3 -3
- package/pointCloudRenderers.d.ts +68 -11
- package/pointCloudRenderers.js +1 -1
- package/popup/ElementExpressionInfo.d.ts +148 -3
- package/popup/ExpressionInfo.d.ts +78 -3
- package/popup/FieldInfo.d.ts +380 -3
- package/popup/LayerOptions.d.ts +55 -3
- package/popup/RelatedRecordsInfo.d.ts +39 -3
- package/popup/content/AttachmentsContent.d.ts +129 -3
- package/popup/content/BarChartMediaInfo.d.ts +52 -3
- package/popup/content/ColumnChartMediaInfo.d.ts +53 -3
- package/popup/content/Content.d.ts +42 -3
- package/popup/content/CustomContent.d.ts +121 -3
- package/popup/content/ExpressionContent.d.ts +111 -3
- package/popup/content/FieldsContent.d.ts +96 -3
- package/popup/content/ImageMediaInfo.d.ts +63 -3
- package/popup/content/LineChartMediaInfo.d.ts +53 -3
- package/popup/content/MediaContent.d.ts +117 -3
- package/popup/content/PieChartMediaInfo.d.ts +52 -3
- package/popup/content/RelationshipContent.d.ts +110 -3
- package/popup/content/TextContent.d.ts +79 -3
- package/popup/content/UtilityNetworkAssociationsContent.d.ts +83 -3
- package/popup/content/mixins/ChartMediaInfo.d.ts +20 -3
- package/popup/content/mixins/MediaInfo.d.ts +30 -3
- package/popup/content/support/ChartMediaInfoValue.d.ts +101 -3
- package/popup/content/support/ChartMediaInfoValueSeries.d.ts +37 -3
- package/popup/content/support/ImageMediaInfoValue.d.ts +22 -3
- package/popup/content/support/mediaInfoTypes.d.ts +7 -0
- package/popup/content.d.ts +123 -19
- package/popup/interfaces.d.ts +49 -0
- package/popup/support/AttachmentsOrderByInfo.d.ts +38 -3
- package/popup/support/FieldInfoFormat.d.ts +203 -3
- package/popup/support/RelatedRecordsInfoFieldOrder.d.ts +32 -3
- package/popup/support/UtilityNetworkAssociationType.d.ts +37 -3
- package/portal/Portal.d.ts +727 -3
- package/portal/PortalFolder.d.ts +33 -3
- package/portal/PortalGroup.d.ts +146 -3
- package/portal/PortalItem.d.ts +517 -3
- package/portal/PortalItemResource.d.ts +47 -3
- package/portal/PortalQueryParams.d.ts +131 -3
- package/portal/PortalQueryResult.d.ts +23 -3
- package/portal/PortalRating.d.ts +21 -3
- package/portal/PortalUser.d.ts +278 -3
- package/portal/interfaces.d.ts +138 -0
- package/portal/jsonTypes.d.ts +182 -0
- package/portal/support/resourceUtils.d.ts +56 -0
- package/rasterRenderers.d.ts +105 -16
- package/rasterRenderers.js +1 -1
- package/renderers/ClassBreaksRenderer.d.ts +441 -3
- package/renderers/DictionaryRenderer.d.ts +157 -3
- package/renderers/DotDensityRenderer.d.ts +379 -3
- package/renderers/DotDensityRenderer.js +1 -1
- package/renderers/FlowRenderer.d.ts +339 -3
- package/renderers/HeatmapRenderer.d.ts +319 -3
- package/renderers/PieChartRenderer.d.ts +339 -3
- package/renderers/PointCloudClassBreaksRenderer.d.ts +75 -3
- package/renderers/PointCloudRGBRenderer.d.ts +28 -3
- package/renderers/PointCloudRenderer.d.ts +90 -3
- package/renderers/PointCloudStretchRenderer.d.ts +78 -3
- package/renderers/PointCloudUniqueValueRenderer.d.ts +79 -3
- package/renderers/RasterColormapRenderer.d.ts +77 -3
- package/renderers/RasterShadedReliefRenderer.d.ts +110 -3
- package/renderers/RasterStretchRenderer.d.ts +183 -3
- package/renderers/Renderer.d.ts +121 -3
- package/renderers/SimpleRenderer.d.ts +159 -3
- package/renderers/UniqueValueRenderer.d.ts +737 -3
- package/renderers/VectorFieldRenderer.d.ts +203 -3
- package/renderers/interfaces.d.ts +78 -0
- package/renderers/mixins/VisualVariablesMixin.d.ts +166 -3
- package/renderers/support/AttributeColorInfo.d.ts +79 -3
- package/renderers/support/AuthoringInfo.d.ts +195 -3
- package/renderers/support/AuthoringInfoClassBreakInfo.d.ts +20 -0
- package/renderers/support/AuthoringInfoFieldInfo.d.ts +32 -0
- package/renderers/support/AuthoringInfoVisualVariable.d.ts +150 -3
- package/renderers/support/ClassBreakInfo.d.ts +79 -3
- package/renderers/support/ColormapInfo.d.ts +31 -3
- package/renderers/support/DotDensityLegendOptions.d.ts +11 -0
- package/renderers/support/HeatmapColorStop.d.ts +33 -3
- package/renderers/support/HeatmapLegendOptions.d.ts +24 -0
- package/renderers/support/OthersCategory.d.ts +46 -0
- package/renderers/support/RasterPresetRenderer.d.ts +47 -3
- package/renderers/support/RendererLegendOptions.d.ts +21 -0
- package/renderers/support/UniqueValue.d.ts +47 -3
- package/renderers/support/UniqueValueClass.d.ts +164 -3
- package/renderers/support/UniqueValueGroup.d.ts +112 -3
- package/renderers/support/UniqueValueInfo.d.ts +69 -3
- package/renderers/support/colorRampUtils.d.ts +4 -0
- package/renderers/support/interfaces.d.ts +2 -0
- package/renderers/support/jsonUtils.d.ts +15 -2
- package/renderers/support/pointCloud/ColorClassBreakInfo.d.ts +34 -0
- package/renderers/support/pointCloud/ColorModulation.d.ts +23 -0
- package/renderers/support/pointCloud/ColorUniqueValueInfo.d.ts +21 -0
- package/renderers/support/pointCloud/PointSizeAlgorithm.d.ts +3 -0
- package/renderers/support/pointCloud/PointSizeFixedSizeAlgorithm.d.ts +17 -0
- package/renderers/support/pointCloud/PointSizeSplatAlgorithm.d.ts +15 -0
- package/renderers/support/pointCloudTypeUtils.d.ts +6 -0
- package/renderers/support/rasterRendererHelper.d.ts +37 -0
- package/renderers/support/rasterTypeUtils.d.ts +9 -0
- package/renderers/support/typeUtils.d.ts +11 -0
- package/renderers/support/utils.d.ts +37 -3
- package/renderers/visualVariables/ColorVariable.d.ts +92 -3
- package/renderers/visualVariables/OpacityVariable.d.ts +78 -3
- package/renderers/visualVariables/RotationVariable.d.ts +83 -3
- package/renderers/visualVariables/SizeVariable.d.ts +393 -3
- package/renderers/visualVariables/VisualVariable.d.ts +60 -3
- package/renderers/visualVariables/support/ColorSizeStop.d.ts +47 -3
- package/renderers/visualVariables/support/ColorStop.d.ts +39 -3
- package/renderers/visualVariables/support/OpacityStop.d.ts +31 -3
- package/renderers/visualVariables/support/SizeStop.d.ts +87 -3
- package/renderers/visualVariables/support/SizeVariableLegendOptions.d.ts +12 -0
- package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +16 -0
- package/renderers.d.ts +120 -18
- package/renderers.js +1 -1
- package/request/interfaces.d.ts +363 -0
- package/request.d.ts +10 -3
- package/rest/closestFacility.d.ts +16 -2
- package/rest/featureService/FeatureService.d.ts +150 -3
- package/rest/featureService/interfaces.d.ts +391 -0
- package/rest/featureService/utils.d.ts +18 -2
- package/rest/find.d.ts +30 -2
- package/rest/geometryService/cut.d.ts +7 -0
- package/rest/geometryService/fromGeoCoordinateString.d.ts +28 -0
- package/rest/geometryService/toGeoCoordinateString.d.ts +25 -0
- package/rest/geometryService.d.ts +506 -23
- package/rest/geoprocessor/GPOptions.d.ts +71 -3
- package/rest/geoprocessor.d.ts +89 -3
- package/rest/identify.d.ts +19 -2
- package/rest/imageService.d.ts +348 -21
- package/rest/interfaces.d.ts +85 -0
- package/rest/knowledgeGraph/DataModel.d.ts +305 -3
- package/rest/knowledgeGraph/Entity.d.ts +83 -3
- package/rest/knowledgeGraph/EntityType.d.ts +82 -3
- package/rest/knowledgeGraph/FieldIndex.d.ts +45 -3
- package/rest/knowledgeGraph/GraphAddFieldIndexResult.d.ts +12 -3
- package/rest/knowledgeGraph/GraphAddNamedTypesResult.d.ts +30 -3
- package/rest/knowledgeGraph/GraphAddPropertyResult.d.ts +12 -3
- package/rest/knowledgeGraph/GraphAnyValue.d.ts +5 -0
- package/rest/knowledgeGraph/GraphApplyEdits.d.ts +273 -3
- package/rest/knowledgeGraph/GraphApplyEditsResult.d.ts +321 -3
- package/rest/knowledgeGraph/GraphDataModelOperationResult.d.ts +34 -3
- package/rest/knowledgeGraph/GraphDataModelSingletonOperationResult.d.ts +13 -3
- package/rest/knowledgeGraph/GraphDeleteFieldIndexResult.d.ts +12 -3
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +14 -3
- package/rest/knowledgeGraph/GraphDeletePropertyResult.d.ts +12 -3
- package/rest/knowledgeGraph/GraphNamedObject.d.ts +23 -3
- package/rest/knowledgeGraph/GraphObject.d.ts +91 -3
- package/rest/knowledgeGraph/GraphObjectType.d.ts +105 -3
- package/rest/knowledgeGraph/GraphProperty.d.ts +199 -3
- package/rest/knowledgeGraph/GraphQuery.d.ts +44 -3
- package/rest/knowledgeGraph/GraphQueryResult.d.ts +75 -3
- package/rest/knowledgeGraph/GraphQueryResultHeader.d.ts +12 -3
- package/rest/knowledgeGraph/GraphQueryStreaming.d.ts +391 -3
- package/rest/knowledgeGraph/GraphQueryStreamingResult.d.ts +177 -3
- package/rest/knowledgeGraph/GraphSearch.d.ts +92 -3
- package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +117 -3
- package/rest/knowledgeGraph/GraphUpdateNamedTypesResult.d.ts +12 -3
- package/rest/knowledgeGraph/GraphUpdatePropertyResult.d.ts +12 -3
- package/rest/knowledgeGraph/GraphUpdateSearchIndexResult.d.ts +12 -3
- package/rest/knowledgeGraph/InputQuantizationParameters.d.ts +61 -3
- package/rest/knowledgeGraph/KnowledgeGraph.d.ts +178 -3
- package/rest/knowledgeGraph/OutputQuantizationParameters.d.ts +85 -3
- package/rest/knowledgeGraph/Path.d.ts +116 -3
- package/rest/knowledgeGraph/Relationship.d.ts +57 -3
- package/rest/knowledgeGraph/RelationshipType.d.ts +41 -3
- package/rest/knowledgeGraph/SearchIndex.d.ts +76 -3
- package/rest/knowledgeGraph/ServiceDefinition.d.ts +251 -3
- package/rest/knowledgeGraph/SourceTypeValueBehavior.d.ts +18 -3
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsConfiguration.d.ts +176 -3
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsEntity.d.ts +28 -3
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsPathFilter.d.ts +52 -3
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsResultJSON.d.ts +118 -0
- package/rest/knowledgeGraph/toolService/findPaths/CIMKGTraversalDirection.d.ts +31 -3
- package/rest/knowledgeGraph/toolService/findPaths/FindPathsToolSettings.d.ts +22 -3
- package/rest/knowledgeGraph/wasmInterface/KnowledgeWasmInterface.d.ts +3 -0
- package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +20 -0
- package/rest/knowledgeGraphService.d.ts +981 -26
- package/rest/lastMileDelivery/interfaces.d.ts +10 -0
- package/rest/lastMileDelivery.d.ts +133 -10
- package/rest/locator.d.ts +50 -5
- package/rest/networkService.d.ts +12 -2
- package/rest/networks/circuits/support/CircuitTraceResult.d.ts +41 -3
- package/rest/networks/circuits/support/CircuitVerifyResult.d.ts +22 -3
- package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +15 -0
- package/rest/networks/circuits/support/QueryCircuitsParameters.d.ts +23 -0
- package/rest/networks/queryAssociations.d.ts +12 -2
- package/rest/networks/support/AggregatedGeometry.d.ts +31 -3
- package/rest/networks/support/Association.d.ts +107 -3
- package/rest/networks/support/AssociationGeometriesResult.d.ts +27 -3
- package/rest/networks/support/FunctionResult.d.ts +18 -3
- package/rest/networks/support/NetworkElement.d.ts +82 -3
- package/rest/networks/support/QueryAssociationsParameters.d.ts +101 -3
- package/rest/networks/support/QueryAssociationsResult.d.ts +52 -3
- package/rest/networks/support/QueryNamedTraceConfigurationsParameters.d.ts +14 -0
- package/rest/networks/support/SynthesizeAssociationGeometriesParameters.d.ts +65 -3
- package/rest/networks/support/TelecomNetworkElement.d.ts +24 -3
- package/rest/networks/support/TraceLocation.d.ts +84 -3
- package/rest/networks/support/TraceParameters.d.ts +69 -3
- package/rest/networks/support/TraceResult.d.ts +66 -3
- package/rest/networks/support/ValidateNetworkTopologyParameters.d.ts +66 -3
- package/rest/networks/support/ValidateNetworkTopologyResult.d.ts +72 -3
- package/rest/networks/synthesizeAssociationGeometries.d.ts +12 -2
- package/rest/networks/trace.d.ts +12 -2
- package/rest/networks/unitIdentifiers/support/UnitQueryResult.d.ts +17 -3
- package/rest/operations/generalize.d.ts +3 -0
- package/rest/places.d.ts +120 -4
- package/rest/print.d.ts +61 -3
- package/rest/query/support/AttachmentInfo.d.ts +73 -3
- package/rest/query.d.ts +329 -13
- package/rest/route.d.ts +56 -2
- package/rest/serviceArea.d.ts +94 -2
- package/rest/support/AddressCandidate.d.ts +47 -3
- package/rest/support/AddressToLocationsParameters.d.ts +112 -0
- package/rest/support/AddressesToLocationsParameters.d.ts +50 -0
- package/rest/support/AlgorithmicColorRamp.d.ts +60 -3
- package/rest/support/ArealUnit.d.ts +21 -3
- package/rest/support/AreasAndLengthsParameters.d.ts +49 -3
- package/rest/support/AttachmentQuery.d.ts +169 -3
- package/rest/support/AttributeBinsFeatureSet.d.ts +28 -3
- package/rest/support/AttributeBinsGrouping.d.ts +34 -3
- package/rest/support/AttributeBinsQuery.d.ts +161 -3
- package/rest/support/AutoIntervalBinParameters.d.ts +47 -3
- package/rest/support/BaseImageMeasureParameters.d.ts +45 -3
- package/rest/support/BaseImageMeasureResult.d.ts +15 -3
- package/rest/support/BaseImageMeasureResultValue.d.ts +19 -0
- package/rest/support/BinParametersBase.d.ts +193 -3
- package/rest/support/BufferParameters.d.ts +91 -3
- package/rest/support/CameraInfo.d.ts +19 -3
- package/rest/support/CameraInfoMixin.d.ts +23 -0
- package/rest/support/ClosestFacilityParameters.d.ts +587 -3
- package/rest/support/ClosestFacilitySolveResult.d.ts +243 -3
- package/rest/support/ColorRamp.d.ts +24 -3
- package/rest/support/DataFile.d.ts +36 -3
- package/rest/support/DataLayer.d.ts +97 -3
- package/rest/support/DateBinParameters.d.ts +115 -3
- package/rest/support/DateBinTimeInterval.d.ts +22 -3
- package/rest/support/DateBinUtils.d.ts +2 -0
- package/rest/support/DensifyParameters.d.ts +47 -3
- package/rest/support/DirectionLine.d.ts +96 -3
- package/rest/support/DirectionPoint.d.ts +106 -3
- package/rest/support/DirectionsEvent.d.ts +35 -3
- package/rest/support/DirectionsFeature.d.ts +110 -3
- package/rest/support/DirectionsFeatureSet.d.ts +106 -3
- package/rest/support/DirectionsString.d.ts +12 -0
- package/rest/support/DistanceParameters.d.ts +63 -3
- package/rest/support/FeatureSet.d.ts +92 -3
- package/rest/support/FetchPlaceParameters.d.ts +56 -3
- package/rest/support/FindImagesParameters.d.ts +49 -3
- package/rest/support/FindImagesResult.d.ts +29 -3
- package/rest/support/FindParameters.d.ts +68 -3
- package/rest/support/FindResult.d.ts +34 -3
- package/rest/support/FixedBoundariesBinParameters.d.ts +42 -3
- package/rest/support/FixedIntervalBinParameters.d.ts +49 -3
- package/rest/support/GPMessage.d.ts +22 -3
- package/rest/support/GeneralizeParameters.d.ts +30 -3
- package/rest/support/IdentifyParameters.d.ts +259 -3
- package/rest/support/IdentifyResult.d.ts +31 -3
- package/rest/support/ImageAngleParameters.d.ts +52 -3
- package/rest/support/ImageAngleResult.d.ts +34 -3
- package/rest/support/ImageAreaParameters.d.ts +51 -3
- package/rest/support/ImageAreaResult.d.ts +29 -3
- package/rest/support/ImageBoundaryParameters.d.ts +24 -3
- package/rest/support/ImageBoundaryResult.d.ts +26 -3
- package/rest/support/ImageDistanceParameters.d.ts +53 -3
- package/rest/support/ImageDistanceResult.d.ts +40 -3
- package/rest/support/ImageGPSInfo.d.ts +47 -3
- package/rest/support/ImageGPSInfoParameters.d.ts +58 -3
- package/rest/support/ImageGPSInfoResult.d.ts +30 -3
- package/rest/support/ImageHeightParameters.d.ts +51 -3
- package/rest/support/ImageHeightResult.d.ts +23 -3
- package/rest/support/ImageHistogramParameters.d.ts +139 -3
- package/rest/support/ImageIdentifyParameters.d.ts +184 -3
- package/rest/support/ImageIdentifyResult.d.ts +53 -3
- package/rest/support/ImageInspectionInfo.d.ts +54 -3
- package/rest/support/ImageMeasureResultAngleValue.d.ts +12 -0
- package/rest/support/ImageMeasureResultAreaValue.d.ts +12 -0
- package/rest/support/ImageMeasureResultLengthValue.d.ts +12 -0
- package/rest/support/ImageParameters.d.ts +91 -3
- package/rest/support/ImagePixelLocationParameters.d.ts +25 -3
- package/rest/support/ImagePixelLocationResult.d.ts +23 -3
- package/rest/support/ImagePointParameters.d.ts +40 -3
- package/rest/support/ImagePointResult.d.ts +30 -3
- package/rest/support/ImageSample.d.ts +36 -3
- package/rest/support/ImageSampleParameters.d.ts +128 -3
- package/rest/support/ImageSampleResult.d.ts +23 -3
- package/rest/support/ImageToMapMultirayParameters.d.ts +49 -3
- package/rest/support/ImageToMapParameters.d.ts +57 -3
- package/rest/support/ImageUrlParameters.d.ts +26 -3
- package/rest/support/ImageUrlResult.d.ts +17 -3
- package/rest/support/ImageVolume.d.ts +31 -3
- package/rest/support/ImageVolumeParameters.d.ts +71 -3
- package/rest/support/ImageVolumeResult.d.ts +23 -3
- package/rest/support/JobInfo.d.ts +174 -3
- package/rest/support/LastMileDeliveryParameters.d.ts +310 -3
- package/rest/support/LegendLayer.d.ts +21 -3
- package/rest/support/LengthsParameters.d.ts +47 -3
- package/rest/support/LinearUnit.d.ts +20 -3
- package/rest/support/LocateSetting.d.ts +23 -3
- package/rest/support/LocateSettingBase.d.ts +37 -3
- package/rest/support/LocateSettingSource.d.ts +24 -3
- package/rest/support/LocateSettings.d.ts +31 -3
- package/rest/support/LocateSettingsOverrides.d.ts +41 -3
- package/rest/support/LocationToAddressParameters.d.ts +52 -0
- package/rest/support/MapToImageParameters.d.ts +43 -3
- package/rest/support/MeasureAreaFromImageResult.d.ts +34 -3
- package/rest/support/MeasureFromImageParameters.d.ts +31 -3
- package/rest/support/MeasureLengthFromImageResult.d.ts +25 -3
- package/rest/support/MultipartColorRamp.d.ts +43 -3
- package/rest/support/NAMessage.d.ts +25 -3
- package/rest/support/NetworkAttribute.d.ts +9 -0
- package/rest/support/NetworkFeatureSet.d.ts +17 -3
- package/rest/support/NetworkServiceDescription.d.ts +14 -0
- package/rest/support/NetworkUrl.d.ts +20 -3
- package/rest/support/NormalizationBinParametersMixin.d.ts +57 -3
- package/rest/support/OffsetParameters.d.ts +40 -3
- package/rest/support/ParameterValue.d.ts +67 -3
- package/rest/support/PlaceResult.d.ts +119 -3
- package/rest/support/PlacesParameters.d.ts +46 -3
- package/rest/support/PlacesQueryParameters.d.ts +252 -3
- package/rest/support/PlacesQueryResult.d.ts +76 -3
- package/rest/support/PointBarrier.d.ts +78 -3
- package/rest/support/PolygonBarrier.d.ts +67 -3
- package/rest/support/PolylineBarrier.d.ts +81 -3
- package/rest/support/PrintParameters.d.ts +31 -3
- package/rest/support/PrintTemplate.d.ts +468 -3
- package/rest/support/ProjectParameters.d.ts +56 -3
- package/rest/support/QuantizationParameters.d.ts +47 -0
- package/rest/support/Query.d.ts +748 -3
- package/rest/support/QueryMixin.d.ts +204 -3
- package/rest/support/RasterData.d.ts +58 -3
- package/rest/support/RelationParameters.d.ts +53 -3
- package/rest/support/RelationshipQuery.d.ts +147 -3
- package/rest/support/RouteInfo.d.ts +117 -3
- package/rest/support/RouteParameters.d.ts +644 -3
- package/rest/support/RouteResult.d.ts +183 -3
- package/rest/support/RouteSolveResult.d.ts +83 -3
- package/rest/support/ServiceAreaParameters.d.ts +525 -3
- package/rest/support/ServiceAreaSolveResult.d.ts +123 -3
- package/rest/support/StatisticDefinition.d.ts +209 -3
- package/rest/support/Stop.d.ts +166 -3
- package/rest/support/SuggestLocationsParameters.d.ts +32 -0
- package/rest/support/SuggestionCandidate.d.ts +17 -0
- package/rest/support/TopFeaturesQuery.d.ts +351 -3
- package/rest/support/TopFilter.d.ts +79 -3
- package/rest/support/TravelMode.d.ts +155 -3
- package/rest/support/TrimExtendParameters.d.ts +53 -3
- package/rest/support/colorRamps.d.ts +6 -0
- package/rest/support/fileFormat.d.ts +4 -0
- package/rest/support/interfaces.d.ts +87 -0
- package/rest/support/layoutTemplate.d.ts +2 -0
- package/rest/support/reportTemplate.d.ts +2 -0
- package/rest/symbolService.d.ts +59 -2
- package/rest/versionManagement/gdbVersion/support/AlterVersionParameters.d.ts +15 -0
- package/rest/versionManagement/gdbVersion/support/PostResult.d.ts +18 -0
- package/rest/versionManagement/gdbVersion/support/ReconcileParameters.d.ts +22 -0
- package/rest/versionManagement/gdbVersion/support/ReconcileResult.d.ts +30 -0
- package/rest/versionManagement/support/CreateVersionParameters.d.ts +17 -0
- package/rest/versionManagement/support/GetVersionInfosParameters.d.ts +14 -0
- package/smartMapping/heuristics/binLevel.d.ts +18 -3
- package/smartMapping/heuristics/interfaces.d.ts +101 -0
- package/smartMapping/heuristics/scaleRange.d.ts +21 -3
- package/smartMapping/heuristics/sizeRange.d.ts +32 -3
- package/smartMapping/labels/bins.d.ts +66 -2
- package/smartMapping/labels/clusters.d.ts +88 -2
- package/smartMapping/popup/clusters.d.ts +39 -2
- package/smartMapping/popup/interfaces.d.ts +25 -0
- package/smartMapping/popup/support/utils.d.ts +13 -0
- package/smartMapping/popup/templates.d.ts +36 -2
- package/smartMapping/raster/renderers/classBreaks.d.ts +35 -2
- package/smartMapping/raster/renderers/colormap.d.ts +22 -2
- package/smartMapping/raster/renderers/flow.d.ts +145 -2
- package/smartMapping/raster/renderers/interfaces.d.ts +26 -0
- package/smartMapping/raster/renderers/rgb.d.ts +65 -2
- package/smartMapping/raster/renderers/shadedRelief.d.ts +40 -2
- package/smartMapping/raster/renderers/stretch.d.ts +60 -2
- package/smartMapping/raster/renderers/uniqueValue.d.ts +44 -2
- package/smartMapping/raster/renderers/vectorField.d.ts +46 -2
- package/smartMapping/raster/support/adapters/interfaces.d.ts +5 -0
- package/smartMapping/raster/support/colorRamps.d.ts +102 -6
- package/smartMapping/raster/support/utils.d.ts +44 -3
- package/smartMapping/renderers/color.d.ts +1039 -8
- package/smartMapping/renderers/dotDensity.d.ts +161 -2
- package/smartMapping/renderers/heatmap.d.ts +177 -3
- package/smartMapping/renderers/location.d.ts +143 -2
- package/smartMapping/renderers/opacity.d.ts +183 -2
- package/smartMapping/renderers/pieChart.d.ts +238 -3
- package/smartMapping/renderers/predominance.d.ts +263 -2
- package/smartMapping/renderers/relationship.d.ts +328 -3
- package/smartMapping/renderers/size.d.ts +986 -8
- package/smartMapping/renderers/support/rendererUtils.d.ts +48 -2
- package/smartMapping/renderers/support/spikeUtils.d.ts +38 -3
- package/smartMapping/renderers/type.d.ts +371 -3
- package/smartMapping/renderers/univariateColorSize.d.ts +443 -3
- package/smartMapping/statistics/classBreaks.d.ts +21 -3
- package/smartMapping/statistics/heatmapStatistics.d.ts +17 -3
- package/smartMapping/statistics/histogram.d.ts +31 -3
- package/smartMapping/statistics/interfaces.d.ts +571 -0
- package/smartMapping/statistics/predominantCategories.d.ts +17 -3
- package/smartMapping/statistics/summaryStatistics.d.ts +27 -3
- package/smartMapping/statistics/summaryStatisticsForAge.d.ts +19 -3
- package/smartMapping/statistics/support/ageUtils.d.ts +52 -2
- package/smartMapping/statistics/support/predominanceUtils.d.ts +90 -2
- package/smartMapping/statistics/types.d.ts +32 -3
- package/smartMapping/statistics/uniqueValues.d.ts +25 -3
- package/smartMapping/support/adapters/interfaces.d.ts +18 -0
- package/smartMapping/support/binningUtils.d.ts +11 -0
- package/smartMapping/support/clusterUtils.d.ts +11 -0
- package/smartMapping/support/utils.d.ts +4 -0
- package/smartMapping/symbology/color.d.ts +184 -9
- package/smartMapping/symbology/dotDensity.d.ts +107 -5
- package/smartMapping/symbology/flow.d.ts +128 -6
- package/smartMapping/symbology/heatmap.d.ts +129 -6
- package/smartMapping/symbology/interfaces.d.ts +859 -0
- package/smartMapping/symbology/location.d.ts +74 -4
- package/smartMapping/symbology/pieChart.d.ts +114 -6
- package/smartMapping/symbology/predominance.d.ts +136 -6
- package/smartMapping/symbology/relationship.d.ts +135 -6
- package/smartMapping/symbology/size.d.ts +73 -4
- package/smartMapping/symbology/support/colorRamps.d.ts +84 -5
- package/smartMapping/symbology/type.d.ts +141 -6
- package/statistics/interfaces.d.ts +13 -0
- package/support/BasemapStyle.d.ts +126 -3
- package/support/LayersMixin.d.ts +244 -3
- package/support/MapFloorInfo.d.ts +38 -3
- package/support/TablesMixin.d.ts +297 -3
- package/support/actions/ActionBase.d.ts +88 -3
- package/support/actions/ActionButton.d.ts +37 -3
- package/support/actions/ActionToggle.d.ts +33 -3
- package/support/modeUtils.d.ts +2 -0
- package/support/popupUtils.d.ts +257 -5
- package/support/revision.js +1 -1
- package/support/timeUtils.d.ts +64 -3
- package/symbols/CIMSymbol.d.ts +280 -3
- package/symbols/ExtrudeSymbol3DLayer.d.ts +191 -3
- package/symbols/FillSymbol.d.ts +55 -3
- package/symbols/FillSymbol3DLayer.d.ts +267 -3
- package/symbols/Font.d.ts +305 -3
- package/symbols/IconSymbol3DLayer.d.ts +291 -3
- package/symbols/LabelSymbol3D.d.ts +173 -3
- package/symbols/LineStyleMarker3D.d.ts +81 -3
- package/symbols/LineSymbol.d.ts +57 -3
- package/symbols/LineSymbol3D.d.ts +76 -3
- package/symbols/LineSymbol3DLayer.d.ts +288 -3
- package/symbols/LineSymbolMarker.d.ts +76 -3
- package/symbols/MarkerSymbol.d.ts +101 -3
- package/symbols/MeshSymbol3D.d.ts +81 -3
- package/symbols/ObjectSymbol3DLayer.d.ts +312 -3
- package/symbols/PathSymbol3DLayer.d.ts +301 -3
- package/symbols/PictureFillSymbol.d.ts +195 -3
- package/symbols/PictureMarkerSymbol.d.ts +166 -3
- package/symbols/PointSymbol3D.d.ts +174 -3
- package/symbols/PolygonSymbol3D.d.ts +105 -3
- package/symbols/SimpleFillSymbol.d.ts +159 -3
- package/symbols/SimpleLineSymbol.d.ts +184 -3
- package/symbols/SimpleMarkerSymbol.d.ts +259 -3
- package/symbols/Symbol.d.ts +118 -3
- package/symbols/Symbol3D.d.ts +88 -3
- package/symbols/Symbol3DLayer.d.ts +68 -3
- package/symbols/TextSymbol.d.ts +553 -3
- package/symbols/TextSymbol3DLayer.d.ts +250 -3
- package/symbols/WaterSymbol3DLayer.d.ts +128 -3
- package/symbols/WebStyleSymbol.d.ts +174 -3
- package/symbols/callouts/Callout3D.d.ts +29 -3
- package/symbols/callouts/LineCallout3D.d.ts +111 -3
- package/symbols/callouts/LineCallout3DBorder.d.ts +26 -0
- package/symbols/cim/CIMTypes.d.ts +2181 -0
- package/symbols/cim/enums.d.ts +50 -0
- package/symbols/edges/Edges3D.d.ts +70 -3
- package/symbols/edges/SketchEdges3D.d.ts +43 -3
- package/symbols/edges/SolidEdges3D.d.ts +44 -3
- package/symbols/interfaces.d.ts +26 -0
- package/symbols/patterns/LinePattern3D.d.ts +5 -0
- package/symbols/patterns/LineStylePattern3D.d.ts +61 -3
- package/symbols/patterns/Pattern3D.d.ts +5 -0
- package/symbols/patterns/StylePattern3D.d.ts +57 -3
- package/symbols/support/ElevationInfo.d.ts +68 -3
- package/symbols/support/FeatureExpressionInfo.d.ts +20 -3
- package/symbols/support/IconSymbol3DLayerResource.d.ts +28 -0
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +31 -0
- package/symbols/support/OccludedVisibility.d.ts +2 -0
- package/symbols/support/StyleOrigin.d.ts +27 -3
- package/symbols/support/Symbol3DAnchorPosition2D.d.ts +18 -0
- package/symbols/support/Symbol3DAnchorPosition3D.d.ts +24 -0
- package/symbols/support/Symbol3DFillMaterial.d.ts +18 -0
- package/symbols/support/Symbol3DHalo.d.ts +29 -0
- package/symbols/support/Symbol3DIconOutline.d.ts +33 -0
- package/symbols/support/Symbol3DMaterial.d.ts +22 -0
- package/symbols/support/Symbol3DOutline.d.ts +47 -0
- package/symbols/support/Symbol3DTextBackground.d.ts +16 -0
- package/symbols/support/Symbol3DVerticalOffset.d.ts +55 -3
- package/symbols/support/cimConversionUtils.d.ts +19 -2
- package/symbols/support/cimSymbolUtils.d.ts +84 -8
- package/symbols/support/interfaces.d.ts +65 -0
- package/symbols/support/jsonUtils.d.ts +33 -2
- package/symbols/support/materialUtils.d.ts +2 -0
- package/symbols/support/symbolUtils.d.ts +243 -9
- package/symbols/support/textUtils.d.ts +10 -0
- package/symbols/support/typeUtils.d.ts +86 -0
- package/symbols/support/webStyleAcceptedFormats.d.ts +2 -0
- package/symbols.d.ts +380 -53
- package/symbols.js +1 -1
- package/tables/AttributeTableTemplate.d.ts +97 -3
- package/tables/elements/AttributeTableAttachmentElement.d.ts +38 -3
- package/tables/elements/AttributeTableElement.d.ts +37 -3
- package/tables/elements/AttributeTableFieldElement.d.ts +35 -3
- package/tables/elements/AttributeTableGroupElement.d.ts +52 -3
- package/tables/elements/AttributeTableRelationshipElement.d.ts +26 -3
- package/tables/elements.d.ts +69 -11
- package/tables/support/FieldOrder.d.ts +13 -0
- package/tables/support/tablesUtils.d.ts +5 -0
- package/time/TimeExtent.d.ts +121 -3
- package/time/TimeInterval.d.ts +46 -3
- package/time/interfaces.d.ts +8 -0
- package/unionTypes.d.ts +60 -18
- package/versionManagement/VersionManagementService.d.ts +490 -3
- package/versionManagement/VersionManager.d.ts +177 -3
- package/versionManagement/VersioningState.d.ts +189 -3
- package/versionManagement/support/jsonTypes.d.ts +114 -0
- package/versionManagement/support/type.d.ts +4 -0
- package/versionManagement/utils.d.ts +40 -3
- package/versionManagement/versionAdapters/interfaces.d.ts +21 -0
- package/versionManagement/versionAdapters/utils.d.ts +33 -3
- package/views/2d/MapViewConstraints.d.ts +76 -0
- package/views/2d/ViewState.d.ts +116 -3
- package/views/2d/ViewStateManager.d.ts +2 -0
- package/views/2d/analysis/AnalysisView2D.d.ts +5 -0
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +76 -3
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +76 -3
- package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +153 -3
- package/views/2d/analysis/interfaces.d.ts +5 -0
- package/views/2d/constraints/GeometryConstraint.d.ts +4 -0
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/interfaces.d.ts +67 -0
- package/views/2d/layers/BaseLayerView2D.d.ts +271 -3
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +438 -3
- package/views/2d/layers/LayerView2D.d.ts +6 -0
- package/views/2d/layers/features/FeaturePipelineWorkerProxy.d.ts +32 -0
- package/views/2d/layers/support/MediaLayerInteractionOptions.d.ts +2 -0
- package/views/2d/layers/support/clusterUtils.d.ts +6 -0
- package/views/2d/layers/support/interfaces.d.ts +86 -0
- package/views/3d/analysis/AnalysisView3D.d.ts +5 -0
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +104 -3
- package/views/3d/analysis/Dimension/types.d.ts +6 -2
- package/views/3d/analysis/DimensionAnalysisView3D.d.ts +151 -3
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +26 -3
- package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.d.ts +106 -3
- package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +154 -3
- package/views/3d/analysis/LineOfSight/types.d.ts +1 -2
- package/views/3d/analysis/LineOfSightAnalysisResult.d.ts +28 -3
- package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +123 -3
- package/views/3d/analysis/ShadowCast/ShadowCastTooltip.js +5 -0
- package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +69 -3
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/analysis/Slice/types.d.ts +6 -2
- package/views/3d/analysis/SliceAnalysisView3D.d.ts +119 -3
- package/views/3d/analysis/Viewshed/types.d.ts +6 -2
- package/views/3d/analysis/ViewshedAnalysisView3D.d.ts +129 -3
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.d.ts +36 -3
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementResult.d.ts +35 -3
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +1 -2
- package/views/3d/analysis/VolumeMeasurementAnalysisView3D.d.ts +95 -3
- package/views/3d/analysis/interfaces.d.ts +27 -0
- package/views/3d/constraints/AltitudeConstraint.d.ts +17 -0
- package/views/3d/constraints/ClipDistanceConstraint.d.ts +23 -0
- package/views/3d/constraints/Constraints.d.ts +39 -0
- package/views/3d/constraints/TiltConstraint.d.ts +25 -0
- package/views/3d/environment/CloudyWeather.d.ts +54 -3
- package/views/3d/environment/FoggyWeather.d.ts +54 -3
- package/views/3d/environment/RainyWeather.d.ts +63 -3
- package/views/3d/environment/SceneViewEnvironment.d.ts +36 -0
- package/views/3d/environment/SnowyWeather.d.ts +69 -3
- package/views/3d/environment/SunLighting.d.ts +70 -3
- package/views/3d/environment/SunnyWeather.d.ts +54 -3
- package/views/3d/environment/VirtualLighting.d.ts +49 -3
- package/views/3d/environment/atmosphereUtils.js +1 -1
- package/views/3d/environment/lightingUtils.d.ts +4 -0
- package/views/3d/environment/weather.d.ts +9 -0
- package/views/3d/glTF/internal/resourceUtils.d.ts +10 -0
- package/views/3d/interactive/visualElements/DrapedVisualElementResources.d.ts +2 -0
- package/views/3d/interfaces.d.ts +69 -0
- package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +27 -0
- package/views/3d/layers/support/MediaLayerInteractionReshapeOptions.d.ts +15 -0
- package/views/3d/state/NearFarHeuristic.js +1 -1
- package/views/3d/support/LayerPerformanceInfo.d.ts +49 -3
- package/views/3d/support/QualityProfile.d.ts +2 -0
- package/views/3d/support/SceneViewPerformanceInfo.d.ts +56 -3
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/webgl/ManagedColorAttachment.d.ts +7 -0
- package/views/3d/webgl/ManagedDepthAttachment.d.ts +7 -0
- package/views/3d/webgl/ManagedFBO.d.ts +94 -3
- package/views/3d/webgl/ManagedFBOAttachment.d.ts +3 -0
- package/views/3d/webgl/ManagedFBOResource.d.ts +15 -0
- package/views/3d/webgl/RenderCamera.d.ts +91 -3
- package/views/3d/webgl/RenderNode.d.ts +318 -3
- package/views/3d/webgl-engine/lighting/SceneLighting.d.ts +33 -0
- package/views/3d/webgl-engine/shaders/ToneMapping.glsl.js +18 -2
- package/views/3d/webgl.d.ts +207 -6
- package/views/BasemapView.d.ts +40 -3
- package/views/BreakpointsOwner.d.ts +132 -3
- package/views/DOMContainer.d.ts +193 -3
- package/views/GroundView.d.ts +73 -3
- package/views/HitTestItem3D.d.ts +20 -0
- package/views/HitTestOptions.d.ts +25 -0
- package/views/IBreakpointsOwner.d.ts +55 -0
- package/views/IObjectId.d.ts +2 -0
- package/views/ISceneView.d.ts +5 -0
- package/views/IView.d.ts +43 -0
- package/views/LinkChartView.d.ts +99 -3
- package/views/Magnifier.d.ts +95 -3
- package/views/MapView.d.ts +498 -3
- package/views/MapViewOrSceneView.d.ts +4 -0
- package/views/PopupView.d.ts +183 -3
- package/views/SceneView.d.ts +1706 -3
- package/views/SceneViewHitTestResult.d.ts +64 -0
- package/views/Theme.d.ts +68 -3
- package/views/VideoView.d.ts +122 -3
- package/views/View.d.ts +768 -3
- package/views/View2D.d.ts +1025 -3
- package/views/ViewAnimation.d.ts +73 -3
- package/views/ViewingMode.d.ts +2 -0
- package/views/Viewport2DBaseMixin.d.ts +6 -0
- package/views/Viewport2DMixin.d.ts +62 -0
- package/views/analysis/AnalysisView.d.ts +12 -0
- package/views/analysis/AreaMeasurement/types.d.ts +37 -3
- package/views/analysis/DistanceMeasurement/types.d.ts +16 -3
- package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +34 -3
- package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +51 -3
- package/views/analysis/ElevationProfile/interfaces.d.ts +73 -0
- package/views/analysis/ElevationProfile/types.d.ts +21 -4
- package/views/analysis/LengthDimensionResult.d.ts +19 -3
- package/views/analysis/types.d.ts +5 -2
- package/views/animation/easing.d.ts +5 -0
- package/views/draw/Draw.d.ts +146 -3
- package/views/draw/DrawAction.d.ts +107 -3
- package/views/draw/DrawingMode.d.ts +2 -0
- package/views/draw/MultipointDrawAction.d.ts +187 -3
- package/views/draw/PointDrawAction.d.ts +109 -3
- package/views/draw/PolygonDrawAction.d.ts +209 -3
- package/views/draw/PolylineDrawAction.d.ts +205 -3
- package/views/draw/SegmentDrawAction.d.ts +99 -3
- package/views/draw/input/CursorUpdateEvents.d.ts +22 -0
- package/views/draw/input/DrawCompleteEvent.d.ts +21 -0
- package/views/draw/input/VertexAddEvent.d.ts +20 -0
- package/views/draw/input/VertexRemoveEvent.d.ts +20 -0
- package/views/draw/interfaces.d.ts +15 -0
- package/views/draw/support/drawUtils.d.ts +7 -0
- package/views/input/IViewEvents.d.ts +602 -0
- package/views/input/Input.d.ts +18 -3
- package/views/input/gamepad/GamepadInputDevice.d.ts +42 -3
- package/views/input/gamepad/GamepadSettings.d.ts +43 -3
- package/views/input/interfaces.d.ts +2 -0
- package/views/interactive/Tooltip.d.ts +20 -3
- package/views/interactive/sketch/SketchLabelOptions.d.ts +76 -3
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +109 -3
- package/views/interactive/sketch/SketchTooltipVisibleElements.d.ts +85 -0
- package/views/interactive/sketch/SketchValueOptions.d.ts +61 -3
- package/views/interactive/sketch/Units.d.ts +26 -0
- package/views/interactive/sketch/interfaces.d.ts +2 -0
- package/views/interactive/snapping/FeatureSnappingLayerSource.d.ts +65 -3
- package/views/interactive/snapping/SnappingOptions.d.ts +142 -3
- package/views/interactive/tooltip/interfaces.d.ts +2 -0
- package/views/interfaces.d.ts +274 -0
- package/views/layers/BuildingComponentSublayerView.d.ts +306 -3
- package/views/layers/BuildingComponentSublayerView.js +1 -1
- package/views/layers/BuildingSceneLayerView.d.ts +106 -3
- package/views/layers/CSVLayerView.d.ts +17 -3
- package/views/layers/CatalogDynamicGroupLayerView.d.ts +27 -3
- package/views/layers/CatalogFootprintLayerView.d.ts +20 -3
- package/views/layers/CatalogLayerView.d.ts +30 -3
- package/views/layers/DimensionLayerView.d.ts +45 -3
- package/views/layers/DimensionLayerViewMixin.d.ts +98 -0
- package/views/layers/FeatureLayerView.d.ts +27 -3
- package/views/layers/FeatureLayerViewMixin.d.ts +755 -3
- package/views/layers/GeoJSONLayerView.d.ts +17 -3
- package/views/layers/GeoRSSLayerView.d.ts +14 -3
- package/views/layers/GraphicsLayerView.d.ts +39 -3
- package/views/layers/GroupLayerView.d.ts +23 -3
- package/views/layers/HighlightLayerViewMixin.d.ts +147 -3
- package/views/layers/HighlightableLayerView.d.ts +8 -0
- package/views/layers/ImageryLayerView.d.ts +20 -3
- package/views/layers/ImageryLayerViewMixin.d.ts +126 -0
- package/views/layers/ImageryTileLayerView.d.ts +13 -3
- package/views/layers/ImageryTileLayerViewMixin.d.ts +13 -0
- package/views/layers/KMLLayerView.d.ts +26 -3
- package/views/layers/LayerView.d.ts +107 -3
- package/views/layers/LineOfSightLayerView.d.ts +35 -3
- package/views/layers/LineOfSightLayerViewMixin.d.ts +78 -0
- package/views/layers/MediaLayerView.d.ts +35 -3
- package/views/layers/MediaLayerViewMixin.d.ts +101 -0
- package/views/layers/OGCFeatureLayerView.d.ts +21 -3
- package/views/layers/ParquetLayerView.d.ts +15 -3
- package/views/layers/PointCloudLayerView.d.ts +139 -3
- package/views/layers/RefreshableLayerView.d.ts +6 -0
- package/views/layers/SceneLayerView.d.ts +432 -3
- package/views/layers/StreamLayerView.d.ts +466 -3
- package/views/layers/VectorTileLayerView.d.ts +17 -3
- package/views/layers/ViewshedLayerView.d.ts +36 -3
- package/views/layers/ViewshedLayerViewMixin.d.ts +98 -0
- package/views/layers/WFSLayerView.d.ts +17 -3
- package/views/navigation/Navigation.d.ts +136 -3
- package/views/navigation/NavigationActionMap.d.ts +48 -3
- package/views/navigation/gamepad/GamepadSettings.d.ts +64 -3
- package/views/navigation/interfaces.d.ts +5 -0
- package/views/support/AttributionItem.d.ts +12 -3
- package/views/support/HighlightOptions.d.ts +240 -3
- package/views/support/colorUtils.d.ts +39 -3
- package/views/support/interfaces.d.ts +87 -0
- package/views/ui/DefaultUI.d.ts +83 -3
- package/views/ui/Padding.d.ts +11 -0
- package/views/ui/UI.d.ts +229 -3
- package/views/ui/interfaces.d.ts +50 -0
- package/views/viewType.d.ts +2 -0
- package/views/webgl/Texture.d.ts +6 -0
- package/views/webgl/enums.d.ts +38 -0
- package/webdoc/GeotriggersInfo.d.ts +21 -3
- package/webdoc/IPSInfo.d.ts +37 -3
- package/webdoc/Widgets.d.ts +22 -0
- package/webdoc/applicationProperties/Search.d.ts +49 -3
- package/webdoc/applicationProperties/SearchLayer.d.ts +29 -3
- package/webdoc/applicationProperties/SearchLayerField.d.ts +28 -3
- package/webdoc/applicationProperties/SearchTable.d.ts +27 -3
- package/webdoc/applicationProperties/SearchTableField.d.ts +28 -3
- package/webdoc/applicationProperties/Viewing.d.ts +25 -3
- package/webdoc/geotriggersInfo/DeviceLocationFeed.d.ts +30 -3
- package/webdoc/geotriggersInfo/ExpressionInfo.d.ts +28 -3
- package/webdoc/geotriggersInfo/FeatureFenceParameters.d.ts +50 -3
- package/webdoc/geotriggersInfo/FeatureFilter.d.ts +40 -3
- package/webdoc/geotriggersInfo/FeatureLayerSource.d.ts +24 -3
- package/webdoc/geotriggersInfo/FenceGeotrigger.d.ts +90 -3
- package/webdoc/geotriggersInfo/Geotrigger.d.ts +15 -3
- package/webdoc/geotriggersInfo/GeotriggerNotificationOptions.d.ts +40 -3
- package/webdoc/geotriggersInfo/support/typeUtils.d.ts +6 -0
- package/webdoc/ips/AppleIPSProperties.d.ts +19 -3
- package/webdoc/ips/Configuration.d.ts +42 -3
- package/webdoc/ips/GNSSProperties.d.ts +19 -3
- package/webdoc/ips/PathSnappingProperties.d.ts +31 -3
- package/webdoc/ips/PositioningService.d.ts +21 -3
- package/webdoc/ips/SmoothingProperties.d.ts +19 -3
- package/webdoc/support/SlideThumbnail.d.ts +13 -0
- package/webdoc/support/thumbnailUtils.d.ts +7 -0
- package/webdoc/support/webdocSaveUtils.d.ts +19 -0
- package/webdoc/widgets/FloorFilter.d.ts +37 -0
- package/webdoc/widgets/TimeSlider.d.ts +53 -3
- package/webmap/ApplicationProperties.d.ts +21 -3
- package/webmap/Bookmark.d.ts +87 -3
- package/webmap/InitialViewProperties.d.ts +81 -3
- package/webmap/Version.d.ts +3 -0
- package/webmap/background/ColorBackground.d.ts +39 -3
- package/webscene/ApplicationProperties.d.ts +25 -3
- package/webscene/Environment.d.ts +104 -3
- package/webscene/InitialViewProperties.d.ts +91 -3
- package/webscene/Presentation.d.ts +41 -3
- package/webscene/Slide.d.ts +347 -3
- package/webscene/SlideLegendInfo.d.ts +20 -3
- package/webscene/SunLighting.d.ts +52 -3
- package/webscene/Version.d.ts +3 -0
- package/webscene/VirtualLighting.d.ts +37 -3
- package/webscene/background/Background.d.ts +24 -3
- package/webscene/background/ColorBackground.d.ts +83 -3
- package/webscene/support/Description.d.ts +14 -0
- package/webscene/support/FeatureReference.d.ts +46 -3
- package/webscene/support/FeatureReferenceGlobalId.d.ts +26 -3
- package/webscene/support/FeatureReferenceId.d.ts +27 -3
- package/webscene/support/FeatureReferenceObjectId.d.ts +28 -3
- package/webscene/support/LayerReference.d.ts +26 -3
- package/webscene/support/SlideElements.d.ts +63 -3
- package/webscene/support/SlideEnvironment.d.ts +24 -0
- package/webscene/support/SlideGround.d.ts +10 -0
- package/webscene/support/SlidePopupInfo.d.ts +53 -3
- package/webscene/support/SlideVisibleLayer.d.ts +23 -0
- package/webscene/support/Title.d.ts +14 -0
- package/webscene/support/featureReferenceUtils.d.ts +4 -0
- package/webscene/types.d.ts +76 -4
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +200 -3
- package/widgets/AreaMeasurement2D.d.ts +218 -3
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +180 -3
- package/widgets/AreaMeasurement3D.d.ts +215 -3
- package/widgets/Attachments/AttachmentsViewModel.d.ts +90 -3
- package/widgets/Attachments/interfaces.d.ts +19 -0
- package/widgets/Attachments.d.ts +159 -3
- package/widgets/Attribution/AttributionViewModel.d.ts +38 -3
- package/widgets/Attribution.d.ts +103 -3
- package/widgets/BasemapGallery/BasemapGalleryViewModel.d.ts +79 -3
- package/widgets/BasemapGallery/interfaces.d.ts +69 -0
- package/widgets/BasemapGallery/support/BasemapGalleryItem.d.ts +32 -3
- package/widgets/BasemapGallery/support/LocalBasemapsSource.d.ts +45 -3
- package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +95 -3
- package/widgets/BasemapGallery.d.ts +199 -3
- package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +75 -3
- package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +76 -0
- package/widgets/BasemapLayerList/interfaces.d.ts +2 -0
- package/widgets/BasemapLayerList.d.ts +431 -3
- package/widgets/BasemapToggle/BasemapToggleViewModel.d.ts +76 -3
- package/widgets/BasemapToggle.d.ts +153 -3
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +254 -3
- package/widgets/BatchAttributeForm/VisibleElements.d.ts +13 -0
- package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +33 -3
- package/widgets/BatchAttributeForm/inputs/EditableInput.d.ts +41 -3
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +88 -3
- package/widgets/BatchAttributeForm/inputs/GroupInput.d.ts +36 -3
- package/widgets/BatchAttributeForm/inputs/InputBase.d.ts +37 -3
- package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.d.ts +26 -3
- package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +24 -3
- package/widgets/BatchAttributeForm/inputs/interfaces.d.ts +7 -0
- package/widgets/BatchAttributeForm/interfaces.d.ts +53 -0
- package/widgets/BatchAttributeForm.d.ts +190 -3
- package/widgets/Bookmarks/BookmarksViewModel.d.ts +193 -3
- package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +66 -0
- package/widgets/Bookmarks/interfaces.d.ts +45 -0
- package/widgets/Bookmarks.d.ts +367 -3
- package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +63 -3
- package/widgets/BuildingExplorer/BuildingLevel.d.ts +17 -3
- package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +64 -0
- package/widgets/BuildingExplorer/BuildingPhase.d.ts +21 -3
- package/widgets/BuildingExplorer.d.ts +183 -3
- package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +124 -3
- package/widgets/CatalogLayerList/CatalogLayerListVisibleElements.d.ts +58 -0
- package/widgets/CatalogLayerList/interfaces.d.ts +2 -0
- package/widgets/CatalogLayerList.d.ts +317 -3
- package/widgets/Compass/CompassViewModel.d.ts +63 -3
- package/widgets/Compass.d.ts +130 -3
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +198 -3
- package/widgets/CoordinateConversion/support/Conversion.d.ts +68 -3
- package/widgets/CoordinateConversion/support/Format.d.ts +109 -3
- package/widgets/CoordinateConversion.d.ts +322 -3
- package/widgets/Daylight/DaylightViewModel.d.ts +121 -3
- package/widgets/Daylight/VisibleElements.d.ts +46 -0
- package/widgets/Daylight/support/daylightUtils.d.ts +4 -0
- package/widgets/Daylight.d.ts +272 -3
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +187 -3
- package/widgets/DirectLineMeasurement3D.d.ts +230 -3
- package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +82 -3
- package/widgets/DirectionalPad/VisibleElements.d.ts +33 -0
- package/widgets/DirectionalPad/constants.d.ts +2 -0
- package/widgets/DirectionalPad/utils.d.ts +11 -0
- package/widgets/DirectionalPad.d.ts +154 -3
- package/widgets/Directions/DirectionsViewModel.d.ts +278 -3
- package/widgets/Directions/DirectionsVisibleElements.d.ts +40 -0
- package/widgets/Directions.d.ts +435 -3
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +194 -3
- package/widgets/DistanceMeasurement2D.d.ts +218 -3
- package/widgets/Editor/CreateFeaturesWorkflow.d.ts +62 -3
- package/widgets/Editor/CreateFeaturesWorkflowData.d.ts +51 -3
- package/widgets/Editor/EditorViewModel.d.ts +453 -3
- package/widgets/Editor/Edits.d.ts +27 -3
- package/widgets/Editor/MergeFeaturesWorkflow.d.ts +39 -3
- package/widgets/Editor/MergeFeaturesWorkflowData.d.ts +17 -3
- package/widgets/Editor/SplitFeatureWorkflow.d.ts +76 -3
- package/widgets/Editor/SplitFeatureWorkflowData.d.ts +84 -3
- package/widgets/Editor/UpdateFeaturesWorkflow.d.ts +15 -3
- package/widgets/Editor/UpdateFeaturesWorkflowData.d.ts +65 -3
- package/widgets/Editor/UpdateWorkflow.d.ts +37 -3
- package/widgets/Editor/UpdateWorkflowData.d.ts +27 -3
- package/widgets/Editor/VisibleElements.d.ts +99 -0
- package/widgets/Editor/Workflow.d.ts +110 -3
- package/widgets/Editor/interfaces.d.ts +165 -0
- package/widgets/Editor/support/EditorEditingCapabilities.d.ts +27 -0
- package/widgets/Editor/support/EditorItem.d.ts +114 -3
- package/widgets/Editor/support/splitFeatureUtils.d.ts +7 -0
- package/widgets/Editor.d.ts +694 -3
- package/widgets/ElevationProfile/ElevationProfileInteraction.d.ts +13 -0
- package/widgets/ElevationProfile/ElevationProfileLine.d.ts +74 -3
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +66 -3
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +72 -3
- package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +121 -3
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +77 -3
- package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +164 -3
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +60 -0
- package/widgets/ElevationProfile/elevationProfileLineTypes.d.ts +6 -0
- package/widgets/ElevationProfile/interfaces.d.ts +103 -0
- package/widgets/ElevationProfile/support/constants.d.ts +14 -0
- package/widgets/ElevationProfile.d.ts +329 -3
- package/widgets/Expand/ExpandViewModel.d.ts +52 -3
- package/widgets/Expand.d.ts +279 -3
- package/widgets/Feature/FeatureViewModel.d.ts +305 -3
- package/widgets/Feature/interfaces.d.ts +115 -0
- package/widgets/Feature/support/FeatureContentMixin.d.ts +6 -0
- package/widgets/Feature/support/arcadeFeatureUtils.d.ts +4 -0
- package/widgets/Feature.d.ts +395 -3
- package/widgets/FeatureForm/EditableInput.d.ts +36 -3
- package/widgets/FeatureForm/FeatureFormViewModel.d.ts +335 -3
- package/widgets/FeatureForm/FieldInput.d.ts +110 -3
- package/widgets/FeatureForm/GroupInput.d.ts +41 -3
- package/widgets/FeatureForm/InputBase.d.ts +8 -3
- package/widgets/FeatureForm/RelationshipInput.d.ts +52 -3
- package/widgets/FeatureForm/TextElementInput.d.ts +49 -3
- package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +35 -3
- package/widgets/FeatureForm/VisibleElements.d.ts +13 -0
- package/widgets/FeatureForm/interfaces.d.ts +18 -0
- package/widgets/FeatureForm.d.ts +303 -3
- package/widgets/FeatureTable/ActionColumn.d.ts +52 -3
- package/widgets/FeatureTable/AttachmentsColumn.d.ts +92 -3
- package/widgets/FeatureTable/ColumnMenuVisibleElements.d.ts +18 -0
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +1096 -3
- package/widgets/FeatureTable/FieldColumn.d.ts +139 -3
- package/widgets/FeatureTable/Grid/Column.d.ts +225 -3
- package/widgets/FeatureTable/Grid/EditorColumn.d.ts +15 -0
- package/widgets/FeatureTable/Grid/GridViewModel.d.ts +5 -0
- package/widgets/FeatureTable/Grid/GroupColumn.d.ts +32 -3
- package/widgets/FeatureTable/Grid/interfaces.d.ts +57 -0
- package/widgets/FeatureTable/Grid/support/interfaces.d.ts +56 -0
- package/widgets/FeatureTable/RelationshipColumn.d.ts +96 -3
- package/widgets/FeatureTable/TableMenuVisibleElements.d.ts +54 -0
- package/widgets/FeatureTable/VisibleElements.d.ts +81 -0
- package/widgets/FeatureTable/support/AttachmentsColumnTemplate.d.ts +26 -3
- package/widgets/FeatureTable/support/AttachmentsViewOptions.d.ts +73 -3
- package/widgets/FeatureTable/support/ColumnTemplate.d.ts +23 -3
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +221 -3
- package/widgets/FeatureTable/support/EditableColumnTemplateMixin.d.ts +44 -0
- package/widgets/FeatureTable/support/FieldColumnTemplate.d.ts +90 -3
- package/widgets/FeatureTable/support/GroupColumnTemplate.d.ts +114 -3
- package/widgets/FeatureTable/support/RelationshipColumnTemplate.d.ts +28 -3
- package/widgets/FeatureTable/support/TableTemplate.d.ts +153 -3
- package/widgets/FeatureTable/support/interfaces.d.ts +190 -0
- package/widgets/FeatureTable.d.ts +1686 -3
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +210 -3
- package/widgets/FeatureTemplates/TemplateItem.d.ts +42 -3
- package/widgets/FeatureTemplates/TemplateItemGroup.d.ts +36 -3
- package/widgets/FeatureTemplates/VisibleElements.d.ts +16 -0
- package/widgets/FeatureTemplates/interfaces.d.ts +98 -0
- package/widgets/FeatureTemplates.d.ts +272 -3
- package/widgets/Features/FeaturesViewModel.d.ts +756 -3
- package/widgets/Features/FeaturesVisibleElements.d.ts +72 -0
- package/widgets/Features.d.ts +501 -3
- package/widgets/FloorFilter/FloorFilterViewModel.d.ts +38 -3
- package/widgets/FloorFilter.d.ts +123 -3
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +38 -3
- package/widgets/Fullscreen.d.ts +93 -3
- package/widgets/Histogram/HistogramViewModel.d.ts +98 -3
- package/widgets/Histogram/interfaces.d.ts +33 -0
- package/widgets/Histogram.d.ts +320 -3
- package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.d.ts +151 -3
- package/widgets/HistogramRangeSlider/interfaces.d.ts +2 -0
- package/widgets/HistogramRangeSlider.d.ts +442 -3
- package/widgets/Home/HomeViewModel.d.ts +108 -3
- package/widgets/Home.d.ts +182 -3
- package/widgets/LayerList/LayerListViewModel.d.ts +148 -3
- package/widgets/LayerList/LayerListVisibleElements.d.ts +66 -0
- package/widgets/LayerList/ListItem.d.ts +292 -3
- package/widgets/LayerList/ListItemPanel.d.ts +204 -3
- package/widgets/LayerList/interfaces.d.ts +36 -0
- package/widgets/LayerList.d.ts +505 -3
- package/widgets/Legend/LegendViewModel.d.ts +130 -3
- package/widgets/Legend/styles/card/CardView.d.ts +24 -0
- package/widgets/Legend/styles/classic/ClassicView.d.ts +10 -0
- package/widgets/Legend/support/ActiveLayerInfo.d.ts +129 -3
- package/widgets/Legend.d.ts +332 -3
- package/widgets/LineOfSight/LineOfSightTarget.d.ts +47 -3
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +240 -3
- package/widgets/LineOfSight.d.ts +204 -3
- package/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.d.ts +83 -3
- package/widgets/Locate/LocateViewModel.d.ts +124 -3
- package/widgets/Locate.d.ts +248 -3
- package/widgets/Measurement/MeasurementViewModel.d.ts +128 -3
- package/widgets/Measurement/interfaces.d.ts +6 -0
- package/widgets/Measurement.d.ts +258 -3
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +67 -3
- package/widgets/NavigationToggle.d.ts +107 -3
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.d.ts +96 -3
- package/widgets/OrientedImageryViewer/components/Arrow.js +5 -0
- package/widgets/OrientedImageryViewer/components/NavigationNode.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUI360.js +1 -1
- package/widgets/OrientedImageryViewer/components/imageNavigationUtils.js +1 -1
- package/widgets/OrientedImageryViewer/css.js +1 -1
- package/widgets/OrientedImageryViewer/interfaces.d.ts +8 -0
- package/widgets/OrientedImageryViewer.d.ts +170 -3
- package/widgets/Popup/PopupViewModel.d.ts +23 -3
- package/widgets/Popup/PopupVisibleElements.d.ts +62 -0
- package/widgets/Popup/actions.d.ts +4 -0
- package/widgets/Popup/interfaces.d.ts +148 -0
- package/widgets/Popup.d.ts +757 -3
- package/widgets/Print/CustomTemplate.d.ts +113 -3
- package/widgets/Print/FileLink.d.ts +75 -0
- package/widgets/Print/PrintViewModel.d.ts +462 -3
- package/widgets/Print/TemplateOptions.d.ts +218 -3
- package/widgets/Print/interfaces.d.ts +59 -0
- package/widgets/Print.d.ts +415 -3
- package/widgets/ScaleBar/ScaleBarViewModel.d.ts +35 -3
- package/widgets/ScaleBar.d.ts +127 -3
- package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.d.ts +111 -3
- package/widgets/ScaleRangeSlider/ScaleRanges.d.ts +67 -3
- package/widgets/ScaleRangeSlider/interfaces.d.ts +85 -0
- package/widgets/ScaleRangeSlider.d.ts +182 -3
- package/widgets/Search/LayerSearchSource.d.ts +97 -3
- package/widgets/Search/LocatorSearchSource.d.ts +383 -3
- package/widgets/Search/SearchResultRenderer.d.ts +82 -3
- package/widgets/Search/SearchSource.d.ts +204 -3
- package/widgets/Search/SearchViewModel.d.ts +666 -3
- package/widgets/Search/support/interfaces.d.ts +67 -0
- package/widgets/Search/types.d.ts +115 -10
- package/widgets/Search/types.js +1 -1
- package/widgets/Search.d.ts +660 -3
- package/widgets/ShadowCast/DiscreteOptions.d.ts +52 -3
- package/widgets/ShadowCast/DurationMode.d.ts +3 -0
- package/widgets/ShadowCast/DurationOptions.d.ts +45 -3
- package/widgets/ShadowCast/ShadowCastViewModel.d.ts +117 -3
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +81 -0
- package/widgets/ShadowCast/ShadowVisualizationType.d.ts +3 -0
- package/widgets/ShadowCast/ThresholdOptions.d.ts +86 -3
- package/widgets/ShadowCast.d.ts +171 -3
- package/widgets/Sketch/CreateToolVisibilityMap.d.ts +60 -0
- package/widgets/Sketch/SelectionToolVisibilityMap.d.ts +18 -0
- package/widgets/Sketch/SketchViewModel.d.ts +1001 -3
- package/widgets/Sketch/VisibleElements.d.ts +113 -0
- package/widgets/Sketch/support/interfaces.d.ts +559 -0
- package/widgets/Sketch.d.ts +822 -3
- package/widgets/Slice/SliceViewModel.d.ts +194 -3
- package/widgets/Slice.d.ts +205 -3
- package/widgets/Slider/SliderViewModel.d.ts +299 -3
- package/widgets/Slider/interfaces.d.ts +270 -0
- package/widgets/Slider.d.ts +839 -3
- package/widgets/Swipe/SwipeViewModel.d.ts +104 -3
- package/widgets/Swipe/interfaces.d.ts +25 -0
- package/widgets/Swipe.d.ts +177 -3
- package/widgets/TableList/ListItem.d.ts +157 -3
- package/widgets/TableList/ListItemPanel.d.ts +197 -3
- package/widgets/TableList/TableListViewModel.d.ts +155 -3
- package/widgets/TableList/TableListVisibleElements.d.ts +58 -0
- package/widgets/TableList/interfaces.d.ts +22 -0
- package/widgets/TableList.d.ts +348 -3
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +629 -3
- package/widgets/TimeSlider/interfaces.d.ts +117 -0
- package/widgets/TimeSlider.d.ts +1023 -3
- package/widgets/TimeZoneLabel.d.ts +131 -3
- package/widgets/Track/TrackViewModel.d.ts +124 -3
- package/widgets/Track/interfaces.d.ts +5 -0
- package/widgets/Track.d.ts +276 -3
- package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.d.ts +129 -3
- package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
- package/widgets/UtilityNetworkAssociations/VisibleElements.d.ts +53 -0
- package/widgets/UtilityNetworkAssociations/VisibleElementsSettingsPane.d.ts +36 -0
- package/widgets/UtilityNetworkAssociations.d.ts +225 -3
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +516 -3
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.d.ts +15 -0
- package/widgets/UtilityNetworkTrace.d.ts +307 -3
- package/widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel.d.ts +126 -3
- package/widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel.js +1 -1
- package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.d.ts +71 -3
- package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
- package/widgets/UtilityNetworkValidateTopology.d.ts +127 -3
- package/widgets/ValuePicker/ValuePickerBaseComponent.d.ts +6 -0
- package/widgets/ValuePicker/ValuePickerCollection.d.ts +64 -3
- package/widgets/ValuePicker/ValuePickerCombobox.d.ts +78 -3
- package/widgets/ValuePicker/ValuePickerLabel.d.ts +53 -3
- package/widgets/ValuePicker/ValuePickerSlider.d.ts +194 -3
- package/widgets/ValuePicker/ValuePickerSliderVisibleElements.d.ts +14 -0
- package/widgets/ValuePicker/ValuePickerVisibleElements.d.ts +25 -0
- package/widgets/ValuePicker/interfaces.d.ts +57 -0
- package/widgets/ValuePicker.d.ts +630 -3
- package/widgets/VersionManagement/VersionManagementViewModel.d.ts +179 -3
- package/widgets/VersionManagement/VersionManagementViewModel.js +1 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +204 -3
- package/widgets/VideoPlayer.d.ts +118 -3
- package/widgets/Weather/VisibleElements.d.ts +16 -0
- package/widgets/Weather/WeatherViewModel.d.ts +41 -3
- package/widgets/Weather/enums.d.ts +9 -0
- package/widgets/Weather.d.ts +114 -3
- package/widgets/Widget.d.ts +188 -3
- package/widgets/Zoom/ZoomViewModel.d.ts +43 -3
- package/widgets/Zoom.d.ts +100 -3
- package/widgets/interfaces.d.ts +521 -0
- package/widgets/smartMapping/BinaryColorSizeSlider/BinaryColorSizeSliderViewModel.d.ts +14 -3
- package/widgets/smartMapping/BinaryColorSizeSlider.d.ts +331 -3
- package/widgets/smartMapping/ClassedColorSlider/ClassedColorSliderViewModel.d.ts +42 -3
- package/widgets/smartMapping/ClassedColorSlider/interfaces.d.ts +19 -0
- package/widgets/smartMapping/ClassedColorSlider.d.ts +268 -3
- package/widgets/smartMapping/ClassedSizeSlider/ClassedSizeSliderViewModel.d.ts +39 -3
- package/widgets/smartMapping/ClassedSizeSlider/interfaces.d.ts +18 -0
- package/widgets/smartMapping/ClassedSizeSlider.d.ts +273 -3
- package/widgets/smartMapping/ColorSizeSlider/ColorSizeSliderViewModel.d.ts +86 -3
- package/widgets/smartMapping/ColorSizeSlider.d.ts +347 -3
- package/widgets/smartMapping/ColorSlider/ColorSliderViewModel.d.ts +40 -3
- package/widgets/smartMapping/ColorSlider.d.ts +287 -3
- package/widgets/smartMapping/HeatmapSlider/HeatmapSliderViewModel.d.ts +60 -3
- package/widgets/smartMapping/HeatmapSlider.d.ts +170 -3
- package/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel.d.ts +43 -3
- package/widgets/smartMapping/OpacitySlider.d.ts +267 -3
- package/widgets/smartMapping/SizeSlider/SizeSliderViewModel.d.ts +55 -3
- package/widgets/smartMapping/SizeSlider.d.ts +354 -3
- package/widgets/smartMapping/SmartMappingPrimaryHandleSliderViewModel.d.ts +49 -3
- package/widgets/smartMapping/SmartMappingSliderBase.d.ts +309 -3
- package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +403 -3
- package/widgets/smartMapping/interfaces.d.ts +13 -0
- package/widgets/smartMapping/support/interfaces.d.ts +66 -0
- package/widgets/smartMapping/support/utils.d.ts +28 -4
- package/widgets/support/AnalysisViewModel.d.ts +5 -0
- package/widgets/support/AnchorElementViewModel.d.ts +3 -0
- package/widgets/support/GeolocationPositioning.d.ts +105 -3
- package/widgets/support/GoTo.d.ts +26 -3
- package/widgets/support/GridControls/GridControlsViewModel.d.ts +163 -3
- package/widgets/support/GridControls/VisibleElements.d.ts +74 -0
- package/widgets/support/GridControls/interfaces.d.ts +2 -0
- package/widgets/support/GridControls.d.ts +153 -3
- package/widgets/support/Heading.d.ts +7 -0
- package/widgets/support/InteractiveToolViewModel.d.ts +4 -0
- package/widgets/support/SnappingControls/SnappingControlsViewModel.d.ts +33 -3
- package/widgets/support/SnappingControls/VisibleElements.d.ts +89 -0
- package/widgets/support/SnappingControls.d.ts +180 -3
- package/widgets/support/forms/formUtils.d.ts +2 -0
- package/widgets/support/forms/interfaces.d.ts +2 -0
- package/widgets/support/goToUtils.d.ts +26 -0
- package/widgets/support/interfaces.d.ts +56 -0
- package/widgets/support/widget.d.ts +160 -18
- package/analysis/ShadowCast/DurationOptions.d.ts +0 -4
- package/analysis/ShadowCast/ThresholdOptions.d.ts +0 -4
- package/analysis/ShadowCast/ThresholdOptions.js +0 -5
- package/analysis/ShadowCast/types.js +0 -5
- package/assets/esri/core/workers/chunks/2c3b65a756439a93b4d6.js +0 -1
- package/assets/esri/core/workers/chunks/45fe2b6cbb957c521291.js +0 -1
- package/assets/esri/core/workers/chunks/7891825d5cdca03d2db0.js +0 -1
- package/assets/esri/core/workers/chunks/99baa5f97131e8689887.js +0 -1019
- package/assets/esri/core/workers/chunks/c9942ca57f542582ab4d.js +0 -1
- package/assets/esri/core/workers/chunks/de3da4d31a7529761565.js +0 -1
- package/assets/esri/core/workers/chunks/e7c08a03772f7fccd949.js +0 -1
- package/smartMapping/statistics/types.js +0 -5
- package/unionTypes.js +0 -5
- package/views/3d/analysis/Dimension/types.js +0 -5
- package/views/3d/analysis/DirectLineMeasurement/types.js +0 -5
- package/views/3d/analysis/LineOfSight/types.js +0 -5
- package/views/3d/analysis/Slice/types.js +0 -5
- package/views/3d/analysis/Viewshed/types.js +0 -5
- package/views/3d/analysis/VolumeMeasurement/types.js +0 -5
- package/views/analysis/AreaMeasurement/types.js +0 -5
- package/views/analysis/DistanceMeasurement/types.js +0 -5
- package/views/analysis/ElevationProfile/types.js +0 -5
- package/views/analysis/types.js +0 -5
- package/webscene/types.js +0 -5
package/layers/FeatureLayer.d.ts
CHANGED
|
@@ -1,4 +1,2189 @@
|
|
|
1
|
-
import "../
|
|
1
|
+
import type Graphic from "../Graphic.js";
|
|
2
|
+
import type PopupTemplate from "../PopupTemplate.js";
|
|
3
|
+
import type Collection from "../core/Collection.js";
|
|
4
|
+
import type FormTemplate from "../form/FormTemplate.js";
|
|
5
|
+
import type Extent from "../geometry/Extent.js";
|
|
6
|
+
import type Layer from "./Layer.js";
|
|
7
|
+
import type FeatureTemplate from "./support/FeatureTemplate.js";
|
|
8
|
+
import type FeatureType from "./support/FeatureType.js";
|
|
9
|
+
import type Field from "./support/Field.js";
|
|
10
|
+
import type FieldConfiguration from "./support/FieldConfiguration.js";
|
|
11
|
+
import type LabelClass from "./support/LabelClass.js";
|
|
12
|
+
import type PortalItem from "../portal/PortalItem.js";
|
|
13
|
+
import type AttachmentInfo from "../rest/query/support/AttachmentInfo.js";
|
|
14
|
+
import type AttributeBinsFeatureSet from "../rest/support/AttributeBinsFeatureSet.js";
|
|
15
|
+
import type FeatureSet from "../rest/support/FeatureSet.js";
|
|
16
|
+
import type Query from "../rest/support/Query.js";
|
|
17
|
+
import type AttributeTableTemplate from "../tables/AttributeTableTemplate.js";
|
|
18
|
+
import type { ClonableMixin, ClonableMixinProperties } from "../core/Clonable.js";
|
|
19
|
+
import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
|
|
20
|
+
import type { MultiOriginJSONMixin, MultiOriginJSONMixinProperties } from "../core/MultiOriginJSONSupport.js";
|
|
21
|
+
import type { LayerEvents, LayerProperties } from "./Layer.js";
|
|
22
|
+
import type { EditOptions, Edits, EditsResult, FeatureEditResult } from "./graphics/editingSupport.js";
|
|
23
|
+
import type { APIKeyMixin, APIKeyMixinProperties } from "./mixins/APIKeyMixin.js";
|
|
24
|
+
import type { ArcGISService, ArcGISServiceProperties } from "./mixins/ArcGISService.js";
|
|
25
|
+
import type { BlendLayer, BlendLayerProperties } from "./mixins/BlendLayer.js";
|
|
26
|
+
import type { CustomParametersMixin, CustomParametersMixinProperties } from "./mixins/CustomParametersMixin.js";
|
|
27
|
+
import type { DisplayFilteredLayer, DisplayFilteredLayerProperties } from "./mixins/DisplayFilteredLayer.js";
|
|
28
|
+
import type { EditBusLayer, EditBusLayerEvents, EditBusLayerProperties } from "./mixins/EditBusLayer.js";
|
|
29
|
+
import type { FeatureEffectLayer, FeatureEffectLayerProperties } from "./mixins/FeatureEffectLayer.js";
|
|
30
|
+
import type { FeatureLayerBase, FeatureLayerBaseProperties } from "./mixins/FeatureLayerBase.js";
|
|
31
|
+
import type { FeatureReductionLayer, FeatureReductionLayerProperties } from "./mixins/FeatureReductionLayer.js";
|
|
32
|
+
import type { OperationalLayer, OperationalLayerProperties } from "./mixins/OperationalLayer.js";
|
|
33
|
+
import type { OrderedLayer, OrderedLayerProperties } from "./mixins/OrderedLayer.js";
|
|
34
|
+
import type { PortalLayer, PortalLayerProperties } from "./mixins/PortalLayer.js";
|
|
35
|
+
import type { PublishableLayer, PublishableLayerProperties } from "./mixins/PublishableLayer.js";
|
|
36
|
+
import type { RefreshableLayerEvents, RefreshableLayer, RefreshableLayerProperties } from "./mixins/RefreshableLayer.js";
|
|
37
|
+
import type { ScaleRangeLayer, ScaleRangeLayerProperties } from "./mixins/ScaleRangeLayer.js";
|
|
38
|
+
import type { TemporalLayer, TemporalLayerProperties } from "./mixins/TemporalLayer.js";
|
|
39
|
+
import type { TrackableLayer, TrackableLayerProperties } from "./mixins/TrackableLayer.js";
|
|
40
|
+
import type { FeatureTitleOptions } from "./mixins/properties/ILayerWithGetFeatureTitle.js";
|
|
41
|
+
import type { SaveAsOptions, SaveOptions } from "./mixins/properties/ILayerWithSave.js";
|
|
42
|
+
import type { DataLayerSource, DataLayerSourceProperties } from "./support/source/DataLayerSource.js";
|
|
43
|
+
import type { PortalItemProperties } from "../portal/PortalItem.js";
|
|
44
|
+
import type { RendererUnion } from "../renderers/support/typeUtils.js";
|
|
45
|
+
import type { RequestOptions } from "../request/interfaces.js";
|
|
46
|
+
import type { AttachmentQueryProperties } from "../rest/support/AttachmentQuery.js";
|
|
47
|
+
import type { AttributeBinsQueryProperties } from "../rest/support/AttributeBinsQuery.js";
|
|
48
|
+
import type { QueryProperties } from "../rest/support/Query.js";
|
|
49
|
+
import type { RelationshipQueryProperties } from "../rest/support/RelationshipQuery.js";
|
|
50
|
+
import type { TopFeaturesQueryProperties } from "../rest/support/TopFeaturesQuery.js";
|
|
51
|
+
import type { CreatePopupTemplateOptions } from "../support/popupUtils.js";
|
|
52
|
+
import type { ObjectId } from "../views/IObjectId.js";
|
|
53
|
+
import type { AttributeTableTemplateProperties } from "../tables/AttributeTableTemplate.js";
|
|
54
|
+
import type { FieldConfigurationProperties } from "./support/FieldConfiguration.js";
|
|
55
|
+
import type { FieldProperties } from "./support/Field.js";
|
|
56
|
+
import type { FormTemplateProperties } from "../form/FormTemplate.js";
|
|
57
|
+
import type { LabelClassProperties } from "./support/LabelClass.js";
|
|
58
|
+
import type { PopupTemplateProperties } from "../PopupTemplate.js";
|
|
59
|
+
import type { HeatmapRendererProperties } from "../renderers/HeatmapRenderer.js";
|
|
60
|
+
import type { PieChartRendererProperties } from "../renderers/PieChartRenderer.js";
|
|
61
|
+
import type { DictionaryRendererProperties } from "../renderers/DictionaryRenderer.js";
|
|
62
|
+
import type { DotDensityRendererProperties } from "../renderers/DotDensityRenderer.js";
|
|
63
|
+
import type { UniqueValueRendererProperties } from "../renderers/UniqueValueRenderer.js";
|
|
64
|
+
import type { ClassBreaksRendererProperties } from "../renderers/ClassBreaksRenderer.js";
|
|
65
|
+
import type { SimpleRendererProperties } from "../renderers/SimpleRenderer.js";
|
|
66
|
+
import type { FeatureTemplateProperties } from "./support/FeatureTemplate.js";
|
|
67
|
+
import type { FeatureTypeProperties } from "./support/FeatureType.js";
|
|
2
68
|
|
|
3
|
-
|
|
4
|
-
|
|
69
|
+
export interface FeatureLayerProperties extends LayerProperties, ClonableMixinProperties, APIKeyMixinProperties, CustomParametersMixinProperties, MultiOriginJSONMixinProperties, PortalLayerProperties, OperationalLayerProperties, ArcGISServiceProperties, RefreshableLayerProperties, ScaleRangeLayerProperties, TrackableLayerProperties, TemporalLayerProperties, OrderedLayerProperties, BlendLayerProperties, DisplayFilteredLayerProperties, EditBusLayerProperties, PublishableLayerProperties, FeatureEffectLayerProperties, FeatureReductionLayerProperties, FeatureLayerBaseProperties, Partial<Pick<FeatureLayer, "charts" | "editingEnabled" | "labelsVisible" | "legendEnabled" | "outFields" | "popupEnabled" | "screenSizePerspectiveEnabled" | "typeIdField">> {
|
|
70
|
+
/**
|
|
71
|
+
* This property is used to configure the associated layer's [FeatureTable](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html). It is meant to configure how the columns display within the table in regard to visibility, column order, and sorting.
|
|
72
|
+
*
|
|
73
|
+
* > [!WARNING]
|
|
74
|
+
* >
|
|
75
|
+
* > This property differs from a [FeatureTable's tableTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-support-TableTemplate.html) property. The `TableTemplate` provides more fine-grained control over how the table is rendered within the application by offering more advanced configurations such as custom cell rendering, column formatting, and more. `TableTemplate` is useful for application-level development that remains within an application. Use the `attributeTableTemplate` property to access the table's settings across different applications. By using this property, the settings can be saved within a webmap or layer. Please refer to the [AttributeTableTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-tables-AttributeTableTemplate.html) and [TableTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-support-TableTemplate.html) documentation for more information.
|
|
76
|
+
*
|
|
77
|
+
* @since 4.31
|
|
78
|
+
* @see [Sample - FeatureTable Component](https://developers.arcgis.com/javascript/latest/sample-code/feature-table/)
|
|
79
|
+
*/
|
|
80
|
+
attributeTableTemplate?: AttributeTableTemplateProperties | null;
|
|
81
|
+
/**
|
|
82
|
+
* An object that allows you to create a dynamic layer with data
|
|
83
|
+
* either from map service sublayers or data from a registered workspace.
|
|
84
|
+
* See [MapLayerSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-source-MapLayerSource.html)
|
|
85
|
+
* for creating dynamic layers from map service layers for on the fly
|
|
86
|
+
* rendering, labeling, and filtering (definition expressions). To create
|
|
87
|
+
* dynamic layers from other sources in registered workspaces such as tables and table joins,
|
|
88
|
+
* see [DataLayerSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-source-DataLayerSource.html).
|
|
89
|
+
*
|
|
90
|
+
* If you already have a [Sublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html) instance, you
|
|
91
|
+
* can call the [Sublayer#createFeatureLayer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createFeatureLayer)
|
|
92
|
+
* method on the Sublayer to construct the layer for you.
|
|
93
|
+
*
|
|
94
|
+
* This only applies to map services with
|
|
95
|
+
* [dynamic layers](https://enterprise.arcgis.com/en/server/latest/publish-services/linux/about-dynamic-layers.htm) enabled.
|
|
96
|
+
*
|
|
97
|
+
* > [!WARNING]
|
|
98
|
+
* >
|
|
99
|
+
* > **Known Limitations**
|
|
100
|
+
* >
|
|
101
|
+
* > FeatureLayers with a `dynamicDataSource` cannot be persisted to web maps, web scenes, and portal items.
|
|
102
|
+
*
|
|
103
|
+
* @since 4.7
|
|
104
|
+
* @see [Sublayer#source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#source)
|
|
105
|
+
* @see [Sublayer#createFeatureLayer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createFeatureLayer)
|
|
106
|
+
* @example
|
|
107
|
+
* const layer = new FeatureLayer({
|
|
108
|
+
* url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/AGP/Census/MapServer",
|
|
109
|
+
* title: "United States Population",
|
|
110
|
+
* popupTemplate: {
|
|
111
|
+
* title: "{states.STATE_NAME}",
|
|
112
|
+
* content: "{expression/per_ancestry}% of the {states.POP2007} people in {states.STATE_NAME} have "
|
|
113
|
+
* + "Norwegian ancestry.",
|
|
114
|
+
* expressionInfos: [{
|
|
115
|
+
* name: "per_ancestry",
|
|
116
|
+
* expression: "Round( ( $feature['ancestry.norwegian'] / $feature['states.POP2007'] ) * 100, 1)"
|
|
117
|
+
* }],
|
|
118
|
+
* fieldInfos: [{
|
|
119
|
+
* fieldName: "states.POP2007",
|
|
120
|
+
* fieldFormat: {
|
|
121
|
+
* type: "number",
|
|
122
|
+
* useGrouping: "always",
|
|
123
|
+
* maximumFractionDigits: 0
|
|
124
|
+
* }
|
|
125
|
+
* }]
|
|
126
|
+
* },
|
|
127
|
+
* dynamicDataSource: {
|
|
128
|
+
* type: "data-layer",
|
|
129
|
+
* dataSource: {
|
|
130
|
+
* type: "join-table",
|
|
131
|
+
* leftTableSource: {
|
|
132
|
+
* type: "map-layer",
|
|
133
|
+
* mapLayerId: 3
|
|
134
|
+
* },
|
|
135
|
+
* rightTableSource: {
|
|
136
|
+
* type: "data-layer",
|
|
137
|
+
* dataSource: {
|
|
138
|
+
* type: "table",
|
|
139
|
+
* workspaceId: "CensusFileGDBWorkspaceID",
|
|
140
|
+
* dataSourceName: "ancestry"
|
|
141
|
+
* }
|
|
142
|
+
* },
|
|
143
|
+
* leftTableKey: "STATE_NAME",
|
|
144
|
+
* rightTableKey: "State",
|
|
145
|
+
* joinType: "left-outer-join"
|
|
146
|
+
* }
|
|
147
|
+
* }
|
|
148
|
+
* });
|
|
149
|
+
*/
|
|
150
|
+
dynamicDataSource?: DataLayerSourceProperties | null;
|
|
151
|
+
/**
|
|
152
|
+
* An array of [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html) objects that control how fields are displayed in popups and other UI elements. Each object specifies options for an individual field, such as its display name, via `alias`, and formatting rules, via `fieldFormat`. Assign this property before the layer loads to ensure the configurations take effect. For more information, see the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html) documentation.
|
|
153
|
+
*
|
|
154
|
+
* If no field configurations are provided, they are automatically created when a [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupTemplate) is assigned to the layer. If no [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupTemplate) is set, you can manually define field configurations to customize how fields are shown.
|
|
155
|
+
*
|
|
156
|
+
* > [!WARNING]
|
|
157
|
+
* >
|
|
158
|
+
* > Support is limited in version 4.34. For details, see the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html) documentation.
|
|
159
|
+
*
|
|
160
|
+
* To modify field configurations, clone [fieldConfigurations](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations), make the changes, and then reassign the updated clone back to `FeatureLayer.fieldConfigurations`.
|
|
161
|
+
*
|
|
162
|
+
* @since 4.34
|
|
163
|
+
* @see [getFieldConfiguration()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#getFieldConfiguration)
|
|
164
|
+
* @see [getFieldAlias()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#getFieldAlias)
|
|
165
|
+
* @see [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html)
|
|
166
|
+
* @example
|
|
167
|
+
* // Adding a new field configuration
|
|
168
|
+
* const addNewConfig = (layer, fieldName, alias,
|
|
169
|
+
* fieldFormat) => {
|
|
170
|
+
* // Check if there is already an existing configuration for fieldName
|
|
171
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
172
|
+
* if (!existingConfig) {
|
|
173
|
+
* const newConfig = new FieldConfiguration({ name: fieldName, alias, fieldFormat });
|
|
174
|
+
* const newConfigs = clone(layer.fieldConfigurations);
|
|
175
|
+
* newConfigs.push(newConfig);
|
|
176
|
+
* layer.fieldConfigurations = newConfigs;
|
|
177
|
+
* }
|
|
178
|
+
* };
|
|
179
|
+
* @example
|
|
180
|
+
* // Updating an existing field configuration
|
|
181
|
+
* const updateConfig = (layer, fieldName, alias,
|
|
182
|
+
* fieldFormat) => {
|
|
183
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
184
|
+
* if (existingConfig) {
|
|
185
|
+
* const newConfig = existingConfig.clone();
|
|
186
|
+
* newConfig.alias = alias;
|
|
187
|
+
* newConfig.fieldFormat = fieldFormat;
|
|
188
|
+
*
|
|
189
|
+
* const index = layer.fieldConfigurations.indexOf(existingConfig);
|
|
190
|
+
* const newConfigs = clone(layer.fieldConfigurations);
|
|
191
|
+
* newConfigs[index] = newConfig;
|
|
192
|
+
* layer.fieldConfigurations = newConfigs;
|
|
193
|
+
* }
|
|
194
|
+
* };
|
|
195
|
+
* @example
|
|
196
|
+
* // Deleting an existing field configuration
|
|
197
|
+
* const deleteConfig = (layer, fieldName) => {
|
|
198
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
199
|
+
* if (existingConfig) {
|
|
200
|
+
* const index = layer.fieldConfigurations.indexOf(existingConfig);
|
|
201
|
+
* var newConfigs = clone(layer.fieldConfigurations);
|
|
202
|
+
* newConfigs.splice(index, 1);
|
|
203
|
+
* layer.fieldConfigurations = newConfigs;
|
|
204
|
+
* }
|
|
205
|
+
* };
|
|
206
|
+
*/
|
|
207
|
+
fieldConfigurations?: FieldConfigurationProperties[] | null;
|
|
208
|
+
/**
|
|
209
|
+
* An array of fields in the layer. Each field represents an attribute
|
|
210
|
+
* that may contain a value for each feature in the layer. For example,
|
|
211
|
+
* a field named `POP_2015`, stores information about total population as a
|
|
212
|
+
* numeric value for each feature; this value represents the total number
|
|
213
|
+
* of people living within the geographic bounds of the feature.
|
|
214
|
+
*
|
|
215
|
+
* When creating a FeatureLayer from [client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side), this property
|
|
216
|
+
* should be set in the constructor along with the [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source) property. The `objectId`
|
|
217
|
+
* field also must be set either in this array or in the [objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField) property.
|
|
218
|
+
*
|
|
219
|
+
* @see [FeatureLayer#source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source)
|
|
220
|
+
* @see [FeatureLayer#objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField)
|
|
221
|
+
* @see [Add an array of client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side)
|
|
222
|
+
* @example
|
|
223
|
+
* // define each field's schema
|
|
224
|
+
* const fields = [
|
|
225
|
+
* new Field({
|
|
226
|
+
* name: "ObjectID",
|
|
227
|
+
* alias: "ObjectID",
|
|
228
|
+
* type: "oid"
|
|
229
|
+
* }), new Field({
|
|
230
|
+
* name: "description",
|
|
231
|
+
* alias: "Description",
|
|
232
|
+
* type: "string"
|
|
233
|
+
* }), new Field ({
|
|
234
|
+
* name: "title",
|
|
235
|
+
* alias: "Title",
|
|
236
|
+
* type: "string"
|
|
237
|
+
* })
|
|
238
|
+
* ];
|
|
239
|
+
*
|
|
240
|
+
* // See the sample snippet for the source and renderer properties
|
|
241
|
+
* const layer = new FeatureLayer({
|
|
242
|
+
* // geometryType and spatialReference are inferred
|
|
243
|
+
* // from the input source features
|
|
244
|
+
* source: features,
|
|
245
|
+
* // Object ID field is inferred from the fields array
|
|
246
|
+
* fields: fields,
|
|
247
|
+
* renderer: renderer
|
|
248
|
+
* });
|
|
249
|
+
*/
|
|
250
|
+
fields?: FieldProperties[];
|
|
251
|
+
/**
|
|
252
|
+
* The [template](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html) used in an associated layer's [FeatureForm](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html). All of the properties and field configurations set on the layer's [FeatureForm](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html) are handled via the [FormTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html).
|
|
253
|
+
*
|
|
254
|
+
* @since 4.16
|
|
255
|
+
* @see [Sample - Update Feature Attributes](https://developers.arcgis.com/javascript/latest/sample-code/editing-groupedfeatureform/)
|
|
256
|
+
* @example
|
|
257
|
+
* // Create the Field Elements to pass into the template
|
|
258
|
+
* const fieldElement1 = new FieldElement({
|
|
259
|
+
* fieldName: "firstname",
|
|
260
|
+
* label: "First name",
|
|
261
|
+
* description: "First name of emergency contact"
|
|
262
|
+
* });
|
|
263
|
+
*
|
|
264
|
+
* const fieldElement2 = new FieldElement({
|
|
265
|
+
* fieldName: "lastname",
|
|
266
|
+
* label: "Last name",
|
|
267
|
+
* description: "Last name of emergency contact"
|
|
268
|
+
* });
|
|
269
|
+
*
|
|
270
|
+
* // Create the form's template
|
|
271
|
+
* const formTemplate = new FormTemplate({
|
|
272
|
+
* title: "Emergency information",
|
|
273
|
+
* description: "In case of emergency, update any additional information needed",
|
|
274
|
+
* elements: [fieldElement1, fieldElement2] // pass in array of field elements from above
|
|
275
|
+
* });
|
|
276
|
+
*
|
|
277
|
+
* // Pass the template to the layer
|
|
278
|
+
* featureLayer.formTemplate = formTemplate;
|
|
279
|
+
*
|
|
280
|
+
* // Pass the layer to the FeatureForm
|
|
281
|
+
* const form = new FeatureForm({
|
|
282
|
+
* container: "form", // html div referencing the form
|
|
283
|
+
* layer: featureLayer
|
|
284
|
+
* });
|
|
285
|
+
*/
|
|
286
|
+
formTemplate?: FormTemplateProperties | null;
|
|
287
|
+
/**
|
|
288
|
+
* The label definition for this layer, specified as an array of
|
|
289
|
+
* [LabelClass](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html). Use this property to specify
|
|
290
|
+
* labeling properties for the layer such as label expression, placement, and size.
|
|
291
|
+
*
|
|
292
|
+
* Multiple Label classes with different `where` clauses can be used to define several
|
|
293
|
+
* labels with varying styles on the same feature. Likewise, multiple label classes
|
|
294
|
+
* may be used to label different types of features (for example blue labels
|
|
295
|
+
* for lakes and green labels for parks).
|
|
296
|
+
*
|
|
297
|
+
* See the [Labeling guide page](https://developers.arcgis.com/javascript/latest/labeling/) for more information and known limitations.
|
|
298
|
+
*
|
|
299
|
+
* > [!WARNING]
|
|
300
|
+
* >
|
|
301
|
+
* > **Known Limitations**
|
|
302
|
+
* >
|
|
303
|
+
* > 3D [SceneViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) only support displaying one [LabelClass](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html) per feature.
|
|
304
|
+
*
|
|
305
|
+
* @see [Sample: Add multiple label classes to a layer](https://developers.arcgis.com/javascript/latest/sample-code/labels-multiple-classes/)
|
|
306
|
+
* @see [Sample: Multi-line labels](https://developers.arcgis.com/javascript/latest/sample-code/labels-multiline/)
|
|
307
|
+
* @see [Sample: Flat vs. volumetric 3D symbol layers](https://developers.arcgis.com/javascript/latest/sample-code/symbols-points-3d/)
|
|
308
|
+
* @example
|
|
309
|
+
* const statesLabelClass = new LabelClass({
|
|
310
|
+
* labelExpressionInfo: { expression: "$feature.NAME" },
|
|
311
|
+
* symbol: {
|
|
312
|
+
* type: "text", // autocasts as new TextSymbol()
|
|
313
|
+
* color: "black",
|
|
314
|
+
* haloSize: 1,
|
|
315
|
+
* haloColor: "white"
|
|
316
|
+
* }
|
|
317
|
+
* });
|
|
318
|
+
*
|
|
319
|
+
* featureLayer.labelingInfo = [ statesLabelClass ];
|
|
320
|
+
*/
|
|
321
|
+
labelingInfo?: LabelClassProperties[] | null;
|
|
322
|
+
/**
|
|
323
|
+
* The popup template for the layer. When set on the layer, the `popupTemplate`
|
|
324
|
+
* allows users to access attributes and display their values in the
|
|
325
|
+
* view's Popup when a feature is selected
|
|
326
|
+
* using text and/or charts. See the [PopupTemplate sample](https://developers.arcgis.com/javascript/latest/sample-code/intro-popuptemplate/)
|
|
327
|
+
* for an example of how [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) interacts with a
|
|
328
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
329
|
+
*
|
|
330
|
+
* A default popup template is automatically used if no `popupTemplate` has been defined when
|
|
331
|
+
* [Popup#defaultPopupTemplateEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#defaultPopupTemplateEnabled)
|
|
332
|
+
* is set to `true`.
|
|
333
|
+
*
|
|
334
|
+
* @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#createPopupTemplate)
|
|
335
|
+
* @see [SceneView#popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup)
|
|
336
|
+
* @see [View2D#popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popup)
|
|
337
|
+
*/
|
|
338
|
+
popupTemplate?: PopupTemplateProperties | null;
|
|
339
|
+
/**
|
|
340
|
+
* Refresh interval of the layer in minutes. Value of `0` indicates no refresh.
|
|
341
|
+
* At each refresh interval, the data is only updated if the `lastEditDate` in the layer's metadata is different from the `lastEditDate` field.
|
|
342
|
+
* If the `lastEditDate` metadata info is not available, the FeatureLayer refreshes unconditionally.
|
|
343
|
+
*
|
|
344
|
+
* @default 0
|
|
345
|
+
* @since 4.6
|
|
346
|
+
* @see [FeatureLayer#refresh()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#refresh)
|
|
347
|
+
* @see [refresh event](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#event-refresh)
|
|
348
|
+
* @example
|
|
349
|
+
* // the layer will be refreshed every 1 minute.
|
|
350
|
+
* layer.refreshInterval = 1;
|
|
351
|
+
* @see [RefreshableLayer#refresh()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-RefreshableLayer.html#refresh)
|
|
352
|
+
* @see [refresh event](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-RefreshableLayer.html#event-refresh)
|
|
353
|
+
* @example
|
|
354
|
+
* // the layer will be refreshed every minute.
|
|
355
|
+
* layer.refreshInterval = 1;
|
|
356
|
+
*/
|
|
357
|
+
refreshInterval?: number;
|
|
358
|
+
/**
|
|
359
|
+
* The renderer assigned to the layer. The renderer defines how to
|
|
360
|
+
* visualize each feature in the layer. Depending on the renderer type,
|
|
361
|
+
* features may be visualized with the same symbol, or with varying symbols
|
|
362
|
+
* based on the values of provided attribute fields or functions.
|
|
363
|
+
*
|
|
364
|
+
* However, when creating a FeatureLayer from client-side features, this property must
|
|
365
|
+
* be specified in the layer's constructor along with the
|
|
366
|
+
* [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source),
|
|
367
|
+
* [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fields), [objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField) properties.
|
|
368
|
+
*
|
|
369
|
+
* @see [Styles and data visualization](https://developers.arcgis.com/javascript/latest/visualization/)
|
|
370
|
+
* @example
|
|
371
|
+
* // all features in the layer will be visualized with
|
|
372
|
+
* // a 6pt black marker symbol and a thin, white outline
|
|
373
|
+
* layer.renderer = {
|
|
374
|
+
* type: "simple", // autocasts as new SimpleRenderer()
|
|
375
|
+
* symbol: {
|
|
376
|
+
* type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
|
|
377
|
+
* size: 6,
|
|
378
|
+
* color: "black",
|
|
379
|
+
* outline: { // autocasts as new SimpleLineSymbol()
|
|
380
|
+
* width: 0.5,
|
|
381
|
+
* color: "white"
|
|
382
|
+
* }
|
|
383
|
+
* }
|
|
384
|
+
* };
|
|
385
|
+
*/
|
|
386
|
+
renderer?: (((SimpleRendererProperties & { type: "simple" }) | (ClassBreaksRendererProperties & { type: "class-breaks" }) | (UniqueValueRendererProperties & { type: "unique-value" }) | (DotDensityRendererProperties & { type: "dot-density" }) | (DictionaryRendererProperties & { type: "dictionary" }) | (PieChartRendererProperties & { type: "pie-chart" })) | (HeatmapRendererProperties & { type: "heatmap" })) | null;
|
|
387
|
+
/**
|
|
388
|
+
* A collection of [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) objects used to create a FeatureLayer.
|
|
389
|
+
* The geometry of each feature all must have a matching [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType).
|
|
390
|
+
* This property must be set when creating a FeatureLayer from [client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side).
|
|
391
|
+
* When creating a FeatureLayer from client-side features, the `objectId` field must be set
|
|
392
|
+
* either in the [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fields) array or via [objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField).
|
|
393
|
+
*
|
|
394
|
+
* The [spatialReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#spatialReference) and [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType) properties
|
|
395
|
+
* are determined based on the features provided to this property. If the `source` is an empty
|
|
396
|
+
* array at the time of layer initialization, then [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType) must be set.
|
|
397
|
+
*
|
|
398
|
+
* The source is not updated after the FeatureLayer is initialized. Use [applyEdits()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#applyEdits) method to add, remove, and update features
|
|
399
|
+
* from a client-side feature layer at runtime. Once `applyEdits()` resolves successfully, use [queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures)
|
|
400
|
+
* to return updated features.
|
|
401
|
+
*
|
|
402
|
+
* @see [Add an array of client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side)
|
|
403
|
+
* @see [Sample - Create a FeatureLayer with client-side graphics](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/)
|
|
404
|
+
* @see [Sample - Add or remove graphics from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection-edits/)
|
|
405
|
+
* @see [Sample - Add 100,000 features to feature collection](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-large-collection/)
|
|
406
|
+
* @example
|
|
407
|
+
* let features = [
|
|
408
|
+
* {
|
|
409
|
+
* geometry: {
|
|
410
|
+
* type: "point",
|
|
411
|
+
* x: -100,
|
|
412
|
+
* y: 38
|
|
413
|
+
* },
|
|
414
|
+
* attributes: {
|
|
415
|
+
* ObjectID: 1,
|
|
416
|
+
* DepArpt: "KATL",
|
|
417
|
+
* MsgTime: Date.now(),
|
|
418
|
+
* FltId: "UAL1"
|
|
419
|
+
* }
|
|
420
|
+
* },
|
|
421
|
+
* ...
|
|
422
|
+
* ];
|
|
423
|
+
*
|
|
424
|
+
* // geometryType and spatialReference of the layer
|
|
425
|
+
* // will be inferred from the first feature in the array
|
|
426
|
+
* // if it has a geometry.
|
|
427
|
+
* let layer = new FeatureLayer({
|
|
428
|
+
* source: features, // autocast as a Collection of new Graphic()
|
|
429
|
+
* objectIdField: "ObjectID"
|
|
430
|
+
* });
|
|
431
|
+
* @example
|
|
432
|
+
* // Create an empty non-spatial feature layer
|
|
433
|
+
* // Set geometryType property to null when creating non-spatial feature layer
|
|
434
|
+
* const layer = new FeatureLayer({
|
|
435
|
+
* source: [],
|
|
436
|
+
* objectIdField: "OBJECTID",
|
|
437
|
+
* fields: [{
|
|
438
|
+
* name: "OBJECTID",
|
|
439
|
+
* type: "oid"
|
|
440
|
+
* }],
|
|
441
|
+
* geometryType: null
|
|
442
|
+
* });
|
|
443
|
+
* layer.load().then(() => console.log(layer.isTable))
|
|
444
|
+
*/
|
|
445
|
+
source?: ReadonlyArrayOrCollection<Graphic>;
|
|
446
|
+
/**
|
|
447
|
+
* An array of feature templates defined in the feature layer.
|
|
448
|
+
* See [ArcGIS Pro subtypes document](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/an-overview-of-subtypes.htm).
|
|
449
|
+
*
|
|
450
|
+
* @since 4.4
|
|
451
|
+
*/
|
|
452
|
+
templates?: FeatureTemplateProperties[] | null;
|
|
453
|
+
/**
|
|
454
|
+
* An array of [types](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureType.html) defined in the feature service exposed by ArcGIS REST API.
|
|
455
|
+
* Each item includes information about the type, such as the type ID, name, and definition expression.
|
|
456
|
+
*
|
|
457
|
+
* @since 4.4
|
|
458
|
+
*/
|
|
459
|
+
types?: FeatureTypeProperties[] | null;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export interface FeatureLayerEvents extends EditBusLayerEvents, RefreshableLayerEvents, LayerEvents {}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* * [Overview](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#overview)
|
|
466
|
+
* * [Creating a FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#creating-a-featurelayer)
|
|
467
|
+
* * [Querying](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#querying)
|
|
468
|
+
* * [Data Visualization](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#data-visualization)
|
|
469
|
+
* * [Known limitations](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#limits)
|
|
470
|
+
*
|
|
471
|
+
* <span id="overview"></span>
|
|
472
|
+
* ## Overview
|
|
473
|
+
*
|
|
474
|
+
* A FeatureLayer is a single layer that can be created from a
|
|
475
|
+
* [Map Service](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/what-is-a-map-service.htm)
|
|
476
|
+
* or [Feature Service](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/what-is-a-feature-service-.htm);
|
|
477
|
+
* ArcGIS Online or ArcGIS Enterprise portal items; or from an array of client-side features. The layer can be either a
|
|
478
|
+
* spatial (has geographic features) or non-spatial (table).
|
|
479
|
+
*
|
|
480
|
+
* Spatial layer is composed of discrete features, each of which has a [Geometry](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html)
|
|
481
|
+
* that allows it to be rendered in either a 2D [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or
|
|
482
|
+
* 3D [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) as a
|
|
483
|
+
* [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) with spatial context. Features also contain data
|
|
484
|
+
* [Graphic#attributes](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#attributes) that provide additional information about
|
|
485
|
+
* the real-world feature it represents; attributes may be viewed in [popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupTemplate) windows
|
|
486
|
+
* and used for [rendering](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-Renderer.html) the layer.
|
|
487
|
+
* FeatureLayers may be [queried](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures), [analyzed](https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/),
|
|
488
|
+
* and [rendered](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#renderer) to visualize data in a spatial context.
|
|
489
|
+
*
|
|
490
|
+
* Non-spatial layer is a table which does not have a spatial column representing geographic features.
|
|
491
|
+
*
|
|
492
|
+
*
|
|
493
|
+
* <span id="creating-a-featurelayer"></span>
|
|
494
|
+
* ## Creating a FeatureLayer
|
|
495
|
+
*
|
|
496
|
+
* FeatureLayers may be created in one of three ways: from a [service URL](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#url), an ArcGIS portal [item ID](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#portalItem),
|
|
497
|
+
* or from an [array of client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source).
|
|
498
|
+
*
|
|
499
|
+
* <details>
|
|
500
|
+
* <summary>Read More</summary>
|
|
501
|
+
*
|
|
502
|
+
* ### Reference a service URL
|
|
503
|
+
*
|
|
504
|
+
* To create a FeatureLayer instance from a service, you must set the [url](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#url) property
|
|
505
|
+
* to the REST endpoint of a layer in either a Feature Service
|
|
506
|
+
* or a Map Service. For a layer to be visible in a view, it must be added to the [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html)
|
|
507
|
+
* referenced by the view. See [Map#add()](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#add) for information about adding layers to a map.
|
|
508
|
+
*
|
|
509
|
+
* ```js
|
|
510
|
+
* const FeatureLayer = $arcgis.import("@arcgis/core/layers/FeatureLayer.js");
|
|
511
|
+
* // points to the states layer in a service storing U.S. census data
|
|
512
|
+
* const fl = new FeatureLayer({
|
|
513
|
+
* url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/3"
|
|
514
|
+
* });
|
|
515
|
+
* map.add(fl); // adds the layer to the map
|
|
516
|
+
* ```
|
|
517
|
+
*
|
|
518
|
+
* Non-spatial table instance can be created from the table [url](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#url) in a service and the table must be loaded by calling [load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#load)
|
|
519
|
+
* method.
|
|
520
|
+
*
|
|
521
|
+
* ```js
|
|
522
|
+
* // Add a non-spatial table.
|
|
523
|
+
* const FeatureLayer = $arcgis.import("@arcgis/core/layers/FeatureLayer.js");
|
|
524
|
+
* // points to the non-spatial table in a service storing San Francisco crime incidents.
|
|
525
|
+
* const table = new FeatureLayer({
|
|
526
|
+
* url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/1"
|
|
527
|
+
* });
|
|
528
|
+
* table.load().then(function() {
|
|
529
|
+
* // table is loaded. ready to be queried on the server.
|
|
530
|
+
* });
|
|
531
|
+
* ```
|
|
532
|
+
*
|
|
533
|
+
* If the service is requested from a different domain, a [CORS enabled server](https://developers.arcgis.com/javascript/latest/cors/) or a [proxy](https://developers.arcgis.com/javascript/latest/proxies/) is required.
|
|
534
|
+
*
|
|
535
|
+
* ### Reference an ArcGIS portal Item ID
|
|
536
|
+
*
|
|
537
|
+
* You can also create a FeatureLayer from its ID if it exists as an item in ArcGIS Online or ArcGIS Enterprise.
|
|
538
|
+
* For example, the following snippet shows how to add a new FeatureLayer instance to a map using the
|
|
539
|
+
* [portalItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#portalItem) property.
|
|
540
|
+
*
|
|
541
|
+
* ```js
|
|
542
|
+
* // points to a hosted Feature Layer in ArcGIS Online
|
|
543
|
+
* const fl = new FeatureLayer({
|
|
544
|
+
* portalItem: { // autocasts as esri/portal/PortalItem
|
|
545
|
+
* id: "8444e275037549c1acab02d2626daaee"
|
|
546
|
+
* }
|
|
547
|
+
* });
|
|
548
|
+
* map.add(fl); // adds the layer to the map
|
|
549
|
+
* ```
|
|
550
|
+
*
|
|
551
|
+
* The following snippet shows how to create a FeatureLayer referencing a table using the
|
|
552
|
+
* [portalItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#portalItem) property.
|
|
553
|
+
*
|
|
554
|
+
* ```js
|
|
555
|
+
* // points to a hosted table in ArcGIS Online
|
|
556
|
+
* const table = new FeatureLayer({
|
|
557
|
+
* portalItem: { // autocasts as esri/portal/PortalItem
|
|
558
|
+
* id: "123f4410054b43d7a0bacc1533ceb8dc"
|
|
559
|
+
* }
|
|
560
|
+
* });
|
|
561
|
+
*
|
|
562
|
+
* // Before adding the table to the map, it must first be loaded and confirm it is the right type.
|
|
563
|
+
* table.load().then(function() {
|
|
564
|
+
* if (table.isTable) {
|
|
565
|
+
* map.tables.add(table);
|
|
566
|
+
* }
|
|
567
|
+
* });
|
|
568
|
+
* ```
|
|
569
|
+
*
|
|
570
|
+
* <span id="client-side"></span>
|
|
571
|
+
* ### Add an array of client-side features
|
|
572
|
+
*
|
|
573
|
+
* A FeatureLayer can be created from client-side features such as an array of [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html).
|
|
574
|
+
* These graphics may have [geometries](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#geometry) for spatial layers or may be non-spatial.
|
|
575
|
+
* If the graphics do not include geometries and the [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType) is `null`, the resulting layer will be a non-spatial FeatureLayer.
|
|
576
|
+
* Since a FeatureLayer requires a defined schema, several properties must be specified when initializing a layer with client-side data.
|
|
577
|
+
*
|
|
578
|
+
* **Automatic property inference:** If required properties are not explicitly set, the API attempts to infer values from the provided parameters or features
|
|
579
|
+
* in the [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source). For example, the [spatialReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#spatialReference), [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType), [hasZ](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#hasZ)
|
|
580
|
+
* and [hasM](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#hasM) properties can be derived from the features provided in the [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source). However, if the source is an empty array at the time of
|
|
581
|
+
* initialization, the [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType) cannot be inferred, and the layer will fail to initialize when the layer is added to the map.
|
|
582
|
+
*
|
|
583
|
+
* **Geometry type and spatial reference:** For spatial data, the [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType) must be defined explicitly, if the [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source)
|
|
584
|
+
* is empty at the time layer's initialization. A valid [spatialReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#spatialReference) is also required.
|
|
585
|
+
*
|
|
586
|
+
* **Field schema:** Both spatial and non-spatial feature collections must include an [objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField), which provides a unique identifier
|
|
587
|
+
* for each feature. This must be indicated along with an array of [field](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fields) objects, providing the schema of each field.
|
|
588
|
+
* Certain characters are not supported in field names. See [field naming guidelines](https://support.esri.com/en-us/knowledge-base/what-characters-should-not-be-used-in-arcgis-for-field--000005588)
|
|
589
|
+
* for details. If the data includes date fields with values recorded in a time zone other than `UTC`, the [dateFieldsTimeZone](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#dateFieldsTimeZone) property should be set to
|
|
590
|
+
* ensure correct results in [date-based queries](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#date-query).
|
|
591
|
+
*
|
|
592
|
+
* Once all required properties are configured, the array of features must be assigned to the [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source) property. See
|
|
593
|
+
* [create a FeatureLayer with client-side graphics sample](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/).
|
|
594
|
+
*
|
|
595
|
+
* **Runtime updates:** FeatureLayer's [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source) is not updated after the FeatureLayer is initialized. If features are added, removed or updated at runtime,
|
|
596
|
+
* then use [applyEdits()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#applyEdits) to update the features then use [queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures) to return updated features. Check out
|
|
597
|
+
* [add or remove graphics from a FeatureLayer sample](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection-edits/)
|
|
598
|
+
* to see this in action.
|
|
599
|
+
*
|
|
600
|
+
* Attribute values used in attribute queries executed against client-side feature layer, and layer views are case sensitive.
|
|
601
|
+
*
|
|
602
|
+
* ```js
|
|
603
|
+
* const layer = new FeatureLayer({
|
|
604
|
+
* // create an instance of esri/layers/support/Field for each field object
|
|
605
|
+
* fields: [
|
|
606
|
+
* {
|
|
607
|
+
* name: "ObjectID",
|
|
608
|
+
* alias: "ObjectID",
|
|
609
|
+
* type: "oid"
|
|
610
|
+
* }, {
|
|
611
|
+
* name: "type",
|
|
612
|
+
* alias: "Type",
|
|
613
|
+
* type: "string"
|
|
614
|
+
* }, {
|
|
615
|
+
* name: "place",
|
|
616
|
+
* alias: "Place",
|
|
617
|
+
* type: "string"
|
|
618
|
+
* },{
|
|
619
|
+
* name: "recordedDate",
|
|
620
|
+
* alias: "recordedDate",
|
|
621
|
+
* type: "date"
|
|
622
|
+
* }],
|
|
623
|
+
* dateFieldsTimeZone: "America/New_York", // date field values in are eastern time zone
|
|
624
|
+
* objectIdField: "ObjectID", // inferred from fields array if not specified
|
|
625
|
+
* geometryType: "point", // geometryType and spatialReference are inferred from the first feature
|
|
626
|
+
* // in the source array if they are not specified.
|
|
627
|
+
* spatialReference: { wkid: 4326 },
|
|
628
|
+
* source: graphics, // an array of graphics with geometry and attributes
|
|
629
|
+
* // popupTemplate and symbol are not required in each feature
|
|
630
|
+
* // since those are handled with the popupTemplate and
|
|
631
|
+
* // renderer properties of the layer
|
|
632
|
+
* popupTemplate: popupTemplate,
|
|
633
|
+
* // a default simple renderer will be applied if not set.
|
|
634
|
+
* renderer: uvRenderer // UniqueValueRenderer based on `type` attribute
|
|
635
|
+
* });
|
|
636
|
+
* map.add(layer);
|
|
637
|
+
* ```
|
|
638
|
+
*
|
|
639
|
+
* A client-side non-spatial table can be created by setting the layer's [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType) property to `null`,
|
|
640
|
+
* then the table must be loaded by calling the [load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#load) method.
|
|
641
|
+
*
|
|
642
|
+
* ```js
|
|
643
|
+
* // Create an empty non-spatial feature layer
|
|
644
|
+
* // Set geometryType property to null when creating non-spatial feature layer
|
|
645
|
+
* const layer = new FeatureLayer({
|
|
646
|
+
* source: [],
|
|
647
|
+
* objectIdField: "OBJECTID",
|
|
648
|
+
* fields: [{
|
|
649
|
+
* name: "OBJECTID",
|
|
650
|
+
* type: "oid"
|
|
651
|
+
* },
|
|
652
|
+
* {
|
|
653
|
+
* name: "type",
|
|
654
|
+
* type: "string",
|
|
655
|
+
* }],
|
|
656
|
+
* geometryType: null
|
|
657
|
+
* });
|
|
658
|
+
* layer.load().then(() => console.log(layer.isTable))
|
|
659
|
+
* ```
|
|
660
|
+
*
|
|
661
|
+
* </details>
|
|
662
|
+
*
|
|
663
|
+
* <span id="querying"></span>
|
|
664
|
+
* ## Querying
|
|
665
|
+
*
|
|
666
|
+
* Features within a FeatureLayer are rendered as [features](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) inside a
|
|
667
|
+
* [FeatureLayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html). A FeatureLayerView may or may not have all features from the associated FeatureLayer.
|
|
668
|
+
* To determine this, check the [FeatureLayerView#hasAllFeatures](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#hasAllFeatures) property on the FeatureLayerView.
|
|
669
|
+
* If `hasAllFeatures` is `true`, the FeatureLayerView has all features from the layer, not just those visible in the view extent.
|
|
670
|
+
*
|
|
671
|
+
* When `hasAllFeatures` is `true`, calling [FeatureLayerView#queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryFeatures) on the FeatureLayerView
|
|
672
|
+
* runs against all features in the layer. Otherwise, the `FeatureLayerView.queryFeatures()` runs only against features available for drawing in the FeatureLayerView.
|
|
673
|
+
* To limit the query to features currently visible in the view when `hasAllFeatures` is `true`, set the query’s [Query#geometry](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#geometry)
|
|
674
|
+
* property to the View's [View2D#extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#extent).
|
|
675
|
+
*
|
|
676
|
+
* <details>
|
|
677
|
+
* <summary>Read More</summary>
|
|
678
|
+
*
|
|
679
|
+
* ```js
|
|
680
|
+
* // returns all the graphics from the layer view
|
|
681
|
+
* view.whenLayerView(layer).then((layerView) => {
|
|
682
|
+
* reactiveUtils.when(
|
|
683
|
+
* () => !layerView.updating,
|
|
684
|
+
* (val) => {
|
|
685
|
+
* const query = layerView.createQuery();
|
|
686
|
+
* // check if layerView has all features in the layer
|
|
687
|
+
* // if true, set query.geoemtry to view.extent to run
|
|
688
|
+
* // the query against features visible in the view
|
|
689
|
+
* if (layerView.hasAllFeatures) {
|
|
690
|
+
* query.geometry = view.extent;
|
|
691
|
+
* }
|
|
692
|
+
*
|
|
693
|
+
* layerView.queryFeatures(query).then((results) =>{
|
|
694
|
+
* console.log(results);
|
|
695
|
+
* });
|
|
696
|
+
* }
|
|
697
|
+
* );
|
|
698
|
+
* });
|
|
699
|
+
* ```
|
|
700
|
+
*
|
|
701
|
+
* When accessing features from a query on the [FeatureLayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html), note that
|
|
702
|
+
* features are returned as they are displayed in the view, including any generalization that may have been
|
|
703
|
+
* applied to the features to enhance performance. To obtain feature geometries at full resolution, first check the FeatureLayerView’s
|
|
704
|
+
* [FeatureLayerView#hasFullGeometries](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#hasFullGeometries) property; if it is `true`, use the
|
|
705
|
+
* [FeatureLayerView#queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryFeatures) method on the FeatureLayerView;
|
|
706
|
+
* otherwise, use the [queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures) method on the FeatureLayer.
|
|
707
|
+
*
|
|
708
|
+
* The [query methods](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures) in the FeatureLayer class query features directly from the service.
|
|
709
|
+
* For example, the following snippet returns all features from the service, not just the features drawn in the
|
|
710
|
+
* [FeatureLayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html).
|
|
711
|
+
*
|
|
712
|
+
* ```js
|
|
713
|
+
* // Queries for all the features in the service (not the graphics in the view)
|
|
714
|
+
* layer.queryFeatures().then((results) => {
|
|
715
|
+
* // prints an array of all the features in the service to the console
|
|
716
|
+
* console.log(results.features);
|
|
717
|
+
* });
|
|
718
|
+
* ```
|
|
719
|
+
*
|
|
720
|
+
* For information regarding how to create a LayerView
|
|
721
|
+
* for a particular layer, see [View#whenLayerView()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#whenLayerView).
|
|
722
|
+
*
|
|
723
|
+
* </details>
|
|
724
|
+
*
|
|
725
|
+
* <span id="data-visualization"></span>
|
|
726
|
+
* ## Data Visualization
|
|
727
|
+
*
|
|
728
|
+
* Features in a FeatureLayer are visualized by setting a [Renderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-Renderer.html) to the
|
|
729
|
+
* [renderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#renderer) property of the layer. See the [Styles and data visualization](https://developers.arcgis.com/javascript/latest/visualization/) guide for
|
|
730
|
+
* a comprehensive set of examples of how to visualize data in a FeatureLayer.
|
|
731
|
+
*
|
|
732
|
+
* FeatureLayer supports [FeatureLayerView#highlight()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight), which is enabled by default when users click or tap features to view the popup. You can also call the
|
|
733
|
+
* [FeatureLayerView#highlight()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight) method on the
|
|
734
|
+
* [FeatureLayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html) to highlight features in other workflows.
|
|
735
|
+
*
|
|
736
|
+
* > [!WARNING]
|
|
737
|
+
* >
|
|
738
|
+
* > <span id="limits"></span>
|
|
739
|
+
* > **Known Limitations**
|
|
740
|
+
* >
|
|
741
|
+
* > Locations with a very high density of features may not display all available features at small scales.
|
|
742
|
+
* > Very large datasets may require potentially long initial load times, particularly at small scales.
|
|
743
|
+
* > FeatureLayers are not optimized for high-frequency, dynamic data, or real-time streaming use cases. As a result, they may not perform efficiently with rapidly updating data streams.
|
|
744
|
+
* > For real-time or dynamic data updates, use [StreamLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html), which are designed for efficient handling of high-frequency streaming data and dynamic features.
|
|
745
|
+
* > Server-side and client-side feature tile caching allow features to load much faster after the initial data download.
|
|
746
|
+
* > We are continuously improving our feature fetching strategy and load time efficiency in each release.
|
|
747
|
+
* > The [big-integer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html#type) field type is still in beta and may not be fully supported in the JavaScript SDK. Console
|
|
748
|
+
* > warnings will be thrown when a layer has a `big-integer` field. To disable the warnings use the following flag:
|
|
749
|
+
* > ```js
|
|
750
|
+
* > <script>
|
|
751
|
+
* > var esriConfig = {
|
|
752
|
+
* > has: {
|
|
753
|
+
* > "big-integer-warning-enabled": false
|
|
754
|
+
* > }
|
|
755
|
+
* > }
|
|
756
|
+
* > </script>
|
|
757
|
+
* > ```
|
|
758
|
+
*
|
|
759
|
+
* @since 4.0
|
|
760
|
+
* @see [Sample - Add FeatureLayer to your Map](https://developers.arcgis.com/javascript/latest/sample-code/intro-layers/)
|
|
761
|
+
* @see [Sample - Create a FeatureLayer with client-side graphics](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/)
|
|
762
|
+
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
763
|
+
* @see [FeatureLayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html)
|
|
764
|
+
*/
|
|
765
|
+
export default class FeatureLayer extends __FeatureLayerSansType {
|
|
766
|
+
/**
|
|
767
|
+
* The layer type provides a convenient way to check the type of the layer
|
|
768
|
+
* without the need to import specific layer modules.
|
|
769
|
+
*/
|
|
770
|
+
get type(): "feature";
|
|
771
|
+
}
|
|
772
|
+
export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
|
|
773
|
+
/**
|
|
774
|
+
* @deprecated
|
|
775
|
+
* Do not directly reference this property.
|
|
776
|
+
* Use EventNames and EventTypes helpers from \@arcgis/core/Evented
|
|
777
|
+
*/
|
|
778
|
+
"@eventTypes": FeatureLayerEvents;
|
|
779
|
+
/**
|
|
780
|
+
* @see [Client-side FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side)
|
|
781
|
+
* @example
|
|
782
|
+
* // Typical usage
|
|
783
|
+
* // Create featurelayer from feature service
|
|
784
|
+
* const layer = new FeatureLayer({
|
|
785
|
+
* // URL to the service
|
|
786
|
+
* url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0"
|
|
787
|
+
* });
|
|
788
|
+
*
|
|
789
|
+
* // Typical usage
|
|
790
|
+
* // Create featurelayer from client-side graphics
|
|
791
|
+
* const layer = new FeatureLayer({
|
|
792
|
+
* source: graphics,
|
|
793
|
+
* fields: [{
|
|
794
|
+
* name: "ObjectID",
|
|
795
|
+
* alias: "ObjectID",
|
|
796
|
+
* type: "oid"
|
|
797
|
+
* }, {
|
|
798
|
+
* name: "place",
|
|
799
|
+
* alias: "Place",
|
|
800
|
+
* type: "string"
|
|
801
|
+
* }],
|
|
802
|
+
* objectIdField: "ObjectID",
|
|
803
|
+
* geometryType: "point"
|
|
804
|
+
* });
|
|
805
|
+
*/
|
|
806
|
+
constructor(properties?: FeatureLayerProperties);
|
|
807
|
+
/**
|
|
808
|
+
* This property is used to configure the associated layer's [FeatureTable](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html). It is meant to configure how the columns display within the table in regard to visibility, column order, and sorting.
|
|
809
|
+
*
|
|
810
|
+
* > [!WARNING]
|
|
811
|
+
* >
|
|
812
|
+
* > This property differs from a [FeatureTable's tableTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-support-TableTemplate.html) property. The `TableTemplate` provides more fine-grained control over how the table is rendered within the application by offering more advanced configurations such as custom cell rendering, column formatting, and more. `TableTemplate` is useful for application-level development that remains within an application. Use the `attributeTableTemplate` property to access the table's settings across different applications. By using this property, the settings can be saved within a webmap or layer. Please refer to the [AttributeTableTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-tables-AttributeTableTemplate.html) and [TableTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-support-TableTemplate.html) documentation for more information.
|
|
813
|
+
*
|
|
814
|
+
* @since 4.31
|
|
815
|
+
* @see [Sample - FeatureTable Component](https://developers.arcgis.com/javascript/latest/sample-code/feature-table/)
|
|
816
|
+
*/
|
|
817
|
+
get attributeTableTemplate(): AttributeTableTemplate | null | undefined;
|
|
818
|
+
set attributeTableTemplate(value: AttributeTableTemplateProperties | null | undefined);
|
|
819
|
+
/**
|
|
820
|
+
* Array of Chart Items of type WebMapWebChart available on the feature layer.
|
|
821
|
+
*
|
|
822
|
+
* @since 4.29
|
|
823
|
+
*/
|
|
824
|
+
accessor charts: object[] | null | undefined;
|
|
825
|
+
/**
|
|
826
|
+
* An object that allows you to create a dynamic layer with data
|
|
827
|
+
* either from map service sublayers or data from a registered workspace.
|
|
828
|
+
* See [MapLayerSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-source-MapLayerSource.html)
|
|
829
|
+
* for creating dynamic layers from map service layers for on the fly
|
|
830
|
+
* rendering, labeling, and filtering (definition expressions). To create
|
|
831
|
+
* dynamic layers from other sources in registered workspaces such as tables and table joins,
|
|
832
|
+
* see [DataLayerSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-source-DataLayerSource.html).
|
|
833
|
+
*
|
|
834
|
+
* If you already have a [Sublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html) instance, you
|
|
835
|
+
* can call the [Sublayer#createFeatureLayer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createFeatureLayer)
|
|
836
|
+
* method on the Sublayer to construct the layer for you.
|
|
837
|
+
*
|
|
838
|
+
* This only applies to map services with
|
|
839
|
+
* [dynamic layers](https://enterprise.arcgis.com/en/server/latest/publish-services/linux/about-dynamic-layers.htm) enabled.
|
|
840
|
+
*
|
|
841
|
+
* > [!WARNING]
|
|
842
|
+
* >
|
|
843
|
+
* > **Known Limitations**
|
|
844
|
+
* >
|
|
845
|
+
* > FeatureLayers with a `dynamicDataSource` cannot be persisted to web maps, web scenes, and portal items.
|
|
846
|
+
*
|
|
847
|
+
* @since 4.7
|
|
848
|
+
* @see [Sublayer#source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#source)
|
|
849
|
+
* @see [Sublayer#createFeatureLayer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createFeatureLayer)
|
|
850
|
+
* @example
|
|
851
|
+
* const layer = new FeatureLayer({
|
|
852
|
+
* url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/AGP/Census/MapServer",
|
|
853
|
+
* title: "United States Population",
|
|
854
|
+
* popupTemplate: {
|
|
855
|
+
* title: "{states.STATE_NAME}",
|
|
856
|
+
* content: "{expression/per_ancestry}% of the {states.POP2007} people in {states.STATE_NAME} have "
|
|
857
|
+
* + "Norwegian ancestry.",
|
|
858
|
+
* expressionInfos: [{
|
|
859
|
+
* name: "per_ancestry",
|
|
860
|
+
* expression: "Round( ( $feature['ancestry.norwegian'] / $feature['states.POP2007'] ) * 100, 1)"
|
|
861
|
+
* }],
|
|
862
|
+
* fieldInfos: [{
|
|
863
|
+
* fieldName: "states.POP2007",
|
|
864
|
+
* fieldFormat: {
|
|
865
|
+
* type: "number",
|
|
866
|
+
* useGrouping: "always",
|
|
867
|
+
* maximumFractionDigits: 0
|
|
868
|
+
* }
|
|
869
|
+
* }]
|
|
870
|
+
* },
|
|
871
|
+
* dynamicDataSource: {
|
|
872
|
+
* type: "data-layer",
|
|
873
|
+
* dataSource: {
|
|
874
|
+
* type: "join-table",
|
|
875
|
+
* leftTableSource: {
|
|
876
|
+
* type: "map-layer",
|
|
877
|
+
* mapLayerId: 3
|
|
878
|
+
* },
|
|
879
|
+
* rightTableSource: {
|
|
880
|
+
* type: "data-layer",
|
|
881
|
+
* dataSource: {
|
|
882
|
+
* type: "table",
|
|
883
|
+
* workspaceId: "CensusFileGDBWorkspaceID",
|
|
884
|
+
* dataSourceName: "ancestry"
|
|
885
|
+
* }
|
|
886
|
+
* },
|
|
887
|
+
* leftTableKey: "STATE_NAME",
|
|
888
|
+
* rightTableKey: "State",
|
|
889
|
+
* joinType: "left-outer-join"
|
|
890
|
+
* }
|
|
891
|
+
* }
|
|
892
|
+
* });
|
|
893
|
+
*/
|
|
894
|
+
get dynamicDataSource(): DataLayerSource | null | undefined;
|
|
895
|
+
set dynamicDataSource(value: DataLayerSourceProperties | null | undefined);
|
|
896
|
+
/**
|
|
897
|
+
* Determines if the layer is editable.
|
|
898
|
+
*
|
|
899
|
+
* @default true
|
|
900
|
+
* @since 4.18
|
|
901
|
+
* @see [applyEdits()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#applyEdits)
|
|
902
|
+
*/
|
|
903
|
+
accessor editingEnabled: boolean;
|
|
904
|
+
/**
|
|
905
|
+
* An array of [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html) objects that control how fields are displayed in popups and other UI elements. Each object specifies options for an individual field, such as its display name, via `alias`, and formatting rules, via `fieldFormat`. Assign this property before the layer loads to ensure the configurations take effect. For more information, see the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html) documentation.
|
|
906
|
+
*
|
|
907
|
+
* If no field configurations are provided, they are automatically created when a [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupTemplate) is assigned to the layer. If no [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupTemplate) is set, you can manually define field configurations to customize how fields are shown.
|
|
908
|
+
*
|
|
909
|
+
* > [!WARNING]
|
|
910
|
+
* >
|
|
911
|
+
* > Support is limited in version 4.34. For details, see the [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html) documentation.
|
|
912
|
+
*
|
|
913
|
+
* To modify field configurations, clone [fieldConfigurations](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations), make the changes, and then reassign the updated clone back to `FeatureLayer.fieldConfigurations`.
|
|
914
|
+
*
|
|
915
|
+
* @since 4.34
|
|
916
|
+
* @see [getFieldConfiguration()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#getFieldConfiguration)
|
|
917
|
+
* @see [getFieldAlias()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#getFieldAlias)
|
|
918
|
+
* @see [FieldConfiguration](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html)
|
|
919
|
+
* @example
|
|
920
|
+
* // Adding a new field configuration
|
|
921
|
+
* const addNewConfig = (layer, fieldName, alias,
|
|
922
|
+
* fieldFormat) => {
|
|
923
|
+
* // Check if there is already an existing configuration for fieldName
|
|
924
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
925
|
+
* if (!existingConfig) {
|
|
926
|
+
* const newConfig = new FieldConfiguration({ name: fieldName, alias, fieldFormat });
|
|
927
|
+
* const newConfigs = clone(layer.fieldConfigurations);
|
|
928
|
+
* newConfigs.push(newConfig);
|
|
929
|
+
* layer.fieldConfigurations = newConfigs;
|
|
930
|
+
* }
|
|
931
|
+
* };
|
|
932
|
+
* @example
|
|
933
|
+
* // Updating an existing field configuration
|
|
934
|
+
* const updateConfig = (layer, fieldName, alias,
|
|
935
|
+
* fieldFormat) => {
|
|
936
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
937
|
+
* if (existingConfig) {
|
|
938
|
+
* const newConfig = existingConfig.clone();
|
|
939
|
+
* newConfig.alias = alias;
|
|
940
|
+
* newConfig.fieldFormat = fieldFormat;
|
|
941
|
+
*
|
|
942
|
+
* const index = layer.fieldConfigurations.indexOf(existingConfig);
|
|
943
|
+
* const newConfigs = clone(layer.fieldConfigurations);
|
|
944
|
+
* newConfigs[index] = newConfig;
|
|
945
|
+
* layer.fieldConfigurations = newConfigs;
|
|
946
|
+
* }
|
|
947
|
+
* };
|
|
948
|
+
* @example
|
|
949
|
+
* // Deleting an existing field configuration
|
|
950
|
+
* const deleteConfig = (layer, fieldName) => {
|
|
951
|
+
* const existingConfig = layer.getFieldConfiguration(fieldName);
|
|
952
|
+
* if (existingConfig) {
|
|
953
|
+
* const index = layer.fieldConfigurations.indexOf(existingConfig);
|
|
954
|
+
* var newConfigs = clone(layer.fieldConfigurations);
|
|
955
|
+
* newConfigs.splice(index, 1);
|
|
956
|
+
* layer.fieldConfigurations = newConfigs;
|
|
957
|
+
* }
|
|
958
|
+
* };
|
|
959
|
+
*/
|
|
960
|
+
get fieldConfigurations(): FieldConfiguration[] | null | undefined;
|
|
961
|
+
set fieldConfigurations(value: FieldConfigurationProperties[] | null | undefined);
|
|
962
|
+
/**
|
|
963
|
+
* An array of fields in the layer. Each field represents an attribute
|
|
964
|
+
* that may contain a value for each feature in the layer. For example,
|
|
965
|
+
* a field named `POP_2015`, stores information about total population as a
|
|
966
|
+
* numeric value for each feature; this value represents the total number
|
|
967
|
+
* of people living within the geographic bounds of the feature.
|
|
968
|
+
*
|
|
969
|
+
* When creating a FeatureLayer from [client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side), this property
|
|
970
|
+
* should be set in the constructor along with the [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source) property. The `objectId`
|
|
971
|
+
* field also must be set either in this array or in the [objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField) property.
|
|
972
|
+
*
|
|
973
|
+
* @see [FeatureLayer#source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source)
|
|
974
|
+
* @see [FeatureLayer#objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField)
|
|
975
|
+
* @see [Add an array of client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side)
|
|
976
|
+
* @example
|
|
977
|
+
* // define each field's schema
|
|
978
|
+
* const fields = [
|
|
979
|
+
* new Field({
|
|
980
|
+
* name: "ObjectID",
|
|
981
|
+
* alias: "ObjectID",
|
|
982
|
+
* type: "oid"
|
|
983
|
+
* }), new Field({
|
|
984
|
+
* name: "description",
|
|
985
|
+
* alias: "Description",
|
|
986
|
+
* type: "string"
|
|
987
|
+
* }), new Field ({
|
|
988
|
+
* name: "title",
|
|
989
|
+
* alias: "Title",
|
|
990
|
+
* type: "string"
|
|
991
|
+
* })
|
|
992
|
+
* ];
|
|
993
|
+
*
|
|
994
|
+
* // See the sample snippet for the source and renderer properties
|
|
995
|
+
* const layer = new FeatureLayer({
|
|
996
|
+
* // geometryType and spatialReference are inferred
|
|
997
|
+
* // from the input source features
|
|
998
|
+
* source: features,
|
|
999
|
+
* // Object ID field is inferred from the fields array
|
|
1000
|
+
* fields: fields,
|
|
1001
|
+
* renderer: renderer
|
|
1002
|
+
* });
|
|
1003
|
+
*/
|
|
1004
|
+
get fields(): Field[];
|
|
1005
|
+
set fields(value: FieldProperties[]);
|
|
1006
|
+
/**
|
|
1007
|
+
* The [template](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html) used in an associated layer's [FeatureForm](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html). All of the properties and field configurations set on the layer's [FeatureForm](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html) are handled via the [FormTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html).
|
|
1008
|
+
*
|
|
1009
|
+
* @since 4.16
|
|
1010
|
+
* @see [Sample - Update Feature Attributes](https://developers.arcgis.com/javascript/latest/sample-code/editing-groupedfeatureform/)
|
|
1011
|
+
* @example
|
|
1012
|
+
* // Create the Field Elements to pass into the template
|
|
1013
|
+
* const fieldElement1 = new FieldElement({
|
|
1014
|
+
* fieldName: "firstname",
|
|
1015
|
+
* label: "First name",
|
|
1016
|
+
* description: "First name of emergency contact"
|
|
1017
|
+
* });
|
|
1018
|
+
*
|
|
1019
|
+
* const fieldElement2 = new FieldElement({
|
|
1020
|
+
* fieldName: "lastname",
|
|
1021
|
+
* label: "Last name",
|
|
1022
|
+
* description: "Last name of emergency contact"
|
|
1023
|
+
* });
|
|
1024
|
+
*
|
|
1025
|
+
* // Create the form's template
|
|
1026
|
+
* const formTemplate = new FormTemplate({
|
|
1027
|
+
* title: "Emergency information",
|
|
1028
|
+
* description: "In case of emergency, update any additional information needed",
|
|
1029
|
+
* elements: [fieldElement1, fieldElement2] // pass in array of field elements from above
|
|
1030
|
+
* });
|
|
1031
|
+
*
|
|
1032
|
+
* // Pass the template to the layer
|
|
1033
|
+
* featureLayer.formTemplate = formTemplate;
|
|
1034
|
+
*
|
|
1035
|
+
* // Pass the layer to the FeatureForm
|
|
1036
|
+
* const form = new FeatureForm({
|
|
1037
|
+
* container: "form", // html div referencing the form
|
|
1038
|
+
* layer: featureLayer
|
|
1039
|
+
* });
|
|
1040
|
+
*/
|
|
1041
|
+
get formTemplate(): FormTemplate | null | undefined;
|
|
1042
|
+
set formTemplate(value: FormTemplateProperties | null | undefined);
|
|
1043
|
+
/**
|
|
1044
|
+
* The label definition for this layer, specified as an array of
|
|
1045
|
+
* [LabelClass](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html). Use this property to specify
|
|
1046
|
+
* labeling properties for the layer such as label expression, placement, and size.
|
|
1047
|
+
*
|
|
1048
|
+
* Multiple Label classes with different `where` clauses can be used to define several
|
|
1049
|
+
* labels with varying styles on the same feature. Likewise, multiple label classes
|
|
1050
|
+
* may be used to label different types of features (for example blue labels
|
|
1051
|
+
* for lakes and green labels for parks).
|
|
1052
|
+
*
|
|
1053
|
+
* See the [Labeling guide page](https://developers.arcgis.com/javascript/latest/labeling/) for more information and known limitations.
|
|
1054
|
+
*
|
|
1055
|
+
* > [!WARNING]
|
|
1056
|
+
* >
|
|
1057
|
+
* > **Known Limitations**
|
|
1058
|
+
* >
|
|
1059
|
+
* > 3D [SceneViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) only support displaying one [LabelClass](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html) per feature.
|
|
1060
|
+
*
|
|
1061
|
+
* @see [Sample: Add multiple label classes to a layer](https://developers.arcgis.com/javascript/latest/sample-code/labels-multiple-classes/)
|
|
1062
|
+
* @see [Sample: Multi-line labels](https://developers.arcgis.com/javascript/latest/sample-code/labels-multiline/)
|
|
1063
|
+
* @see [Sample: Flat vs. volumetric 3D symbol layers](https://developers.arcgis.com/javascript/latest/sample-code/symbols-points-3d/)
|
|
1064
|
+
* @example
|
|
1065
|
+
* const statesLabelClass = new LabelClass({
|
|
1066
|
+
* labelExpressionInfo: { expression: "$feature.NAME" },
|
|
1067
|
+
* symbol: {
|
|
1068
|
+
* type: "text", // autocasts as new TextSymbol()
|
|
1069
|
+
* color: "black",
|
|
1070
|
+
* haloSize: 1,
|
|
1071
|
+
* haloColor: "white"
|
|
1072
|
+
* }
|
|
1073
|
+
* });
|
|
1074
|
+
*
|
|
1075
|
+
* featureLayer.labelingInfo = [ statesLabelClass ];
|
|
1076
|
+
*/
|
|
1077
|
+
get labelingInfo(): LabelClass[] | null | undefined;
|
|
1078
|
+
set labelingInfo(value: LabelClassProperties[] | null | undefined);
|
|
1079
|
+
/**
|
|
1080
|
+
* Indicates whether to display labels for this layer. If `true`, labels will
|
|
1081
|
+
* appear as defined in the [labelingInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#labelingInfo) property.
|
|
1082
|
+
*
|
|
1083
|
+
* > [!WARNING]
|
|
1084
|
+
* >
|
|
1085
|
+
* > **Known Limitations**
|
|
1086
|
+
* >
|
|
1087
|
+
* > 3D [SceneViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) only support displaying one [LabelClass](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html) per feature.
|
|
1088
|
+
*
|
|
1089
|
+
* @default true
|
|
1090
|
+
*/
|
|
1091
|
+
accessor labelsVisible: boolean;
|
|
1092
|
+
/**
|
|
1093
|
+
* Indicates whether the layer will be included in the legend.
|
|
1094
|
+
*
|
|
1095
|
+
* @default true
|
|
1096
|
+
*/
|
|
1097
|
+
accessor legendEnabled: boolean;
|
|
1098
|
+
/**
|
|
1099
|
+
* An array of field names from the service to include with each feature.
|
|
1100
|
+
* To fetch the values from all fields in the layer, use `["*"]`. Fields specified in
|
|
1101
|
+
* `outFields` will be requested alongside with required fields for [rendering](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#renderer),
|
|
1102
|
+
* [labeling](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#labelingInfo) and setting the [elevation info](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#elevationInfo) for the layer.
|
|
1103
|
+
* The required fields and `outFields` are used to populate
|
|
1104
|
+
* [FeatureLayerView#availableFields](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#availableFields).
|
|
1105
|
+
* Set this property to include the fields that will be used for client-side
|
|
1106
|
+
* [queries](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryFeatures)
|
|
1107
|
+
* if the fields are not part of required fields used for rendering.
|
|
1108
|
+
*
|
|
1109
|
+
* @see [FeatureLayerView#availableFields](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#availableFields)
|
|
1110
|
+
* @see [fieldUtils](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-fieldUtils.html)
|
|
1111
|
+
* @example
|
|
1112
|
+
* // Includes all fields from the service in the layer
|
|
1113
|
+
* fl.outFields = ["*"];
|
|
1114
|
+
* @example
|
|
1115
|
+
* // Get the specified fields from the service in the layer
|
|
1116
|
+
* // These fields will be added to FeatureLayerView.availableFields
|
|
1117
|
+
* // along with rendering and labeling fields. Use these fields
|
|
1118
|
+
* // for client-side filtering and querying.
|
|
1119
|
+
* fl.outFields = ["NAME", "POP_2010", "FIPS", "AREA"];
|
|
1120
|
+
* @example
|
|
1121
|
+
* // set the outFields for the layer coming from webmap
|
|
1122
|
+
* webmap.when(function () {
|
|
1123
|
+
* layer = webmap.layers.at(1);
|
|
1124
|
+
* layer.outFields = ["*"];
|
|
1125
|
+
* });
|
|
1126
|
+
*/
|
|
1127
|
+
accessor outFields: string[] | null | undefined;
|
|
1128
|
+
/**
|
|
1129
|
+
* Indicates whether to display popups when features in the layer are clicked. The layer needs to have a [popupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupTemplate) to define what
|
|
1130
|
+
* information should be displayed in the popup. Alternatively, a default popup template may be automatically used if
|
|
1131
|
+
* [Popup#defaultPopupTemplateEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#defaultPopupTemplateEnabled) is set to `true`.
|
|
1132
|
+
*
|
|
1133
|
+
* @default true
|
|
1134
|
+
* @see [FeatureLayer#createPopupTemplate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#createPopupTemplate)
|
|
1135
|
+
* @see [SceneView#popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup)
|
|
1136
|
+
* @see [View2D#popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popup)
|
|
1137
|
+
*/
|
|
1138
|
+
accessor popupEnabled: boolean;
|
|
1139
|
+
/**
|
|
1140
|
+
* The popup template for the layer. When set on the layer, the `popupTemplate`
|
|
1141
|
+
* allows users to access attributes and display their values in the
|
|
1142
|
+
* view's Popup when a feature is selected
|
|
1143
|
+
* using text and/or charts. See the [PopupTemplate sample](https://developers.arcgis.com/javascript/latest/sample-code/intro-popuptemplate/)
|
|
1144
|
+
* for an example of how [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) interacts with a
|
|
1145
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
1146
|
+
*
|
|
1147
|
+
* A default popup template is automatically used if no `popupTemplate` has been defined when
|
|
1148
|
+
* [Popup#defaultPopupTemplateEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#defaultPopupTemplateEnabled)
|
|
1149
|
+
* is set to `true`.
|
|
1150
|
+
*
|
|
1151
|
+
* @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#createPopupTemplate)
|
|
1152
|
+
* @see [SceneView#popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup)
|
|
1153
|
+
* @see [View2D#popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popup)
|
|
1154
|
+
*/
|
|
1155
|
+
get popupTemplate(): PopupTemplate | null | undefined;
|
|
1156
|
+
set popupTemplate(value: PopupTemplateProperties | null | undefined);
|
|
1157
|
+
/**
|
|
1158
|
+
* Refresh interval of the layer in minutes. Value of `0` indicates no refresh.
|
|
1159
|
+
* At each refresh interval, the data is only updated if the `lastEditDate` in the layer's metadata is different from the `lastEditDate` field.
|
|
1160
|
+
* If the `lastEditDate` metadata info is not available, the FeatureLayer refreshes unconditionally.
|
|
1161
|
+
*
|
|
1162
|
+
* @default 0
|
|
1163
|
+
* @since 4.6
|
|
1164
|
+
* @see [FeatureLayer#refresh()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#refresh)
|
|
1165
|
+
* @see [refresh event](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#event-refresh)
|
|
1166
|
+
* @example
|
|
1167
|
+
* // the layer will be refreshed every 1 minute.
|
|
1168
|
+
* layer.refreshInterval = 1;
|
|
1169
|
+
* @see [RefreshableLayer#refresh()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-RefreshableLayer.html#refresh)
|
|
1170
|
+
* @see [refresh event](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-RefreshableLayer.html#event-refresh)
|
|
1171
|
+
* @example
|
|
1172
|
+
* // the layer will be refreshed every minute.
|
|
1173
|
+
* layer.refreshInterval = 1;
|
|
1174
|
+
*/
|
|
1175
|
+
accessor refreshInterval: number;
|
|
1176
|
+
/**
|
|
1177
|
+
* The renderer assigned to the layer. The renderer defines how to
|
|
1178
|
+
* visualize each feature in the layer. Depending on the renderer type,
|
|
1179
|
+
* features may be visualized with the same symbol, or with varying symbols
|
|
1180
|
+
* based on the values of provided attribute fields or functions.
|
|
1181
|
+
*
|
|
1182
|
+
* However, when creating a FeatureLayer from client-side features, this property must
|
|
1183
|
+
* be specified in the layer's constructor along with the
|
|
1184
|
+
* [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source),
|
|
1185
|
+
* [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fields), [objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField) properties.
|
|
1186
|
+
*
|
|
1187
|
+
* @see [Styles and data visualization](https://developers.arcgis.com/javascript/latest/visualization/)
|
|
1188
|
+
* @example
|
|
1189
|
+
* // all features in the layer will be visualized with
|
|
1190
|
+
* // a 6pt black marker symbol and a thin, white outline
|
|
1191
|
+
* layer.renderer = {
|
|
1192
|
+
* type: "simple", // autocasts as new SimpleRenderer()
|
|
1193
|
+
* symbol: {
|
|
1194
|
+
* type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
|
|
1195
|
+
* size: 6,
|
|
1196
|
+
* color: "black",
|
|
1197
|
+
* outline: { // autocasts as new SimpleLineSymbol()
|
|
1198
|
+
* width: 0.5,
|
|
1199
|
+
* color: "white"
|
|
1200
|
+
* }
|
|
1201
|
+
* }
|
|
1202
|
+
* };
|
|
1203
|
+
*/
|
|
1204
|
+
get renderer(): RendererUnion | null | undefined;
|
|
1205
|
+
set renderer(value: (((SimpleRendererProperties & { type: "simple" }) | (ClassBreaksRendererProperties & { type: "class-breaks" }) | (UniqueValueRendererProperties & { type: "unique-value" }) | (DotDensityRendererProperties & { type: "dot-density" }) | (DictionaryRendererProperties & { type: "dictionary" }) | (PieChartRendererProperties & { type: "pie-chart" })) | (HeatmapRendererProperties & { type: "heatmap" })) | null | undefined);
|
|
1206
|
+
/**
|
|
1207
|
+
* Apply perspective scaling to screen-size symbols in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
1208
|
+
* When `true`, screen sized objects such as [icons](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-IconSymbol3DLayer.html),
|
|
1209
|
+
* [labels](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LabelSymbol3D.html) or [callouts](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-callouts-Callout3D.html) integrate
|
|
1210
|
+
* better in the 3D scene by applying a certain perspective projection to the
|
|
1211
|
+
* sizing of features. This only applies when using a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
1212
|
+
*
|
|
1213
|
+
* `layer.screenSizePerspectiveEnabled = true`
|
|
1214
|
+
*
|
|
1215
|
+
* 
|
|
1216
|
+
*
|
|
1217
|
+
* `layer.screenSizePerspectiveEnabled = false`
|
|
1218
|
+
*
|
|
1219
|
+
* 
|
|
1220
|
+
*
|
|
1221
|
+
* > [!WARNING]
|
|
1222
|
+
* >
|
|
1223
|
+
* > **Known Limitations**
|
|
1224
|
+
* >
|
|
1225
|
+
* > Screen size perspective is currently not optimized for situations where the camera is very near the ground, or for scenes
|
|
1226
|
+
* > with visual elements located far from the ground surface. In these cases it may be better to turn off screen size perspective.
|
|
1227
|
+
* > As screen size perspective changes the size based on distance to the camera, it should be set to false when using {@link renderers/Renderer#SizeVisualVariable size visual variables}.
|
|
1228
|
+
*
|
|
1229
|
+
* @default true
|
|
1230
|
+
* @since 4.4
|
|
1231
|
+
* @see [Sample: Point styles for cities](https://developers.arcgis.com/javascript/latest/sample-code/visualization-point-styles/)
|
|
1232
|
+
*/
|
|
1233
|
+
accessor screenSizePerspectiveEnabled: boolean;
|
|
1234
|
+
/**
|
|
1235
|
+
* A collection of [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) objects used to create a FeatureLayer.
|
|
1236
|
+
* The geometry of each feature all must have a matching [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType).
|
|
1237
|
+
* This property must be set when creating a FeatureLayer from [client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side).
|
|
1238
|
+
* When creating a FeatureLayer from client-side features, the `objectId` field must be set
|
|
1239
|
+
* either in the [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fields) array or via [objectIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#objectIdField).
|
|
1240
|
+
*
|
|
1241
|
+
* The [spatialReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#spatialReference) and [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType) properties
|
|
1242
|
+
* are determined based on the features provided to this property. If the `source` is an empty
|
|
1243
|
+
* array at the time of layer initialization, then [geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType) must be set.
|
|
1244
|
+
*
|
|
1245
|
+
* The source is not updated after the FeatureLayer is initialized. Use [applyEdits()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#applyEdits) method to add, remove, and update features
|
|
1246
|
+
* from a client-side feature layer at runtime. Once `applyEdits()` resolves successfully, use [queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures)
|
|
1247
|
+
* to return updated features.
|
|
1248
|
+
*
|
|
1249
|
+
* @see [Add an array of client-side features](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#client-side)
|
|
1250
|
+
* @see [Sample - Create a FeatureLayer with client-side graphics](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/)
|
|
1251
|
+
* @see [Sample - Add or remove graphics from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection-edits/)
|
|
1252
|
+
* @see [Sample - Add 100,000 features to feature collection](https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-large-collection/)
|
|
1253
|
+
* @example
|
|
1254
|
+
* let features = [
|
|
1255
|
+
* {
|
|
1256
|
+
* geometry: {
|
|
1257
|
+
* type: "point",
|
|
1258
|
+
* x: -100,
|
|
1259
|
+
* y: 38
|
|
1260
|
+
* },
|
|
1261
|
+
* attributes: {
|
|
1262
|
+
* ObjectID: 1,
|
|
1263
|
+
* DepArpt: "KATL",
|
|
1264
|
+
* MsgTime: Date.now(),
|
|
1265
|
+
* FltId: "UAL1"
|
|
1266
|
+
* }
|
|
1267
|
+
* },
|
|
1268
|
+
* ...
|
|
1269
|
+
* ];
|
|
1270
|
+
*
|
|
1271
|
+
* // geometryType and spatialReference of the layer
|
|
1272
|
+
* // will be inferred from the first feature in the array
|
|
1273
|
+
* // if it has a geometry.
|
|
1274
|
+
* let layer = new FeatureLayer({
|
|
1275
|
+
* source: features, // autocast as a Collection of new Graphic()
|
|
1276
|
+
* objectIdField: "ObjectID"
|
|
1277
|
+
* });
|
|
1278
|
+
* @example
|
|
1279
|
+
* // Create an empty non-spatial feature layer
|
|
1280
|
+
* // Set geometryType property to null when creating non-spatial feature layer
|
|
1281
|
+
* const layer = new FeatureLayer({
|
|
1282
|
+
* source: [],
|
|
1283
|
+
* objectIdField: "OBJECTID",
|
|
1284
|
+
* fields: [{
|
|
1285
|
+
* name: "OBJECTID",
|
|
1286
|
+
* type: "oid"
|
|
1287
|
+
* }],
|
|
1288
|
+
* geometryType: null
|
|
1289
|
+
* });
|
|
1290
|
+
* layer.load().then(() => console.log(layer.isTable))
|
|
1291
|
+
*/
|
|
1292
|
+
get source(): Collection<Graphic>;
|
|
1293
|
+
set source(value: ReadonlyArrayOrCollection<Graphic>);
|
|
1294
|
+
/**
|
|
1295
|
+
* An array of feature templates defined in the feature layer.
|
|
1296
|
+
* See [ArcGIS Pro subtypes document](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/an-overview-of-subtypes.htm).
|
|
1297
|
+
*
|
|
1298
|
+
* @since 4.4
|
|
1299
|
+
*/
|
|
1300
|
+
get templates(): FeatureTemplate[] | null | undefined;
|
|
1301
|
+
set templates(value: FeatureTemplateProperties[] | null | undefined);
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* The name of the field holding the type ID for the features.
|
|
1305
|
+
*
|
|
1306
|
+
* @since 4.4
|
|
1307
|
+
*/
|
|
1308
|
+
accessor typeIdField: string | null | undefined;
|
|
1309
|
+
/**
|
|
1310
|
+
* An array of [types](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureType.html) defined in the feature service exposed by ArcGIS REST API.
|
|
1311
|
+
* Each item includes information about the type, such as the type ID, name, and definition expression.
|
|
1312
|
+
*
|
|
1313
|
+
* @since 4.4
|
|
1314
|
+
*/
|
|
1315
|
+
get types(): FeatureType[] | null | undefined;
|
|
1316
|
+
set types(value: FeatureTypeProperties[] | null | undefined);
|
|
1317
|
+
/**
|
|
1318
|
+
* This property contains an array of field names that are used to uniquely identify a feature in the layer.
|
|
1319
|
+
*
|
|
1320
|
+
* @since 4.33
|
|
1321
|
+
*/
|
|
1322
|
+
readonly uniqueIdFields?: string[] | null;
|
|
1323
|
+
/**
|
|
1324
|
+
* Adds an attachment to a feature. This operation is available only if the layer's
|
|
1325
|
+
* [capabilities.data.supportsAttachment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities) is set to `true`.
|
|
1326
|
+
*
|
|
1327
|
+
* @param feature - Feature to which the attachment is to be added.
|
|
1328
|
+
* @param attachment - HTML form that contains a file upload field pointing to the file to be added as an attachment.
|
|
1329
|
+
* @returns When resolved, a [FeatureEditResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-graphics-editingSupport.html#FeatureEditResult)
|
|
1330
|
+
* object is returned. FeatureEditResult indicates whether or not the edit was successful. If successful, the `objectId` of the result is the Id of
|
|
1331
|
+
* the new attachment. If unsuccessful, it also includes an error `name` and error `message`.
|
|
1332
|
+
* @since 4.9
|
|
1333
|
+
* @see [capabilities.data.supportsAttachment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities)
|
|
1334
|
+
* @example
|
|
1335
|
+
* view.when(function () {
|
|
1336
|
+
* view.on("click", function (event) {
|
|
1337
|
+
*
|
|
1338
|
+
* view.hitTest(event).then(function (response) {
|
|
1339
|
+
* const feature = response.results[0].graphic;
|
|
1340
|
+
*
|
|
1341
|
+
* // The form is defined as below in the html.
|
|
1342
|
+
* // For enterprise services:
|
|
1343
|
+
* // 1. File input name must be "attachment"
|
|
1344
|
+
* // <form id="attachmentForm">
|
|
1345
|
+
* // Select a file: <input type="file" name="attachment">
|
|
1346
|
+
* // </form>
|
|
1347
|
+
* const attachmentForm = document.getElementById("attachmentForm");
|
|
1348
|
+
* const formData = new FormData(attachmentForm);
|
|
1349
|
+
*
|
|
1350
|
+
* // For enterprise services - add input with name:f and value:json
|
|
1351
|
+
* formData.append("f","json");
|
|
1352
|
+
* const form = new FormData();
|
|
1353
|
+
* form.set("attachment", file);
|
|
1354
|
+
* form.append("f","json")
|
|
1355
|
+
* let form = document.getElementById("myForm");
|
|
1356
|
+
*
|
|
1357
|
+
* // Add an attachment to the clicked feature.
|
|
1358
|
+
* // The attachment is taken from the form.
|
|
1359
|
+
* layer.addAttachment(feature, form).then(function (result) {
|
|
1360
|
+
* console.log("attachment added: ", result);
|
|
1361
|
+
* })
|
|
1362
|
+
* .catch(function (err) {
|
|
1363
|
+
* console.log("attachment adding failed: ", err);
|
|
1364
|
+
* });
|
|
1365
|
+
* });
|
|
1366
|
+
* });
|
|
1367
|
+
* });
|
|
1368
|
+
*/
|
|
1369
|
+
addAttachment(feature: Graphic, attachment: HTMLFormElement | FormData): Promise<FeatureEditResult>;
|
|
1370
|
+
/**
|
|
1371
|
+
* Applies edits to features in a layer. New features can be created and existing features can be updated or deleted. Feature geometries and/or attributes may be modified.
|
|
1372
|
+
* Only applicable to layers in a [feature service](https://developers.arcgis.com/rest/services-reference/feature-service.htm)
|
|
1373
|
+
* and client-side features set through the FeatureLayer's [source](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source) property. Attachments can also be added, updated or deleted.
|
|
1374
|
+
*
|
|
1375
|
+
* If client-side features are added, removed or updated at runtime using [applyEdits()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#applyEdits) then use FeatureLayer's
|
|
1376
|
+
* [queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures) method to return updated features.
|
|
1377
|
+
*
|
|
1378
|
+
* > [!WARNING]
|
|
1379
|
+
* >
|
|
1380
|
+
* > **Notes**
|
|
1381
|
+
* > FeatureLayers are not optimized for high-frequency, dynamic data, or real-time streaming use cases. As a result, they may not perform efficiently with rapidly updating data streams.
|
|
1382
|
+
* > For real-time or dynamic data updates, use [StreamLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html), which are designed for efficient handling of high-frequency streaming data and dynamic features.
|
|
1383
|
+
* >
|
|
1384
|
+
* > When calling the applyEdits method on a service that does not have [vertical coordinate system](https://pro.arcgis.com/en/pro-app/help/mapping/properties/vertical-coordinate-systems.htm) information,
|
|
1385
|
+
* > the z-values of the geometries in the `edits` object will automatically be converted to match the spatial reference of the layer.
|
|
1386
|
+
* > Example: The service has a horizontal spatial reference with `feet` units, and `applyEdits()` is called with z-values based on `meter` units,
|
|
1387
|
+
* > then the method will automatically convert the z values from `meter` to `feet` units.
|
|
1388
|
+
* >
|
|
1389
|
+
* > As of version 4.17, using applyEdits to add geometries with z-values to a FeatureLayer with `hasZ: false` no longer silently drops the z-value and now throws an error.
|
|
1390
|
+
*
|
|
1391
|
+
* @param edits - Object containing features and attachments to be added, updated or deleted.
|
|
1392
|
+
* @param options - Additional edit options to specify when editing features or attachments.
|
|
1393
|
+
* @returns When resolved, an [EditsResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-graphics-editingSupport.html#EditsResult)
|
|
1394
|
+
* object is returned.
|
|
1395
|
+
* @see [Sample - Edit features](https://developers.arcgis.com/javascript/latest/sample-code/editing-applyedits/)
|
|
1396
|
+
* @example
|
|
1397
|
+
* function addFeature(geometry) {
|
|
1398
|
+
* const attributes = {};
|
|
1399
|
+
* attributes["Description"] = "This is the description";
|
|
1400
|
+
* attributes["Address"] = "380 New York St";
|
|
1401
|
+
*
|
|
1402
|
+
* // Date.now() returns number of milliseconds elapsed
|
|
1403
|
+
* // since 1 January 1970 00:00:00 UTC.
|
|
1404
|
+
* attributes["Report_Date"] = Date.now();
|
|
1405
|
+
*
|
|
1406
|
+
* const addFeature = new Graphic({
|
|
1407
|
+
* geometry: geometry,
|
|
1408
|
+
* attributes: attributes
|
|
1409
|
+
* });
|
|
1410
|
+
*
|
|
1411
|
+
* const deleteFeatures = [
|
|
1412
|
+
* { objectId: 467 },
|
|
1413
|
+
* { objectId: 500 }
|
|
1414
|
+
* ];
|
|
1415
|
+
*
|
|
1416
|
+
* // or specify globalIds of features to be deleted
|
|
1417
|
+
* // const deleteFeature = [
|
|
1418
|
+
* // { globalId: "18633204-1801-4d35-a73a-174563608ad9" }
|
|
1419
|
+
* // ];
|
|
1420
|
+
*
|
|
1421
|
+
* const promise = featureLayer.applyEdits({
|
|
1422
|
+
* addFeatures: [addFeature],
|
|
1423
|
+
* deleteFeatures: deleteFeatures
|
|
1424
|
+
* });
|
|
1425
|
+
* }
|
|
1426
|
+
*/
|
|
1427
|
+
applyEdits(edits: Edits, options?: EditOptions): Promise<EditsResult>;
|
|
1428
|
+
/**
|
|
1429
|
+
* Creates default field configuration objects that define the display properties of fields.
|
|
1430
|
+
* These field configurations are generated from the layer's [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fields) property.
|
|
1431
|
+
*
|
|
1432
|
+
* @returns An array of field configuration objects, or `null` if
|
|
1433
|
+
* the layer does not have any fields that require formatting.
|
|
1434
|
+
* @since 4.34
|
|
1435
|
+
* @see [fieldConfigurations](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations)
|
|
1436
|
+
* @example
|
|
1437
|
+
* const fieldConfigs = featureLayer.createFieldConfigurations();
|
|
1438
|
+
* featureLayer.fieldConfigurations = fieldConfigs;
|
|
1439
|
+
*/
|
|
1440
|
+
createFieldConfigurations(): FieldConfiguration[] | null | undefined;
|
|
1441
|
+
/**
|
|
1442
|
+
* Creates a popup template for the layer, populated with all the fields of the layer.
|
|
1443
|
+
*
|
|
1444
|
+
* @param options - Options for creating the popup template.
|
|
1445
|
+
* @returns The popup template, or `null` if the layer does not
|
|
1446
|
+
* have any fields.
|
|
1447
|
+
* @since 4.11
|
|
1448
|
+
*/
|
|
1449
|
+
createPopupTemplate(options?: CreatePopupTemplateOptions): PopupTemplate | null | undefined;
|
|
1450
|
+
/**
|
|
1451
|
+
* Creates query parameter object that can be used to fetch features that
|
|
1452
|
+
* satisfy the layer's configurations such as [definitionExpression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression),
|
|
1453
|
+
* [gdbVersion](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#gdbVersion), and [historicMoment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#historicMoment).
|
|
1454
|
+
* It will return `Z` and `M` values based on the layer's [data capabilities](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities).
|
|
1455
|
+
* It sets the query parameter's [Query#outFields](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#outFields) property to `["*"]`.
|
|
1456
|
+
* The results will include geometries of features and values for all
|
|
1457
|
+
* [available fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#availableFields) for
|
|
1458
|
+
* [client-side queries](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryFeatures)
|
|
1459
|
+
* or all fields in the layer for [server side queries](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures).
|
|
1460
|
+
*
|
|
1461
|
+
* @returns The query object representing the layer's definition expression
|
|
1462
|
+
* and other configurations.
|
|
1463
|
+
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
1464
|
+
* @example
|
|
1465
|
+
* // this snippet shows the query parameter object that is returned
|
|
1466
|
+
* // from FeatureLayer.createQuery().
|
|
1467
|
+
* const queryParams = new Query();
|
|
1468
|
+
* const dataCapabilities = layer.get<DataCapabilities>("capabilities.data");
|
|
1469
|
+
*
|
|
1470
|
+
* queryParams.gdbVersion = layer.gdbVersion;
|
|
1471
|
+
* queryParams.historicMoment = layer.historicMoment;
|
|
1472
|
+
* queryParams.returnGeometry = true;
|
|
1473
|
+
*
|
|
1474
|
+
* if (dataCapabilities) {
|
|
1475
|
+
* if (dataCapabilities.supportsZ && layer.returnZ != null) {
|
|
1476
|
+
* queryParams.returnZ = layer.returnZ;
|
|
1477
|
+
* }
|
|
1478
|
+
*
|
|
1479
|
+
* if (dataCapabilities.supportsM && layer.returnM != null) {
|
|
1480
|
+
* queryParams.returnM = layer.returnM;
|
|
1481
|
+
* }
|
|
1482
|
+
* }
|
|
1483
|
+
*
|
|
1484
|
+
* queryParams.outFields = ["*"];
|
|
1485
|
+
* queryParams.where = layer.definitionExpression || "1=1";
|
|
1486
|
+
* queryParams.multipatchOption = layer.geometryType === "multipatch" ? "xyFootprint" : null;
|
|
1487
|
+
* @example
|
|
1488
|
+
* // Get a query object for the layer's current configuration
|
|
1489
|
+
* // queryParams.outFields will be set to ["*"] to get values
|
|
1490
|
+
* // for all available fields.
|
|
1491
|
+
* const queryParams = layer.createQuery();
|
|
1492
|
+
* // set a geometry for filtering features by a region of interest
|
|
1493
|
+
* queryParams.geometry = extentForRegionOfInterest;
|
|
1494
|
+
* // Add to the layer's current definitionExpression
|
|
1495
|
+
* queryParams.where = queryParams.where + " AND TYPE = 'Extreme'";
|
|
1496
|
+
*
|
|
1497
|
+
* // query the layer with the modified params object
|
|
1498
|
+
* layer.queryFeatures(queryParams).then(function(results){
|
|
1499
|
+
* // prints the array of result graphics to the console
|
|
1500
|
+
* console.log(results.features);
|
|
1501
|
+
* });
|
|
1502
|
+
*/
|
|
1503
|
+
createQuery(): Query;
|
|
1504
|
+
/**
|
|
1505
|
+
* Deletes attachments from a feature. This operation is available only if the layer's
|
|
1506
|
+
* [capabilities.data.supportsAttachment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities) is set to `true`.
|
|
1507
|
+
*
|
|
1508
|
+
* @param feature - Feature containing attachments to be deleted.
|
|
1509
|
+
* @param attachmentIds - Ids of the attachments to be deleted.
|
|
1510
|
+
* @returns When resolved, an array of [FeatureEditResults](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-graphics-editingSupport.html#FeatureEditResult)
|
|
1511
|
+
* is returned. FeatureEditResult indicates whether or not the edit was successful. If successful, the `objectId` of the result is the Id of
|
|
1512
|
+
* the new attachment. If unsuccessful, it also includes an error `name` and error `message`.
|
|
1513
|
+
* @since 4.9
|
|
1514
|
+
* @see [capabilities.data.supportsAttachment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities)
|
|
1515
|
+
*/
|
|
1516
|
+
deleteAttachments(feature: Graphic, attachmentIds: number[]): Promise<FeatureEditResult[]>;
|
|
1517
|
+
/**
|
|
1518
|
+
* Returns the title of a [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html).
|
|
1519
|
+
*
|
|
1520
|
+
* @param graphic - The [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) for which to generate a title.
|
|
1521
|
+
* @param options - Additional options that control how the title is generated.
|
|
1522
|
+
* @returns Resolves to the feature's title string.
|
|
1523
|
+
* @since 4.34
|
|
1524
|
+
*/
|
|
1525
|
+
getFeatureTitle(graphic: Graphic, options?: FeatureTitleOptions): Promise<string>;
|
|
1526
|
+
/**
|
|
1527
|
+
* Returns a [FeatureType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureType.html) describing the feature's type.
|
|
1528
|
+
* This is applicable if the layer containing the feature has a [typeIdField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#typeIdField).
|
|
1529
|
+
*
|
|
1530
|
+
* @param feature - A feature from this layer.
|
|
1531
|
+
* @returns The [FeatureType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureType.html) describing the feature's type.
|
|
1532
|
+
* @since 4.7
|
|
1533
|
+
*/
|
|
1534
|
+
getFeatureType(feature: Graphic | null | undefined): FeatureType | null | undefined;
|
|
1535
|
+
/**
|
|
1536
|
+
* Returns the alias of the specified field. Previously, this value was commonly retrieved from [FeatureLayer.popupTemplate.fieldInfos[x].label](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#label) or [FeatureLayer.fields[x].alias](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html#alias). While these properties are still supported, this method is now the recommended approach for obtaining a field's alias.
|
|
1537
|
+
*
|
|
1538
|
+
* The alias is resolved in the following order:
|
|
1539
|
+
*
|
|
1540
|
+
* 1. [Field configuration alias](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations)
|
|
1541
|
+
* 2. [Field#alias](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html#alias) defined on the field.
|
|
1542
|
+
*
|
|
1543
|
+
* @param fieldName - The name of the field.
|
|
1544
|
+
* @returns The field alias of the specified field.
|
|
1545
|
+
* @since 4.34
|
|
1546
|
+
* @see [fieldConfigurations](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations)
|
|
1547
|
+
* @see [getFieldConfiguration()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#getFieldConfiguration)
|
|
1548
|
+
*/
|
|
1549
|
+
getFieldAlias(fieldName: string): string | null | undefined;
|
|
1550
|
+
/**
|
|
1551
|
+
* Returns the [FieldConfigurations](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html) for the specified field. The field configuration provides optional formatting and display information for the field.
|
|
1552
|
+
*
|
|
1553
|
+
* Previously, field formatting was commonly retrieved from [FeatureLayer.popupTemplate.fieldInfos[x].format](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format). This is no longer needed, instead use [FeatureLayer.getFieldConfiguration(fieldname).fieldFormat](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldConfiguration.html#fieldFormat) to retrieve the field configuration formatting.
|
|
1554
|
+
*
|
|
1555
|
+
* @param fieldName - The name of the field.
|
|
1556
|
+
* @returns The field configuration of the specified field.
|
|
1557
|
+
* @since 4.34
|
|
1558
|
+
* @see [fieldConfigurations](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations)
|
|
1559
|
+
* @see [getFieldAlias()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#getFieldAlias)
|
|
1560
|
+
*/
|
|
1561
|
+
getFieldConfiguration(fieldName: string): FieldConfiguration | null | undefined;
|
|
1562
|
+
/**
|
|
1563
|
+
* Query information about attachments associated with features. It will return an error if the layer's
|
|
1564
|
+
* [capabilities.data.supportsAttachment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities) property is `false`.
|
|
1565
|
+
* Attachments for multiple features can be queried if the layer's [capabilities.operations.supportsQueryAttachments](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities)
|
|
1566
|
+
* is `true`.
|
|
1567
|
+
*
|
|
1568
|
+
* > [!WARNING]
|
|
1569
|
+
* >
|
|
1570
|
+
* > **Known Limitations**
|
|
1571
|
+
* >
|
|
1572
|
+
* > When the layer's[capabilities.operations.supportsQueryAttachments](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities) property is
|
|
1573
|
+
* > `false`, [AttachmentQuery#objectIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttachmentQuery.html#objectIds) property only accepts a single
|
|
1574
|
+
* > `objectId`.
|
|
1575
|
+
*
|
|
1576
|
+
* @param attachmentQuery - Specifies the attachment parameters for query.
|
|
1577
|
+
* @param options - An object with the following properties.
|
|
1578
|
+
* @returns When resolved, returns an object containing
|
|
1579
|
+
* [AttachmentInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query-support-AttachmentInfo.html) grouped by the source
|
|
1580
|
+
* feature objectIds.
|
|
1581
|
+
* @since 4.9
|
|
1582
|
+
* @see [capabilities.data.supportsAttachment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities)
|
|
1583
|
+
* @see [capabilities.operations.supportsQueryAttachments](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities)
|
|
1584
|
+
* @example
|
|
1585
|
+
* layer.when(function () {
|
|
1586
|
+
* // queryObjectIds for all features within the layer
|
|
1587
|
+
* layer.queryObjectIds().then(function (objectIds) {
|
|
1588
|
+
* // Define parameters for querying attachments,
|
|
1589
|
+
* // query features where objectIds are less than 735,
|
|
1590
|
+
* // and only query jpeg attachments for these features.
|
|
1591
|
+
* let attachmentQuery = {
|
|
1592
|
+
* objectIds: objectIds,
|
|
1593
|
+
* definitionExpression: "OBJECTID < 735",
|
|
1594
|
+
* attachmentTypes: ["image/jpeg"]
|
|
1595
|
+
* };
|
|
1596
|
+
*
|
|
1597
|
+
* // Only pass in one objectId for attachmentQuery.objectIds
|
|
1598
|
+
* // if the layer's capabilities.operations.supportsQueryAttachments is false
|
|
1599
|
+
* layer.queryAttachments(attachmentQuery).then(function (attachments) {
|
|
1600
|
+
* // Print out all returned attachment infos to the console.
|
|
1601
|
+
* attachmentQuery.objectIds.forEach(function (objectId) {
|
|
1602
|
+
* if (attachments[objectId]) {
|
|
1603
|
+
* let attachment = attachments[objectId];
|
|
1604
|
+
* console.group("attachment for", objectId);
|
|
1605
|
+
* attachment.forEach(function (item) {
|
|
1606
|
+
* console.log("attachment id", item.id);
|
|
1607
|
+
* console.log("content type", item.contentType);
|
|
1608
|
+
* console.log("name", item.name);
|
|
1609
|
+
* console.log("size", item.size);
|
|
1610
|
+
* console.log("url", item.url);
|
|
1611
|
+
* console.groupEnd();
|
|
1612
|
+
* });
|
|
1613
|
+
* }
|
|
1614
|
+
* });
|
|
1615
|
+
* })
|
|
1616
|
+
* .catch(function (error) {
|
|
1617
|
+
* console.log("attachment query error", error);
|
|
1618
|
+
* })
|
|
1619
|
+
* });
|
|
1620
|
+
* });
|
|
1621
|
+
*/
|
|
1622
|
+
queryAttachments(attachmentQuery: AttachmentQueryProperties, options?: RequestOptions): Promise<Record<string, AttachmentInfo[]>>;
|
|
1623
|
+
/**
|
|
1624
|
+
* Executes a [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html) against a feature service, which groups features into bins based on ranges in numeric or date fields, and returns a
|
|
1625
|
+
* [AttributeBinsFeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsFeatureSet.html) containing the series of bins. Please refer to the [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html) document for more detailed information
|
|
1626
|
+
* on how to configure the bin parameters.
|
|
1627
|
+
*
|
|
1628
|
+
* 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.
|
|
1629
|
+
* Binned data can be effectively visualized in histograms (or bar charts), providing clearer insights into data distributions and trends.
|
|
1630
|
+
* It can reveal underlying patterns that might be obscured in raw data. For example, bins can show concentrations of values in common ranges.
|
|
1631
|
+
*
|
|
1632
|
+
* > [!WARNING]
|
|
1633
|
+
* >
|
|
1634
|
+
* > **Notes**
|
|
1635
|
+
* > The `queryAttributeBins()` method is unrelated to querying bins in [FeatureReductionBinning](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html).
|
|
1636
|
+
*
|
|
1637
|
+
* @param binsQuery - Specifies the parameters of the `queryAttributeBins()` operation. The [AttributeBinsQuery#binParameters](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html#binParameters) property must be set.
|
|
1638
|
+
* @param options - An object with the following properties.
|
|
1639
|
+
* @returns When resolved, returns a [FeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) containing
|
|
1640
|
+
* a series of bins. Each feature in the [AttributeBinsFeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsFeatureSet.html) represents a bin. The attributes of each feature contains statistics summarizing the data in the bin, including count, average, standard deviation, etc.
|
|
1641
|
+
* @since 4.32
|
|
1642
|
+
* @see [Sample - Attribute Bins Query](https://developers.arcgis.com/javascript/latest/sample-code/query-attribute-bins/)
|
|
1643
|
+
* @see [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html)
|
|
1644
|
+
* @example
|
|
1645
|
+
* // Query the temperature field in the feature layer and create a histogram
|
|
1646
|
+
* // Analyze temperature data over a year, create 100 bins for different temperature ranges
|
|
1647
|
+
* // to assess frequency and identify patterns.
|
|
1648
|
+
* const binQuery = new AttributeBinsQuery({
|
|
1649
|
+
* where: "UnitTop = 0",
|
|
1650
|
+
* binParameters: new AutoIntervalBinParameters({
|
|
1651
|
+
* bins: 100,
|
|
1652
|
+
* field: "temp",
|
|
1653
|
+
* start: 0, // lowest temp value to be included in the bin query
|
|
1654
|
+
* end: 30 // highest temp value to be included
|
|
1655
|
+
* })
|
|
1656
|
+
* });
|
|
1657
|
+
*
|
|
1658
|
+
* layer.queryAttributeBins(query).then((results) => {
|
|
1659
|
+
* const bins = results.features.map((bin) => {
|
|
1660
|
+
* return {
|
|
1661
|
+
* minValue: bin.attributes.lowerBoundary,
|
|
1662
|
+
* maxValue: bin.attributes.upperBoundary,
|
|
1663
|
+
* count: bin.attributes.temperature_count,
|
|
1664
|
+
* };
|
|
1665
|
+
* });
|
|
1666
|
+
*
|
|
1667
|
+
* // get the lower boundary of the first bin
|
|
1668
|
+
* const min = results.features[0].attributes.lowerBoundary;
|
|
1669
|
+
* // get the upper boundary of the last bin
|
|
1670
|
+
* const max = results.features[results.features.length - 1].attributes.upperBoundary;
|
|
1671
|
+
* // calculate the average for the bins
|
|
1672
|
+
* const average = results.features[0].attributes.lowerBoundary + results.features[results.features.length - 1].attributes.upperBoundary) / 2;
|
|
1673
|
+
*
|
|
1674
|
+
* const histogram = new Histogram({
|
|
1675
|
+
* container: "histogramDiv",
|
|
1676
|
+
* bins: bins,
|
|
1677
|
+
* min: min,
|
|
1678
|
+
* max: max,
|
|
1679
|
+
* average: average,
|
|
1680
|
+
* barCreatedFunction:(index, element) => {
|
|
1681
|
+
* element.setAttribute("fill", "#FFA500");
|
|
1682
|
+
* element.setAttribute("opacity", 0.5);
|
|
1683
|
+
* },
|
|
1684
|
+
* labelFormatFunction: (value, type) => {
|
|
1685
|
+
* return (Math.round(value)).toLocaleString();
|
|
1686
|
+
* },
|
|
1687
|
+
* dataLines: [{
|
|
1688
|
+
* value: histogram.min,
|
|
1689
|
+
* label: histogram.min.toLocaleString()
|
|
1690
|
+
* }, {
|
|
1691
|
+
* value: histogram.average,
|
|
1692
|
+
* label: histogram.average.toLocaleString()
|
|
1693
|
+
* }, {
|
|
1694
|
+
* value: histogram.max,
|
|
1695
|
+
* label: histogram.max.toLocaleString()
|
|
1696
|
+
* }]
|
|
1697
|
+
* });
|
|
1698
|
+
* });
|
|
1699
|
+
*/
|
|
1700
|
+
queryAttributeBins(binsQuery: AttributeBinsQueryProperties, options?: RequestOptions): Promise<AttributeBinsFeatureSet>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html) against the feature service and
|
|
1703
|
+
* returns the [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html) of features that satisfy the query. If no
|
|
1704
|
+
* parameters are specified, then the extent and count of all features
|
|
1705
|
+
* satisfying the layer's configuration/filters are returned.
|
|
1706
|
+
*
|
|
1707
|
+
* > [!WARNING]
|
|
1708
|
+
* >
|
|
1709
|
+
* > To query for the extent of features/graphics available to or visible in the
|
|
1710
|
+
* > [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) on the client rather than making a server-side query, you must use the
|
|
1711
|
+
* > [FeatureLayerView#queryExtent()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryExtent) method.
|
|
1712
|
+
*
|
|
1713
|
+
* @param query - Specifies the attributes and spatial
|
|
1714
|
+
* filter of the query. If no parameters are specified, then the extent and count of all features
|
|
1715
|
+
* satisfying the layer's configuration/filters are returned.
|
|
1716
|
+
* @param options - An object with the following properties.
|
|
1717
|
+
* @returns When resolved, returns the extent and count of the features
|
|
1718
|
+
* that satisfy the input query. See the object specification table below for details.
|
|
1719
|
+
* Property | Type | Description
|
|
1720
|
+
* ---------|------|-------------
|
|
1721
|
+
* count | Number | The number of features that satisfy the input query.
|
|
1722
|
+
* extent | [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html) \| null | The extent of the features that satisfy the query.
|
|
1723
|
+
* @see [Sample - Zoom to extent of all features](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-queryextent/)
|
|
1724
|
+
* @example
|
|
1725
|
+
* // Queries for the extent of all features matching the layer's configurations
|
|
1726
|
+
* // e.g. definitionExpression
|
|
1727
|
+
* layer.queryExtent().then(function(results){
|
|
1728
|
+
* // go to the extent of the results satisfying the query
|
|
1729
|
+
* view.goTo(results.extent);
|
|
1730
|
+
* });
|
|
1731
|
+
* @example
|
|
1732
|
+
* const layer = new FeatureLayer({
|
|
1733
|
+
* url: fsUrl // points to a Feature Service layer url
|
|
1734
|
+
* });
|
|
1735
|
+
*
|
|
1736
|
+
* const query = new Query();
|
|
1737
|
+
* query.where = "region = 'Southern California'";
|
|
1738
|
+
*
|
|
1739
|
+
* layer.queryExtent(query).then((results) =>{
|
|
1740
|
+
* view.goTo(results.extent); // go to the extent of the results satisfying the query
|
|
1741
|
+
* });
|
|
1742
|
+
*/
|
|
1743
|
+
queryExtent(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<{
|
|
1744
|
+
count: number;
|
|
1745
|
+
extent: Extent | null;
|
|
1746
|
+
}>;
|
|
1747
|
+
/**
|
|
1748
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html) against the feature service and
|
|
1749
|
+
* returns the number of features that satisfy the query. If no parameters are specified,
|
|
1750
|
+
* the total number of features satisfying the layer's configuration/filters is returned.
|
|
1751
|
+
*
|
|
1752
|
+
* > [!WARNING]
|
|
1753
|
+
* >
|
|
1754
|
+
* > To query for the count of features/graphics available to or visible in the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html)
|
|
1755
|
+
* > on the client rather than making a server-side query, you must use the
|
|
1756
|
+
* > [FeatureLayerView#queryFeatureCount()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryFeatureCount) method.
|
|
1757
|
+
*
|
|
1758
|
+
* @param query - Specifies the attributes and
|
|
1759
|
+
* spatial filter of the query. If no parameters are specified, the total number of features
|
|
1760
|
+
* satisfying the layer's configuration/filters is returned.
|
|
1761
|
+
* @param options - An object with the following properties.
|
|
1762
|
+
* @returns When resolved, returns the number of features that satisfy the query.
|
|
1763
|
+
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
1764
|
+
* @example
|
|
1765
|
+
* // Queries for the count of all features matching the layer's configurations
|
|
1766
|
+
* // e.g. definitionExpression
|
|
1767
|
+
* layer.queryFeatureCount().then((numFeatures) => {
|
|
1768
|
+
* // prints the total count to the console
|
|
1769
|
+
* console.log(numFeatures);
|
|
1770
|
+
* });
|
|
1771
|
+
* @example
|
|
1772
|
+
* const layer = new FeatureLayer({
|
|
1773
|
+
* url: fsUrl // points to a Feature Service layer url
|
|
1774
|
+
* });
|
|
1775
|
+
*
|
|
1776
|
+
* const query = new Query();
|
|
1777
|
+
* query.where = "region = 'Southern California'";
|
|
1778
|
+
*
|
|
1779
|
+
* const featureCount = await layer.queryFeatureCount(query);
|
|
1780
|
+
* console.log(featureCount); // prints the number of results satisfying the query
|
|
1781
|
+
*/
|
|
1782
|
+
queryFeatureCount(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<number>;
|
|
1783
|
+
/**
|
|
1784
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html) against the feature service and returns a
|
|
1785
|
+
* [FeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) once the promise resolves.
|
|
1786
|
+
* A [FeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) contains an array of [features](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html).
|
|
1787
|
+
* See the [querying](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#querying)
|
|
1788
|
+
* section for more information on how to query features from a layer.
|
|
1789
|
+
*
|
|
1790
|
+
* > [!WARNING]
|
|
1791
|
+
* >
|
|
1792
|
+
* > **Notes**
|
|
1793
|
+
* >
|
|
1794
|
+
* > To query features available to or visible in the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) on the client rather than making a server-side query, you must
|
|
1795
|
+
* > use the [FeatureLayerView#queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryFeatures) method.
|
|
1796
|
+
* >
|
|
1797
|
+
* > When querying a service with z-values and no [vertical coordinate system](https://pro.arcgis.com/en/pro-app/help/mapping/properties/vertical-coordinate-systems.htm) information,
|
|
1798
|
+
* > the z-values will automatically be converted to match the [Query#outSpatialReference](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#outSpatialReference) units.
|
|
1799
|
+
* > Example: The service has a horizontal spatial reference using `feet` units and the query is made with `outSpatialReference`
|
|
1800
|
+
* > based on `meter` units, then [queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures) automatically converts the values from `feet` to `meter` units.
|
|
1801
|
+
*
|
|
1802
|
+
* @param query - Specifies the attributes and spatial
|
|
1803
|
+
* filter of the query. If no parameters are specified, then all features satisfying the layer's
|
|
1804
|
+
* configuration/filters are returned.
|
|
1805
|
+
* @param options - An object with the following properties.
|
|
1806
|
+
* @returns When resolved, a [FeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) containing
|
|
1807
|
+
* an array of graphic features is returned.
|
|
1808
|
+
* @see [Sample - Query features from a FeatureLayer](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query/)
|
|
1809
|
+
* @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
|
|
1810
|
+
* @example
|
|
1811
|
+
* // Queries for all the features matching the layer's configurations
|
|
1812
|
+
* // e.g. definitionExpression
|
|
1813
|
+
* layer.queryFeatures().then((results) => {
|
|
1814
|
+
* // prints the array of result graphics to the console
|
|
1815
|
+
* console.log(results.features);
|
|
1816
|
+
* });
|
|
1817
|
+
* @example
|
|
1818
|
+
* const layer = new FeatureLayer({
|
|
1819
|
+
* url: fsUrl // points to a Feature Service layer url
|
|
1820
|
+
* });
|
|
1821
|
+
*
|
|
1822
|
+
* const query = new Query();
|
|
1823
|
+
* query.where = "STATE_NAME = 'Washington'";
|
|
1824
|
+
* query.outSpatialReference = { wkid: 102100 };
|
|
1825
|
+
* query.returnGeometry = true;
|
|
1826
|
+
* query.outFields = [ "CITY_NAME" ];
|
|
1827
|
+
*
|
|
1828
|
+
* layer.queryFeatures(query).then((results) => {
|
|
1829
|
+
* console.log(results.features); // prints the array of features to the console
|
|
1830
|
+
* });
|
|
1831
|
+
* @example
|
|
1832
|
+
* // Get a query object for the layer's current configuration
|
|
1833
|
+
* const queryParams = layer.createQuery();
|
|
1834
|
+
* // set a geometry for filtering features by a region of interest
|
|
1835
|
+
* queryParams.geometry = extentForRegionOfInterest;
|
|
1836
|
+
* // Add to the layer's current definitionExpression
|
|
1837
|
+
* queryParams.where = queryParams.where + " AND TYPE = 'Extreme'";
|
|
1838
|
+
*
|
|
1839
|
+
* // query the layer with the modified params object
|
|
1840
|
+
* layer.queryFeatures(queryParams).then((results) => {
|
|
1841
|
+
* // prints the array of result graphics to the console
|
|
1842
|
+
* console.log(results.features);
|
|
1843
|
+
* });
|
|
1844
|
+
* @example
|
|
1845
|
+
* const layer = new FeatureLayer({
|
|
1846
|
+
* url: fsUrl // points to a Feature Service layer url
|
|
1847
|
+
* });
|
|
1848
|
+
*
|
|
1849
|
+
* // query all features from the layer and only return
|
|
1850
|
+
* // attributes specified in outFields.
|
|
1851
|
+
* const query = { // autocasts as Query
|
|
1852
|
+
* where: "1=1", // select all features
|
|
1853
|
+
* returnGeometry: false,
|
|
1854
|
+
* outFields: ["State_Name", "City_Name", "pop2010"]
|
|
1855
|
+
* };
|
|
1856
|
+
*
|
|
1857
|
+
* const results = await layer.queryFeatures(query);
|
|
1858
|
+
* console.log(results.features); // prints the array of features to the console
|
|
1859
|
+
*/
|
|
1860
|
+
queryFeatures(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<FeatureSet>;
|
|
1861
|
+
/**
|
|
1862
|
+
* Executes a [Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html) against the feature service and returns an
|
|
1863
|
+
* array of Object IDs for features that satisfy the input query. If no parameters are specified,
|
|
1864
|
+
* then the Object IDs of all features satisfying the layer's configuration/filters are returned.
|
|
1865
|
+
*
|
|
1866
|
+
* > [!WARNING]
|
|
1867
|
+
* >
|
|
1868
|
+
* > To query for ObjectIDs of features available to or visible in the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) on the client rather
|
|
1869
|
+
* > than making a server-side query, you must use the
|
|
1870
|
+
* > [FeatureLayerView#queryObjectIds()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#queryObjectIds) method.
|
|
1871
|
+
*
|
|
1872
|
+
* @param query - Specifies the attributes and spatial
|
|
1873
|
+
* filter of the query. If no parameters are specified, then the Object IDs of all features
|
|
1874
|
+
* satisfying the layer's configuration/filters are returned.
|
|
1875
|
+
* @param options - An object with the following properties.
|
|
1876
|
+
* @returns When resolved, returns an array of numbers representing the object IDs of the features satisfying the query.
|
|
1877
|
+
* @see [Sample - Query Related Features](https://developers.arcgis.com/javascript/latest/sample-code/query-related-features/)
|
|
1878
|
+
* @example
|
|
1879
|
+
* // Queries for all the Object IDs of features matching the layer's configurations
|
|
1880
|
+
* // e.g. definitionExpression
|
|
1881
|
+
* layer.queryObjectIds().then((results) => {
|
|
1882
|
+
* // prints the array of Object IDs to the console
|
|
1883
|
+
* console.log(results);
|
|
1884
|
+
* });
|
|
1885
|
+
* @example
|
|
1886
|
+
* const layer = new FeatureLayer({
|
|
1887
|
+
* url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/3"
|
|
1888
|
+
* });
|
|
1889
|
+
*
|
|
1890
|
+
* const query = new Query({
|
|
1891
|
+
* where: "SUB_REGION = 'Pacific'"
|
|
1892
|
+
* });
|
|
1893
|
+
*
|
|
1894
|
+
* const ids = await layer.queryObjectIds(query);
|
|
1895
|
+
* console.log(ids); // an array of object IDs
|
|
1896
|
+
*/
|
|
1897
|
+
queryObjectIds(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<ObjectId[]>;
|
|
1898
|
+
/**
|
|
1899
|
+
* Executes a [RelationshipQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RelationshipQuery.html) against the feature service and
|
|
1900
|
+
* returns [FeatureSets](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) grouped by source layer or table objectIds.
|
|
1901
|
+
*
|
|
1902
|
+
* @param relationshipQuery - Specifies relationship parameters
|
|
1903
|
+
* for querying related features or records from a layer or a table.
|
|
1904
|
+
* @param options - An object with the following properties.
|
|
1905
|
+
* @returns When resolved, returns [FeatureSets](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) grouped
|
|
1906
|
+
* by source layer/table objectIds. Each [FeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) contains an array of [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html)
|
|
1907
|
+
* features including the values of the fields requested by the user.
|
|
1908
|
+
* @since 4.9
|
|
1909
|
+
* @see [relationships property](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#relationships)
|
|
1910
|
+
* @see [Sample - Query Related Features](https://developers.arcgis.com/javascript/latest/sample-code/query-related-features/)
|
|
1911
|
+
* @example
|
|
1912
|
+
* const objectIds = [385, 416];
|
|
1913
|
+
*
|
|
1914
|
+
* // relationship query parameter
|
|
1915
|
+
* const query = {
|
|
1916
|
+
* outFields: ["*"],
|
|
1917
|
+
* relationshipId: relationshipId,
|
|
1918
|
+
* objectIds: objectIds
|
|
1919
|
+
* }
|
|
1920
|
+
*
|
|
1921
|
+
* // query related features for given objectIds
|
|
1922
|
+
* layer.queryRelatedFeatures(query).then(function (result) {
|
|
1923
|
+
* objectIds.forEach(function (objectId) {
|
|
1924
|
+
* // print out the attributes of related features if the result
|
|
1925
|
+
* // is returned for the specified objectId
|
|
1926
|
+
* if (result[objectId]) {
|
|
1927
|
+
* console.group("relationship for feature:", objectId)
|
|
1928
|
+
* result[objectId].features.forEach(function (feature) {
|
|
1929
|
+
* console.log("attributes", JSON.stringify(feature.attributes));
|
|
1930
|
+
* });
|
|
1931
|
+
* console.groupEnd();
|
|
1932
|
+
* }
|
|
1933
|
+
* });
|
|
1934
|
+
* }).catch(function (error) {
|
|
1935
|
+
* console.log("error from queryRelatedFeatures", error);
|
|
1936
|
+
* });
|
|
1937
|
+
*/
|
|
1938
|
+
queryRelatedFeatures(relationshipQuery: RelationshipQueryProperties, options?: RequestOptions): Promise<Record<string, FeatureSet>>;
|
|
1939
|
+
/**
|
|
1940
|
+
* Executes a [RelationshipQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RelationshipQuery.html) against the feature service and
|
|
1941
|
+
* when resolved, it returns an `object` containing key value pairs. Key in this case is the `objectId`
|
|
1942
|
+
* of the feature and value is the number of related features associated with the feature.
|
|
1943
|
+
*
|
|
1944
|
+
* @param relationshipQuery - Specifies relationship parameters
|
|
1945
|
+
* for querying related features or records from a layer or a table.
|
|
1946
|
+
* @param options - An object with the following properties.
|
|
1947
|
+
* @returns When resolved, returns a hashmap containing key value pairs. Key in this case is the `objectId`
|
|
1948
|
+
* of the feature and value is the number of related features.
|
|
1949
|
+
* @since 4.17
|
|
1950
|
+
* @see [relationships property](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#relationships)
|
|
1951
|
+
* @see [Sample - Query Related Features](https://developers.arcgis.com/javascript/latest/sample-code/query-related-features/)
|
|
1952
|
+
* @example
|
|
1953
|
+
* const objectIds = [385, 416];
|
|
1954
|
+
*
|
|
1955
|
+
* // relationship query parameter
|
|
1956
|
+
* const query = {
|
|
1957
|
+
* outFields: ["*"],
|
|
1958
|
+
* relationshipId: relationshipId,
|
|
1959
|
+
* objectIds: objectIds
|
|
1960
|
+
* }
|
|
1961
|
+
*
|
|
1962
|
+
* // query related features for given objectIds
|
|
1963
|
+
* layer.queryRelatedFeaturesCount(query).then(function (count) {
|
|
1964
|
+
* console.log("queryRelatedFeaturesCount", count);
|
|
1965
|
+
* // this will print out
|
|
1966
|
+
* // {385: 91, 416: 23}
|
|
1967
|
+
* }).catch(function (error) {
|
|
1968
|
+
* console.log("error from queryRelatedFeatures", error);
|
|
1969
|
+
* });
|
|
1970
|
+
*/
|
|
1971
|
+
queryRelatedFeaturesCount(relationshipQuery: RelationshipQueryProperties, options?: RequestOptions): Promise<Record<string, number>>;
|
|
1972
|
+
/**
|
|
1973
|
+
* Executes a [TopFeaturesQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html) against a feature service and returns
|
|
1974
|
+
* the count of features or records that satisfy the query.
|
|
1975
|
+
*
|
|
1976
|
+
* > [!WARNING]
|
|
1977
|
+
* >
|
|
1978
|
+
* > **Known Limitations**
|
|
1979
|
+
* > Currently, the `queryTopFeatureCount` is only supported with server-side [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
1980
|
+
*
|
|
1981
|
+
* @param topFeaturesQuery - Specifies the attributes, spatial, temporal, and top
|
|
1982
|
+
* filter of the query. The [TopFeaturesQuery#topFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html#topFilter) parameter must be set.
|
|
1983
|
+
* @param options - An object with the following properties.
|
|
1984
|
+
* @returns When resolved, returns the number of features satisfying the query.
|
|
1985
|
+
* @since 4.20
|
|
1986
|
+
* @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
|
|
1987
|
+
* @see [TopFeaturesQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html)
|
|
1988
|
+
* @see [TopFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFilter.html)
|
|
1989
|
+
* @example
|
|
1990
|
+
* // set the query to return a count
|
|
1991
|
+
* // of features that has most sales grouped by regions.
|
|
1992
|
+
* // top query will run against all features available in the service
|
|
1993
|
+
* const query = new TopFeaturesQuery({
|
|
1994
|
+
* topFilter: new TopFilter({
|
|
1995
|
+
* topCount: 1,
|
|
1996
|
+
* groupByFields: ["Region"],
|
|
1997
|
+
* orderByFields: ["Sales DESC"]
|
|
1998
|
+
* })
|
|
1999
|
+
* });
|
|
2000
|
+
* featureLayer.queryTopFeatureCount(query)
|
|
2001
|
+
* .then(function(response){
|
|
2002
|
+
* // returns the number of the features that have the most sales by region.
|
|
2003
|
+
* });
|
|
2004
|
+
*/
|
|
2005
|
+
queryTopFeatureCount(topFeaturesQuery?: TopFeaturesQueryProperties, options?: RequestOptions): Promise<number>;
|
|
2006
|
+
/**
|
|
2007
|
+
* Executes a [TopFeaturesQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html) against a feature service and returns a
|
|
2008
|
+
* [FeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) once the promise resolves.
|
|
2009
|
+
* The [FeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) contains an array of top [features](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html)
|
|
2010
|
+
* grouped and ordered by specified fields. For example, you can call this method to query top three counties grouped
|
|
2011
|
+
* by state names while ordering them based on their populations in a descending order.
|
|
2012
|
+
*
|
|
2013
|
+
* > [!WARNING]
|
|
2014
|
+
* >
|
|
2015
|
+
* > **Known Limitations**
|
|
2016
|
+
* > Currently, the `queryTopFeatures` is only supported with server-side [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
2017
|
+
*
|
|
2018
|
+
* @param topFeaturesQuery - Specifies the attributes, spatial, temporal, and top
|
|
2019
|
+
* filter of the query. The [TopFeaturesQuery#topFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html#topFilter) parameter must be set.
|
|
2020
|
+
* @param options - An object with the following properties.
|
|
2021
|
+
* @returns When resolved, returns a [FeatureSet](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html) containing
|
|
2022
|
+
* an array of features that are grouped and ordered specified fields.
|
|
2023
|
+
* @since 4.20
|
|
2024
|
+
* @see [Sample - Aggregate spatial statistics](https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query-aggregate/)
|
|
2025
|
+
* @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
|
|
2026
|
+
* @see [TopFeaturesQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html)
|
|
2027
|
+
* @see [TopFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFilter.html)
|
|
2028
|
+
* @example
|
|
2029
|
+
* // Query the most visited national parks in each state
|
|
2030
|
+
* // and order them by the most visited
|
|
2031
|
+
* // query will run against all features available in the service
|
|
2032
|
+
* const query = new TopFeaturesQuery({
|
|
2033
|
+
* outFields: ["State, TOTAL, Park"],
|
|
2034
|
+
* topFilter: new TopFilter({
|
|
2035
|
+
* topCount: 1,
|
|
2036
|
+
* groupByFields: ["State"],
|
|
2037
|
+
* orderByFields: ["TOTAL DESC"]
|
|
2038
|
+
* })
|
|
2039
|
+
* });
|
|
2040
|
+
* featureLayer.queryTopFeatures(query)
|
|
2041
|
+
* .then(function(response){
|
|
2042
|
+
* // returns a feature set with features containing the most visited
|
|
2043
|
+
* // national park in each state ordered by the number of visits.
|
|
2044
|
+
* // The following attributes are returned as well: State, TOTAL, Park
|
|
2045
|
+
* });
|
|
2046
|
+
*/
|
|
2047
|
+
queryTopFeatures(topFeaturesQuery: TopFeaturesQueryProperties, options?: RequestOptions): Promise<FeatureSet>;
|
|
2048
|
+
/**
|
|
2049
|
+
* Executes a [TopFeaturesQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html) against a feature service and returns
|
|
2050
|
+
* the [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html) of features that satisfy the query.
|
|
2051
|
+
*
|
|
2052
|
+
* > [!WARNING]
|
|
2053
|
+
* >
|
|
2054
|
+
* > **Known Limitations**
|
|
2055
|
+
* > Currently, the `queryTopFeaturesExtent` is only supported with server-side [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
2056
|
+
*
|
|
2057
|
+
* @param topFeaturesQuery - Specifies the attributes, spatial, temporal, and top
|
|
2058
|
+
* filter of the query. The [TopFeaturesQuery#topFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html#topFilter) parameter must be set.
|
|
2059
|
+
* @param options - An object with the following properties.
|
|
2060
|
+
* @returns When resolved, returns the extent and count of the features
|
|
2061
|
+
* that satisfy the input query. See the object specification table below for details.
|
|
2062
|
+
* Property | Type | Description
|
|
2063
|
+
* ---------|------|-------------
|
|
2064
|
+
* count | Number | The number of features that satisfy the query.
|
|
2065
|
+
* extent | [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html) \| null | The extent of features that satisfy the query.
|
|
2066
|
+
* @since 4.20
|
|
2067
|
+
* @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
|
|
2068
|
+
* @see [TopFeaturesQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html)
|
|
2069
|
+
* @see [TopFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFilter.html)
|
|
2070
|
+
* @example
|
|
2071
|
+
* // Get the count and extent of the three highest magnitude earthquakes
|
|
2072
|
+
* // in each region.
|
|
2073
|
+
* const query = new TopFeaturesQuery({
|
|
2074
|
+
* where: "mag >= 6",
|
|
2075
|
+
* geometry: studyExtent,
|
|
2076
|
+
* topFilter: new TopFilter({
|
|
2077
|
+
* topCount: 3,
|
|
2078
|
+
* groupByFields: ["region"],
|
|
2079
|
+
* orderByFields: ["mag DESC"]
|
|
2080
|
+
* })
|
|
2081
|
+
* });
|
|
2082
|
+
* featureLayer.queryTopFeaturesExtent(query)
|
|
2083
|
+
* .then(function(response){
|
|
2084
|
+
* // returns the count and extent of top three earthquakes within each region
|
|
2085
|
+
* });
|
|
2086
|
+
*/
|
|
2087
|
+
queryTopFeaturesExtent(topFeaturesQuery?: TopFeaturesQueryProperties, options?: RequestOptions): Promise<{
|
|
2088
|
+
count: number;
|
|
2089
|
+
extent: Extent | null;
|
|
2090
|
+
}>;
|
|
2091
|
+
/**
|
|
2092
|
+
* Executes a [TopFeaturesQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html) against a feature service and returns an
|
|
2093
|
+
* array of Object IDs of features that satisfy the query.
|
|
2094
|
+
*
|
|
2095
|
+
* > [!WARNING]
|
|
2096
|
+
* >
|
|
2097
|
+
* > **Known Limitations**
|
|
2098
|
+
* > Currently, the `queryTopObjectIds` is only supported with server-side [FeatureLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html).
|
|
2099
|
+
*
|
|
2100
|
+
* @param topFeaturesQuery - Specifies the attributes, spatial, temporal, and top
|
|
2101
|
+
* filter of the query. The [TopFeaturesQuery#topFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html#topFilter) parameter must be set.
|
|
2102
|
+
* @param options - An object with the following properties.
|
|
2103
|
+
* @returns When resolved, returns an array of numbers representing the object IDs of features
|
|
2104
|
+
* satisfying the query.
|
|
2105
|
+
* @since 4.20
|
|
2106
|
+
* @see [Query and filter guide](https://developers.arcgis.com/javascript/latest/query-filter/)
|
|
2107
|
+
* @see [TopFeaturesQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html)
|
|
2108
|
+
* @see [TopFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFilter.html)
|
|
2109
|
+
* @example
|
|
2110
|
+
* // Get the objectIds top three earthquakes
|
|
2111
|
+
* // grouped by regions and ordered by their magnitude levels
|
|
2112
|
+
* // top query will only run against earthquakes that have mag >=6.
|
|
2113
|
+
* const query = new TopFeaturesQuery({
|
|
2114
|
+
* where: "mag >= 6",
|
|
2115
|
+
* topFilter: new TopFilter({
|
|
2116
|
+
* topCount: 3,
|
|
2117
|
+
* groupByFields: ["region"],
|
|
2118
|
+
* orderByFields: ["mag DESC"]
|
|
2119
|
+
* })
|
|
2120
|
+
* });
|
|
2121
|
+
* featureLayer.queryTopObjectIds(query)
|
|
2122
|
+
* .then(function(response){
|
|
2123
|
+
* // returns an array of object ids of top three earthquakes within each region
|
|
2124
|
+
* });
|
|
2125
|
+
*/
|
|
2126
|
+
queryTopObjectIds(topFeaturesQuery?: TopFeaturesQueryProperties, options?: RequestOptions): Promise<number[]>;
|
|
2127
|
+
/**
|
|
2128
|
+
* Fetches all the data for the layer. The data is only updated if the `lastEditDate` in the layer's metadata is different from
|
|
2129
|
+
* the `lastEditDate` field. If the `lastEditDate` metadata info is not available, the FeatureLayer refreshes unconditionally.
|
|
2130
|
+
*
|
|
2131
|
+
* @since 4.6
|
|
2132
|
+
* @see [FeatureLayer#refreshInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#refreshInterval)
|
|
2133
|
+
* @see [refresh event](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#event-refresh)
|
|
2134
|
+
* @see [RefreshableLayer#refreshInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-RefreshableLayer.html#refreshInterval)
|
|
2135
|
+
* @see [refresh event](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-RefreshableLayer.html#event-refresh)
|
|
2136
|
+
*/
|
|
2137
|
+
refresh(): void;
|
|
2138
|
+
/**
|
|
2139
|
+
* Saves the layer to its existing portal item in the [Portal](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html)
|
|
2140
|
+
* authenticated within the user's current session. If the layer is not saved to a
|
|
2141
|
+
* [PortalItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItem.html), then you should use [saveAs()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#saveAs).
|
|
2142
|
+
*
|
|
2143
|
+
* > [!WARNING]
|
|
2144
|
+
* >
|
|
2145
|
+
* > **Known Limitations**
|
|
2146
|
+
* >
|
|
2147
|
+
* > You can only save service-backed FeatureLayers. Client-side layers cannot be saved.
|
|
2148
|
+
*
|
|
2149
|
+
* @param options - Various options for saving the layer.
|
|
2150
|
+
* @returns When resolved, returns the portal item to which the layer is saved.
|
|
2151
|
+
* @since 4.24
|
|
2152
|
+
* @example const portalItem = await layer.save();
|
|
2153
|
+
*/
|
|
2154
|
+
save(options?: SaveOptions): Promise<PortalItem>;
|
|
2155
|
+
/**
|
|
2156
|
+
* Saves the layer to a new portal item in the [Portal](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html)
|
|
2157
|
+
* authenticated within the user's current session.
|
|
2158
|
+
*
|
|
2159
|
+
* > [!WARNING]
|
|
2160
|
+
* >
|
|
2161
|
+
* > **Known Limitations**
|
|
2162
|
+
* >
|
|
2163
|
+
* > You can only save service-backed FeatureLayers. Client-side layers cannot be saved.
|
|
2164
|
+
*
|
|
2165
|
+
* @param portalItem - The portal item to which the layer will be saved.
|
|
2166
|
+
* @param options - Various options for saving the layer.
|
|
2167
|
+
* @returns When resolved, returns the portal item to which the layer is saved.
|
|
2168
|
+
* @since 4.24
|
|
2169
|
+
* @example
|
|
2170
|
+
* const portalItem = new PortalItem();
|
|
2171
|
+
* await layer.saveAs(portalItem);
|
|
2172
|
+
*/
|
|
2173
|
+
saveAs(portalItem: PortalItemProperties, options?: SaveAsOptions): Promise<PortalItem>;
|
|
2174
|
+
/**
|
|
2175
|
+
* Updates an existing attachment for a feature. This operation is available only if the layer's
|
|
2176
|
+
* [capabilities.data.supportsAttachment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities) is set to `true`.
|
|
2177
|
+
*
|
|
2178
|
+
* @param feature - The feature containing the attachment to be updated.
|
|
2179
|
+
* @param attachmentId - Id of the attachment to be updated.
|
|
2180
|
+
* @param attachment - HTML form that contains a file upload field pointing to the file to be added as an attachment.
|
|
2181
|
+
* @returns When resolved, a [FeatureEditResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-graphics-editingSupport.html#FeatureEditResult)
|
|
2182
|
+
* object is returned. FeatureEditResult indicates whether or not the edit was successful. If successful, the `objectId` of the result is the Id of
|
|
2183
|
+
* the new attachment. If unsuccessful, it also includes an error `name` and error `message`.
|
|
2184
|
+
* @since 4.9
|
|
2185
|
+
* @see [capabilities.data.supportsAttachment](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#capabilities)
|
|
2186
|
+
*/
|
|
2187
|
+
updateAttachment(feature: Graphic, attachmentId: number, attachment: HTMLFormElement | FormData): Promise<FeatureEditResult>;
|
|
2188
|
+
}
|
|
2189
|
+
declare const FeatureLayerSuperclass: typeof Layer & typeof ClonableMixin & typeof APIKeyMixin & typeof CustomParametersMixin & typeof MultiOriginJSONMixin & typeof PortalLayer & typeof OperationalLayer & typeof ArcGISService & typeof RefreshableLayer & typeof ScaleRangeLayer & typeof TrackableLayer & typeof TemporalLayer & typeof OrderedLayer & typeof BlendLayer & typeof DisplayFilteredLayer & typeof EditBusLayer & typeof PublishableLayer & typeof FeatureEffectLayer & typeof FeatureReductionLayer & typeof FeatureLayerBase
|