@arcgis/map-components 5.1.0-next.5 → 5.1.0-next.51
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 +2 -2
- package/dist/cdn/{JTFZMNCO.js → 2CHYBLOC.js} +1 -1
- package/dist/cdn/2G3HODZY.js +2 -0
- package/dist/cdn/2H4TOIDN.js +2 -0
- package/dist/cdn/{27HOTQNB.js → 2RITORYK.js} +1 -1
- package/dist/cdn/{FQJMTGXO.js → 2SQ2T6UO.js} +1 -1
- package/dist/cdn/{GYTQDFSL.js → 2VAAAVLC.js} +1 -1
- package/dist/cdn/{THXN5VZY.js → 3BSS4OJF.js} +1 -1
- package/dist/cdn/{KYOYYCFY.js → 3D475OQN.js} +1 -1
- package/dist/cdn/3GY55TR6.js +2 -0
- package/dist/cdn/{INS77MCT.js → 3JMJAUSY.js} +1 -1
- package/dist/cdn/3KOWS73L.js +2 -0
- package/dist/cdn/3KZ42JDF.js +2 -0
- package/dist/cdn/3L2UM4VM.js +2 -0
- package/dist/cdn/{SPACZLHW.js → 3MQK2MOH.js} +1 -1
- package/dist/cdn/3SDSU2FD.js +2 -0
- package/dist/cdn/442445AM.js +2 -0
- package/dist/cdn/47EM5634.js +2 -0
- package/dist/cdn/4BF7JJHX.js +2 -0
- package/dist/cdn/4EJULFOT.js +2 -0
- package/dist/cdn/4J5MWUWB.js +2 -0
- package/dist/cdn/4Q6KP7JZ.js +2 -0
- package/dist/cdn/{62WRVJ3U.js → 4XLVCJ6P.js} +1 -1
- package/dist/cdn/53A4TVFJ.js +2 -0
- package/dist/cdn/55IJQTCC.js +2 -0
- package/dist/cdn/5CJ44XUV.js +2 -0
- package/dist/cdn/{YA6FUJR2.js → 5DCBCU6G.js} +1 -1
- package/dist/cdn/5E64VGZ5.js +2 -0
- package/dist/cdn/{AFU3S7KW.js → 5EGS3PEJ.js} +1 -1
- package/dist/cdn/5HJXFPDL.js +2 -0
- package/dist/cdn/{3OE7JG5I.js → 5VOKWJYK.js} +1 -1
- package/dist/cdn/{7IBXOWTT.js → 63G7LUIG.js} +1 -1
- package/dist/cdn/63VDVNOO.js +2 -0
- package/dist/cdn/64RBSCIU.js +2 -0
- package/dist/cdn/6CMVUTDU.js +2 -0
- package/dist/cdn/{B6T4CWYF.js → 6D7YTBW3.js} +1 -1
- package/dist/cdn/{5V7HEV2R.js → 6DE54WXK.js} +1 -1
- package/dist/cdn/6K7HT6IF.js +2 -0
- package/dist/cdn/{OKXZJQ2B.js → 6ORHT4GS.js} +1 -1
- package/dist/cdn/6OUYTR22.js +2 -0
- package/dist/cdn/{QLPUP6A3.js → 6XPVHLWQ.js} +1 -1
- package/dist/cdn/6ZLSCYL5.js +2 -0
- package/dist/cdn/73W64JNK.js +2 -0
- package/dist/cdn/{XOP2SCW3.js → 77HK7ZGB.js} +1 -1
- package/dist/cdn/{NWK2WHZF.js → 7DOI3267.js} +1 -1
- package/dist/cdn/7JGUTIGF.js +2 -0
- package/dist/cdn/{5UDFTH5U.js → 7KPBI4XT.js} +1 -1
- package/dist/cdn/{W2A4ONZA.js → 7LBICZSN.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → 7P2RN5VN.js} +1 -1
- package/dist/cdn/{XEYK67J5.js → 7RAC6JLJ.js} +1 -1
- package/dist/cdn/{HOYFIMNJ.js → 7WYC3QVX.js} +1 -1
- package/dist/cdn/A2QPYUE5.js +2 -0
- package/dist/cdn/AE3QS3U2.js +2 -0
- package/dist/cdn/{GKW3DDEQ.js → AE6R5TA3.js} +1 -1
- package/dist/cdn/AHYA2UI7.js +2 -0
- package/dist/cdn/AJVS7BWH.js +2 -0
- package/dist/cdn/AK5ROHZH.js +2 -0
- package/dist/cdn/AMDRLSC6.js +2 -0
- package/dist/cdn/ANBLWVAY.js +2 -0
- package/dist/cdn/{JTEJ2NHE.js → BBCKCE5B.js} +1 -1
- package/dist/cdn/BHOFCE2A.js +2 -0
- package/dist/cdn/{LSF66JVY.js → CK5FRYUH.js} +1 -1
- package/dist/cdn/{IFSGM32L.js → CTUMJNVV.js} +1 -1
- package/dist/cdn/{HY73HOSP.js → CXFTZC4P.js} +1 -1
- package/dist/cdn/DE5AA22M.js +2 -0
- package/dist/cdn/DEUTYZQD.js +2 -0
- package/dist/cdn/{LVSNYSCO.js → DL5FSQTT.js} +1 -1
- package/dist/cdn/DQH27QCF.js +2 -0
- package/dist/cdn/DQJMLG55.js +2 -0
- package/dist/cdn/DRJGVD7E.js +2 -0
- package/dist/cdn/{4YQLL44L.js → DXG3NX4D.js} +1 -1
- package/dist/cdn/DYI5GSBP.js +2 -0
- package/dist/cdn/{5PJEJPFY.js → EDKX67YT.js} +1 -1
- package/dist/cdn/EHZW6UXL.js +2 -0
- package/dist/cdn/EJ3K6UKQ.js +2 -0
- package/dist/cdn/EU2LDM45.js +2 -0
- package/dist/cdn/{CMWIMRU2.js → F2MDJ3QQ.js} +1 -1
- package/dist/cdn/{ENDLVIST.js → F4WUHSSA.js} +1 -1
- package/dist/cdn/FIG6WRQB.js +2 -0
- package/dist/cdn/FL3CDOKT.js +2 -0
- package/dist/cdn/FWXI6DGS.js +2 -0
- package/dist/cdn/FZUR5QCD.js +2 -0
- package/dist/cdn/G2QS2EES.js +2 -0
- package/dist/cdn/{GLV3FW3Z.js → GIQWOYCO.js} +1 -1
- package/dist/cdn/GLFXKTJG.js +2 -0
- package/dist/cdn/{RN44YUJM.js → GTL2XK2G.js} +1 -1
- package/dist/cdn/GV445FXS.js +2 -0
- package/dist/cdn/{H5UJFKXO.js → GZ7R6ON7.js} +1 -1
- package/dist/cdn/{6XJFSJGE.js → H35H7V4U.js} +1 -1
- package/dist/cdn/H3W4AVNX.js +2 -0
- package/dist/cdn/{JFDN4YD7.js → H5TVMXUR.js} +1 -1
- package/dist/cdn/HBJXWV7A.js +2 -0
- package/dist/cdn/HIHI4JJ3.js +2 -0
- package/dist/cdn/HJDWKPKG.js +2 -0
- package/dist/cdn/HRPEPALP.js +2 -0
- package/dist/cdn/I3ZAURHF.js +2 -0
- package/dist/cdn/{CQ4QHVEL.js → I5CLFGA4.js} +1 -1
- package/dist/cdn/{FYYKRDW3.js → I7FUAEVX.js} +1 -1
- package/dist/cdn/I7NY2VAH.js +2 -0
- package/dist/cdn/IUL5Z7VB.js +2 -0
- package/dist/cdn/IXP3RVNX.js +2 -0
- package/dist/cdn/{D4BT63BV.js → J2UAHEHR.js} +1 -1
- package/dist/cdn/{4IC3NWKK.js → J5DZU2LD.js} +1 -1
- package/dist/cdn/{TVTQW6GC.js → J6UG5EF7.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → JNUEXFDM.js} +1 -1
- package/dist/cdn/JO2YQJCG.js +2 -0
- package/dist/cdn/{SKGRUNAJ.js → JS63ZT7D.js} +1 -1
- package/dist/cdn/{D6VUTTEH.js → JSTCLI7D.js} +1 -1
- package/dist/cdn/JVFREF7G.js +4 -0
- package/dist/cdn/KMFIAOC5.js +2 -0
- package/dist/cdn/KOLU46FC.js +2 -0
- package/dist/cdn/KQE4KBPO.js +2 -0
- package/dist/cdn/{6RDB26PI.js → KXHRLYKD.js} +1 -1
- package/dist/cdn/{GHFKQEFW.js → L4P6QUAJ.js} +1 -1
- package/dist/cdn/LCWJCL4W.js +2 -0
- package/dist/cdn/LF3ACEGB.js +2 -0
- package/dist/cdn/{HXPCADLA.js → LMRDVTIM.js} +1 -1
- package/dist/cdn/LYUX5DD5.js +2 -0
- package/dist/cdn/MDRC374Z.js +4 -0
- package/dist/cdn/{AJBY2TVM.js → MFITF23R.js} +1 -1
- package/dist/cdn/MN6VPZBF.js +2 -0
- package/dist/cdn/{ZATCJZP2.js → MPXHOG6M.js} +1 -1
- package/dist/cdn/MSYERWRZ.js +2 -0
- package/dist/cdn/{IIPYTUR3.js → N6P3CYCE.js} +1 -1
- package/dist/cdn/{BSRIYDMN.js → NDK2KLBE.js} +1 -1
- package/dist/cdn/NRDGJWVQ.js +2 -0
- package/dist/cdn/O5TDDX7K.js +2 -0
- package/dist/cdn/OCGWSO54.js +2 -0
- package/dist/cdn/ODQ4JQEF.js +2 -0
- package/dist/cdn/OGLMIUHI.js +2 -0
- package/dist/cdn/{3FSARSVN.js → OH3I63ZU.js} +1 -1
- package/dist/cdn/OKKVTQV5.js +2 -0
- package/dist/cdn/{ZYMCKBTT.js → ORZL7AJK.js} +1 -1
- package/dist/cdn/{MQ6HO6LA.js → OSSSLPDH.js} +1 -1
- package/dist/cdn/OSYS3QIX.js +2 -0
- package/dist/cdn/OWIJFPEZ.js +2 -0
- package/dist/cdn/OY3SJG2A.js +2 -0
- package/dist/cdn/P2ABZVPJ.js +2 -0
- package/dist/cdn/P4KEOVAP.js +2 -0
- package/dist/cdn/{7357JBTM.js → PESOHUKZ.js} +1 -1
- package/dist/cdn/{DUT3D6UH.js → PIRNCGNB.js} +1 -1
- package/dist/cdn/PZRX6DU7.js +2 -0
- package/dist/cdn/{X26CF5AU.js → Q33VTX4M.js} +1 -1
- package/dist/cdn/QFXQQ57I.js +2 -0
- package/dist/cdn/QUXKTXGS.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → QZFSCUU6.js} +1 -1
- package/dist/cdn/{JBJ5NQTI.js → RBTA7SDX.js} +1 -1
- package/dist/cdn/RERHZ7N6.js +2 -0
- package/dist/cdn/RH62B2NE.js +2 -0
- package/dist/cdn/RO4TU5R3.js +2 -0
- package/dist/cdn/RRK4SIGU.js +2 -0
- package/dist/cdn/{5CYQI4SX.js → RRTCHX7D.js} +1 -1
- package/dist/cdn/{34V5UMTY.js → RT4LIRRF.js} +1 -1
- package/dist/cdn/{KBY7C6QM.js → RT7W2L3G.js} +1 -1
- package/dist/cdn/RWKDHERX.js +2 -0
- package/dist/cdn/{4PWBNKOA.js → RZCSCSZX.js} +1 -1
- package/dist/cdn/S32MGHWV.js +2 -0
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/S676CANE.js +2 -0
- package/dist/cdn/SHA36V36.js +2 -0
- package/dist/cdn/SI3YNLBT.js +2 -0
- package/dist/cdn/{DU2TFEP3.js → SUCLDKGU.js} +2 -2
- package/dist/cdn/SUWCCBWL.js +2 -0
- package/dist/cdn/{WAASVZRG.js → SVM4RWA7.js} +1 -1
- package/dist/cdn/{24PK3ZLX.js → SVVJHTPA.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → T3IOQA35.js} +1 -1
- package/dist/cdn/TBWM3VXL.js +2 -0
- package/dist/cdn/TCFMT5ET.js +2 -0
- package/dist/cdn/{IZOPV2VQ.js → TCYJRUYQ.js} +1 -1
- package/dist/cdn/{NW44UOKT.js → TE5VBSUT.js} +1 -1
- package/dist/cdn/{2IOCPFSI.js → TFMBO2TF.js} +1 -1
- package/dist/cdn/{H5QDPW5Y.js → TFUFDVQ6.js} +1 -1
- package/dist/cdn/{HK6EWWUB.js → TPLNBIOY.js} +1 -1
- package/dist/cdn/TRD7HG5P.js +2 -0
- package/dist/cdn/TVLLHHUA.js +2 -0
- package/dist/cdn/{TCG6VGIB.js → UCJK3GTY.js} +1 -1
- package/dist/cdn/UDSVK25W.js +2 -0
- package/dist/cdn/UFMWUZE3.js +2 -0
- package/dist/cdn/URMIFMUJ.js +2 -0
- package/dist/cdn/V46EJSBT.js +2 -0
- package/dist/cdn/VCLHE53D.js +2 -0
- package/dist/cdn/VDXT7AXJ.js +2 -0
- package/dist/cdn/VEYOGGAN.js +2 -0
- package/dist/cdn/VG6AAARR.js +2 -0
- package/dist/cdn/VLRZCW6D.js +2 -0
- package/dist/cdn/{BQMLNDT6.js → VQLAZAPA.js} +1 -1
- package/dist/cdn/W73LTDPZ.js +2 -0
- package/dist/cdn/WDAYQZKY.js +2 -0
- package/dist/cdn/WH7FEIAX.js +2 -0
- package/dist/cdn/{JLK664TB.js → WR3AVKYZ.js} +1 -1
- package/dist/cdn/{4363SIKC.js → WUWAJE6E.js} +1 -1
- package/dist/cdn/XEXCDGSR.js +2 -0
- package/dist/cdn/{L5EGJLC4.js → XKP5ITQT.js} +1 -1
- package/dist/cdn/XPZYTUFI.js +2 -0
- package/dist/cdn/{ATRTNMMR.js → Y2SCBPL7.js} +1 -1
- package/dist/cdn/{P4PTEXIJ.js → YIIQACF6.js} +1 -1
- package/dist/cdn/YSJ2M36J.js +2 -0
- package/dist/cdn/YXUK3MCB.js +2 -0
- package/dist/cdn/Z2WO7B65.js +2 -0
- package/dist/cdn/Z5NISON6.js +2 -0
- package/dist/cdn/ZBPKNJD3.js +2 -0
- package/dist/cdn/ZD4Y4HRX.js +2 -0
- package/dist/cdn/{BUE7MOVD.js → ZOCF3BGK.js} +1 -1
- package/dist/cdn/ZYCOEJDE.js +2 -0
- package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/component-utils.js +85 -72
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/layer-utils.js +38 -12
- package/dist/chunks/measurementUtils.js +12 -12
- package/dist/chunks/slots.js +27 -27
- package/dist/chunks/useArcgisViewReadyError.js +11 -11
- package/dist/chunks/useViewModel.js +5 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +97 -100
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -26
- package/dist/components/arcgis-area-measurement-3d/customElement.js +69 -86
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +126 -99
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
- package/dist/components/arcgis-building-explorer/customElement.js +17 -12
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +120 -73
- package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.js +23 -22
- package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
- package/dist/components/arcgis-daylight/customElement.js +212 -206
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -23
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -91
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +60 -14
- package/dist/components/arcgis-directions/customElement.js +31 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +77 -80
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +79 -18
- package/dist/components/arcgis-editor/customElement.js +23 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +38 -39
- package/dist/components/arcgis-feature/customElement.js +39 -39
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-fields/customElement.js +23 -22
- package/dist/components/arcgis-feature-form/customElement.d.ts +32 -14
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- package/dist/components/arcgis-feature-table/customElement.d.ts +181 -87
- package/dist/components/arcgis-feature-table/customElement.js +46 -30
- package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +126 -0
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +25 -21
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +34 -40
- package/dist/components/arcgis-features/customElement.d.ts +70 -70
- package/dist/components/arcgis-features/customElement.js +74 -79
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +8 -10
- package/dist/components/arcgis-home/customElement.js +16 -14
- package/dist/components/arcgis-layer-list/customElement.d.ts +50 -53
- package/dist/components/arcgis-legend/customElement.d.ts +42 -43
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
- package/dist/components/arcgis-link-chart/customElement.d.ts +76 -68
- package/dist/components/arcgis-link-chart/customElement.js +8 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +3 -4
- package/dist/components/arcgis-locate/customElement.js +24 -23
- package/dist/components/arcgis-map/customElement.d.ts +189 -181
- package/dist/components/arcgis-map/customElement.js +4 -4
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
- package/dist/components/arcgis-measurement-content/customElement.js +18 -14
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
- package/dist/components/arcgis-paste/customElement.d.ts +5 -5
- package/dist/components/arcgis-paste/customElement.js +59 -54
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +87 -75
- package/dist/components/arcgis-popup/customElement.js +121 -125
- package/dist/components/arcgis-popup/types.d.ts +2 -2
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-presentation/customElement.js +6 -6
- package/dist/components/arcgis-print/customElement.d.ts +51 -31
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +14 -2
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +185 -177
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.d.ts +55 -59
- package/dist/components/arcgis-search/customElement.js +13 -12
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
- package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
- package/dist/components/arcgis-sketch/customElement.d.ts +78 -33
- package/dist/components/arcgis-sketch/customElement.js +31 -19
- package/dist/components/arcgis-slice/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.js +11 -10
- package/dist/components/arcgis-slice/types.d.ts +4 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +51 -54
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +79 -101
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +149 -99
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +13 -14
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +81 -97
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
- package/dist/components/arcgis-snapping-controls/customElement.js +3 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +16 -17
- package/dist/components/arcgis-swipe/customElement.js +55 -43
- package/dist/components/arcgis-table-list/customElement.d.ts +115 -80
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +23 -25
- package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +10 -34
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
- package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -29
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +76 -60
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +23 -6
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +116 -73
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +17 -5
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +214 -209
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +12 -12
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +23 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +113 -92
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +13 -11
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
- package/dist/components/arcgis-volume-measurement/customElement.js +164 -173
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/components/arcgis-zoom/types.d.ts +3 -0
- package/dist/components/types.d.ts +58 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +13 -35
- package/dist/loader.js +35 -35
- package/dist/types/lumina.d.ts +32 -54
- package/dist/types/preact.d.ts +33 -59
- package/dist/types/react.d.ts +34 -64
- package/dist/types/stencil.d.ts +32 -54
- package/package.json +7 -7
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/2BJHF4JK.js +0 -2
- package/dist/cdn/2K45WUVH.js +0 -2
- package/dist/cdn/3NKCXSOG.js +0 -2
- package/dist/cdn/3WKKQ4VO.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/4URF7CKU.js +0 -2
- package/dist/cdn/5FZLG5YS.js +0 -2
- package/dist/cdn/5NUK7GUG.js +0 -2
- package/dist/cdn/5RBOHMMK.js +0 -2
- package/dist/cdn/6NR6EZZI.js +0 -2
- package/dist/cdn/6Q52PYPA.js +0 -2
- package/dist/cdn/6V543DNR.js +0 -2
- package/dist/cdn/6ZNO34O5.js +0 -2
- package/dist/cdn/77ERVO5S.js +0 -2
- package/dist/cdn/7CBBWB77.js +0 -2
- package/dist/cdn/7ZCMIKP6.js +0 -2
- package/dist/cdn/AVVMBZTY.js +0 -2
- package/dist/cdn/B2WEYYED.js +0 -2
- package/dist/cdn/BAPY2HFP.js +0 -2
- package/dist/cdn/BB5CXHDQ.js +0 -2
- package/dist/cdn/BEXRPBHT.js +0 -2
- package/dist/cdn/BGOWWLCQ.js +0 -2
- package/dist/cdn/BMR2YFEM.js +0 -2
- package/dist/cdn/C2PSJPHR.js +0 -2
- package/dist/cdn/CEJGZMGB.js +0 -2
- package/dist/cdn/CIUAWIL5.js +0 -4
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/CNMF4MVD.js +0 -2
- package/dist/cdn/CQ2L75M3.js +0 -2
- package/dist/cdn/CUWONRT5.js +0 -2
- package/dist/cdn/CXOYV56L.js +0 -2
- package/dist/cdn/DJYDBSLW.js +0 -2
- package/dist/cdn/DLFGSUYT.js +0 -2
- package/dist/cdn/E4YMNWRJ.js +0 -2
- package/dist/cdn/EJZTSGNS.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EPQN4FJS.js +0 -2
- package/dist/cdn/EQKQCYUY.js +0 -2
- package/dist/cdn/ET6YD3C7.js +0 -2
- package/dist/cdn/EYW7YQF6.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/FFDRV5ZO.js +0 -2
- package/dist/cdn/FOMIDTAN.js +0 -2
- package/dist/cdn/FTBTVD7U.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/G7PHEWBZ.js +0 -2
- package/dist/cdn/GLNRLEZE.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/GUAI5SHN.js +0 -2
- package/dist/cdn/GYDNEXYU.js +0 -2
- package/dist/cdn/HGNP2J3R.js +0 -2
- package/dist/cdn/HVI2FE73.js +0 -2
- package/dist/cdn/I2WEEE2E.js +0 -2
- package/dist/cdn/I6DTC6TX.js +0 -2
- package/dist/cdn/ILPNFQWH.js +0 -2
- package/dist/cdn/J7ZNOOZ4.js +0 -2
- package/dist/cdn/JCV26SSG.js +0 -2
- package/dist/cdn/JDZWJLJX.js +0 -2
- package/dist/cdn/JLIZWDU5.js +0 -2
- package/dist/cdn/JMHCIJG4.js +0 -2
- package/dist/cdn/KE3XRRXO.js +0 -2
- package/dist/cdn/KECAR2NZ.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/KNJ7PME5.js +0 -2
- package/dist/cdn/KRCRJUYG.js +0 -2
- package/dist/cdn/KS2LPB5B.js +0 -2
- package/dist/cdn/L6LZYPWJ.js +0 -2
- package/dist/cdn/L7NIKN24.js +0 -2
- package/dist/cdn/LLNNQ2ED.js +0 -2
- package/dist/cdn/LMV6L2OF.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/LZ3PMD7Z.js +0 -2
- package/dist/cdn/LZ7PMWXR.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/N76CLHYJ.js +0 -2
- package/dist/cdn/NJJEL5BK.js +0 -2
- package/dist/cdn/OF4IOSNA.js +0 -2
- package/dist/cdn/OJNMPOYD.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/OXHLBFME.js +0 -2
- package/dist/cdn/PCQ5PXPF.js +0 -2
- package/dist/cdn/PESPV6VP.js +0 -2
- package/dist/cdn/PFYZ7JRB.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/POEZXWTT.js +0 -2
- package/dist/cdn/PTWLVTFS.js +0 -4
- package/dist/cdn/RTSTVBQI.js +0 -2
- package/dist/cdn/RXFUZXUX.js +0 -2
- package/dist/cdn/S52VES4H.js +0 -2
- package/dist/cdn/SFM3XWUA.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/SSZMOOL6.js +0 -2
- package/dist/cdn/SZNBYDQI.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/U5HXLA7K.js +0 -2
- package/dist/cdn/UTH3SGAS.js +0 -2
- package/dist/cdn/UZ7KLWGC.js +0 -2
- package/dist/cdn/V3M37NHT.js +0 -2
- package/dist/cdn/VGFC3ME5.js +0 -2
- package/dist/cdn/VGTTCLO3.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- package/dist/cdn/VYHDFNKP.js +0 -2
- package/dist/cdn/WICYZB2Q.js +0 -2
- package/dist/cdn/XGJPCRX3.js +0 -2
- package/dist/cdn/XWAT4IT2.js +0 -2
- package/dist/cdn/XXDOZQ6Q.js +0 -2
- package/dist/cdn/Y7HDE5NQ.js +0 -2
- package/dist/cdn/YEDAGZUF.js +0 -2
- package/dist/cdn/YSDQ5VNK.js +0 -2
- package/dist/cdn/Z3OV6UKM.js +0 -2
- package/dist/cdn/Z6VVHLCW.js +0 -2
- package/dist/cdn/ZHINQNZ2.js +0 -2
- package/dist/cdn/ZIX3WE2Q.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/cdn/ZPEH2TRN.js +0 -2
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -215
- package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/action-utils.d.ts +0 -3
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/cdn/{W5B5LTGN.js → 2HXYJZSB.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → 37GJW6KT.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → 4IM2FY5W.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → 4MDRPZTG.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → 4STAROOM.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → 5IMWXYL2.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 5TXE67XV.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → BBQPUWRO.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → BND2TJBO.js} +0 -0
- /package/dist/cdn/{UQ7E33T4.js → CJOHGWK6.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → D5WXOOS3.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → DMDCKD5U.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → EP252O27.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → EVHNFE5I.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → EW6V3NZI.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → F6BQWE5I.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → FLLSBLLE.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → FQZXILRT.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → GHY23IXW.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → GIGQIUF5.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → GS75FRUR.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → HGAJ2IEN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → JKVKP7AW.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → JU3BLGXG.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → L4TA63M6.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → LQVZVGY4.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → MM4KQLRF.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → Q3GALNWS.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → QM34BSKE.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → QTWRDNXX.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → TC3Q2QUA.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → TEFALOII.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → TP5VEU3D.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → U35ISUWJ.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → UUC3DBCQ.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → UVMLKDJA.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → V7DG2KF6.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → WHDMC5HB.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → XJXQC6HM.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → YZSLMAVX.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → ZUPEVR3P.js} +0 -0
- /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
- /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
5
|
-
import type Analysis from "@arcgis/core/analysis/Analysis";
|
|
6
|
-
import type Point from "@arcgis/core/geometry/Point";
|
|
7
|
-
import type Viewpoint from "@arcgis/core/Viewpoint";
|
|
8
|
-
import type Ground from "@arcgis/core/Ground";
|
|
9
|
-
import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings";
|
|
10
|
-
import type Basemap from "@arcgis/core/Basemap";
|
|
4
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
5
|
+
import type Analysis from "@arcgis/core/analysis/Analysis.js";
|
|
6
|
+
import type Point from "@arcgis/core/geometry/Point.js";
|
|
7
|
+
import type Viewpoint from "@arcgis/core/Viewpoint.js";
|
|
8
|
+
import type Ground from "@arcgis/core/Ground.js";
|
|
9
|
+
import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings.js";
|
|
10
|
+
import type Basemap from "@arcgis/core/Basemap.js";
|
|
11
|
+
import type Map from "@arcgis/core/Map.js";
|
|
11
12
|
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
12
|
-
import type Analysis2 from "@arcgis/core/analysis/Analysis.js";
|
|
13
13
|
import type ColorBackground from "@arcgis/core/webmap/background/ColorBackground.js";
|
|
14
14
|
import type BasemapView from "@arcgis/core/views/BasemapView.js";
|
|
15
15
|
import type MapViewConstraints from "@arcgis/core/views/2d/MapViewConstraints.js";
|
|
@@ -18,53 +18,52 @@ import type Graphic from "@arcgis/core/Graphic.js";
|
|
|
18
18
|
import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
|
|
19
19
|
import type IPSInfo from "@arcgis/core/webdoc/IPSInfo.js";
|
|
20
20
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
21
|
-
import type Map2 from "@arcgis/core/Map.js";
|
|
22
21
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
23
22
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
23
|
+
import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
24
24
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
25
25
|
import type Theme from "@arcgis/core/views/Theme.js";
|
|
26
26
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
27
27
|
import type Polygon from "@arcgis/core/geometry/Polygon.js";
|
|
28
28
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
29
|
-
import type { LoadErrorSource } from "
|
|
29
|
+
import type { LoadErrorSource } from "../types.js";
|
|
30
30
|
import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
|
|
31
|
-
import type { LayerView2DFor } from "@arcgis/core/views/2d/types";
|
|
32
|
-
import type { DoubleClickEvent, DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, ClickEvent } from "@arcgis/core/views/input/types";
|
|
33
|
-
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, Screenshot, UserSettings, ViewHitTestResult, HitTestOptions, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types";
|
|
34
|
-
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types";
|
|
35
|
-
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
36
|
-
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView";
|
|
31
|
+
import type { LayerView2DFor, ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
32
|
+
import type { DoubleClickEvent, DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
33
|
+
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, Screenshot, UserSettings, ViewHitTestResult, HitTestOptions, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types.js";
|
|
34
|
+
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types.js";
|
|
35
|
+
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
36
|
+
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
37
37
|
import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
|
|
38
38
|
import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
|
|
39
|
-
import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
40
39
|
|
|
41
40
|
/**
|
|
42
41
|
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
43
|
-
* [
|
|
42
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
44
43
|
*
|
|
45
44
|
* #### Initializing the Map component
|
|
46
|
-
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/
|
|
45
|
+
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/)
|
|
47
46
|
* and can be initialized in one of three ways:
|
|
48
47
|
*
|
|
49
48
|
* ##### 1. Using a WebMap
|
|
50
|
-
* Load a [WebMap](https://developers.arcgis.com/javascript/latest/
|
|
51
|
-
* or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [
|
|
49
|
+
* Load a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/) from [ArcGIS Online](https://www.arcgis.com/home/index.html)
|
|
50
|
+
* or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [itemId](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#itemId) attribute.
|
|
52
51
|
*
|
|
53
52
|
* ```html
|
|
54
53
|
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
|
|
55
54
|
* ```
|
|
56
55
|
*
|
|
57
56
|
* ##### 2. Setting Map component attributes directly
|
|
58
|
-
* Define the Map component using attributes like [basemap](
|
|
57
|
+
* Define the Map component using attributes like [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap), [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), and [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#zoom) directly.
|
|
59
58
|
*
|
|
60
59
|
* ```html
|
|
61
60
|
* <arcgis-map basemap="satellite" center="-154.88, 19.46" zoom="15"></arcgis-map>
|
|
62
61
|
* ```
|
|
63
62
|
*
|
|
64
63
|
* ##### 3. Providing a Map instance
|
|
65
|
-
* Alternatively, you can provide your own [Map](https://developers.arcgis.com/javascript/latest/
|
|
66
|
-
* This allows full control over map configuration, including [basemap](
|
|
67
|
-
* and [
|
|
64
|
+
* Alternatively, you can provide your own [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) instance to the component.
|
|
65
|
+
* This allows full control over map configuration, including [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap), operational [layers](https://developers.arcgis.com/javascript/latest/references/core/Map/#layers)
|
|
66
|
+
* and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference). See the [Select features by rectangle sample](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
68
67
|
* for an example of this approach in action.
|
|
69
68
|
*
|
|
70
69
|
* ```html
|
|
@@ -94,7 +93,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
94
93
|
* </arcgis-map>
|
|
95
94
|
* ```
|
|
96
95
|
*
|
|
97
|
-
* The Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/
|
|
96
|
+
* The Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/references/core/) of the ArcGIS Maps SDK for JavaScript.
|
|
98
97
|
*
|
|
99
98
|
* ```js
|
|
100
99
|
* const viewElement = document.querySelector("arcgis-map");
|
|
@@ -114,6 +113,8 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
114
113
|
* @cssproperty [--arcgis-layout-overlay-space-left] - _Since 4.34_ Specifies the left padding for the layout.
|
|
115
114
|
* @cssproperty [--arcgis-layout-overlay-space-right] - _Since 4.34_ Specifies the right padding for the layout.
|
|
116
115
|
* @cssproperty [--arcgis-view-color-focus] - _Since 5.0_ Specifies the focus outline color for the view.
|
|
116
|
+
* @cssproperty [--arcgis-table-row-background-color] - _Since 5.1_ Specifies the background color for table rows.
|
|
117
|
+
* @cssproperty [--arcgis-table-row-alt-background-color] - _Since 5.1_ Specifies the background color for alternate table rows.
|
|
117
118
|
* @slot - Default slot for adding components to the map. User is responsible for positioning the content via CSS.
|
|
118
119
|
* @slot [top-left] - Slot for components positioned in the top-left corner.
|
|
119
120
|
* @slot [top-right] - Slot for components positioned in the top-right corner.
|
|
@@ -123,7 +124,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
123
124
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
124
125
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
125
126
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
126
|
-
* @slot [popup] - Slot for the [
|
|
127
|
+
* @slot [popup] - Slot for the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component to open automatically on click. Only the Popup component can be placed in this slot.
|
|
127
128
|
* @since 4.28
|
|
128
129
|
*/
|
|
129
130
|
export abstract class ArcgisMap extends LitElement {
|
|
@@ -131,7 +132,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
131
132
|
* Collection containing a flat list of all the created LayerViews
|
|
132
133
|
* related to the basemap, operational layers, and group layers in this view.
|
|
133
134
|
*
|
|
134
|
-
* @see [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
135
|
+
* @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
135
136
|
*/
|
|
136
137
|
get allLayerViews(): ReadonlyCollection<LayerView>;
|
|
137
138
|
/**
|
|
@@ -145,17 +146,17 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
145
146
|
* // Removes an analysis from the View
|
|
146
147
|
* view.analyses.remove(elevationProfileAnalysis);
|
|
147
148
|
*/
|
|
148
|
-
accessor analyses: Collection<
|
|
149
|
+
accessor analyses: Collection<Analysis>;
|
|
149
150
|
/**
|
|
150
151
|
* Indicates whether animations are disabled in the view. This includes animated symbols (animated
|
|
151
|
-
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/
|
|
152
|
-
* [PictureMarkerSymbol](https://developers.arcgis.com/javascript/latest/
|
|
152
|
+
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/),
|
|
153
|
+
* [PictureMarkerSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/PictureMarkerSymbol/)
|
|
153
154
|
* from a GIF/animated PNG), animated renderers
|
|
154
|
-
* ([FlowRenderer](https://developers.arcgis.com/javascript/latest/
|
|
155
|
-
* animated layers ([MediaLayer](https://developers.arcgis.com/javascript/latest/
|
|
156
|
-
* [VideoLayer](https://developers.arcgis.com/javascript/latest/
|
|
155
|
+
* ([FlowRenderer](https://developers.arcgis.com/javascript/latest/references/core/rasterRenderers/#FlowRenderer)),
|
|
156
|
+
* animated layers ([MediaLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer/),
|
|
157
|
+
* [VideoLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VideoLayer/)), and
|
|
157
158
|
* animations triggered by view navigation (for example,
|
|
158
|
-
* [goTo()](https://developers.arcgis.com/javascript/latest/
|
|
159
|
+
* [goTo()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#goTo)).
|
|
159
160
|
* Setting this property to `true` disables all animations in the view.
|
|
160
161
|
*
|
|
161
162
|
* @default false
|
|
@@ -209,11 +210,11 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
209
210
|
* Specifies a basemap for the map. The basemap is a set of layers that give
|
|
210
211
|
* geographic context to the view and the other operational layers
|
|
211
212
|
* in the map.
|
|
212
|
-
* It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/
|
|
213
|
-
* [Basemap](https://developers.arcgis.com/javascript/latest/
|
|
214
|
-
* or [BasemapStyle](https://developers.arcgis.com/javascript/latest/
|
|
213
|
+
* It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap)),
|
|
214
|
+
* [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/)
|
|
215
|
+
* or [BasemapStyle](https://developers.arcgis.com/javascript/latest/references/core/support/BasemapStyle/).
|
|
215
216
|
*
|
|
216
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
217
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap)
|
|
217
218
|
*/
|
|
218
219
|
accessor basemap: Basemap | string | undefined;
|
|
219
220
|
/** Represents the view for a single basemap after it has been added to the map. */
|
|
@@ -234,23 +235,23 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
234
235
|
get canZoomOut(): boolean;
|
|
235
236
|
/**
|
|
236
237
|
* Represents the view's center point; when setting the center, you may pass a
|
|
237
|
-
* [Point](https://developers.arcgis.com/javascript/latest/
|
|
238
|
+
* [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) instance, numbers representing
|
|
238
239
|
* a longitude/latitude pair (`[-100.4593, 36.9014]`), or a string attribute representing a longitude/latitude pair ("-100.4593, 36.9014").
|
|
239
|
-
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](
|
|
240
|
+
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
240
241
|
*
|
|
241
|
-
* The returned [Point](https://developers.arcgis.com/javascript/latest/
|
|
242
|
+
* The returned [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) object is always
|
|
242
243
|
* in the spatial reference of the view and may be modified internally.
|
|
243
|
-
* To persist the returned object, create a clone using [clone()](https://developers.arcgis.com/javascript/latest/
|
|
244
|
+
* To persist the returned object, create a clone using [clone()](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#clone) method.
|
|
244
245
|
*
|
|
245
246
|
* **Notes**
|
|
246
247
|
*
|
|
247
|
-
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](
|
|
248
|
-
* [projectOperator](https://developers.arcgis.com/javascript/latest/
|
|
249
|
-
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/
|
|
250
|
-
* [loaded](https://developers.arcgis.com/javascript/latest/
|
|
248
|
+
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) of the view, then the
|
|
249
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) will be loaded dynamically.
|
|
250
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) must be
|
|
251
|
+
* [loaded](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) when
|
|
251
252
|
* setting the `center` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
252
|
-
* loaded prior to setting the center by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/
|
|
253
|
-
* method. If it is not yet loaded, you can call [load()](https://developers.arcgis.com/javascript/latest/
|
|
253
|
+
* loaded prior to setting the center by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#isLoaded)
|
|
254
|
+
* method. If it is not yet loaded, you can call [load()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) method.
|
|
254
255
|
*
|
|
255
256
|
* @example
|
|
256
257
|
* ```html
|
|
@@ -298,12 +299,13 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
298
299
|
get center(): MapView["center"];
|
|
299
300
|
set center(value: MapView["center"] | null | undefined | number[] | string);
|
|
300
301
|
/**
|
|
301
|
-
* Specifies constraints to scale, zoom, and rotation that may be applied to the
|
|
302
|
+
* Specifies constraints to scale, zoom, and rotation that may be applied to the Map.
|
|
302
303
|
*
|
|
303
|
-
* @see [
|
|
304
|
-
* @see [
|
|
304
|
+
* @see [MapViewConstraints](https://developers.arcgis.com/javascript/latest/references/core/views/2d/MapViewConstraints/)
|
|
305
|
+
* @see [TileInfo#create()](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/#create)
|
|
306
|
+
* @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#mapview-lods)
|
|
305
307
|
* @example
|
|
306
|
-
* view.constraints = {
|
|
308
|
+
* view.constraints = new MapViewConstraints({
|
|
307
309
|
* geometry: { // Constrain lateral movement to Lower Manhattan
|
|
308
310
|
* type: "extent",
|
|
309
311
|
* xmin: -74.020,
|
|
@@ -314,9 +316,9 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
314
316
|
* minScale: 500000, // User cannot zoom out beyond a scale of 1:500,000
|
|
315
317
|
* maxScale: 0, // User can overzoom tiles
|
|
316
318
|
* rotationEnabled: false // Disables map rotation
|
|
317
|
-
* };
|
|
319
|
+
* });
|
|
318
320
|
* @example
|
|
319
|
-
* // This snippet shows how to set the
|
|
321
|
+
* // This snippet shows how to set the Map scale 1:1 while generating additional LODs for the constraints.
|
|
320
322
|
* const spatialReference = new SpatialReference({
|
|
321
323
|
* wkid: 2154
|
|
322
324
|
* });
|
|
@@ -333,17 +335,16 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
333
335
|
* });
|
|
334
336
|
* const lods = tileInfo.lods;
|
|
335
337
|
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
* scale: 1,
|
|
340
|
-
* center,
|
|
341
|
-
* spatialReference,
|
|
342
|
-
* constraints: {
|
|
343
|
-
* lods: lods,
|
|
344
|
-
* snapToZoom: false
|
|
345
|
-
* }
|
|
338
|
+
* const constraints = new MapViewConstraints({
|
|
339
|
+
* snapToZoom: false,
|
|
340
|
+
* lods
|
|
346
341
|
* });
|
|
342
|
+
*
|
|
343
|
+
* const arcgisMap = document.querySelector("arcgis-map");
|
|
344
|
+
* arcgisMap.spatialReference = spatialReference;
|
|
345
|
+
* arcgisMap.center = center;
|
|
346
|
+
* arcgisMap.scale = 1;
|
|
347
|
+
* arcgisMap.constraints = constraints;
|
|
347
348
|
*/
|
|
348
349
|
accessor constraints: MapViewConstraints;
|
|
349
350
|
/**
|
|
@@ -354,27 +355,27 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
354
355
|
*/
|
|
355
356
|
accessor displayFilterDisabled: boolean;
|
|
356
357
|
/**
|
|
357
|
-
* The extent represents the visible portion of a map within the view as an instance of [Extent](https://developers.arcgis.com/javascript/latest/
|
|
358
|
+
* The extent represents the visible portion of a map within the view as an instance of [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/).
|
|
358
359
|
* Setting the extent immediately changes the view without animation. To animate
|
|
359
|
-
* the view, see this component's [goTo()](
|
|
360
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
360
361
|
* When the view is rotated, the extent does not update to include the newly visible portions of the map.
|
|
361
362
|
*
|
|
362
363
|
* **Notes**
|
|
363
364
|
*
|
|
364
|
-
* * If the spatial reference of `extent` set does not match the [spatialReference](
|
|
365
|
-
* [projectOperator](https://developers.arcgis.com/javascript/latest/
|
|
366
|
-
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/
|
|
367
|
-
* must be [loaded](https://developers.arcgis.com/javascript/latest/
|
|
365
|
+
* * If the spatial reference of `extent` set does not match the [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) of the view, then the
|
|
366
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) will be loaded dynamically.
|
|
367
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/)
|
|
368
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) when
|
|
368
369
|
* setting the `extent` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
369
|
-
* loaded prior to setting the extent by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/
|
|
370
|
-
* method. If it is not yet loaded, you can call the [load](https://developers.arcgis.com/javascript/latest/
|
|
370
|
+
* loaded prior to setting the extent by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#isLoaded)
|
|
371
|
+
* method. If it is not yet loaded, you can call the [load](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) method.
|
|
371
372
|
*/
|
|
372
373
|
accessor extent: MapView["extent"];
|
|
373
374
|
/**
|
|
374
375
|
* A rejected view indicates a fatal error making it unable to display.
|
|
375
376
|
*
|
|
376
377
|
* @since 4.12
|
|
377
|
-
* @see [tryFatalErrorRecovery()](https://developers.arcgis.com/javascript/latest/
|
|
378
|
+
* @see [tryFatalErrorRecovery()](https://developers.arcgis.com/javascript/latest/references/core/views/View/#tryFatalErrorRecovery)
|
|
378
379
|
* @example
|
|
379
380
|
* reactiveUtils.when(
|
|
380
381
|
* () => view.fatalError,
|
|
@@ -405,16 +406,16 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
405
406
|
* // Removes a graphic from the View
|
|
406
407
|
* graphics.remove(pointGraphic);
|
|
407
408
|
* ```
|
|
408
|
-
* @see [Graphic](https://developers.arcgis.com/javascript/latest/
|
|
409
|
-
* @see [GraphicsLayer](https://developers.arcgis.com/javascript/latest/
|
|
409
|
+
* @see [Graphic](https://developers.arcgis.com/javascript/latest/references/core/Graphic/)
|
|
410
|
+
* @see [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/)
|
|
410
411
|
* @see [Intro to graphics](https://developers.arcgis.com/javascript/latest/sample-code/intro-graphics/)
|
|
411
412
|
*/
|
|
412
413
|
accessor graphics: Collection<Graphic>;
|
|
413
414
|
/**
|
|
414
415
|
* Specifies the surface properties for the map.
|
|
415
416
|
*
|
|
416
|
-
* @see [ElevationLayer](https://developers.arcgis.com/javascript/latest/
|
|
417
|
-
* @see [Ground](https://developers.arcgis.com/javascript/latest/
|
|
417
|
+
* @see [ElevationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/)
|
|
418
|
+
* @see [Ground](https://developers.arcgis.com/javascript/latest/references/core/Ground/)
|
|
418
419
|
* @example
|
|
419
420
|
* // Use the world elevation service
|
|
420
421
|
* const map = new Map({
|
|
@@ -450,21 +451,21 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
450
451
|
*/
|
|
451
452
|
accessor hideAttribution: boolean;
|
|
452
453
|
/**
|
|
453
|
-
* Represents a collection of [HighlightOptions](https://developers.arcgis.com/javascript/latest/
|
|
454
|
+
* Represents a collection of [HighlightOptions](https://developers.arcgis.com/javascript/latest/references/core/views/support/HighlightOptions/)
|
|
454
455
|
* objects which can be used to highlight features throughout an application. Highlighting works by applying highlight options to one or
|
|
455
456
|
* more features. You can configure these options (such as color or opacity) to define how a feature will be visually
|
|
456
457
|
* emphasized.
|
|
457
458
|
*
|
|
458
|
-
* A maximum of six [HighlightOptions](https://developers.arcgis.com/javascript/latest/
|
|
459
|
+
* A maximum of six [HighlightOptions](https://developers.arcgis.com/javascript/latest/references/core/views/support/HighlightOptions/)
|
|
459
460
|
* objects are supported in the collection, and they can be added, removed, and reordered freely. Their order in the collection determines priority, with the last
|
|
460
461
|
* object having the highest priority. If you apply more than one highlight to a feature, the one that is last within
|
|
461
|
-
* the collection will be applied. The [HighlightOptions](https://developers.arcgis.com/javascript/latest/
|
|
462
|
+
* the collection will be applied. The [HighlightOptions](https://developers.arcgis.com/javascript/latest/references/core/views/support/HighlightOptions/)
|
|
462
463
|
* object must be part of this collection in order to be applied to features.
|
|
463
464
|
*
|
|
464
|
-
* To highlight a feature, use the [highlight()](https://developers.arcgis.com/javascript/latest/
|
|
465
|
-
* method on the relevant [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
466
|
-
* [HighlightOptions](https://developers.arcgis.com/javascript/latest/
|
|
467
|
-
* [name](https://developers.arcgis.com/javascript/latest/
|
|
465
|
+
* To highlight a feature, use the [highlight()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/FeatureLayerView/#highlight)
|
|
466
|
+
* method on the relevant [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) instance. To apply specific
|
|
467
|
+
* [HighlightOptions](https://developers.arcgis.com/javascript/latest/references/core/views/support/HighlightOptions/), include the
|
|
468
|
+
* [name](https://developers.arcgis.com/javascript/latest/references/core/views/support/HighlightOptions/#name) in the `highlight()` method's `options` parameter.
|
|
468
469
|
* If no `name` is provided, the feature will use the `default` highlight options.
|
|
469
470
|
*
|
|
470
471
|
* The table below shows the default highlight options in the View's highlights collection if the collection has not
|
|
@@ -541,15 +542,15 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
541
542
|
/**
|
|
542
543
|
* The ID of a WebMap from ArcGIS Online or ArcGIS Enterprise portal.
|
|
543
544
|
*
|
|
544
|
-
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/
|
|
545
|
+
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/references/core/config/#portalUrl) before the Map component loads.
|
|
545
546
|
*/
|
|
546
547
|
accessor itemId: null | undefined | string;
|
|
547
548
|
/**
|
|
548
549
|
* A collection containing a hierarchical list of all the created
|
|
549
|
-
* [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
550
|
-
* [operational layers](https://developers.arcgis.com/javascript/latest/
|
|
550
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)s of the
|
|
551
|
+
* [operational layers](https://developers.arcgis.com/javascript/latest/references/core/Map/#layers) in the map.
|
|
551
552
|
*
|
|
552
|
-
* @see [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
553
|
+
* @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
553
554
|
*/
|
|
554
555
|
get layerViews(): Collection<LayerView>;
|
|
555
556
|
/**
|
|
@@ -564,8 +565,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
564
565
|
* @since 4.19
|
|
565
566
|
*/
|
|
566
567
|
get magnifier(): Magnifier;
|
|
567
|
-
/** An instance of a [Map](https://developers.arcgis.com/javascript/latest/
|
|
568
|
-
accessor map:
|
|
568
|
+
/** An instance of a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) object to display in the view. */
|
|
569
|
+
accessor map: Map | null | undefined;
|
|
569
570
|
/**
|
|
570
571
|
* Indication whether the view is being navigated (for example when panning).
|
|
571
572
|
*
|
|
@@ -609,9 +610,9 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
609
610
|
*/
|
|
610
611
|
accessor padding: ViewPadding;
|
|
611
612
|
/**
|
|
612
|
-
* A [Popup](https://developers.arcgis.com/javascript/latest/
|
|
613
|
+
* A [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/) widget object that displays general content or attributes from [layers](https://developers.arcgis.com/javascript/latest/references/core/Map/#layers) in the [map](https://developers.arcgis.com/javascript/latest/references/core/views/View/#map). Consider using the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) (beta), which represents the Popup component, instead.
|
|
613
614
|
*
|
|
614
|
-
* By default, the `popup` property is an empty object that allows you to set the popup options. A [Popup](https://developers.arcgis.com/javascript/latest/
|
|
615
|
+
* By default, the `popup` property is an empty object that allows you to set the popup options. A [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/) instance is automatically created and assigned to the view's [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup) when the user clicks on the view and [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/PopupView/#popupEnabled) is `true`, when the [openPopup()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#openPopup) method is called, or when some widgets need the popup, such as [Search](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/). If [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup) is `null`, the popup instance will not be created.
|
|
615
616
|
*
|
|
616
617
|
* @see [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement)
|
|
617
618
|
* @see [popupDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupDisabled)
|
|
@@ -619,7 +620,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
619
620
|
*/
|
|
620
621
|
accessor popup: Popup | null | undefined;
|
|
621
622
|
/**
|
|
622
|
-
* Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) property (representing the component) will be used for popups instead of the [popup](
|
|
623
|
+
* Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) property (representing the component) will be used for popups instead of the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup) property (representing the widget).
|
|
623
624
|
*
|
|
624
625
|
* **Note:** This is a beta feature and may change in future releases. At version 6.0, the Popup component will be used by default instead of the Popup widget and the `popup-component-enabled` attribute will no longer be necessary.
|
|
625
626
|
*
|
|
@@ -634,14 +635,14 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
634
635
|
*/
|
|
635
636
|
accessor popupComponentEnabled: boolean;
|
|
636
637
|
/**
|
|
637
|
-
* Controls whether the default popup opens automatically when users click on the view. This controls both the [
|
|
638
|
+
* Controls whether the default popup opens automatically when users click on the view. This controls both the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) and [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup) properties. When set to `true`, the popup will not open on click or when triggered programmatically.
|
|
638
639
|
*
|
|
639
640
|
* @default false
|
|
640
641
|
* @see [openPopup()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#openPopup)
|
|
641
642
|
*/
|
|
642
643
|
accessor popupDisabled: boolean;
|
|
643
644
|
/**
|
|
644
|
-
* A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](
|
|
645
|
+
* A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupComponentEnabled) property must be set to `true` to use this property.
|
|
645
646
|
*
|
|
646
647
|
* **Note:** This is a beta feature and may change in future releases.
|
|
647
648
|
*
|
|
@@ -665,19 +666,19 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
665
666
|
*/
|
|
666
667
|
get popupElement(): ArcgisPopup | null;
|
|
667
668
|
/**
|
|
668
|
-
* When `true`, this property indicates whether the [view](
|
|
669
|
+
* When `true`, this property indicates whether the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#view) has successfully satisfied all dependencies, signaling that the following conditions are met:
|
|
669
670
|
*
|
|
670
|
-
* * The view has a [map](
|
|
671
|
-
* is a [WebMap](https://developers.arcgis.com/javascript/latest/
|
|
672
|
-
* must be [loaded](https://developers.arcgis.com/javascript/latest/
|
|
673
|
-
* * The view has a [spatialReference](
|
|
674
|
-
* These also can be inferred by setting an [extent](
|
|
671
|
+
* * The view has a [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map). If [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map)
|
|
672
|
+
* is a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/), then the map
|
|
673
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#loaded).
|
|
674
|
+
* * The view has a [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference), a [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), and a [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale).
|
|
675
|
+
* These also can be inferred by setting an [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent).
|
|
675
676
|
*
|
|
676
677
|
* When a view becomes ready it will resolve itself and invoke
|
|
677
|
-
* the callback defined in [viewOnReady()](
|
|
678
|
+
* the callback defined in [viewOnReady()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewOnReady) where code can execute on a working view.
|
|
678
679
|
*
|
|
679
680
|
* @default false
|
|
680
|
-
* @see [when()](https://developers.arcgis.com/javascript/latest/
|
|
681
|
+
* @see [when()](https://developers.arcgis.com/javascript/latest/references/core/views/View/#when)
|
|
681
682
|
*/
|
|
682
683
|
get ready(): boolean;
|
|
683
684
|
/**
|
|
@@ -701,7 +702,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
701
702
|
* The view may be rotated by directly setting
|
|
702
703
|
* the rotation or by using the following mouse event: `Right-click + Drag`.
|
|
703
704
|
* Map rotation may be disabled by setting the `rotationEnabled` property
|
|
704
|
-
* in [constraints](
|
|
705
|
+
* in [constraints](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#constraints) to `false`. See the code snippet below for
|
|
705
706
|
* an example of this.
|
|
706
707
|
*
|
|
707
708
|
* @default 0
|
|
@@ -726,37 +727,44 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
726
727
|
accessor rotation: number;
|
|
727
728
|
/**
|
|
728
729
|
* Represents the map scale at the center of the view. Setting the scale immediately changes the view. For animating
|
|
729
|
-
* the view, see this component's [goTo()](
|
|
730
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
730
731
|
*/
|
|
731
732
|
accessor scale: number;
|
|
733
|
+
/**
|
|
734
|
+
* The default [SelectionManager](https://developers.arcgis.com/javascript/latest/references/core/views/SelectionManager/) for this view. Used to manage selections of features across layers.
|
|
735
|
+
*
|
|
736
|
+
* @since 5.0
|
|
737
|
+
* @beta
|
|
738
|
+
*/
|
|
739
|
+
get selectionManager(): SelectionManager;
|
|
732
740
|
/**
|
|
733
741
|
* The spatial reference of the view. This indicates the projected or geographic coordinate system used to locate geographic features in the map.
|
|
734
742
|
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
735
|
-
* this property, or by changing the basemap from the [
|
|
736
|
-
* and [
|
|
737
|
-
* Set [spatialReferenceLocked](
|
|
743
|
+
* this property, or by changing the basemap from the [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-gallery/)
|
|
744
|
+
* and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/) components.
|
|
745
|
+
* Set [spatialReferenceLocked](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReferenceLocked) property to `true` to prevent users from changing the view's spatial reference at runtime.
|
|
738
746
|
*
|
|
739
|
-
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/
|
|
740
|
-
* is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/
|
|
741
|
-
* If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/
|
|
742
|
-
* If the `projectOperator` is not loaded, the view's [center](
|
|
747
|
+
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/)
|
|
748
|
+
* is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#isLoaded) method.
|
|
749
|
+
* If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) method.
|
|
750
|
+
* If the `projectOperator` is not loaded, the view's [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center) will default to `[0, 0]` in the new spatial reference of the view and a console error will be thrown.
|
|
743
751
|
*
|
|
744
752
|
* **Notes**
|
|
745
753
|
*
|
|
746
|
-
* * [LayerViews](https://developers.arcgis.com/javascript/latest/
|
|
747
|
-
* are not displayed. In such case, the layer view's [suspended](https://developers.arcgis.com/javascript/latest/
|
|
748
|
-
* property is `true` and [spatialReferenceSupported](https://developers.arcgis.com/javascript/latest/
|
|
754
|
+
* * [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) not compatible with the view's spatial reference
|
|
755
|
+
* are not displayed. In such case, the layer view's [suspended](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/#suspended)
|
|
756
|
+
* property is `true` and [spatialReferenceSupported](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/#spatialReferenceSupported)
|
|
749
757
|
* property is `false`.
|
|
750
|
-
* * When setting view's spatial reference, the [center](
|
|
751
|
-
* reference. The [scale](
|
|
752
|
-
* * To ensure [TileLayers](https://developers.arcgis.com/javascript/latest/
|
|
753
|
-
* [VectorTileLayers](https://developers.arcgis.com/javascript/latest/
|
|
754
|
-
* are displayed in a [basemap](
|
|
755
|
-
* [tileInfo's](https://developers.arcgis.com/javascript/latest/
|
|
756
|
-
* * Switching spatial reference with an [imageCoordinateSystem](https://developers.arcgis.com/javascript/latest/
|
|
758
|
+
* * When setting view's spatial reference, the [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent) or [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewpoint) properties are projected to the new spatial
|
|
759
|
+
* reference. The [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale) and [rotation](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#rotation) properties are adjusted to keep the content of the map at the same size and orientation on screen.
|
|
760
|
+
* * To ensure [TileLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/TileLayer/) and
|
|
761
|
+
* [VectorTileLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/)
|
|
762
|
+
* are displayed in a [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap) correctly, the spatialReference of the view must be set match their
|
|
763
|
+
* [tileInfo's](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/) spatial reference.
|
|
764
|
+
* * Switching spatial reference with an [imageCoordinateSystem](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/#imageCoordinateSystem)
|
|
757
765
|
* is not supported.
|
|
758
766
|
*
|
|
759
|
-
* @see [spatialReferenceLocked](
|
|
767
|
+
* @see [spatialReferenceLocked](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReferenceLocked)
|
|
760
768
|
* @example
|
|
761
769
|
* ```js
|
|
762
770
|
* const viewElement = document.querySelector("arcgis-map");
|
|
@@ -780,7 +788,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
780
788
|
*/
|
|
781
789
|
accessor spatialReference: SpatialReference;
|
|
782
790
|
/**
|
|
783
|
-
* Indicates if the map's [spatialReference](
|
|
791
|
+
* Indicates if the map's [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) can be changed after it is ready.
|
|
784
792
|
* The default is `false`, indicating the map's spatialReference can be changed at runtime.
|
|
785
793
|
* When true, basemaps with spatial references that do not match the map's spatial reference
|
|
786
794
|
* will be disabled in [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-gallery/) and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/) components and the map's spatialReference cannot be changed at runtime.
|
|
@@ -805,7 +813,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
805
813
|
* This property specifies the base colors used by some components to render graphics and labels.
|
|
806
814
|
*
|
|
807
815
|
* @since 4.28
|
|
808
|
-
* @see [Theme](https://developers.arcgis.com/javascript/latest/
|
|
816
|
+
* @see [Theme](https://developers.arcgis.com/javascript/latest/references/core/views/Theme/)
|
|
809
817
|
* @see [Sample - Color theming for interactive tools](https://developers.arcgis.com/javascript/latest/sample-code/view-theme/)
|
|
810
818
|
* @example
|
|
811
819
|
* // Update the theme to use purple graphics
|
|
@@ -866,23 +874,23 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
866
874
|
* @default false
|
|
867
875
|
*/
|
|
868
876
|
get updating(): boolean;
|
|
869
|
-
/** The [MapView](https://developers.arcgis.com/javascript/latest/
|
|
877
|
+
/** The [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) instance created and managed by the component. Accessible once the component is fully loaded. */
|
|
870
878
|
get view(): MapView;
|
|
871
879
|
/**
|
|
872
880
|
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
873
881
|
* Setting the viewpoint immediately changes the current view. For animating
|
|
874
|
-
* the view, see this component's [goTo()](
|
|
882
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
875
883
|
*/
|
|
876
884
|
accessor viewpoint: Viewpoint;
|
|
877
885
|
/**
|
|
878
|
-
* The visibleArea represents the visible portion of a [Map](https://developers.arcgis.com/javascript/latest/
|
|
879
|
-
* an instance of a [Polygon](https://developers.arcgis.com/javascript/latest/
|
|
880
|
-
* [MapView#extent](https://developers.arcgis.com/javascript/latest/
|
|
886
|
+
* The visibleArea represents the visible portion of a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) within the view as
|
|
887
|
+
* an instance of a [Polygon](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polygon/). This is similar to the view
|
|
888
|
+
* [MapView#extent](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#extent) but is a more accurate representation of the visible area especially
|
|
881
889
|
* when the view is rotated. An example use of the visible area is to spatially filter visible features
|
|
882
890
|
* in a layer view query.
|
|
883
891
|
*
|
|
884
892
|
* @since 4.31
|
|
885
|
-
* @see [MapView#extent](https://developers.arcgis.com/javascript/latest/
|
|
893
|
+
* @see [MapView#extent](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#extent)
|
|
886
894
|
*/
|
|
887
895
|
get visibleArea(): Polygon | null | undefined;
|
|
888
896
|
/**
|
|
@@ -892,7 +900,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
892
900
|
* A value of -1 means the map has no LODs.
|
|
893
901
|
* When setting the zoom value, the component converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
|
|
894
902
|
*
|
|
895
|
-
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](
|
|
903
|
+
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
896
904
|
* Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
|
|
897
905
|
*/
|
|
898
906
|
accessor zoom: number;
|
|
@@ -908,42 +916,42 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
908
916
|
*/
|
|
909
917
|
goTo(target: GoToTarget2D, options?: GoToOptions2D): Promise<unknown>;
|
|
910
918
|
/**
|
|
911
|
-
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/
|
|
919
|
+
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#HitTestResult)
|
|
912
920
|
* from each layer that intersects the specified screen coordinates. The results are
|
|
913
|
-
* organized as an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/
|
|
914
|
-
*
|
|
915
|
-
* The following layer types will return all [features](https://developers.arcgis.com/javascript/latest/
|
|
916
|
-
* made on intersecting features: [FeatureLayer](https://developers.arcgis.com/javascript/latest/
|
|
917
|
-
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/
|
|
918
|
-
* [CSVLayer](https://developers.arcgis.com/javascript/latest/
|
|
919
|
-
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/
|
|
920
|
-
* [GeoRSSLayer](https://developers.arcgis.com/javascript/latest/
|
|
921
|
-
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/
|
|
922
|
-
* [KMLLayer](https://developers.arcgis.com/javascript/latest/
|
|
923
|
-
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/
|
|
924
|
-
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/
|
|
925
|
-
* [StreamLayer](https://developers.arcgis.com/javascript/latest/
|
|
926
|
-
* [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/
|
|
927
|
-
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/
|
|
928
|
-
* [WFSLayer](https://developers.arcgis.com/javascript/latest/
|
|
929
|
-
*
|
|
930
|
-
* The [ParquetLayer](https://developers.arcgis.com/javascript/latest/
|
|
921
|
+
* organized as an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#HitTestResult).
|
|
922
|
+
*
|
|
923
|
+
* The following layer types will return all [features](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#GraphicHit) if a hit is
|
|
924
|
+
* made on intersecting features: [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/),
|
|
925
|
+
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/),
|
|
926
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
|
|
927
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/),
|
|
928
|
+
* [GeoRSSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer/),
|
|
929
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/),
|
|
930
|
+
* [KMLLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KMLLayer/),
|
|
931
|
+
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapNotesLayer/),
|
|
932
|
+
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OGCFeatureLayer/),
|
|
933
|
+
* [StreamLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer/),
|
|
934
|
+
* [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/),
|
|
935
|
+
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/), and
|
|
936
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer/).
|
|
937
|
+
*
|
|
938
|
+
* The [ParquetLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ParquetLayer/) hit result returns only the topmost feature
|
|
931
939
|
* when the hit occurs on overlapping features in a ParquetLayer.
|
|
932
940
|
*
|
|
933
|
-
* The [VectorTileLayer](https://developers.arcgis.com/javascript/latest/
|
|
934
|
-
* a [graphic](https://developers.arcgis.com/javascript/latest/
|
|
935
|
-
* The graphic returns attributes of a style layer. In addition, the graphic's [origin](https://developers.arcgis.com/javascript/latest/
|
|
941
|
+
* The [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/) hit test result contains an array of objects containing
|
|
942
|
+
* a [graphic](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#GraphicHit).
|
|
943
|
+
* The graphic returns attributes of a style layer. In addition, the graphic's [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#origin)
|
|
936
944
|
* contains the style layer's [id](https://maplibre.org/maplibre-style-spec/layers/#id) and layer index within the [vector tile style](https://doc.arcgis.com/en/arcgis-online/reference/tile-layers.htm#ESRI_SECTION1_8F68399EB47B48FF9EF46719FCC96978).
|
|
937
945
|
* Spatial information about the actual feature represented in the style layer is returned only if the style layer is a [symbol layer](https://maplibre.org/maplibre-style-spec/layers/#symbol).
|
|
938
946
|
* Otherwise, the graphic's geometry is `null`.
|
|
939
947
|
*
|
|
940
|
-
* The [MediaLayer](https://developers.arcgis.com/javascript/latest/
|
|
941
|
-
* The [RouteLayer](https://developers.arcgis.com/javascript/latest/
|
|
948
|
+
* The [MediaLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer/) hit test result contains all media elements if the hit is made on intersecting elements.
|
|
949
|
+
* The [RouteLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/RouteLayer/) hit test result contains all route elements if the hit is made on intersecting elements.
|
|
942
950
|
*
|
|
943
|
-
* If the [polygon](https://developers.arcgis.com/javascript/latest/
|
|
944
|
-
* [style](https://developers.arcgis.com/javascript/latest/
|
|
951
|
+
* If the [polygon](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polygon/) feature's symbol
|
|
952
|
+
* [style](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol/#style) is set to `none`, the hitTest method will not
|
|
945
953
|
* return results when the fill is clicked. However, it will return results when the outline is clicked. To get results when clicking the fill, set the
|
|
946
|
-
* [color](https://developers.arcgis.com/javascript/latest/
|
|
954
|
+
* [color](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol/#color) to a transparent color instead.
|
|
947
955
|
*
|
|
948
956
|
* @param screenPoint
|
|
949
957
|
* @param options
|
|
@@ -1020,7 +1028,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1020
1028
|
/**
|
|
1021
1029
|
* Gets the analysis view created for the given analysis object.
|
|
1022
1030
|
*
|
|
1023
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
1031
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#whenAnalysisView)
|
|
1024
1032
|
*
|
|
1025
1033
|
* @param analysis
|
|
1026
1034
|
* @since 4.34
|
|
@@ -1029,7 +1037,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1029
1037
|
/**
|
|
1030
1038
|
* Gets the LayerView created on the view for the given layer.
|
|
1031
1039
|
*
|
|
1032
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
1040
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#whenLayerView)
|
|
1033
1041
|
*
|
|
1034
1042
|
* @param layer
|
|
1035
1043
|
*/
|
|
@@ -1051,7 +1059,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1051
1059
|
ground?: Ground | string;
|
|
1052
1060
|
};
|
|
1053
1061
|
/**
|
|
1054
|
-
* Fires when
|
|
1062
|
+
* Fires when an arcgis-map fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
|
|
1055
1063
|
*
|
|
1056
1064
|
* @since 4.34
|
|
1057
1065
|
* @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#loadErrorSources)
|
|
@@ -1066,7 +1074,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1066
1074
|
/**
|
|
1067
1075
|
* Fires when the view for an analysis is created.
|
|
1068
1076
|
*
|
|
1069
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
1077
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-analysis-view-create)
|
|
1070
1078
|
*
|
|
1071
1079
|
* @since 4.34
|
|
1072
1080
|
*/
|
|
@@ -1074,7 +1082,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1074
1082
|
/**
|
|
1075
1083
|
* Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.
|
|
1076
1084
|
*
|
|
1077
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
1085
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-analysis-view-create-error)
|
|
1078
1086
|
*
|
|
1079
1087
|
* @since 4.34
|
|
1080
1088
|
*/
|
|
@@ -1082,14 +1090,14 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1082
1090
|
/**
|
|
1083
1091
|
* Fires after an analysis view is destroyed.
|
|
1084
1092
|
*
|
|
1085
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
1093
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-analysis-view-destroy)
|
|
1086
1094
|
*
|
|
1087
1095
|
* @since 4.34
|
|
1088
1096
|
*/
|
|
1089
1097
|
readonly arcgisViewAnalysisViewDestroy: import("@arcgis/lumina").TargetedEvent<this, AnalysisViewDestroyEvent>;
|
|
1090
1098
|
/**
|
|
1091
|
-
* This event is triggered when view-related properties change, such as [zoom](
|
|
1092
|
-
* [viewpoint](
|
|
1099
|
+
* This event is triggered when view-related properties change, such as [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#zoom), [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale), [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), [rotation](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#rotation), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent),
|
|
1100
|
+
* [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewpoint), or [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#stationary).
|
|
1093
1101
|
* It reflects user interactions (e.g. panning or zooming) or programmatic updates to the view.
|
|
1094
1102
|
*
|
|
1095
1103
|
* @example
|
|
@@ -1108,8 +1116,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1108
1116
|
*/
|
|
1109
1117
|
readonly arcgisViewChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1110
1118
|
/**
|
|
1111
|
-
* Fires after a user clicks on the view. This event emits slightly slower than an [arcgisViewImmediateClick](
|
|
1112
|
-
* event to make sure that an [arcgisViewDoubleClick](
|
|
1119
|
+
* Fires after a user clicks on the view. This event emits slightly slower than an [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick)
|
|
1120
|
+
* event to make sure that an [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick) event isn't triggered instead. The `arcgisViewImmediateClick`
|
|
1113
1121
|
* event can be used for responding to an `arcgisViewClick` event without delay.
|
|
1114
1122
|
*
|
|
1115
1123
|
* @example
|
|
@@ -1147,7 +1155,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1147
1155
|
/**
|
|
1148
1156
|
* Fires while the pointer is dragged following a double-tap gesture on the view.
|
|
1149
1157
|
*
|
|
1150
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
1158
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-double-tap-drag)
|
|
1151
1159
|
*
|
|
1152
1160
|
* @since 5.0
|
|
1153
1161
|
* @example
|
|
@@ -1164,8 +1172,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1164
1172
|
/** Fires after holding either a mouse button or a single finger on the view for a short amount of time. */
|
|
1165
1173
|
readonly arcgisViewHold: import("@arcgis/lumina").TargetedEvent<this, HoldEvent>;
|
|
1166
1174
|
/**
|
|
1167
|
-
* Fires right after a user clicks on the view. In contrast to the [arcgisViewClick](
|
|
1168
|
-
* is emitted as soon as the user clicks on the view, and is not inhibited by a [arcgisViewDoubleClick](
|
|
1175
|
+
* Fires right after a user clicks on the view. In contrast to the [@arcgisViewClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewClick) event, the `arcgisViewImmediateClick`
|
|
1176
|
+
* is emitted as soon as the user clicks on the view, and is not inhibited by a [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick) event.
|
|
1169
1177
|
* This event is useful for interactive experiences that require feedback without delay.
|
|
1170
1178
|
*
|
|
1171
1179
|
* @example
|
|
@@ -1178,9 +1186,9 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1178
1186
|
*/
|
|
1179
1187
|
readonly arcgisViewImmediateClick: import("@arcgis/lumina").TargetedEvent<this, ImmediateClickEvent>;
|
|
1180
1188
|
/**
|
|
1181
|
-
* Fires after two consecutive [arcgisViewImmediateClick](
|
|
1182
|
-
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [arcgisViewImmediateClick](
|
|
1183
|
-
* event and can therefore be used to react to double-clicking independently of usage of the [arcgisViewImmediateClick](
|
|
1189
|
+
* Fires after two consecutive [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick) events. In contrast to [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick),
|
|
1190
|
+
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick)
|
|
1191
|
+
* event and can therefore be used to react to double-clicking independently of usage of the [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick) event.
|
|
1184
1192
|
*/
|
|
1185
1193
|
readonly arcgisViewImmediateDoubleClick: import("@arcgis/lumina").TargetedEvent<this, ImmediateDoubleClickEvent>;
|
|
1186
1194
|
/**
|
|
@@ -1206,17 +1214,17 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1206
1214
|
readonly arcgisViewKeyUp: import("@arcgis/lumina").TargetedEvent<this, KeyUpEvent>;
|
|
1207
1215
|
/**
|
|
1208
1216
|
* Fires after each layer in the map has a corresponding
|
|
1209
|
-
* [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
1217
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
1210
1218
|
* created and rendered in the view.
|
|
1211
1219
|
*/
|
|
1212
1220
|
readonly arcgisViewLayerviewCreate: import("@arcgis/lumina").TargetedEvent<this, LayerViewCreateEvent>;
|
|
1213
1221
|
/**
|
|
1214
|
-
* Fires when an error occurs during the creation of a [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
1222
|
+
* Fires when an error occurs during the creation of a [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
1215
1223
|
* after a layer has been added to the map.
|
|
1216
1224
|
*/
|
|
1217
1225
|
readonly arcgisViewLayerviewCreateError: import("@arcgis/lumina").TargetedEvent<this, LayerViewCreateErrorEvent>;
|
|
1218
1226
|
/**
|
|
1219
|
-
* Fires after a [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
1227
|
+
* Fires after a [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
1220
1228
|
* is destroyed and is no longer rendered in the view.
|
|
1221
1229
|
*/
|
|
1222
1230
|
readonly arcgisViewLayerviewDestroy: import("@arcgis/lumina").TargetedEvent<this, LayerViewDestroyEvent>;
|
|
@@ -1252,7 +1260,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1252
1260
|
readonly arcgisViewPointerUp: import("@arcgis/lumina").TargetedEvent<this, PointerUpEvent>;
|
|
1253
1261
|
/**
|
|
1254
1262
|
* This event is for the `ready` property and is emitted when the view is ready.
|
|
1255
|
-
* Fires also when the [map](
|
|
1263
|
+
* Fires also when the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map) is updated.
|
|
1256
1264
|
*/
|
|
1257
1265
|
readonly arcgisViewReadyChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1258
1266
|
/**
|
|
@@ -1270,7 +1278,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1270
1278
|
/**
|
|
1271
1279
|
* Fires while the two pointers are dragged vertically on the view.
|
|
1272
1280
|
*
|
|
1273
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
1281
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-vertical-two-finger-drag)
|
|
1274
1282
|
*
|
|
1275
1283
|
* @since 5.0
|
|
1276
1284
|
* @example
|