@arcgis/map-components 4.33.0-next.164 → 4.33.0-next.166
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/README.md +1 -1
- package/dist/cdn/{KUSBAABV.js → 2GZ2MYAN.js} +2 -2
- package/dist/cdn/{7QVPZ2I2.js → 2QGDPVAO.js} +2 -2
- package/dist/cdn/{EVUABUUN.js → 2VCKPCID.js} +2 -2
- package/dist/cdn/36WTJWVO.js +4 -0
- package/dist/cdn/{R76CW65M.js → 3DXFI2AL.js} +2 -2
- package/dist/cdn/{O2WVVOX3.js → 3KDUPGJZ.js} +2 -2
- package/dist/cdn/{462OQUTO.js → 3QEEPUD6.js} +2 -2
- package/dist/cdn/{Z4RPC6YM.js → 4G4A5E3G.js} +2 -2
- package/dist/cdn/{5NUO6LTP.js → 5LSJYLIP.js} +2 -2
- package/dist/cdn/{2W3ZBJI4.js → 5V73R3RI.js} +2 -2
- package/dist/cdn/{NXVDVF3X.js → 64ZB4JXV.js} +2 -2
- package/dist/cdn/{JRGVHZJK.js → 67EQMBZU.js} +2 -2
- package/dist/cdn/{WXUUMPPC.js → 6NOI5ZLC.js} +2 -2
- package/dist/cdn/{NXHSZ4NQ.js → 6ZTPC2AD.js} +2 -2
- package/dist/cdn/{PQSADOC2.js → 73CR5AIY.js} +1 -1
- package/dist/cdn/{PVKE2MHY.js → 7HHSXMTB.js} +2 -2
- package/dist/cdn/{HYBIME5J.js → 7JN3ZO2O.js} +2 -2
- package/dist/cdn/{6EIFPKPN.js → 7QT6TUSX.js} +2 -2
- package/dist/cdn/{K6Z5CLAM.js → 7SY4BNZF.js} +2 -2
- package/dist/cdn/{V4E754SB.js → 7THRNZ6Y.js} +2 -2
- package/dist/cdn/{SRS75ZAP.js → A3HVVZZR.js} +2 -2
- package/dist/cdn/{W4HDHPV7.js → AD6UHC7J.js} +2 -2
- package/dist/cdn/{XBSX7KWN.js → ADRDBJX6.js} +2 -2
- package/dist/cdn/{7IMMJJ6B.js → AN4GD2UL.js} +2 -2
- package/dist/cdn/{RE6KHO2G.js → AOMTVPC5.js} +1 -1
- package/dist/cdn/AU4O3QF4.js +4 -0
- package/dist/cdn/{PPY2GFZP.js → AVCMWLAH.js} +2 -2
- package/dist/cdn/{ROGY7HJF.js → AY2FH2GF.js} +2 -2
- package/dist/cdn/{3X73NON6.js → B3ADQSMW.js} +2 -2
- package/dist/cdn/{OGRQYHMZ.js → B6ZAOB5U.js} +1 -1
- package/dist/cdn/{5WXE4RGK.js → BHUG747H.js} +2 -2
- package/dist/cdn/{YLZJVYFT.js → C4MOVLRT.js} +2 -2
- package/dist/cdn/{R7A5TPEF.js → C5VGNPT6.js} +2 -2
- package/dist/cdn/{5QGY7MH2.js → C7QRIJ6W.js} +2 -2
- package/dist/cdn/{OSS6OKA6.js → CLR2LXB5.js} +2 -2
- package/dist/cdn/{332TKXGO.js → CR2BYYIT.js} +2 -2
- package/dist/cdn/{6IYZKPVI.js → CYLND7JO.js} +2 -2
- package/dist/cdn/{U4BTQL72.js → D445FQHC.js} +2 -2
- package/dist/cdn/DQOYWXY2.js +4 -0
- package/dist/cdn/{4QUYVVLK.js → DSGVKJCL.js} +2 -2
- package/dist/cdn/{6O25OFWE.js → EIHL74CT.js} +2 -2
- package/dist/cdn/{JHR464ES.js → EJ6UTNLN.js} +2 -2
- package/dist/cdn/{3W5CEABB.js → ENPNRIM6.js} +2 -2
- package/dist/cdn/{C5IWC2EH.js → EXZHG3MA.js} +2 -2
- package/dist/cdn/{4MXASSTU.js → EZWM5PA5.js} +2 -2
- package/dist/cdn/{ZARJZ5D3.js → F3JW62WC.js} +2 -2
- package/dist/cdn/{Z73AH5SE.js → FTC7ZZVY.js} +2 -2
- package/dist/cdn/{KIZYQ7TU.js → G2TCB4OS.js} +2 -2
- package/dist/cdn/{B6QALHMT.js → G622KPCC.js} +2 -2
- package/dist/cdn/{5V4YEUOK.js → GQAX3OP3.js} +2 -2
- package/dist/cdn/{5J5WEVND.js → H7VU7EN4.js} +2 -2
- package/dist/cdn/{5LBMEMFD.js → HDR5ABRS.js} +2 -2
- package/dist/cdn/{5GTIQQZ2.js → HQLECYIY.js} +2 -2
- package/dist/cdn/{MRPGQWLH.js → I7R57ZVU.js} +2 -2
- package/dist/cdn/{2YN4EEAH.js → IB67ICLL.js} +2 -2
- package/dist/cdn/IJMSCYES.js +4 -0
- package/dist/cdn/{R7VGQBB2.js → IUOURA2D.js} +2 -2
- package/dist/cdn/{MYQYAUTV.js → J3LJLY35.js} +2 -2
- package/dist/cdn/{KD6RY7OT.js → JB6PDD4G.js} +2 -2
- package/dist/cdn/{5DQP4WI4.js → JPGTO5Y4.js} +2 -2
- package/dist/cdn/{LBFCSKBR.js → JQSNJL7H.js} +2 -2
- package/dist/cdn/{HVTIE6N7.js → JTKQZUXS.js} +2 -2
- package/dist/cdn/{67VNMMPB.js → K6AOLBKT.js} +2 -2
- package/dist/cdn/{4TF3PON7.js → KM6R6XVP.js} +2 -2
- package/dist/cdn/{CFAWS2PJ.js → LEQV5CEL.js} +2 -2
- package/dist/cdn/{22YX3GRL.js → LSCLBICP.js} +2 -2
- package/dist/cdn/{CBMVOGY3.js → MM4RF6CW.js} +2 -2
- package/dist/cdn/{TIIRBPYX.js → MOK2OFDG.js} +2 -2
- package/dist/cdn/{MCZTIWUR.js → MXVVW2BF.js} +2 -2
- package/dist/cdn/{2X3RTWGN.js → N3WMZE7Q.js} +2 -2
- package/dist/cdn/{BJXLW3YE.js → N74PONZB.js} +2 -2
- package/dist/cdn/{4ZIV53M5.js → NIL4WZXC.js} +2 -2
- package/dist/cdn/{6I3TMMUE.js → NQWJJOLE.js} +2 -2
- package/dist/cdn/{NMNIJINE.js → NUSV5SL6.js} +2 -2
- package/dist/cdn/{QSZ4TAA2.js → O2F3HAAA.js} +2 -2
- package/dist/cdn/{BASQ3TIQ.js → ONLROA4T.js} +2 -2
- package/dist/cdn/P33WUDIH.js +4 -0
- package/dist/cdn/{GWRVZ7OQ.js → PIGOSY7X.js} +2 -2
- package/dist/cdn/{3CN64Z3G.js → QCPCVTCL.js} +2 -2
- package/dist/cdn/{2XY2SAQ5.js → QNU4H6AY.js} +2 -2
- package/dist/cdn/{J7TEIQCC.js → QWZMNHNA.js} +2 -2
- package/dist/cdn/{6DL5ZDRY.js → RD6JXEWJ.js} +1 -1
- package/dist/cdn/{ERIDHZ3A.js → RI4E3Z4X.js} +2 -2
- package/dist/cdn/{WIUVV3KF.js → RLVAWXK2.js} +2 -2
- package/dist/cdn/RXBU73Y2.js +4 -0
- package/dist/cdn/{4GZOXS62.js → S6TP4762.js} +2 -2
- package/dist/cdn/{7ZRBN3HX.js → SEM2RYX7.js} +2 -2
- package/dist/cdn/{SEMJXWW3.js → SLGBWB2N.js} +1 -1
- package/dist/cdn/{QUQU4YRW.js → SNGRUQF2.js} +2 -2
- package/dist/cdn/{CDOJOY4F.js → SOHFPMKL.js} +2 -2
- package/dist/cdn/{FKVC26CR.js → TH44YFFU.js} +2 -2
- package/dist/cdn/{B2THQCUW.js → TKR66ZEQ.js} +2 -2
- package/dist/cdn/{IANHGUYH.js → TONLBXIE.js} +2 -2
- package/dist/cdn/{THTPNCHE.js → UKVZ3IAT.js} +2 -2
- package/dist/cdn/{QXDHKXHM.js → ULPYKXGU.js} +2 -2
- package/dist/cdn/{BYDSF6IE.js → V4SRPDKE.js} +2 -2
- package/dist/cdn/{TDVOZGKQ.js → VEW65GSM.js} +2 -2
- package/dist/cdn/{NCWTJNR2.js → VFSE5BFV.js} +2 -2
- package/dist/cdn/{72ZPPZ2C.js → VSOZPA2E.js} +2 -2
- package/dist/cdn/{IMO3JDOU.js → VUOLGAK5.js} +2 -2
- package/dist/cdn/{OLKV3PDL.js → VZBSC2JI.js} +2 -2
- package/dist/cdn/{RL6DVVDC.js → WCMHAGQH.js} +2 -2
- package/dist/cdn/{HKWH7XJW.js → WDROAAYM.js} +1 -1
- package/dist/cdn/{4KI4V2YA.js → XQ7ULC3Q.js} +2 -2
- package/dist/cdn/{37FH7NCJ.js → XUXLUGXH.js} +2 -2
- package/dist/cdn/{SQGE7QCT.js → XWHUXFOV.js} +2 -2
- package/dist/cdn/{G7P4NJ52.js → XYBCFVTO.js} +2 -2
- package/dist/cdn/{NAO26MHQ.js → XYJEWKX4.js} +2 -2
- package/dist/cdn/{RJJZNSLS.js → XYTN56HL.js} +2 -2
- package/dist/cdn/{RJSH2KXF.js → Y27VKCYD.js} +1 -1
- package/dist/cdn/{YWHLRJRM.js → Y43BZBUQ.js} +2 -2
- package/dist/cdn/{SGCWEFZD.js → Y7AHROVQ.js} +2 -2
- package/dist/cdn/{4MSXECTG.js → YA45POLO.js} +2 -2
- package/dist/cdn/{47Q6B6AD.js → YCRKGVJ5.js} +2 -2
- package/dist/cdn/{F4NMNVYT.js → YPTCFZRU.js} +2 -2
- package/dist/cdn/{RLWWHPUY.js → YRXS5GWE.js} +1 -1
- package/dist/cdn/YTYQG7LF.js +4 -0
- package/dist/cdn/{5XQPAKHU.js → YYKVWZT7.js} +2 -2
- package/dist/cdn/{JIL27VXJ.js → ZWMOZNVR.js} +2 -2
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/area-measurement-3d/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/directline-measurement-3d/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/distance-measurement-2d/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/grid-controls/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/layer-list/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/line-of-sight/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/print/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/slice/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/time-zone-label/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/version-management/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/weather/t9n/messages.et.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +3 -4
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +17 -16
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -4
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -3
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -3
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -4
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -0
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -4
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +10 -2
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +15 -14
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -5
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +3 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +3 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +4 -7
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +14 -2
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -5
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +3 -4
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -3
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -4
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +3 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +60 -13
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +3 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +2 -2
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -4
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +3 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +68 -28
- package/dist/components/arcgis-scene/customElement.js +2 -2
- package/dist/components/arcgis-search/customElement.d.ts +1 -3
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +72 -9
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -6
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +10 -6
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +3 -6
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -3
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -4
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -4
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -3
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +4 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -4
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +2 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -5
- package/dist/components/arcgis-version-management/customElement.js +48 -50
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +19 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +45 -45
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -5
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +37 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +256 -257
- package/dist/docs/docs.json +185 -189
- package/dist/docs/vscode.html-custom-data.json +83 -85
- package/dist/docs/web-types.json +185 -184
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +3 -3
- package/dist/cdn/2ZHXCW7L.js +0 -4
- package/dist/cdn/F65QBMQP.js +0 -4
- package/dist/cdn/GBFJA35L.js +0 -4
- package/dist/cdn/LH27CRJJ.js +0 -4
- package/dist/cdn/OLHML6L5.js +0 -4
- package/dist/cdn/TAQ5QANG.js +0 -4
- package/dist/cdn/W7FB4G3S.js +0 -4
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/map-components",
|
|
4
|
-
"version": "4.33.0-next.
|
|
4
|
+
"version": "4.33.0-next.166",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "icon",
|
|
24
|
-
"description": "Icon which represents the
|
|
24
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
25
25
|
"default": "\"measure-area\"",
|
|
26
26
|
"value": {
|
|
27
27
|
"type": "string"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"name": "state",
|
|
63
|
-
"description": "The
|
|
63
|
+
"description": "The current state of the component.",
|
|
64
64
|
"default": "\"disabled\"",
|
|
65
65
|
"value": {
|
|
66
66
|
"type": [
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"name": "icon",
|
|
120
|
-
"description": "Icon which represents the
|
|
120
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
121
121
|
"type": "string"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"name": "state",
|
|
144
|
-
"description": "The
|
|
144
|
+
"description": "The current state of the component.",
|
|
145
145
|
"type": "\"disabled\" | \"measured\" | \"measuring\" | \"ready\""
|
|
146
146
|
},
|
|
147
147
|
{
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"name": "arcgis-area-measurement-3d",
|
|
174
|
-
"description": "The Area Measurement 3D component
|
|
174
|
+
"description": "The Area Measurement 3D component can be added to a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)\ncomponent to calculate and display area and perimeter of polygons.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)\n\nHow the area and perimeter are computed depends on the scene's spatial reference and the length of the measured perimeter.\n\nIn **geographic coordinate systems** (GCS) and in **Web Mercator**:\n- If the measurement's perimeter is below 100 km, they are computed in a Euclidean manner,\n in an [ECEF](https://en.wikipedia.org/wiki/ECEF) coordinate system (or equivalent on other planets).\n- If the perimeter is above 100 km, they are computed geodetically, and the visualization takes\n the curvature of the planet into consideration.\n\nIn **projected coordinate systems** (PCS), apart from Web Mercator, the area and perimeter\nare always calculated in a Euclidean manner (in their respective PCS).\n\nThe area may be visualized and calculated in two ways:\n1. If all the vertices are mostly coplanar (lying on the same plane),\n the measurement polygon is formed on that plane, and area and perimeter are calculated from its geometry.\n2. If the vertices don't form a planar surface, the measurement polygon\n is projected to a horizontal plane, and area and perimeter are calculated from its geometry.\n\n\n\nWhen the component is active, a horizontal \"laser\" line is drawn which indicates the height at the current mouse position.\nThis line can help in analyzing the heights of objects relative to each other and the terrain.\n\n**Things to consider**\n\n* Area Measurement 3D is designed to work in the Scene component. For measurements in the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)\ncomponent, use [Area Measurement 2D](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-2d/).\n* Snapping is enabled by default. Holding the `CTRL` key disables it.\n* Layer types currently supported for snapping are:\n[FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),\n[GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html) (except Mesh geometries),\n[GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),\n[WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html),\n[CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),\n[3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),\nand [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).\n\n**See also**\n\n- [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html)\n- [Sample - Measurement in 3D](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)\n- [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clears the current measurement.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Starts a new measurement.",
|
|
175
175
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/",
|
|
176
176
|
"attributes": [
|
|
177
177
|
{
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"properties": [
|
|
275
275
|
{
|
|
276
276
|
"name": "analysis",
|
|
277
|
-
"description": "The [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html)\ncreated or modified by the component.\n\
|
|
277
|
+
"description": "The [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html)\ncreated or modified by the component.\n\nWhen connecting the Area Measurement 3D component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)\ncomponent, it automatically creates an empty analysis and adds it to the Scene's\n[analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.\nWhenever the component is destroyed, the analysis is automatically removed from the collection.\n\nAlternatively, a programmatically created analysis can be provided to the component.\nThen, the application itself needs to add it to and later remove it from the Scene's analyses collection.\n\n```js\n// Create the analysis.\nconst areaMeasurementAnalysis = new AreaMeasurementAnalysis({\n geometry: new Polygon({\n spatialReference: { latestWkid: 3857, wkid: 102100 },\n rings: [\n [\n [-13624861.22274897, 4550346.5519295, 63.378210234455764],\n [-13624935.305160372, 4550273.144585712, 63.37829629518092],\n [-13624995.61798748, 4550334.030096778, 63.37819860037416],\n [-13624921.53589075, 4550407.42357004, 63.3783810287714],\n [-13624861.22274897, 4550346.5519295, 63.378210234455764]\n ]\n ]\n })\n});\n// Get the Scene and measurement component and wait until they are ready.\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\nconst areaMeasurement3d = document.querySelector(\"arcgis-area-measurement-3d\");\nawait areaMeasurement3d.componentOnReady();\n// Add the analysis to the Scene component.\nviewElement.analyses.add(areaMeasurementAnalysis);\n// Connect the analysis to the measurement component:\nareaMeasurement3d.analysis = areaMeasurementAnalysis;\n```",
|
|
278
278
|
"type": "AreaMeasurementAnalysis"
|
|
279
279
|
},
|
|
280
280
|
{
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
315
|
"name": "unitOptions",
|
|
316
|
-
"description": "List of available units and unit systems (imperial, metric)
|
|
316
|
+
"description": "List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.\nBy default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.\nPossible [unit](#unit) values can only be a subset of this list.",
|
|
317
317
|
"type": "Array<\"square-millimeters\" | \"square-centimeters\" | \"square-decimeters\" | \"square-meters\" | \"square-kilometers\" | \"square-inches\" | \"square-feet\" | \"square-yards\" | \"square-miles\" | \"square-nautical-miles\" | \"square-us-feet\" | \"acres\" | \"ares\" | \"hectares\" | \"imperial\" | \"metric\">"
|
|
318
318
|
}
|
|
319
319
|
],
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
416
|
"name": "icon",
|
|
417
|
-
"description": "Icon which represents the
|
|
417
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
418
418
|
"default": "\"attachment\"",
|
|
419
419
|
"value": {
|
|
420
420
|
"type": "string"
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
455
|
"name": "state",
|
|
456
|
-
"description": "The current state of the
|
|
456
|
+
"description": "The current state of the component.",
|
|
457
457
|
"default": "\"ready\"",
|
|
458
458
|
"value": {
|
|
459
459
|
"type": [
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
534
|
"name": "icon",
|
|
535
|
-
"description": "Icon which represents the
|
|
535
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
536
536
|
"type": "string"
|
|
537
537
|
},
|
|
538
538
|
{
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
},
|
|
552
552
|
{
|
|
553
553
|
"name": "state",
|
|
554
|
-
"description": "The current state of the
|
|
554
|
+
"description": "The current state of the component.",
|
|
555
555
|
"type": "\"disabled\" | \"loading\" | \"ready\""
|
|
556
556
|
},
|
|
557
557
|
{
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
661
|
"name": "state",
|
|
662
|
-
"description": "The
|
|
662
|
+
"description": "The current state of the component.",
|
|
663
663
|
"default": "\"disabled\"",
|
|
664
664
|
"value": {
|
|
665
665
|
"type": [
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
738
|
"name": "state",
|
|
739
|
-
"description": "The
|
|
739
|
+
"description": "The current state of the component.",
|
|
740
740
|
"type": "\"disabled\" | \"loading\" | \"ready\" | \"unsupported\""
|
|
741
741
|
}
|
|
742
742
|
],
|
|
@@ -867,7 +867,7 @@
|
|
|
867
867
|
},
|
|
868
868
|
{
|
|
869
869
|
"name": "icon",
|
|
870
|
-
"description": "Icon which represents the
|
|
870
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
871
871
|
"default": "\"layers\"",
|
|
872
872
|
"value": {
|
|
873
873
|
"type": "string"
|
|
@@ -977,7 +977,7 @@
|
|
|
977
977
|
},
|
|
978
978
|
{
|
|
979
979
|
"name": "state",
|
|
980
|
-
"description": "The
|
|
980
|
+
"description": "The current state of the component.",
|
|
981
981
|
"default": "\"disabled\"",
|
|
982
982
|
"value": {
|
|
983
983
|
"type": [
|
|
@@ -1115,7 +1115,7 @@
|
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
1117
1117
|
"name": "icon",
|
|
1118
|
-
"description": "Icon which represents the
|
|
1118
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
1119
1119
|
"type": "string"
|
|
1120
1120
|
},
|
|
1121
1121
|
{
|
|
@@ -1193,7 +1193,7 @@
|
|
|
1193
1193
|
},
|
|
1194
1194
|
{
|
|
1195
1195
|
"name": "state",
|
|
1196
|
-
"description": "The
|
|
1196
|
+
"description": "The current state of the component.",
|
|
1197
1197
|
"type": "\"disabled\" | \"loading\" | \"ready\""
|
|
1198
1198
|
},
|
|
1199
1199
|
{
|
|
@@ -1295,7 +1295,7 @@
|
|
|
1295
1295
|
},
|
|
1296
1296
|
{
|
|
1297
1297
|
"name": "state",
|
|
1298
|
-
"description": "The
|
|
1298
|
+
"description": "The current state of the component.",
|
|
1299
1299
|
"default": "\"disabled\"",
|
|
1300
1300
|
"value": {
|
|
1301
1301
|
"type": [
|
|
@@ -1367,7 +1367,7 @@
|
|
|
1367
1367
|
},
|
|
1368
1368
|
{
|
|
1369
1369
|
"name": "state",
|
|
1370
|
-
"description": "The
|
|
1370
|
+
"description": "The current state of the component.",
|
|
1371
1371
|
"type": "\"disabled\" | \"incompatible-next-basemap\" | \"loading\" | \"ready\""
|
|
1372
1372
|
}
|
|
1373
1373
|
],
|
|
@@ -1459,7 +1459,7 @@
|
|
|
1459
1459
|
},
|
|
1460
1460
|
{
|
|
1461
1461
|
"name": "icon",
|
|
1462
|
-
"description": "Icon which represents the
|
|
1462
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
1463
1463
|
"default": "\"bookmark\"",
|
|
1464
1464
|
"value": {
|
|
1465
1465
|
"type": "string"
|
|
@@ -1540,7 +1540,7 @@
|
|
|
1540
1540
|
},
|
|
1541
1541
|
{
|
|
1542
1542
|
"name": "state",
|
|
1543
|
-
"description": "The
|
|
1543
|
+
"description": "The current state of the component.",
|
|
1544
1544
|
"default": "\"ready\"",
|
|
1545
1545
|
"value": {
|
|
1546
1546
|
"type": [
|
|
@@ -1641,7 +1641,7 @@
|
|
|
1641
1641
|
},
|
|
1642
1642
|
{
|
|
1643
1643
|
"name": "icon",
|
|
1644
|
-
"description": "Icon which represents the
|
|
1644
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
1645
1645
|
"type": "string"
|
|
1646
1646
|
},
|
|
1647
1647
|
{
|
|
@@ -1684,7 +1684,7 @@
|
|
|
1684
1684
|
},
|
|
1685
1685
|
{
|
|
1686
1686
|
"name": "state",
|
|
1687
|
-
"description": "The
|
|
1687
|
+
"description": "The current state of the component.",
|
|
1688
1688
|
"type": "\"loading\" | \"ready\""
|
|
1689
1689
|
}
|
|
1690
1690
|
],
|
|
@@ -1858,7 +1858,7 @@
|
|
|
1858
1858
|
},
|
|
1859
1859
|
{
|
|
1860
1860
|
"name": "layers",
|
|
1861
|
-
"description": "A [collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html)\nof layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html)\nthat are added to the componen for exploration.",
|
|
1861
|
+
"description": "A [collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html)\nof layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html)\nthat are added to the componen for exploration.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BuildingExplorer.html#layers)",
|
|
1862
1862
|
"type": "Collection<BuildingSceneLayer>"
|
|
1863
1863
|
},
|
|
1864
1864
|
{
|
|
@@ -1969,7 +1969,7 @@
|
|
|
1969
1969
|
},
|
|
1970
1970
|
{
|
|
1971
1971
|
"name": "icon",
|
|
1972
|
-
"description": "Icon which represents the
|
|
1972
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
1973
1973
|
"default": "\"catalog-dataset\"",
|
|
1974
1974
|
"value": {
|
|
1975
1975
|
"type": "string"
|
|
@@ -2071,7 +2071,7 @@
|
|
|
2071
2071
|
},
|
|
2072
2072
|
{
|
|
2073
2073
|
"name": "state",
|
|
2074
|
-
"description": "The
|
|
2074
|
+
"description": "The current state of the component.",
|
|
2075
2075
|
"default": "\"disabled\"",
|
|
2076
2076
|
"value": {
|
|
2077
2077
|
"type": [
|
|
@@ -2172,7 +2172,7 @@
|
|
|
2172
2172
|
},
|
|
2173
2173
|
{
|
|
2174
2174
|
"name": "icon",
|
|
2175
|
-
"description": "Icon which represents the
|
|
2175
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
2176
2176
|
"type": "string"
|
|
2177
2177
|
},
|
|
2178
2178
|
{
|
|
@@ -2235,7 +2235,7 @@
|
|
|
2235
2235
|
},
|
|
2236
2236
|
{
|
|
2237
2237
|
"name": "state",
|
|
2238
|
-
"description": "The
|
|
2238
|
+
"description": "The current state of the component.",
|
|
2239
2239
|
"type": "\"disabled\" | \"loading\" | \"ready\""
|
|
2240
2240
|
},
|
|
2241
2241
|
{
|
|
@@ -2321,7 +2321,7 @@
|
|
|
2321
2321
|
},
|
|
2322
2322
|
{
|
|
2323
2323
|
"name": "state",
|
|
2324
|
-
"description": "The
|
|
2324
|
+
"description": "The current state of the component.",
|
|
2325
2325
|
"default": "\"disabled\"",
|
|
2326
2326
|
"value": {
|
|
2327
2327
|
"type": [
|
|
@@ -2387,7 +2387,7 @@
|
|
|
2387
2387
|
},
|
|
2388
2388
|
{
|
|
2389
2389
|
"name": "state",
|
|
2390
|
-
"description": "The
|
|
2390
|
+
"description": "The current state of the component.",
|
|
2391
2391
|
"type": "\"compass\" | \"disabled\" | \"rotation\""
|
|
2392
2392
|
}
|
|
2393
2393
|
],
|
|
@@ -2456,7 +2456,7 @@
|
|
|
2456
2456
|
},
|
|
2457
2457
|
{
|
|
2458
2458
|
"name": "icon",
|
|
2459
|
-
"description": "Icon which represents the
|
|
2459
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
2460
2460
|
"default": "\"coordinate-system\"",
|
|
2461
2461
|
"value": {
|
|
2462
2462
|
"type": "string"
|
|
@@ -2526,7 +2526,7 @@
|
|
|
2526
2526
|
},
|
|
2527
2527
|
{
|
|
2528
2528
|
"name": "state",
|
|
2529
|
-
"description": "The
|
|
2529
|
+
"description": "The current state of the component.",
|
|
2530
2530
|
"default": "\"disabled\"",
|
|
2531
2531
|
"value": {
|
|
2532
2532
|
"type": [
|
|
@@ -2618,7 +2618,7 @@
|
|
|
2618
2618
|
},
|
|
2619
2619
|
{
|
|
2620
2620
|
"name": "icon",
|
|
2621
|
-
"description": "Icon which represents the
|
|
2621
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
2622
2622
|
"type": "string"
|
|
2623
2623
|
},
|
|
2624
2624
|
{
|
|
@@ -2657,7 +2657,7 @@
|
|
|
2657
2657
|
},
|
|
2658
2658
|
{
|
|
2659
2659
|
"name": "state",
|
|
2660
|
-
"description": "The
|
|
2660
|
+
"description": "The current state of the component.",
|
|
2661
2661
|
"type": "\"disabled\" | \"loading\" | \"ready\""
|
|
2662
2662
|
},
|
|
2663
2663
|
{
|
|
@@ -2687,7 +2687,7 @@
|
|
|
2687
2687
|
},
|
|
2688
2688
|
{
|
|
2689
2689
|
"name": "arcgis-daylight",
|
|
2690
|
-
"description": "The Daylight component can be used to manipulate the lighting conditions of a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\n**Known limitations**\n\nDaylight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n--\n\n### Events\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisUserDateTimeChange** - Fires when the user changes the date or time in the component by interacting with the slider, the date picker, the\nseason selector or the play buttons.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
|
|
2690
|
+
"description": "The Daylight component can be used to manipulate the lighting conditions of a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\n**Known limitations**\n\nDaylight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [Environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment)\n- [Sample - Daylight component](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)\n--\n\n### Events\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisUserDateTimeChange** - Fires when the user changes the date or time in the component by interacting with the slider, the date picker, the\nseason selector or the play buttons.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
|
|
2691
2691
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/",
|
|
2692
2692
|
"attributes": [
|
|
2693
2693
|
{
|
|
@@ -2712,7 +2712,7 @@
|
|
|
2712
2712
|
},
|
|
2713
2713
|
{
|
|
2714
2714
|
"name": "date-or-season",
|
|
2715
|
-
"description": "Controls whether the component displays a date or a season picker.",
|
|
2715
|
+
"description": "Controls whether the component displays a date or a season picker.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html#dateOrSeason)",
|
|
2716
2716
|
"default": "\"date\"",
|
|
2717
2717
|
"value": {
|
|
2718
2718
|
"type": [
|
|
@@ -2828,7 +2828,7 @@
|
|
|
2828
2828
|
},
|
|
2829
2829
|
{
|
|
2830
2830
|
"name": "time-slider-steps",
|
|
2831
|
-
"description": "Sets steps, or intervals, on the time slider to restrict the times
|
|
2831
|
+
"description": "Sets steps, or intervals, on the time slider to restrict the times of the day that can be selected when dragging the thumb.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html#timeSliderSteps)",
|
|
2832
2832
|
"default": "5",
|
|
2833
2833
|
"value": {
|
|
2834
2834
|
"type": "number"
|
|
@@ -2869,7 +2869,7 @@
|
|
|
2869
2869
|
},
|
|
2870
2870
|
{
|
|
2871
2871
|
"name": "dateOrSeason",
|
|
2872
|
-
"description": "Controls whether the component displays a date or a season picker.",
|
|
2872
|
+
"description": "Controls whether the component displays a date or a season picker.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html#dateOrSeason)",
|
|
2873
2873
|
"type": "\"date\" | \"season\""
|
|
2874
2874
|
},
|
|
2875
2875
|
{
|
|
@@ -2932,7 +2932,7 @@
|
|
|
2932
2932
|
},
|
|
2933
2933
|
{
|
|
2934
2934
|
"name": "timeSliderSteps",
|
|
2935
|
-
"description": "Sets steps, or intervals, on the time slider to restrict the times
|
|
2935
|
+
"description": "Sets steps, or intervals, on the time slider to restrict the times of the day that can be selected when dragging the thumb.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html#timeSliderSteps)",
|
|
2936
2936
|
"type": "Array<number> | number"
|
|
2937
2937
|
},
|
|
2938
2938
|
{
|
|
@@ -3041,7 +3041,7 @@
|
|
|
3041
3041
|
},
|
|
3042
3042
|
{
|
|
3043
3043
|
"name": "state",
|
|
3044
|
-
"description": "The state of the
|
|
3044
|
+
"description": "The current state of the component.",
|
|
3045
3045
|
"value": {
|
|
3046
3046
|
"type": [
|
|
3047
3047
|
"\"disabled\"",
|
|
@@ -3128,7 +3128,7 @@
|
|
|
3128
3128
|
},
|
|
3129
3129
|
{
|
|
3130
3130
|
"name": "state",
|
|
3131
|
-
"description": "The state of the
|
|
3131
|
+
"description": "The current state of the component.",
|
|
3132
3132
|
"type": "\"disabled\" | \"moving\" | \"ready\""
|
|
3133
3133
|
},
|
|
3134
3134
|
{
|
|
@@ -3202,7 +3202,7 @@
|
|
|
3202
3202
|
},
|
|
3203
3203
|
{
|
|
3204
3204
|
"name": "icon",
|
|
3205
|
-
"description": "Icon which represents the
|
|
3205
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
3206
3206
|
"default": "\"right\"",
|
|
3207
3207
|
"value": {
|
|
3208
3208
|
"type": "string"
|
|
@@ -3255,7 +3255,7 @@
|
|
|
3255
3255
|
},
|
|
3256
3256
|
{
|
|
3257
3257
|
"name": "state",
|
|
3258
|
-
"description": "The current state of the
|
|
3258
|
+
"description": "The current state of the component.",
|
|
3259
3259
|
"default": "\"disabled\"",
|
|
3260
3260
|
"value": {
|
|
3261
3261
|
"type": [
|
|
@@ -3345,7 +3345,7 @@
|
|
|
3345
3345
|
},
|
|
3346
3346
|
{
|
|
3347
3347
|
"name": "icon",
|
|
3348
|
-
"description": "Icon which represents the
|
|
3348
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
3349
3349
|
"type": "string"
|
|
3350
3350
|
},
|
|
3351
3351
|
{
|
|
@@ -3388,7 +3388,7 @@
|
|
|
3388
3388
|
},
|
|
3389
3389
|
{
|
|
3390
3390
|
"name": "state",
|
|
3391
|
-
"description": "The current state of the
|
|
3391
|
+
"description": "The current state of the component.",
|
|
3392
3392
|
"type": "\"disabled\" | \"error\" | \"initializing\" | \"ready\" | \"routing\" | \"unauthenticated\""
|
|
3393
3393
|
},
|
|
3394
3394
|
{
|
|
@@ -3417,7 +3417,7 @@
|
|
|
3417
3417
|
},
|
|
3418
3418
|
{
|
|
3419
3419
|
"name": "arcgis-direct-line-measurement-3d",
|
|
3420
|
-
"description": "The Direct Line Measurement 3D component
|
|
3420
|
+
"description": "The Direct Line Measurement 3D component can be added to a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)\ncomponent to calculate and display vertical, horizontal, and direct distances between two points.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)\n\nHow distances are computed depends on the scene's spatial reference.\n\nIn **geographic coordinate systems** (GCS) and in **Web Mercator**:\n- Direct distance is computed in a Euclidean manner, in an [ECEF](https://en.wikipedia.org/wiki/ECEF) coordinate system (or equivalent on other planets);\n- Horizontal distance is computed geodetically, taking into consideration the curvature of the planet;\n- Vertical distance is computed as an elevation difference.\n\nIn **projected coordinate systems** (PCS), apart from Web Mercator, all three distances (direct, horizontal, and vertical)\n are computed in a Euclidean manner (in their respective PCS).\n\nDirect Line Measurement 3D component visualizes and labels the direct, horizontal, and vertical distances and displays the same values\nin the UI panel. When the distance between the points is greater than 100 kilometers,\nthe measurement visualization is simplified, and only the horizontal and vertical distances are calculated.\nThe direct distance option becomes unavailable.\n\n\n\nWhen the component is active, a horizontal \"laser\" line is drawn which indicates the height at the current mouse position.\nThis line can help in analyzing the heights of objects relative to each other and the terrain.\nA second laser line shows the intersection of the scene with the vertical plane that passes through the checkered line.\n\n**Things to consider**\n\n* Direct Line Measurement 3D is designed to work in the Scene component. For measurements in the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)\ncomponent, use [Distance Measurement 2D](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-distance-measurement-2d/).\n* Snapping is enabled by default. This can be temporarily disabled by holding the `CTRL` key.\n* Layer types currently supported for snapping are:\n[FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),\n[GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html) (except Mesh geometries),\n[GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),\n[WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html),\n[CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),\n[3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),\nand [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).\n\n**See also**\n\n- [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html)\n- [Sample - Measurement in 3D](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)\n- [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)\n- [Sample - Color theming for interactive tools](https://developers.arcgis.com/javascript/latest/sample-code/view-theme/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clears the current measurement.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Starts a new measurement.",
|
|
3421
3421
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/",
|
|
3422
3422
|
"attributes": [
|
|
3423
3423
|
{
|
|
@@ -3517,7 +3517,7 @@
|
|
|
3517
3517
|
"properties": [
|
|
3518
3518
|
{
|
|
3519
3519
|
"name": "analysis",
|
|
3520
|
-
"description": "The [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html)\ncreated or modified by the component.\n\
|
|
3520
|
+
"description": "The [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html)\ncreated or modified by the component.\n\nWhen connecting the Direct Line Measurement 3D component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)\ncomponent, it automatically creates an empty analysis and adds it to the Scene's\n[analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.\nWhenever the component is destroyed, the analysis is automatically removed from the collection.\n\nAlternatively, a programmatically created analysis can be provided to the component.\nThen, the application itself needs to add it to and later remove it from the Scene's analyses collection.\n\n```js\n// Create the analysis.\nconst directLineAnalysis = new DirectLineMeasurementAnalysis({\n startPoint: new Point({\n spatialReference: { latestWkid: 3857, wkid: 102100 },\n x: -13624995.61798748,\n y: 4550334.030096778,\n z: 63.378210234455764\n }),\n endPoint: new Point({\n spatialReference: { latestWkid: 3857, wkid: 102100 },\n x: -13624921.53589075,\n y: 4550407.42357004,\n z: 63.3783810287714\n }),\n});\n// Get the Scene and measurement component and wait until they are ready.\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\nconst directLineMeasurement3d = document.querySelector(\"arcgis-direct-line-measurement-3d\");\nawait directLineMeasurement3d.componentOnReady();\n// Add the analysis to the Scene component.\nviewElement.analyses.add(directLineAnalysis);\n// Connect the analysis to the measurement component:\ndirectLineMeasurement3d.analysis = directLineAnalysis;\n```",
|
|
3521
3521
|
"type": "DirectLineMeasurementAnalysis"
|
|
3522
3522
|
},
|
|
3523
3523
|
{
|
|
@@ -3556,7 +3556,7 @@
|
|
|
3556
3556
|
},
|
|
3557
3557
|
{
|
|
3558
3558
|
"name": "unitOptions",
|
|
3559
|
-
"description": "List of available units and unit systems (imperial, metric)
|
|
3559
|
+
"description": "List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.\nBy default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.\nPossible [unit](#unit) values can only be a subset of this list.",
|
|
3560
3560
|
"type": "Array<\"imperial\" | \"metric\" | \"millimeters\" | \"centimeters\" | \"decimeters\" | \"meters\" | \"kilometers\" | \"inches\" | \"feet\" | \"yards\" | \"miles\" | \"nautical-miles\" | \"us-feet\">"
|
|
3561
3561
|
}
|
|
3562
3562
|
],
|
|
@@ -3676,7 +3676,7 @@
|
|
|
3676
3676
|
"properties": [
|
|
3677
3677
|
{
|
|
3678
3678
|
"name": "analysis",
|
|
3679
|
-
"description": "The [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html)\ncreated or modified by the component.\n\
|
|
3679
|
+
"description": "The [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html)\ncreated or modified by the component.\n\nWhen connecting the Direct Line Measurement 3D component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)\ncomponent, it automatically creates an empty analysis and adds it to the Scene's\n[analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.\nWhenever the component is destroyed, the analysis is automatically removed from the collection.\n\nAlternatively, a programmatically created analysis can be provided to the component.\nThen, the application itself needs to add it to and later remove it from the Scene's analyses collection.\n\n```js\n// Create the analysis.\nconst directLineAnalysis = new DirectLineMeasurementAnalysis({\n startPoint: new Point({\n spatialReference: { latestWkid: 3857, wkid: 102100 },\n x: -13624995.61798748,\n y: 4550334.030096778,\n z: 63.378210234455764\n }),\n endPoint: new Point({\n spatialReference: { latestWkid: 3857, wkid: 102100 },\n x: -13624921.53589075,\n y: 4550407.42357004,\n z: 63.3783810287714\n }),\n});\n// Get the Scene and measurement component and wait until they are ready.\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\nconst directLineMeasurement3d = document.querySelector(\"arcgis-direct-line-measurement-3d\");\nawait directLineMeasurement3d.componentOnReady();\n// Add the analysis to the Scene component.\nviewElement.analyses.add(directLineAnalysis);\n// Connect the analysis to the measurement component:\ndirectLineMeasurement3d.analysis = directLineAnalysis;\n```",
|
|
3680
3680
|
"type": "DirectLineMeasurementAnalysis"
|
|
3681
3681
|
},
|
|
3682
3682
|
{
|
|
@@ -3715,7 +3715,7 @@
|
|
|
3715
3715
|
},
|
|
3716
3716
|
{
|
|
3717
3717
|
"name": "unitOptions",
|
|
3718
|
-
"description": "List of available units and unit systems (imperial, metric)
|
|
3718
|
+
"description": "List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.\nBy default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.\nPossible [unit](#unit) values can only be a subset of this list.",
|
|
3719
3719
|
"type": "Array<\"imperial\" | \"metric\" | \"millimeters\" | \"centimeters\" | \"decimeters\" | \"meters\" | \"kilometers\" | \"inches\" | \"feet\" | \"yards\" | \"miles\" | \"nautical-miles\" | \"us-feet\">"
|
|
3720
3720
|
}
|
|
3721
3721
|
],
|
|
@@ -3748,7 +3748,7 @@
|
|
|
3748
3748
|
},
|
|
3749
3749
|
{
|
|
3750
3750
|
"name": "icon",
|
|
3751
|
-
"description": "Icon which represents the
|
|
3751
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
3752
3752
|
"default": "\"measure-line\"",
|
|
3753
3753
|
"value": {
|
|
3754
3754
|
"type": "string"
|
|
@@ -3787,7 +3787,7 @@
|
|
|
3787
3787
|
},
|
|
3788
3788
|
{
|
|
3789
3789
|
"name": "state",
|
|
3790
|
-
"description": "The
|
|
3790
|
+
"description": "The current state of the component.",
|
|
3791
3791
|
"default": "\"disabled\"",
|
|
3792
3792
|
"value": {
|
|
3793
3793
|
"type": [
|
|
@@ -3841,7 +3841,7 @@
|
|
|
3841
3841
|
},
|
|
3842
3842
|
{
|
|
3843
3843
|
"name": "icon",
|
|
3844
|
-
"description": "Icon which represents the
|
|
3844
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
3845
3845
|
"type": "string"
|
|
3846
3846
|
},
|
|
3847
3847
|
{
|
|
@@ -3865,7 +3865,7 @@
|
|
|
3865
3865
|
},
|
|
3866
3866
|
{
|
|
3867
3867
|
"name": "state",
|
|
3868
|
-
"description": "The
|
|
3868
|
+
"description": "The current state of the component.",
|
|
3869
3869
|
"type": "\"disabled\" | \"measured\" | \"measuring\" | \"ready\""
|
|
3870
3870
|
},
|
|
3871
3871
|
{
|
|
@@ -3972,7 +3972,7 @@
|
|
|
3972
3972
|
},
|
|
3973
3973
|
{
|
|
3974
3974
|
"name": "icon",
|
|
3975
|
-
"description": "Icon which represents the
|
|
3975
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
3976
3976
|
"default": "\"pencil\"",
|
|
3977
3977
|
"value": {
|
|
3978
3978
|
"type": "string"
|
|
@@ -4018,7 +4018,7 @@
|
|
|
4018
4018
|
},
|
|
4019
4019
|
{
|
|
4020
4020
|
"name": "state",
|
|
4021
|
-
"description": "The
|
|
4021
|
+
"description": "The current state of the component.",
|
|
4022
4022
|
"value": {
|
|
4023
4023
|
"type": [
|
|
4024
4024
|
"\"add-association-create-association\"",
|
|
@@ -4035,7 +4035,6 @@
|
|
|
4035
4035
|
"\"editing-attributes\"",
|
|
4036
4036
|
"\"editing-existing-feature\"",
|
|
4037
4037
|
"\"editing-features\"",
|
|
4038
|
-
"\"editing-new-feature\"",
|
|
4039
4038
|
"\"ready\"",
|
|
4040
4039
|
"\"viewing-selection-list\""
|
|
4041
4040
|
]
|
|
@@ -4105,7 +4104,7 @@
|
|
|
4105
4104
|
},
|
|
4106
4105
|
{
|
|
4107
4106
|
"name": "icon",
|
|
4108
|
-
"description": "Icon which represents the
|
|
4107
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
4109
4108
|
"type": "string"
|
|
4110
4109
|
},
|
|
4111
4110
|
{
|
|
@@ -4143,8 +4142,8 @@
|
|
|
4143
4142
|
},
|
|
4144
4143
|
{
|
|
4145
4144
|
"name": "state",
|
|
4146
|
-
"description": "The
|
|
4147
|
-
"type": "\"add-association-create-association\" | \"add-association-select-feature\" | \"add-association-select-layer\" | \"adding-attachment\" | \"awaiting-feature-creation-info\" | \"awaiting-feature-to-create\" | \"awaiting-feature-to-update\" | \"awaiting-update-feature-candidate\" | \"creating-features\" | \"disabled\" | \"editing-attachment\" | \"editing-attributes\" | \"editing-existing-feature\" | \"editing-features\" | \"
|
|
4145
|
+
"description": "The current state of the component.",
|
|
4146
|
+
"type": "\"add-association-create-association\" | \"add-association-select-feature\" | \"add-association-select-layer\" | \"adding-attachment\" | \"awaiting-feature-creation-info\" | \"awaiting-feature-to-create\" | \"awaiting-feature-to-update\" | \"awaiting-update-feature-candidate\" | \"creating-features\" | \"disabled\" | \"editing-attachment\" | \"editing-attributes\" | \"editing-existing-feature\" | \"editing-features\" | \"ready\" | \"viewing-selection-list\""
|
|
4148
4147
|
},
|
|
4149
4148
|
{
|
|
4150
4149
|
"name": "supportingWidgetDefaults",
|
|
@@ -4173,7 +4172,7 @@
|
|
|
4173
4172
|
},
|
|
4174
4173
|
{
|
|
4175
4174
|
"name": "arcgis-elevation-profile",
|
|
4176
|
-
"description": "The Elevation Profile component is used to generate and display an elevation profile from an [input line graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input).\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void
|
|
4175
|
+
"description": "The Elevation Profile component is used to generate and display an elevation profile from an [input line graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input).\n\n**See also**\n\n- [Sample - Elevation Profile component](https://developers.arcgis.com/javascript/latest/sample-code/elevation-profile/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Switches to the \"creating\" state in which the user can draw a new line.\n- `stop(): Promise<void>` - Stops the creation operation.",
|
|
4177
4176
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-elevation-profile/",
|
|
4178
4177
|
"attributes": [
|
|
4179
4178
|
{
|
|
@@ -4412,7 +4411,7 @@
|
|
|
4412
4411
|
},
|
|
4413
4412
|
{
|
|
4414
4413
|
"name": "input",
|
|
4415
|
-
"description": "The input
|
|
4414
|
+
"description": "The input path along which elevation will be queried in order to generate an elevation profile.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input)",
|
|
4416
4415
|
"type": "Graphic"
|
|
4417
4416
|
},
|
|
4418
4417
|
{
|
|
@@ -4426,7 +4425,7 @@
|
|
|
4426
4425
|
},
|
|
4427
4426
|
{
|
|
4428
4427
|
"name": "profiles",
|
|
4429
|
-
"description": "Collection of elevation profile lines which are to be generated and displayed in the component's chart.",
|
|
4428
|
+
"description": "Collection of elevation profile lines which are to be generated and displayed in the component's chart.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#profiles)",
|
|
4430
4429
|
"type": "Collection<ElevationProfileLineGround | ElevationProfileLineInput | ElevationProfileLineQuery | ElevationProfileLineView>"
|
|
4431
4430
|
},
|
|
4432
4431
|
{
|
|
@@ -4845,7 +4844,7 @@
|
|
|
4845
4844
|
},
|
|
4846
4845
|
{
|
|
4847
4846
|
"name": "icon",
|
|
4848
|
-
"description": "Icon which represents the
|
|
4847
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
4849
4848
|
"default": "\"polygon\"",
|
|
4850
4849
|
"value": {
|
|
4851
4850
|
"type": "string"
|
|
@@ -4884,7 +4883,7 @@
|
|
|
4884
4883
|
},
|
|
4885
4884
|
{
|
|
4886
4885
|
"name": "state",
|
|
4887
|
-
"description": "The
|
|
4886
|
+
"description": "The current state of the component.",
|
|
4888
4887
|
"default": "\"disabled\"",
|
|
4889
4888
|
"value": {
|
|
4890
4889
|
"type": [
|
|
@@ -4978,7 +4977,7 @@
|
|
|
4978
4977
|
},
|
|
4979
4978
|
{
|
|
4980
4979
|
"name": "icon",
|
|
4981
|
-
"description": "Icon which represents the
|
|
4980
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
4982
4981
|
"type": "string"
|
|
4983
4982
|
},
|
|
4984
4983
|
{
|
|
@@ -5012,7 +5011,7 @@
|
|
|
5012
5011
|
},
|
|
5013
5012
|
{
|
|
5014
5013
|
"name": "state",
|
|
5015
|
-
"description": "The
|
|
5014
|
+
"description": "The current state of the component.",
|
|
5016
5015
|
"type": "\"disabled\" | \"error\" | \"loading\" | \"ready\""
|
|
5017
5016
|
},
|
|
5018
5017
|
{
|
|
@@ -5069,7 +5068,7 @@
|
|
|
5069
5068
|
},
|
|
5070
5069
|
{
|
|
5071
5070
|
"name": "icon",
|
|
5072
|
-
"description": "Icon
|
|
5071
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
5073
5072
|
"default": "\"form-field\"",
|
|
5074
5073
|
"value": {
|
|
5075
5074
|
"type": "string"
|
|
@@ -5108,7 +5107,7 @@
|
|
|
5108
5107
|
},
|
|
5109
5108
|
{
|
|
5110
5109
|
"name": "state",
|
|
5111
|
-
"description": "The
|
|
5110
|
+
"description": "The current state of the component.",
|
|
5112
5111
|
"default": "\"disabled\"",
|
|
5113
5112
|
"value": {
|
|
5114
5113
|
"type": [
|
|
@@ -5175,7 +5174,7 @@
|
|
|
5175
5174
|
},
|
|
5176
5175
|
{
|
|
5177
5176
|
"name": "icon",
|
|
5178
|
-
"description": "Icon
|
|
5177
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
5179
5178
|
"type": "string"
|
|
5180
5179
|
},
|
|
5181
5180
|
{
|
|
@@ -5199,7 +5198,7 @@
|
|
|
5199
5198
|
},
|
|
5200
5199
|
{
|
|
5201
5200
|
"name": "state",
|
|
5202
|
-
"description": "The
|
|
5201
|
+
"description": "The current state of the component.",
|
|
5203
5202
|
"type": "\"disabled\" | \"ready\""
|
|
5204
5203
|
},
|
|
5205
5204
|
{
|
|
@@ -5460,7 +5459,7 @@
|
|
|
5460
5459
|
},
|
|
5461
5460
|
{
|
|
5462
5461
|
"name": "icon",
|
|
5463
|
-
"description": "
|
|
5462
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
5464
5463
|
"default": "\"table\"",
|
|
5465
5464
|
"value": {
|
|
5466
5465
|
"type": "string"
|
|
@@ -5635,7 +5634,7 @@
|
|
|
5635
5634
|
},
|
|
5636
5635
|
{
|
|
5637
5636
|
"name": "state",
|
|
5638
|
-
"description": "The state of the
|
|
5637
|
+
"description": "The current state of the component.",
|
|
5639
5638
|
"default": "\"disabled\"",
|
|
5640
5639
|
"value": {
|
|
5641
5640
|
"type": [
|
|
@@ -5936,7 +5935,7 @@
|
|
|
5936
5935
|
},
|
|
5937
5936
|
{
|
|
5938
5937
|
"name": "icon",
|
|
5939
|
-
"description": "
|
|
5938
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
5940
5939
|
"type": "string"
|
|
5941
5940
|
},
|
|
5942
5941
|
{
|
|
@@ -6105,7 +6104,7 @@
|
|
|
6105
6104
|
},
|
|
6106
6105
|
{
|
|
6107
6106
|
"name": "state",
|
|
6108
|
-
"description": "The state of the
|
|
6107
|
+
"description": "The current state of the component.",
|
|
6109
6108
|
"type": "\"disabled\" | \"error\" | \"loaded\" | \"loading\" | \"ready\""
|
|
6110
6109
|
},
|
|
6111
6110
|
{
|
|
@@ -6265,7 +6264,7 @@
|
|
|
6265
6264
|
},
|
|
6266
6265
|
{
|
|
6267
6266
|
"name": "icon",
|
|
6268
|
-
"description": "Icon
|
|
6267
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
6269
6268
|
"default": "\"list-rectangle\"",
|
|
6270
6269
|
"value": {
|
|
6271
6270
|
"type": "string"
|
|
@@ -6314,7 +6313,7 @@
|
|
|
6314
6313
|
},
|
|
6315
6314
|
{
|
|
6316
6315
|
"name": "state",
|
|
6317
|
-
"description": "The
|
|
6316
|
+
"description": "The current state of the component.",
|
|
6318
6317
|
"default": "\"disabled\"",
|
|
6319
6318
|
"value": {
|
|
6320
6319
|
"type": [
|
|
@@ -6379,7 +6378,7 @@
|
|
|
6379
6378
|
},
|
|
6380
6379
|
{
|
|
6381
6380
|
"name": "icon",
|
|
6382
|
-
"description": "Icon
|
|
6381
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
6383
6382
|
"type": "string"
|
|
6384
6383
|
},
|
|
6385
6384
|
{
|
|
@@ -6408,7 +6407,7 @@
|
|
|
6408
6407
|
},
|
|
6409
6408
|
{
|
|
6410
6409
|
"name": "state",
|
|
6411
|
-
"description": "The
|
|
6410
|
+
"description": "The current state of the component.",
|
|
6412
6411
|
"type": "\"disabled\" | \"loading\" | \"ready\""
|
|
6413
6412
|
}
|
|
6414
6413
|
],
|
|
@@ -6562,7 +6561,7 @@
|
|
|
6562
6561
|
},
|
|
6563
6562
|
{
|
|
6564
6563
|
"name": "icon",
|
|
6565
|
-
"description": "Icon which represents the
|
|
6564
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
6566
6565
|
"default": "null",
|
|
6567
6566
|
"value": {
|
|
6568
6567
|
"type": "string"
|
|
@@ -6634,7 +6633,7 @@
|
|
|
6634
6633
|
},
|
|
6635
6634
|
{
|
|
6636
6635
|
"name": "state",
|
|
6637
|
-
"description": "The
|
|
6636
|
+
"description": "The current state of the component.",
|
|
6638
6637
|
"default": "\"disabled\"",
|
|
6639
6638
|
"value": {
|
|
6640
6639
|
"type": [
|
|
@@ -6782,7 +6781,7 @@
|
|
|
6782
6781
|
},
|
|
6783
6782
|
{
|
|
6784
6783
|
"name": "icon",
|
|
6785
|
-
"description": "Icon which represents the
|
|
6784
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
6786
6785
|
"type": "string"
|
|
6787
6786
|
},
|
|
6788
6787
|
{
|
|
@@ -6840,7 +6839,7 @@
|
|
|
6840
6839
|
},
|
|
6841
6840
|
{
|
|
6842
6841
|
"name": "state",
|
|
6843
|
-
"description": "The
|
|
6842
|
+
"description": "The current state of the component.",
|
|
6844
6843
|
"type": "\"disabled\" | \"ready\""
|
|
6845
6844
|
},
|
|
6846
6845
|
{
|
|
@@ -6903,7 +6902,7 @@
|
|
|
6903
6902
|
},
|
|
6904
6903
|
{
|
|
6905
6904
|
"name": "icon",
|
|
6906
|
-
"description": "Icon
|
|
6905
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
6907
6906
|
"default": "\"floor-plan\"",
|
|
6908
6907
|
"value": {
|
|
6909
6908
|
"type": "string"
|
|
@@ -6989,7 +6988,7 @@
|
|
|
6989
6988
|
},
|
|
6990
6989
|
{
|
|
6991
6990
|
"name": "icon",
|
|
6992
|
-
"description": "Icon
|
|
6991
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
6993
6992
|
"type": "string"
|
|
6994
6993
|
},
|
|
6995
6994
|
{
|
|
@@ -7602,7 +7601,7 @@
|
|
|
7602
7601
|
},
|
|
7603
7602
|
{
|
|
7604
7603
|
"name": "icon",
|
|
7605
|
-
"description": "Icon
|
|
7604
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
7606
7605
|
"default": "\"arrow-double-horizontal\"",
|
|
7607
7606
|
"value": {
|
|
7608
7607
|
"type": "string"
|
|
@@ -7702,7 +7701,7 @@
|
|
|
7702
7701
|
},
|
|
7703
7702
|
{
|
|
7704
7703
|
"name": "state",
|
|
7705
|
-
"description": "The state of the
|
|
7704
|
+
"description": "The current state of the component.",
|
|
7706
7705
|
"value": {
|
|
7707
7706
|
"type": [
|
|
7708
7707
|
"\"disabled\"",
|
|
@@ -7762,7 +7761,7 @@
|
|
|
7762
7761
|
},
|
|
7763
7762
|
{
|
|
7764
7763
|
"name": "icon",
|
|
7765
|
-
"description": "Icon
|
|
7764
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
7766
7765
|
"type": "string"
|
|
7767
7766
|
},
|
|
7768
7767
|
{
|
|
@@ -7821,7 +7820,7 @@
|
|
|
7821
7820
|
},
|
|
7822
7821
|
{
|
|
7823
7822
|
"name": "state",
|
|
7824
|
-
"description": "The state of the
|
|
7823
|
+
"description": "The current state of the component.",
|
|
7825
7824
|
"type": "\"disabled\" | \"ready\""
|
|
7826
7825
|
},
|
|
7827
7826
|
{
|
|
@@ -7898,7 +7897,7 @@
|
|
|
7898
7897
|
},
|
|
7899
7898
|
{
|
|
7900
7899
|
"name": "state",
|
|
7901
|
-
"description": "The current state of the
|
|
7900
|
+
"description": "The current state of the component.",
|
|
7902
7901
|
"default": "\"disabled\"",
|
|
7903
7902
|
"value": {
|
|
7904
7903
|
"type": [
|
|
@@ -7964,7 +7963,7 @@
|
|
|
7964
7963
|
},
|
|
7965
7964
|
{
|
|
7966
7965
|
"name": "state",
|
|
7967
|
-
"description": "The current state of the
|
|
7966
|
+
"description": "The current state of the component.",
|
|
7968
7967
|
"type": "\"disabled\" | \"going-home\" | \"ready\""
|
|
7969
7968
|
},
|
|
7970
7969
|
{
|
|
@@ -8076,7 +8075,7 @@
|
|
|
8076
8075
|
},
|
|
8077
8076
|
{
|
|
8078
8077
|
"name": "icon",
|
|
8079
|
-
"description": "Icon which represents the
|
|
8078
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
8080
8079
|
"default": "\"layers\"",
|
|
8081
8080
|
"value": {
|
|
8082
8081
|
"type": "string"
|
|
@@ -8186,7 +8185,7 @@
|
|
|
8186
8185
|
},
|
|
8187
8186
|
{
|
|
8188
8187
|
"name": "state",
|
|
8189
|
-
"description": "The
|
|
8188
|
+
"description": "The current state of the component.",
|
|
8190
8189
|
"default": "\"disabled\"",
|
|
8191
8190
|
"value": {
|
|
8192
8191
|
"type": [
|
|
@@ -8296,7 +8295,7 @@
|
|
|
8296
8295
|
},
|
|
8297
8296
|
{
|
|
8298
8297
|
"name": "icon",
|
|
8299
|
-
"description": "Icon which represents the
|
|
8298
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
8300
8299
|
"type": "string"
|
|
8301
8300
|
},
|
|
8302
8301
|
{
|
|
@@ -8379,7 +8378,7 @@
|
|
|
8379
8378
|
},
|
|
8380
8379
|
{
|
|
8381
8380
|
"name": "state",
|
|
8382
|
-
"description": "The
|
|
8381
|
+
"description": "The current state of the component.",
|
|
8383
8382
|
"type": "\"disabled\" | \"loading\" | \"ready\""
|
|
8384
8383
|
},
|
|
8385
8384
|
{
|
|
@@ -8456,7 +8455,7 @@
|
|
|
8456
8455
|
},
|
|
8457
8456
|
{
|
|
8458
8457
|
"name": "icon",
|
|
8459
|
-
"description": "Icon which represents the
|
|
8458
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
8460
8459
|
"default": "\"legend\"",
|
|
8461
8460
|
"value": {
|
|
8462
8461
|
"type": "string"
|
|
@@ -8519,7 +8518,7 @@
|
|
|
8519
8518
|
},
|
|
8520
8519
|
{
|
|
8521
8520
|
"name": "state",
|
|
8522
|
-
"description": "The
|
|
8521
|
+
"description": "The current state of the component.",
|
|
8523
8522
|
"default": "\"disabled\"",
|
|
8524
8523
|
"value": {
|
|
8525
8524
|
"type": [
|
|
@@ -8570,7 +8569,7 @@
|
|
|
8570
8569
|
},
|
|
8571
8570
|
{
|
|
8572
8571
|
"name": "icon",
|
|
8573
|
-
"description": "Icon which represents the
|
|
8572
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
8574
8573
|
"type": "string"
|
|
8575
8574
|
},
|
|
8576
8575
|
{
|
|
@@ -8609,7 +8608,7 @@
|
|
|
8609
8608
|
},
|
|
8610
8609
|
{
|
|
8611
8610
|
"name": "state",
|
|
8612
|
-
"description": "The
|
|
8611
|
+
"description": "The current state of the component.",
|
|
8613
8612
|
"type": "\"disabled\" | \"ready\""
|
|
8614
8613
|
}
|
|
8615
8614
|
],
|
|
@@ -8629,7 +8628,7 @@
|
|
|
8629
8628
|
},
|
|
8630
8629
|
{
|
|
8631
8630
|
"name": "arcgis-line-of-sight",
|
|
8632
|
-
"description": "The Line Of Sight component is a 3D analysis tool that allows you to perform\n[line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nin a
|
|
8631
|
+
"description": "The Line Of Sight component is a 3D analysis tool that allows you to perform\n[line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nin a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently\ndisplayed content in the view, including the ground, integrated meshes, and 3D objects such as buildings or trees.\n\n\n\nThe analysis results are displayed as colored lines, where areas visible to the observer are\nshown green and occluded parts are marked in red. Also, the color of the target points indicates their visibility.\nWhen the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either\nthe target or the observer is not in the view.\n\nWhen creating a new line of sight analysis, the first click in the Scene creates the\n[observer](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisObserver.html)\nand subsequent clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).\nBoth the observer and target points can be moved by dragging. Additionally, the target points can be removed with a right click.\n\n**Known limitation**\n\nLine Of Sight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\n- [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)\n- [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the current analysis results. After calling this method, the user can set a new observer and targets.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `continue(): Promise<void>` - After [stop()](#stop) was called, this method allows to continue the line of sight analysis and add more targets.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Start a new line of sight analysis.\n- `stop(): Promise<void>` - Stop the current placing of line of sight analysis. Any lines added this far are kept in the view.\nUsers can still interact with existing targets and the observer, but they cannot place new target points.",
|
|
8633
8632
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/",
|
|
8634
8633
|
"attributes": [
|
|
8635
8634
|
{
|
|
@@ -8708,7 +8707,7 @@
|
|
|
8708
8707
|
"properties": [
|
|
8709
8708
|
{
|
|
8710
8709
|
"name": "analysis",
|
|
8711
|
-
"description": "The [
|
|
8710
|
+
"description": "The [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\ncreated or modified by the component.\n\nWhen connecting the Line Of Sight component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)\ncomponent, it automatically creates an empty analysis and adds it to the Scene's\n[analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.\nWhenever the component is destroyed, the analysis is automatically removed from the collection.\n\nAlternatively, a programmatically created analysis can be provided to the component.\nThen, the application itself needs to add it to and later remove it from the Scene's analyses collection.\n\n```js\n//Create the analysis.\nconst lineOfSightAnalysis = new LineOfSightAnalysis({\n observer: new LineOfSightAnalysisObserver({\n position: new Point({\n spatialReference: { latestWkid: 3857, wkid: 102100 },\n x: -13624828.3377593,\n y: 4550305.319405007,\n z: 105.55410975124687\n }),\n }),\n targets: [ new LineOfSightAnalysisTarget({\n position: new Point({\n spatialReference: { latestWkid: 3857, wkid: 102100 },\n x: -13624944.17687458,\n y: 4550420.577689567,\n z: 0\n }),\n })\n]\n});\n// Get the Scene and Line Of Sight component and wait until they are ready.\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\nconst lineOfSight = document.querySelector(\"arcgis-line-of-sight\");\nawait lineOfSight.componentOnReady();\n// Add the analysis to the Scene component.\nviewElement.analyses.add(lineOfSightAnalysis);\n// Connect the analysis to the component:\nlineOfSight.analysis = lineOfSightAnalysis;\n```",
|
|
8712
8711
|
"type": "LineOfSightAnalysis"
|
|
8713
8712
|
},
|
|
8714
8713
|
{
|
|
@@ -9332,7 +9331,7 @@
|
|
|
9332
9331
|
},
|
|
9333
9332
|
{
|
|
9334
9333
|
"name": "state",
|
|
9335
|
-
"description": "The current state of the
|
|
9334
|
+
"description": "The current state of the component.",
|
|
9336
9335
|
"default": "\"loading\"",
|
|
9337
9336
|
"value": {
|
|
9338
9337
|
"type": [
|
|
@@ -9413,7 +9412,7 @@
|
|
|
9413
9412
|
},
|
|
9414
9413
|
{
|
|
9415
9414
|
"name": "state",
|
|
9416
|
-
"description": "The current state of the
|
|
9415
|
+
"description": "The current state of the component.",
|
|
9417
9416
|
"type": "\"disabled\" | \"loading\" | \"ready\""
|
|
9418
9417
|
}
|
|
9419
9418
|
],
|
|
@@ -9631,7 +9630,7 @@
|
|
|
9631
9630
|
},
|
|
9632
9631
|
{
|
|
9633
9632
|
"name": "arcgis-map",
|
|
9634
|
-
"description": "The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the\n[ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\nThe Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></arcgis-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<arcgis-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></arcgis-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <arcgis-zoom position=\"top-left\"></arcgis-zoom>\n <arcgis-legend position=\"bottom-left\"></arcgis-legend>\n</arcgis-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/) of the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-map\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)\n- [
|
|
9633
|
+
"description": "The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the\n[ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\nThe Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></arcgis-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<arcgis-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></arcgis-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <arcgis-zoom position=\"top-left\"></arcgis-zoom>\n <arcgis-legend position=\"bottom-left\"></arcgis-legend>\n</arcgis-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/) of the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-map\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)\n- [Get started](https://developers.arcgis.com/javascript/latest/get-started/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
|
|
9635
9634
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/",
|
|
9636
9635
|
"attributes": [
|
|
9637
9636
|
{
|
|
@@ -10208,7 +10207,7 @@
|
|
|
10208
10207
|
},
|
|
10209
10208
|
{
|
|
10210
10209
|
"name": "icon",
|
|
10211
|
-
"description": "Icon which represents the
|
|
10210
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
10212
10211
|
"default": "\"measure\"",
|
|
10213
10212
|
"value": {
|
|
10214
10213
|
"type": "string"
|
|
@@ -10268,7 +10267,7 @@
|
|
|
10268
10267
|
},
|
|
10269
10268
|
{
|
|
10270
10269
|
"name": "state",
|
|
10271
|
-
"description": "The
|
|
10270
|
+
"description": "The current state of the component.",
|
|
10272
10271
|
"default": "\"disabled\"",
|
|
10273
10272
|
"value": {
|
|
10274
10273
|
"type": [
|
|
@@ -10316,7 +10315,7 @@
|
|
|
10316
10315
|
},
|
|
10317
10316
|
{
|
|
10318
10317
|
"name": "icon",
|
|
10319
|
-
"description": "Icon which represents the
|
|
10318
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
10320
10319
|
"type": "string"
|
|
10321
10320
|
},
|
|
10322
10321
|
{
|
|
@@ -10340,7 +10339,7 @@
|
|
|
10340
10339
|
},
|
|
10341
10340
|
{
|
|
10342
10341
|
"name": "state",
|
|
10343
|
-
"description": "The
|
|
10342
|
+
"description": "The current state of the component.",
|
|
10344
10343
|
"type": "\"disabled\" | \"measured\" | \"measuring\" | \"ready\""
|
|
10345
10344
|
}
|
|
10346
10345
|
],
|
|
@@ -10549,7 +10548,7 @@
|
|
|
10549
10548
|
},
|
|
10550
10549
|
{
|
|
10551
10550
|
"name": "icon",
|
|
10552
|
-
"description": "Icon
|
|
10551
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
10553
10552
|
"default": "\"oriented-imagery-widget\"",
|
|
10554
10553
|
"value": {
|
|
10555
10554
|
"type": "string"
|
|
@@ -10682,7 +10681,7 @@
|
|
|
10682
10681
|
},
|
|
10683
10682
|
{
|
|
10684
10683
|
"name": "icon",
|
|
10685
|
-
"description": "Icon
|
|
10684
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
10686
10685
|
"type": "string"
|
|
10687
10686
|
},
|
|
10688
10687
|
{
|
|
@@ -11316,7 +11315,7 @@
|
|
|
11316
11315
|
},
|
|
11317
11316
|
{
|
|
11318
11317
|
"name": "icon",
|
|
11319
|
-
"description": "Icon
|
|
11318
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
11320
11319
|
"default": "\"actual-size\"",
|
|
11321
11320
|
"value": {
|
|
11322
11321
|
"type": "string"
|
|
@@ -11395,7 +11394,7 @@
|
|
|
11395
11394
|
},
|
|
11396
11395
|
{
|
|
11397
11396
|
"name": "state",
|
|
11398
|
-
"description": "The current state of the
|
|
11397
|
+
"description": "The current state of the component.",
|
|
11399
11398
|
"default": "\"disabled\"",
|
|
11400
11399
|
"value": {
|
|
11401
11400
|
"type": [
|
|
@@ -11443,7 +11442,7 @@
|
|
|
11443
11442
|
},
|
|
11444
11443
|
{
|
|
11445
11444
|
"name": "icon",
|
|
11446
|
-
"description": "Icon
|
|
11445
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
11447
11446
|
"type": "string"
|
|
11448
11447
|
},
|
|
11449
11448
|
{
|
|
@@ -11497,7 +11496,7 @@
|
|
|
11497
11496
|
},
|
|
11498
11497
|
{
|
|
11499
11498
|
"name": "state",
|
|
11500
|
-
"description": "The current state of the
|
|
11499
|
+
"description": "The current state of the component.",
|
|
11501
11500
|
"type": "\"disabled\" | \"ready\""
|
|
11502
11501
|
}
|
|
11503
11502
|
],
|
|
@@ -11517,7 +11516,7 @@
|
|
|
11517
11516
|
},
|
|
11518
11517
|
{
|
|
11519
11518
|
"name": "arcgis-scene",
|
|
11520
|
-
"description": "The ArcGIS Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[ArcGIS Map component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/).\n\nThe Scene component creates a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)\nand loads a [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) item from either\n[ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></arcgis-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<arcgis-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</arcgis-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <arcgis-layer-list position=\"bottom-right\"></arcgis-layer-list>\n</arcgis-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/)\nof the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-scene\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My layer\"});\n viewElement.map.add(layer);\n});\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-scene)\n- [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisAnalysisViewCreate** - Fires when the view for an analysis is created.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create)\n- **arcgisAnalysisViewCreateError** - Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create-error)\n- **arcgisAnalysisViewDestroy** - Fires after an analysis view is destroyed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-destroy)\n- **arcgisViewChange** - This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),\n[camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click)\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-double-click)\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-drag)\n- **arcgisViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-hold)\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-click)\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-double-click)\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-down)\n- **arcgisViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-up)\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create)\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create-error)\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-destroy)\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-mouse-wheel)\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-down)\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-enter)\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-leave)\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-move)\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-up)\n- **arcgisViewReadyChange** - This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed.\n\n```js\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My layer\"});\n viewElement.map.add(layer);\n});\n```\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://next.sites.afd.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://next.sites.afd.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://next.sites.afd.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://next.sites.afd.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __esri.GoToTarget3D, options?: __esri.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewHitTestOptions): Promise<__esri.SceneViewHitTestResult>` - Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest)\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point | nullish` - Converts the given screen point to a [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html).\n- `toScreen(point: __esri.Point): __esri.SceneViewScreenPoint` - Converts the given [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __esri.AreaMeasurementAnalysis | __esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.LineOfSightAnalysis | __esri.SliceAnalysis | __esri.ViewshedAnalysis): Promise<__esri.AreaMeasurementAnalysisView3D | __esri.DimensionAnalysisView3D | __esri.DirectLineMeasurementAnalysisView3D | __esri.LineOfSightAnalysisView3D | __esri.SliceAnalysisView3D | __esri.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenLayerView)",
|
|
11519
|
+
"description": "The ArcGIS Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[ArcGIS Map component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/).\n\nThe Scene component creates a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)\nand loads a [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) item from either\n[ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></arcgis-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<arcgis-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</arcgis-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <arcgis-layer-list position=\"bottom-right\"></arcgis-layer-list>\n</arcgis-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/)\nof the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-scene)\n- [Get started](https://developers.arcgis.com/javascript/latest/get-started/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewAnalysisViewCreate** - Fires when the view for an analysis is created.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create)\n- **arcgisViewAnalysisViewCreateError** - Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create-error)\n- **arcgisViewAnalysisViewDestroy** - Fires after an analysis view is destroyed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-destroy)\n- **arcgisViewChange** - This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),\n[camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click)\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-double-click)\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-drag)\n- **arcgisViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-hold)\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-click)\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-double-click)\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-down)\n- **arcgisViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-up)\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create)\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create-error)\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-destroy)\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-mouse-wheel)\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-down)\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-enter)\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-leave)\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-move)\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-up)\n- **arcgisViewReadyChange** - This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://next.sites.afd.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://next.sites.afd.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://next.sites.afd.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://next.sites.afd.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __esri.GoToTarget3D, options?: __esri.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewHitTestOptions): Promise<__esri.SceneViewHitTestResult>` - Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest)\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point | nullish` - Converts the given screen point to a [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html).\n- `toScreen(point: __esri.Point): __esri.SceneViewScreenPoint` - Converts the given [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __esri.AreaMeasurementAnalysis | __esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.LineOfSightAnalysis | __esri.SliceAnalysis | __esri.ViewshedAnalysis): Promise<__esri.AreaMeasurementAnalysisView3D | __esri.DimensionAnalysisView3D | __esri.DirectLineMeasurementAnalysisView3D | __esri.LineOfSightAnalysisView3D | __esri.SliceAnalysisView3D | __esri.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenLayerView)",
|
|
11521
11520
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/",
|
|
11522
11521
|
"attributes": [
|
|
11523
11522
|
{
|
|
@@ -11588,7 +11587,7 @@
|
|
|
11588
11587
|
},
|
|
11589
11588
|
{
|
|
11590
11589
|
"name": "ground",
|
|
11591
|
-
"description": "Specifies the surface properties for the map. It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)\ninstance or a string with one of the following values:\n * `\"world-elevation\"`\n * `\"world-topobathymetry\"`\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground)",
|
|
11590
|
+
"description": "Specifies the surface properties for the [map](#map). It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)\ninstance or a string with one of the following values:\n * `\"world-elevation\"`\n * `\"world-topobathymetry\"`\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground)",
|
|
11592
11591
|
"value": {
|
|
11593
11592
|
"type": "string"
|
|
11594
11593
|
}
|
|
@@ -11655,17 +11654,17 @@
|
|
|
11655
11654
|
],
|
|
11656
11655
|
"events": [
|
|
11657
11656
|
{
|
|
11658
|
-
"name": "
|
|
11657
|
+
"name": "arcgisViewAnalysisViewCreate",
|
|
11659
11658
|
"type": "ViewAnalysisViewCreateEvent",
|
|
11660
11659
|
"description": "Fires when the view for an analysis is created.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create)"
|
|
11661
11660
|
},
|
|
11662
11661
|
{
|
|
11663
|
-
"name": "
|
|
11662
|
+
"name": "arcgisViewAnalysisViewCreateError",
|
|
11664
11663
|
"type": "ViewAnalysisViewCreateErrorEvent",
|
|
11665
11664
|
"description": "Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create-error)"
|
|
11666
11665
|
},
|
|
11667
11666
|
{
|
|
11668
|
-
"name": "
|
|
11667
|
+
"name": "arcgisViewAnalysisViewDestroy",
|
|
11669
11668
|
"type": "ViewAnalysisViewDestroyEvent",
|
|
11670
11669
|
"description": "Fires after an analysis view is destroyed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-destroy)"
|
|
11671
11670
|
},
|
|
@@ -11762,7 +11761,7 @@
|
|
|
11762
11761
|
{
|
|
11763
11762
|
"name": "arcgisViewReadyChange",
|
|
11764
11763
|
"type": "void",
|
|
11765
|
-
"description": "This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed
|
|
11764
|
+
"description": "This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed."
|
|
11766
11765
|
}
|
|
11767
11766
|
],
|
|
11768
11767
|
"js": {
|
|
@@ -11829,7 +11828,7 @@
|
|
|
11829
11828
|
},
|
|
11830
11829
|
{
|
|
11831
11830
|
"name": "clippingArea",
|
|
11832
|
-
"description": "Represents an optional clipping area used to define the visible [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html)\nof a
|
|
11831
|
+
"description": "Represents an optional clipping area used to define the visible [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html)\nof a Scene in `local` [viewingMode](#viewingMode).\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#clippingArea)",
|
|
11833
11832
|
"type": "Extent"
|
|
11834
11833
|
},
|
|
11835
11834
|
{
|
|
@@ -11844,12 +11843,12 @@
|
|
|
11844
11843
|
},
|
|
11845
11844
|
{
|
|
11846
11845
|
"name": "environment",
|
|
11847
|
-
"description": "Specifies various properties of the environment's visualization
|
|
11846
|
+
"description": "Specifies various properties of the environment's visualization within the view, including lighting, background, weather, and more.\nThe Scene will redraw automatically when any property of environment changes.\n\nModifying the lighting:\n\n```js\nviewElement.environment.lighting = {\n type: \"sun\", // autocasts as new SunLighting()\n date: new Date(), // sets the lighting to reflect the current time of day\n directShadowsEnabled: true,\n};\n```\n\nSetting the background:\n\n```js\nviewElement.environment = {\n background: {\n type: \"color\",\n color: [255, 252, 244, 1]\n },\n starsEnabled: false,\n atmosphereEnabled: false\n};\n```\n\nChanging the weather in the scene:\n\n```js\nviewElement.environment.weather = {\n type: \"rainy\", // autocasts as new RainyWeather({ cloudCover: 0.7, precipitation: 0.3 })\n cloudCover: 0.7,\n precipitation: 0.3\n};\n```\n\n**See also**\n\n- [SunLighting](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunLighting.html)\n- [VirtualLighting](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-VirtualLighting.html)\n- [SunnyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunnyWeather.html)\n- [CloudyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-CloudyWeather.html)\n- [RainyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html)\n- [SnowyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html)\n- [FoggyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html)\n- [Sample - Daylight component](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)\n- [Sample - Weather component](https://developers.arcgis.com/javascript/latest/sample-code/weather/)\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#environment)",
|
|
11848
11847
|
"type": "SceneViewEnvironment"
|
|
11849
11848
|
},
|
|
11850
11849
|
{
|
|
11851
11850
|
"name": "extent",
|
|
11852
|
-
"description": "The extent represents the visible portion of a map within the view as an instance of\n[Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).\n\nSetting the extent immediately changes the view without animation. To animate\nthe view, see this component's [goTo()](#goTo) method.\nWhen the view is rotated, the extent does not update to include the newly visible portions of the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#extent)",
|
|
11851
|
+
"description": "The extent represents the visible portion of a [map](#map) within the view as an instance of\n[Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).\n\nSetting the extent immediately changes the view without animation. To animate\nthe view, see this component's [goTo()](#goTo) method.\nWhen the view is rotated, the extent does not update to include the newly visible portions of the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#extent)",
|
|
11853
11852
|
"type": "Extent"
|
|
11854
11853
|
},
|
|
11855
11854
|
{
|
|
@@ -11879,7 +11878,7 @@
|
|
|
11879
11878
|
},
|
|
11880
11879
|
{
|
|
11881
11880
|
"name": "ground",
|
|
11882
|
-
"description": "Specifies the surface properties for the map. It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)\ninstance or a string with one of the following values:\n * `\"world-elevation\"`\n * `\"world-topobathymetry\"`\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground)",
|
|
11881
|
+
"description": "Specifies the surface properties for the [map](#map). It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)\ninstance or a string with one of the following values:\n * `\"world-elevation\"`\n * `\"world-topobathymetry\"`\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground)",
|
|
11883
11882
|
"type": "Ground | string"
|
|
11884
11883
|
},
|
|
11885
11884
|
{
|
|
@@ -11909,7 +11908,7 @@
|
|
|
11909
11908
|
},
|
|
11910
11909
|
{
|
|
11911
11910
|
"name": "layerViews",
|
|
11912
|
-
"description": "A collection containing a hierarchical list of all the created\n[LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) of the\n[operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the map.",
|
|
11911
|
+
"description": "A collection containing a hierarchical list of all the created\n[LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) of the\n[operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the [map](#map).",
|
|
11913
11912
|
"type": "Collection<LayerView>"
|
|
11914
11913
|
},
|
|
11915
11914
|
{
|
|
@@ -11944,7 +11943,7 @@
|
|
|
11944
11943
|
},
|
|
11945
11944
|
{
|
|
11946
11945
|
"name": "popup",
|
|
11947
|
-
"description": "A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html)
|
|
11946
|
+
"description": "A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html)\nobject that displays general content or attributes from [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers)\nin the [map](#map).\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup)",
|
|
11948
11947
|
"type": "Popup"
|
|
11949
11948
|
},
|
|
11950
11949
|
{
|
|
@@ -11964,7 +11963,7 @@
|
|
|
11964
11963
|
},
|
|
11965
11964
|
{
|
|
11966
11965
|
"name": "resolution",
|
|
11967
|
-
"description": "Represents the current value of one pixel in the unit of the view's\n[spatialReference](#spatialReference).\nThe resolution is calculated by dividing the
|
|
11966
|
+
"description": "Represents the current value of one pixel in the unit of the view's\n[spatialReference](#spatialReference).\nThe resolution is calculated by dividing the [Scene's extent](#extent) [width](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#width)\nby [its width](#width).",
|
|
11968
11967
|
"type": "number"
|
|
11969
11968
|
},
|
|
11970
11969
|
{
|
|
@@ -12019,7 +12018,7 @@
|
|
|
12019
12018
|
},
|
|
12020
12019
|
{
|
|
12021
12020
|
"name": "visibleArea",
|
|
12022
|
-
"description": "The visibleArea represents the visible portion of a [map](
|
|
12021
|
+
"description": "The visibleArea represents the visible portion of a [map](#map) within the view as an instance of a\n[Polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html).\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#visibleArea)",
|
|
12023
12022
|
"type": "Polygon"
|
|
12024
12023
|
},
|
|
12025
12024
|
{
|
|
@@ -12030,17 +12029,17 @@
|
|
|
12030
12029
|
],
|
|
12031
12030
|
"events": [
|
|
12032
12031
|
{
|
|
12033
|
-
"name": "
|
|
12032
|
+
"name": "arcgisViewAnalysisViewCreate",
|
|
12034
12033
|
"type": "ViewAnalysisViewCreateEvent",
|
|
12035
12034
|
"description": "Fires when the view for an analysis is created.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create)"
|
|
12036
12035
|
},
|
|
12037
12036
|
{
|
|
12038
|
-
"name": "
|
|
12037
|
+
"name": "arcgisViewAnalysisViewCreateError",
|
|
12039
12038
|
"type": "ViewAnalysisViewCreateErrorEvent",
|
|
12040
12039
|
"description": "Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create-error)"
|
|
12041
12040
|
},
|
|
12042
12041
|
{
|
|
12043
|
-
"name": "
|
|
12042
|
+
"name": "arcgisViewAnalysisViewDestroy",
|
|
12044
12043
|
"type": "ViewAnalysisViewDestroyEvent",
|
|
12045
12044
|
"description": "Fires after an analysis view is destroyed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-destroy)"
|
|
12046
12045
|
},
|
|
@@ -12137,7 +12136,7 @@
|
|
|
12137
12136
|
{
|
|
12138
12137
|
"name": "arcgisViewReadyChange",
|
|
12139
12138
|
"type": "void",
|
|
12140
|
-
"description": "This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed
|
|
12139
|
+
"description": "This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed."
|
|
12141
12140
|
}
|
|
12142
12141
|
]
|
|
12143
12142
|
}
|
|
@@ -12311,7 +12310,7 @@
|
|
|
12311
12310
|
},
|
|
12312
12311
|
{
|
|
12313
12312
|
"name": "state",
|
|
12314
|
-
"description": "The current state
|
|
12313
|
+
"description": "The current state of the component.",
|
|
12315
12314
|
"default": "\"ready\"",
|
|
12316
12315
|
"value": {
|
|
12317
12316
|
"type": [
|
|
@@ -12526,7 +12525,7 @@
|
|
|
12526
12525
|
},
|
|
12527
12526
|
{
|
|
12528
12527
|
"name": "state",
|
|
12529
|
-
"description": "The current state
|
|
12528
|
+
"description": "The current state of the component.",
|
|
12530
12529
|
"type": "\"disabled\" | \"loading\" | \"ready\" | \"searching\""
|
|
12531
12530
|
},
|
|
12532
12531
|
{
|
|
@@ -12632,7 +12631,7 @@
|
|
|
12632
12631
|
},
|
|
12633
12632
|
{
|
|
12634
12633
|
"name": "arcgis-shadow-cast",
|
|
12635
|
-
"description": "The Shadow Cast component displays the cumulative shadows of 3D features in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\n**Known limitations**\n\
|
|
12634
|
+
"description": "The Shadow Cast component displays the cumulative shadows of 3D features in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\nThis type of analysis is helpful in urban development, where new projects have to satisfy certain shadow duration constraints.\n\nThe component calculates the cumulative shadows for a time range during a single day. The user can\nconfigure the time range and select a calendar date. This time range and calendar date are only used\nfor the shadow analysis and are not connected to the lighting in the scene.\nTo control the lighting in the scene, the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component can be used.\nChanging the timezone in the component updates the visualization by interpreting the time range as being\nin that timezone. This behavior is different from the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component,\nwhere selecting a timezone updates the [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) date and time according to the camera position.\n\nThe component provides three [visualization modes](#visualizationType): threshold, duration, and discrete mode.\n\nIn the **threshold** mode, only the areas that receive\nshadows for more than a certain amount of time are displayed. In the image below, on May 1, 2021 the red areas receive\nshadow for more than 4 hours within the time interval of 10AM to 4PM.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\n**Total shadow duration** mode displays the duration of the cumulative shadow using opacity: areas that don't\nreceive any shadow are fully transparent and areas that receive a maximum amount of shadow have a default opacity\nof 0.7. The values in between are interpolated. Hovering over the Scene will display a tooltip showing the\namount of time that location is in shadow, rounded to 15-minute intervals. In this mode, the visualization\ncan display shadow cast in a continuous way or in 1-hour intervals.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\n**Discrete shadows** is a third visualization mode which displays individual shadows at a given time interval.\nFor example, setting the time range to 10AM-11AM and the visualization time interval to 30 minutes will display\nshadows for 10AM, 10:30AM and 11:00AM.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\nThe defaults for the time range and visualization settings can be changed using the [startTimeOfDay](#startTimeOfDay), [endTimeOfDay](#endTimeOfDay), and [visualizationType](#visualizationType) properties.\n\n**Known limitations**\n\n* Shadow Cast is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n* Terrain does not cast shadows and it is therefore not taken into account in this analysis.\n* The component does not take into account the daylight savings.\nUse the timezone dropdown to adjust the offset from the Coordinated Universal Time (UTC) and account for the daylight saving time.\n* The timezone is automatically detected by the component based on the camera location. In some situations, this might not be accurate.\nIn case of an inaccurate timezone, users can set it manually using the timezone dropdown.\n\n**See also**\n\n- [Sample - Shadow cast component](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `getDuration(point: __esri.Point): Promise<number>` - Returns the time (in milliseconds) spent in shadow for a certain point on the screen.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#getDuration)\n- `start(): Promise<void>` - Starts the component. While running, it will automatically perform shadow accumulation.\n- `stop(): Promise<void>` - Stops the component.",
|
|
12636
12635
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/",
|
|
12637
12636
|
"attributes": [
|
|
12638
12637
|
{
|
|
@@ -12645,6 +12644,7 @@
|
|
|
12645
12644
|
},
|
|
12646
12645
|
{
|
|
12647
12646
|
"name": "date",
|
|
12647
|
+
"description": "The calendar date used to calculate the shadow cast. This date excludes the time. If a date with a time is set, the time value will be set to midnight (`00:00:00`) of that date in local system time.\nIf no date is set, then it defaults to the current date in local system time.\n\n_See also_\n\n* [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date)",
|
|
12648
12648
|
"value": {
|
|
12649
12649
|
"type": [
|
|
12650
12650
|
"number",
|
|
@@ -12654,7 +12654,7 @@
|
|
|
12654
12654
|
},
|
|
12655
12655
|
{
|
|
12656
12656
|
"name": "end-time-of-day",
|
|
12657
|
-
"description": "Time (in milliseconds from midnight of the [date](
|
|
12657
|
+
"description": "Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should stop.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#endTimeOfDay)",
|
|
12658
12658
|
"default": "16 * 3600 * 1000",
|
|
12659
12659
|
"value": {
|
|
12660
12660
|
"type": "number"
|
|
@@ -12779,7 +12779,7 @@
|
|
|
12779
12779
|
},
|
|
12780
12780
|
{
|
|
12781
12781
|
"name": "start-time-of-day",
|
|
12782
|
-
"description": "Time (in milliseconds from midnight of the [date](
|
|
12782
|
+
"description": "Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should start.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#startTimeOfDay)",
|
|
12783
12783
|
"default": "10 * 3600 * 1000",
|
|
12784
12784
|
"value": {
|
|
12785
12785
|
"type": "number"
|
|
@@ -12805,7 +12805,7 @@
|
|
|
12805
12805
|
},
|
|
12806
12806
|
{
|
|
12807
12807
|
"name": "visualization-type",
|
|
12808
|
-
"description": "Type of visualization to use when showing the shadows
|
|
12808
|
+
"description": "Type of visualization to use when showing the shadows. There are 3 types of visualization:\n* `threshold` - only displays areas that receive shadows for a period longer than a given threshold value\n* `duration` - displays all areas that receive shadows either in a continuous mode or in 1 hour time intervals\n* `discrete` - displays individual shadows cast at a given time interval",
|
|
12809
12809
|
"default": "\"threshold\"",
|
|
12810
12810
|
"value": {
|
|
12811
12811
|
"type": [
|
|
@@ -12837,21 +12837,22 @@
|
|
|
12837
12837
|
},
|
|
12838
12838
|
{
|
|
12839
12839
|
"name": "date",
|
|
12840
|
+
"description": "The calendar date used to calculate the shadow cast. This date excludes the time. If a date with a time is set, the time value will be set to midnight (`00:00:00`) of that date in local system time.\nIf no date is set, then it defaults to the current date in local system time.\n\n_See also_\n\n* [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date)",
|
|
12840
12841
|
"type": "Date | number | string"
|
|
12841
12842
|
},
|
|
12842
12843
|
{
|
|
12843
12844
|
"name": "discreteOptions",
|
|
12844
|
-
"description": "The configuration used when the component's [visualizationType](#visualizationType)\nis set to \"discrete\".",
|
|
12845
|
+
"description": "The configuration used when the component's [visualizationType](#visualizationType)\nis set to \"discrete\".\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html)",
|
|
12845
12846
|
"type": "DiscreteOptions"
|
|
12846
12847
|
},
|
|
12847
12848
|
{
|
|
12848
12849
|
"name": "durationOptions",
|
|
12849
|
-
"description": "The configuration used when the component's [visualizationType](#visualizationType)\nis set to \"duration\".",
|
|
12850
|
+
"description": "The configuration used when the component's [visualizationType](#visualizationType)\nis set to \"duration\".\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DurationOptions.html)",
|
|
12850
12851
|
"type": "DurationOptions"
|
|
12851
12852
|
},
|
|
12852
12853
|
{
|
|
12853
12854
|
"name": "endTimeOfDay",
|
|
12854
|
-
"description": "Time (in milliseconds from midnight of the [date](
|
|
12855
|
+
"description": "Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should stop.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#endTimeOfDay)",
|
|
12855
12856
|
"type": "number"
|
|
12856
12857
|
},
|
|
12857
12858
|
{
|
|
@@ -12920,7 +12921,7 @@
|
|
|
12920
12921
|
},
|
|
12921
12922
|
{
|
|
12922
12923
|
"name": "startTimeOfDay",
|
|
12923
|
-
"description": "Time (in milliseconds from midnight of the [date](
|
|
12924
|
+
"description": "Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should start.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#startTimeOfDay)",
|
|
12924
12925
|
"type": "number"
|
|
12925
12926
|
},
|
|
12926
12927
|
{
|
|
@@ -12930,7 +12931,7 @@
|
|
|
12930
12931
|
},
|
|
12931
12932
|
{
|
|
12932
12933
|
"name": "thresholdOptions",
|
|
12933
|
-
"description": "The configuration used when the component's [visualizationType](#visualizationType)\nis set to \"threshold\".",
|
|
12934
|
+
"description": "The configuration used when the component's [visualizationType](#visualizationType)\nis set to \"threshold\".\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html)",
|
|
12934
12935
|
"type": "ThresholdOptions"
|
|
12935
12936
|
},
|
|
12936
12937
|
{
|
|
@@ -12940,7 +12941,7 @@
|
|
|
12940
12941
|
},
|
|
12941
12942
|
{
|
|
12942
12943
|
"name": "visualizationType",
|
|
12943
|
-
"description": "Type of visualization to use when showing the shadows
|
|
12944
|
+
"description": "Type of visualization to use when showing the shadows. There are 3 types of visualization:\n* `threshold` - only displays areas that receive shadows for a period longer than a given threshold value\n* `duration` - displays all areas that receive shadows either in a continuous mode or in 1 hour time intervals\n* `discrete` - displays individual shadows cast at a given time interval",
|
|
12944
12945
|
"type": "\"discrete\" | \"duration\" | \"threshold\""
|
|
12945
12946
|
}
|
|
12946
12947
|
],
|
|
@@ -13149,7 +13150,7 @@
|
|
|
13149
13150
|
},
|
|
13150
13151
|
{
|
|
13151
13152
|
"name": "icon",
|
|
13152
|
-
"description": "Icon which represents the
|
|
13153
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
13153
13154
|
"default": "\"pencil\"",
|
|
13154
13155
|
"value": {
|
|
13155
13156
|
"type": "string"
|
|
@@ -13218,7 +13219,7 @@
|
|
|
13218
13219
|
},
|
|
13219
13220
|
{
|
|
13220
13221
|
"name": "state",
|
|
13221
|
-
"description": "The
|
|
13222
|
+
"description": "The current state of the component.",
|
|
13222
13223
|
"value": {
|
|
13223
13224
|
"type": [
|
|
13224
13225
|
"\"active\"",
|
|
@@ -13391,7 +13392,7 @@
|
|
|
13391
13392
|
},
|
|
13392
13393
|
{
|
|
13393
13394
|
"name": "icon",
|
|
13394
|
-
"description": "Icon which represents the
|
|
13395
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
13395
13396
|
"type": "string"
|
|
13396
13397
|
},
|
|
13397
13398
|
{
|
|
@@ -13454,7 +13455,7 @@
|
|
|
13454
13455
|
},
|
|
13455
13456
|
{
|
|
13456
13457
|
"name": "state",
|
|
13457
|
-
"description": "The
|
|
13458
|
+
"description": "The current state of the component.",
|
|
13458
13459
|
"type": "\"active\" | \"disabled\" | \"ready\""
|
|
13459
13460
|
},
|
|
13460
13461
|
{
|
|
@@ -13509,7 +13510,7 @@
|
|
|
13509
13510
|
},
|
|
13510
13511
|
{
|
|
13511
13512
|
"name": "arcgis-slice",
|
|
13512
|
-
"description": "The Slice component is a 3D analysis tool that can be used to reveal occluded content in a\n[Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). It applies\n[slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\nto any layer type, making it possible to see inside buildings or to explore geological surfaces.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)\n\nThe slicing [shape](#shape)\nis always a [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).\nBy default, the plane is either horizontal or vertical. To allow a tilt angle for the plane, set\n[tiltEnabled](#tiltEnabled)\nto `true`. The slice hides any content in front of the surface. The handles on the sides of the plane can be used to adjust\nthe size, heading, tilt, and position of the slice plane.\nThe [SlicePlane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html)\ncan be set or retrieved using the [shape](#shape) property.\n\nOnce the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include\ncolumns and floor slabs, the inner structure of a building can investigated.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)\n\
|
|
13513
|
+
"description": "The Slice component is a 3D analysis tool that can be used to reveal occluded content in a\n[Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). It applies\n[slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\nto any layer type, making it possible to see inside buildings or to explore geological surfaces.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)\n\nThe slicing [shape](#shape)\nis always a [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).\nBy default, the plane is either horizontal or vertical. To allow a tilt angle for the plane, set\n[tiltEnabled](#tiltEnabled)\nto `true`. The slice hides any content in front of the surface. The handles on the sides of the plane can be used to adjust\nthe size, heading, tilt, and position of the slice plane.\nThe [SlicePlane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html)\ncan be set or retrieved using the [shape](#shape) property.\n\nOnce the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include\ncolumns and floor slabs, the inner structure of a building can investigated.\n\n[](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)\n\nHolding the `Shift` key while creating a new slice applies it vertically.\n\n**Known limitation**\n\nSlice is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\n- [Sample - BuildingSceneLayer with Slice component](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/)\n- [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the [shape](#shape) of the slice, effectively removing it from the view. Other properties like [excludedLayers](#excludedLayers)\nand [excludeGroundSurface](#excludeGroundSurface) are not modified.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Start the interactive creation of a new slice, clearing the previous [shape](#shape).",
|
|
13513
13514
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/",
|
|
13514
13515
|
"attributes": [
|
|
13515
13516
|
{
|
|
@@ -13619,7 +13620,7 @@
|
|
|
13619
13620
|
"properties": [
|
|
13620
13621
|
{
|
|
13621
13622
|
"name": "analysis",
|
|
13622
|
-
"description": "The [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\ncreated or modified by the component.\n\
|
|
13623
|
+
"description": "The [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\ncreated or modified by the component.\n\nWhen connecting the Slice component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)\ncomponent, it automatically creates an empty analysis and adds it to the Scene's\n[analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.\nWhenever the component is destroyed, the analysis is automatically removed from the collection.\n\nAlternatively, a programmatically created analysis can be provided to the component.\nThen, the application itself needs to add it to and later remove it from the Scene's analyses collection.\n\n```js\n// Create the analysis.\nconst sliceAnalysis = new SliceAnalysis({\n shape: new SlicePlane({\n position: new Point({\n spatialReference: { latestWkid: 3857, wkid: 102100 },\n x: -13624925.727820931,\n y: 4550341.695170021,\n z: 56\n }),\n tilt: 270,\n width: 310,\n height: 190,\n heading: 45\n })\n});\n// Get the Scene and Slice component and wait until they are ready.\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\nconst slice = document.querySelector(\"arcgis-slice\");\nawait slice.componentOnReady();\n// Add the analysis to the Scene component.\nviewElement.analyses.add(sliceAnalysis);\n// Connect the analysis to the slice component:\nslice.analysis = sliceAnalysis;\n```",
|
|
13623
13624
|
"type": "SliceAnalysis"
|
|
13624
13625
|
},
|
|
13625
13626
|
{
|
|
@@ -13732,7 +13733,7 @@
|
|
|
13732
13733
|
},
|
|
13733
13734
|
{
|
|
13734
13735
|
"name": "icon",
|
|
13735
|
-
"description": "Icon
|
|
13736
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
13736
13737
|
"default": "\"caret-double-horizontal\"",
|
|
13737
13738
|
"value": {
|
|
13738
13739
|
"type": "string"
|
|
@@ -13830,7 +13831,7 @@
|
|
|
13830
13831
|
},
|
|
13831
13832
|
{
|
|
13832
13833
|
"name": "state",
|
|
13833
|
-
"description": "The current state of the
|
|
13834
|
+
"description": "The current state of the component.",
|
|
13834
13835
|
"value": {
|
|
13835
13836
|
"type": [
|
|
13836
13837
|
"\"disabled\"",
|
|
@@ -13954,7 +13955,7 @@
|
|
|
13954
13955
|
},
|
|
13955
13956
|
{
|
|
13956
13957
|
"name": "icon",
|
|
13957
|
-
"description": "Icon
|
|
13958
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
13958
13959
|
"type": "string"
|
|
13959
13960
|
},
|
|
13960
13961
|
{
|
|
@@ -14033,7 +14034,7 @@
|
|
|
14033
14034
|
},
|
|
14034
14035
|
{
|
|
14035
14036
|
"name": "state",
|
|
14036
|
-
"description": "The current state of the
|
|
14037
|
+
"description": "The current state of the component.",
|
|
14037
14038
|
"type": "\"disabled\" | \"dragging\" | \"editing\" | \"ready\""
|
|
14038
14039
|
},
|
|
14039
14040
|
{
|
|
@@ -14225,7 +14226,7 @@
|
|
|
14225
14226
|
},
|
|
14226
14227
|
{
|
|
14227
14228
|
"name": "state",
|
|
14228
|
-
"description": "The current state of the
|
|
14229
|
+
"description": "The current state of the component.",
|
|
14229
14230
|
"default": "\"disabled\"",
|
|
14230
14231
|
"value": {
|
|
14231
14232
|
"type": [
|
|
@@ -14313,7 +14314,7 @@
|
|
|
14313
14314
|
},
|
|
14314
14315
|
{
|
|
14315
14316
|
"name": "state",
|
|
14316
|
-
"description": "The current state of the
|
|
14317
|
+
"description": "The current state of the component.",
|
|
14317
14318
|
"type": "\"disabled\" | \"ready\""
|
|
14318
14319
|
},
|
|
14319
14320
|
{
|
|
@@ -14410,7 +14411,7 @@
|
|
|
14410
14411
|
},
|
|
14411
14412
|
{
|
|
14412
14413
|
"name": "icon",
|
|
14413
|
-
"description": "Icon which represents the
|
|
14414
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
14414
14415
|
"default": "\"table\"",
|
|
14415
14416
|
"value": {
|
|
14416
14417
|
"type": "string"
|
|
@@ -14520,7 +14521,7 @@
|
|
|
14520
14521
|
},
|
|
14521
14522
|
{
|
|
14522
14523
|
"name": "state",
|
|
14523
|
-
"description": "The
|
|
14524
|
+
"description": "The current state of the component.",
|
|
14524
14525
|
"default": "\"disabled\"",
|
|
14525
14526
|
"value": {
|
|
14526
14527
|
"type": [
|
|
@@ -14600,7 +14601,7 @@
|
|
|
14600
14601
|
},
|
|
14601
14602
|
{
|
|
14602
14603
|
"name": "icon",
|
|
14603
|
-
"description": "Icon which represents the
|
|
14604
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
14604
14605
|
"type": "string"
|
|
14605
14606
|
},
|
|
14606
14607
|
{
|
|
@@ -14668,7 +14669,7 @@
|
|
|
14668
14669
|
},
|
|
14669
14670
|
{
|
|
14670
14671
|
"name": "state",
|
|
14671
|
-
"description": "The
|
|
14672
|
+
"description": "The current state of the component.",
|
|
14672
14673
|
"type": "\"disabled\" | \"loading\" | \"ready\""
|
|
14673
14674
|
},
|
|
14674
14675
|
{
|
|
@@ -14724,7 +14725,7 @@
|
|
|
14724
14725
|
},
|
|
14725
14726
|
{
|
|
14726
14727
|
"name": "icon",
|
|
14727
|
-
"description": "Icon which represents the
|
|
14728
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
14728
14729
|
"default": "\"clock\"",
|
|
14729
14730
|
"value": {
|
|
14730
14731
|
"type": "string"
|
|
@@ -14804,7 +14805,7 @@
|
|
|
14804
14805
|
},
|
|
14805
14806
|
{
|
|
14806
14807
|
"name": "state",
|
|
14807
|
-
"description": "The
|
|
14808
|
+
"description": "The current state of the component.",
|
|
14808
14809
|
"default": "\"disabled\"",
|
|
14809
14810
|
"value": {
|
|
14810
14811
|
"type": [
|
|
@@ -14876,7 +14877,7 @@
|
|
|
14876
14877
|
},
|
|
14877
14878
|
{
|
|
14878
14879
|
"name": "icon",
|
|
14879
|
-
"description": "Icon which represents the
|
|
14880
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
14880
14881
|
"type": "string"
|
|
14881
14882
|
},
|
|
14882
14883
|
{
|
|
@@ -14915,7 +14916,7 @@
|
|
|
14915
14916
|
},
|
|
14916
14917
|
{
|
|
14917
14918
|
"name": "state",
|
|
14918
|
-
"description": "The
|
|
14919
|
+
"description": "The current state of the component.",
|
|
14919
14920
|
"type": "\"disabled\" | \"playing\" | \"ready\""
|
|
14920
14921
|
},
|
|
14921
14922
|
{
|
|
@@ -15335,7 +15336,7 @@
|
|
|
15335
15336
|
},
|
|
15336
15337
|
{
|
|
15337
15338
|
"name": "arcgis-utility-network-associations",
|
|
15338
|
-
"description": "The Utility Network Associations component offers an intuitive user interface, reducing the complexity of working with utility network associations.\n\n> The Utility Network Associations component does not support proxied feature services or feature services that utilize stored credentials.\n
|
|
15339
|
+
"description": "The Utility Network Associations component offers an intuitive user interface, reducing the complexity of working with utility network associations.\n\n> The Utility Network Associations component does not support proxied feature services or feature services that utilize stored credentials.\n--\n\n### Events\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
|
|
15339
15340
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-utility-network-associations/",
|
|
15340
15341
|
"attributes": [
|
|
15341
15342
|
{
|
|
@@ -15398,7 +15399,7 @@
|
|
|
15398
15399
|
},
|
|
15399
15400
|
{
|
|
15400
15401
|
"name": "icon",
|
|
15401
|
-
"description": "Icon
|
|
15402
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
15402
15403
|
"default": "\"view-associations\"",
|
|
15403
15404
|
"value": {
|
|
15404
15405
|
"type": "string"
|
|
@@ -15678,7 +15679,7 @@
|
|
|
15678
15679
|
},
|
|
15679
15680
|
{
|
|
15680
15681
|
"name": "icon",
|
|
15681
|
-
"description": "Icon
|
|
15682
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
15682
15683
|
"type": "string"
|
|
15683
15684
|
},
|
|
15684
15685
|
{
|
|
@@ -15855,7 +15856,7 @@
|
|
|
15855
15856
|
},
|
|
15856
15857
|
{
|
|
15857
15858
|
"name": "gdb-version",
|
|
15858
|
-
"description": "**Deprecated**: since version 4.31
|
|
15859
|
+
"description": "**Deprecated**: `gdbVersion` is deprecated since version 4.31.. The Geodatabase version to pass into the trace.",
|
|
15859
15860
|
"default": "\"sde.DEFAULT\"",
|
|
15860
15861
|
"value": {
|
|
15861
15862
|
"type": "string"
|
|
@@ -15863,7 +15864,7 @@
|
|
|
15863
15864
|
},
|
|
15864
15865
|
{
|
|
15865
15866
|
"name": "icon",
|
|
15866
|
-
"description": "Icon
|
|
15867
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
15867
15868
|
"default": "\"utility-network-trace\"",
|
|
15868
15869
|
"value": {
|
|
15869
15870
|
"type": "string"
|
|
@@ -15926,7 +15927,7 @@
|
|
|
15926
15927
|
},
|
|
15927
15928
|
{
|
|
15928
15929
|
"name": "state",
|
|
15929
|
-
"description": "The
|
|
15930
|
+
"description": "The current state of the component.",
|
|
15930
15931
|
"default": "\"ready\"",
|
|
15931
15932
|
"value": {
|
|
15932
15933
|
"type": [
|
|
@@ -16002,7 +16003,7 @@
|
|
|
16002
16003
|
},
|
|
16003
16004
|
{
|
|
16004
16005
|
"name": "icon",
|
|
16005
|
-
"description": "Icon
|
|
16006
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
16006
16007
|
"type": "string"
|
|
16007
16008
|
},
|
|
16008
16009
|
{
|
|
@@ -16051,7 +16052,7 @@
|
|
|
16051
16052
|
},
|
|
16052
16053
|
{
|
|
16053
16054
|
"name": "state",
|
|
16054
|
-
"description": "The
|
|
16055
|
+
"description": "The current state of the component.",
|
|
16055
16056
|
"type": "\"loading\" | \"ready\""
|
|
16056
16057
|
}
|
|
16057
16058
|
],
|
|
@@ -16115,7 +16116,7 @@
|
|
|
16115
16116
|
},
|
|
16116
16117
|
{
|
|
16117
16118
|
"name": "icon",
|
|
16118
|
-
"description": "Icon
|
|
16119
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
16119
16120
|
"default": "\"check-circle\"",
|
|
16120
16121
|
"value": {
|
|
16121
16122
|
"type": "string"
|
|
@@ -16154,7 +16155,7 @@
|
|
|
16154
16155
|
},
|
|
16155
16156
|
{
|
|
16156
16157
|
"name": "state",
|
|
16157
|
-
"description": "The
|
|
16158
|
+
"description": "The current state of the component.",
|
|
16158
16159
|
"default": "\"ready\"",
|
|
16159
16160
|
"value": {
|
|
16160
16161
|
"type": [
|
|
@@ -16194,7 +16195,7 @@
|
|
|
16194
16195
|
},
|
|
16195
16196
|
{
|
|
16196
16197
|
"name": "icon",
|
|
16197
|
-
"description": "Icon
|
|
16198
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
16198
16199
|
"type": "string"
|
|
16199
16200
|
},
|
|
16200
16201
|
{
|
|
@@ -16213,7 +16214,7 @@
|
|
|
16213
16214
|
},
|
|
16214
16215
|
{
|
|
16215
16216
|
"name": "state",
|
|
16216
|
-
"description": "The
|
|
16217
|
+
"description": "The current state of the component.",
|
|
16217
16218
|
"type": "\"disabled\" | \"executing\" | \"failed\" | \"loading\" | \"ready\" | \"success\""
|
|
16218
16219
|
},
|
|
16219
16220
|
{
|
|
@@ -16304,7 +16305,7 @@
|
|
|
16304
16305
|
},
|
|
16305
16306
|
{
|
|
16306
16307
|
"name": "icon",
|
|
16307
|
-
"description": "Icon which represents the
|
|
16308
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
16308
16309
|
"default": "\"list-rectangle\"",
|
|
16309
16310
|
"value": {
|
|
16310
16311
|
"type": "string"
|
|
@@ -16447,7 +16448,7 @@
|
|
|
16447
16448
|
},
|
|
16448
16449
|
{
|
|
16449
16450
|
"name": "icon",
|
|
16450
|
-
"description": "Icon which represents the
|
|
16451
|
+
"description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
16451
16452
|
"type": "string"
|
|
16452
16453
|
},
|
|
16453
16454
|
{
|
|
@@ -16598,7 +16599,7 @@
|
|
|
16598
16599
|
},
|
|
16599
16600
|
{
|
|
16600
16601
|
"name": "state",
|
|
16601
|
-
"description": "The
|
|
16602
|
+
"description": "The current state of the component.",
|
|
16602
16603
|
"value": {
|
|
16603
16604
|
"type": [
|
|
16604
16605
|
"\"disabled\"",
|
|
@@ -16675,7 +16676,7 @@
|
|
|
16675
16676
|
},
|
|
16676
16677
|
{
|
|
16677
16678
|
"name": "state",
|
|
16678
|
-
"description": "The
|
|
16679
|
+
"description": "The current state of the component.",
|
|
16679
16680
|
"type": "\"disabled\" | \"executing\" | \"failed\" | \"loading\" | \"ready\" | \"success\""
|
|
16680
16681
|
},
|
|
16681
16682
|
{
|
|
@@ -16821,7 +16822,7 @@
|
|
|
16821
16822
|
},
|
|
16822
16823
|
{
|
|
16823
16824
|
"name": "state",
|
|
16824
|
-
"description": "The state of the
|
|
16825
|
+
"description": "The current state of the component.",
|
|
16825
16826
|
"value": {
|
|
16826
16827
|
"type": [
|
|
16827
16828
|
"\"can-play\"",
|
|
@@ -16900,7 +16901,7 @@
|
|
|
16900
16901
|
},
|
|
16901
16902
|
{
|
|
16902
16903
|
"name": "state",
|
|
16903
|
-
"description": "The state of the
|
|
16904
|
+
"description": "The current state of the component.",
|
|
16904
16905
|
"type": "\"can-play\" | \"data-loaded\" | \"error\" | \"not-ready\" | \"paused\" | \"playing\" | \"ready\" | \"waiting\""
|
|
16905
16906
|
}
|
|
16906
16907
|
],
|
|
@@ -16924,7 +16925,7 @@
|
|
|
16924
16925
|
},
|
|
16925
16926
|
{
|
|
16926
16927
|
"name": "arcgis-weather",
|
|
16927
|
-
"description": "The Weather component
|
|
16928
|
+
"description": "The Weather component allows easy selection and configuration of weather effects in a\n[Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\nThe available weather types are:\n[sunny](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunnyWeather.html),\n[cloudy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-CloudyWeather.html),\n[rainy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html),\n[snowy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html), and\n[foggy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html).\n\nTo set the weather programmatically, apply the desired weather type to the\n[environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) property of the Scene component.\n\n```js\n// Access the Scene component.\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\n// Specify the weather settings.\nviewElement.environment.weather = {\n type: \"rainy\", // autocasts as new RainyWeather({ cloudCover: 0.7, precipitation: 0.3 })\n cloudCover: 0.7,\n precipitation: 0.3\n};\n```\n\nTo determine if the weather visualization is available, check the boolean value of `viewElement.environment.weatherAvailable`. The weather is only available:\n * in `global` [viewing mode](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#viewingMode),\n * when `atmosphereEnabled` property on [environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) is `true`,\n * at lower altitudes, near the ground.\n\n**Known limitations**\n\nWeather is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [SunnyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunnyWeather.html)\n- [CloudyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-CloudyWeather.html)\n- [RainyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html)\n- [SnowyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html)\n- [FoggyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html)\n- [Sample - Weather component](https://developers.arcgis.com/javascript/latest/sample-code/weather/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
|
|
16928
16929
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/",
|
|
16929
16930
|
"attributes": [
|
|
16930
16931
|
{
|