@arcgis/map-components 4.33.0-next.110 → 4.33.0-next.112
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/dist/arcgis-map-components/{RCKD5B5N.js → 2A5TCTEP.js} +2 -2
- package/dist/arcgis-map-components/2ITIMF6F.js +4 -0
- package/dist/arcgis-map-components/{V4VIEN7G.js → 2ZRDMI77.js} +2 -2
- package/dist/arcgis-map-components/{QRIEWDSA.js → 32ZOFY3C.js} +2 -2
- package/dist/arcgis-map-components/{YEVBD6LT.js → 3CPTT7OF.js} +2 -2
- package/dist/arcgis-map-components/{TMI2LTJR.js → 3IWON4SC.js} +2 -2
- package/dist/arcgis-map-components/{JKWKEMS5.js → 3S3XPQMV.js} +2 -2
- package/dist/arcgis-map-components/{ETP6MIDY.js → 4KIAEEHF.js} +2 -2
- package/dist/arcgis-map-components/{B2IOOG27.js → 4YLCV7VI.js} +2 -2
- package/dist/arcgis-map-components/{KMFOBHZU.js → 53B6KWJR.js} +2 -2
- package/dist/arcgis-map-components/{PUFJ3WGT.js → 567WBIBJ.js} +2 -2
- package/dist/arcgis-map-components/{JWQOEZR7.js → 5LSUFGJ3.js} +2 -2
- package/dist/arcgis-map-components/{2FGTE3EI.js → 5NWU2CMD.js} +2 -2
- package/dist/arcgis-map-components/{D2N76M4P.js → 5OAZNOJ5.js} +1 -1
- package/dist/arcgis-map-components/5PTKV3UD.js +4 -0
- package/dist/arcgis-map-components/5ZEBF76L.js +4 -0
- package/dist/arcgis-map-components/{LRS6CBXO.js → 6AB5SVBU.js} +1 -1
- package/dist/arcgis-map-components/{CFS5QGKZ.js → 6B3KGB5C.js} +2 -2
- package/dist/arcgis-map-components/{F6SF33EC.js → 6P7BCHWU.js} +2 -2
- package/dist/arcgis-map-components/{5CDPJSSU.js → 6UAIP5CN.js} +1 -1
- package/dist/arcgis-map-components/6UITFLRT.js +4 -0
- package/dist/arcgis-map-components/{MBCNEPCF.js → 7AFU6HV4.js} +2 -2
- package/dist/arcgis-map-components/{D5WZGD67.js → 7D54COAB.js} +1 -1
- package/dist/arcgis-map-components/{AVBEIGLZ.js → 7HGZYTUE.js} +2 -2
- package/dist/arcgis-map-components/{ZX2255C2.js → AD3MG3QV.js} +2 -2
- package/dist/arcgis-map-components/{ZTPIR2S5.js → AHNRHEL2.js} +2 -2
- package/dist/arcgis-map-components/AKKIXP6X.js +4 -0
- package/dist/arcgis-map-components/ATI72MXR.js +4 -0
- package/dist/arcgis-map-components/{36X3FHOU.js → BBOJWXAU.js} +2 -2
- package/dist/arcgis-map-components/{ICDWERXU.js → BYAIR2OE.js} +2 -2
- package/dist/arcgis-map-components/{QWSVPF5C.js → CAIILLIG.js} +2 -2
- package/dist/arcgis-map-components/{AHXNR3GL.js → CS6OTJLD.js} +2 -2
- package/dist/arcgis-map-components/D7ZH5D3N.js +4 -0
- package/dist/arcgis-map-components/{N5ATTFDI.js → DEVCH2PT.js} +2 -2
- package/dist/arcgis-map-components/DRI4AGCN.js +4 -0
- package/dist/arcgis-map-components/E7JFNKNZ.js +4 -0
- package/dist/arcgis-map-components/{YQFHTMUS.js → EEZ74S5I.js} +2 -2
- package/dist/arcgis-map-components/F3H37ENG.js +4 -0
- package/dist/arcgis-map-components/FG4X7DNH.js +4 -0
- package/dist/arcgis-map-components/{P2VXSAQN.js → FL33DAYC.js} +2 -2
- package/dist/arcgis-map-components/{JPE5KWQF.js → FLJOZCWO.js} +2 -2
- package/dist/arcgis-map-components/{K2B6PEYA.js → FWJUDAKS.js} +2 -2
- package/dist/arcgis-map-components/{KKGD4GVK.js → GVH5ZTRC.js} +2 -2
- package/dist/arcgis-map-components/{J5WW3PWF.js → H6QDCONW.js} +2 -2
- package/dist/arcgis-map-components/{6I6BVBZJ.js → H6YFRMVJ.js} +2 -2
- package/dist/arcgis-map-components/{X3O23HFE.js → HRYEMOAQ.js} +2 -2
- package/dist/arcgis-map-components/{GKSJABSG.js → I2MOMDDY.js} +2 -2
- package/dist/arcgis-map-components/I6344LIX.js +4 -0
- package/dist/arcgis-map-components/{TYXBBNGG.js → IVB3VRBN.js} +2 -2
- package/dist/arcgis-map-components/{QZ2MGZQF.js → J7R3AQPD.js} +2 -2
- package/dist/arcgis-map-components/{CJKHPEJA.js → JTHB2MZC.js} +2 -2
- package/dist/arcgis-map-components/JTU73RBV.js +4 -0
- package/dist/arcgis-map-components/{AMA7PACC.js → K2EF5D5S.js} +2 -2
- package/dist/arcgis-map-components/{WJLUVO7B.js → K73CMPIT.js} +1 -1
- package/dist/arcgis-map-components/{OAICGLZA.js → KAN7AQ3W.js} +2 -2
- package/dist/arcgis-map-components/{7XYZ552G.js → KESQCJT6.js} +2 -2
- package/dist/arcgis-map-components/{42ULEB7K.js → KLFNL4DS.js} +2 -2
- package/dist/arcgis-map-components/{6L2VCCRI.js → KSM76BR4.js} +2 -2
- package/dist/arcgis-map-components/{ZXL7FUAL.js → LC7RJ7ZW.js} +2 -2
- package/dist/arcgis-map-components/{F6MXJRN5.js → LFGA26ZR.js} +1 -1
- package/dist/arcgis-map-components/LIAS5FGP.js +4 -0
- package/dist/arcgis-map-components/{GBGNSCTD.js → M522EXIU.js} +2 -2
- package/dist/arcgis-map-components/MKJRGEHQ.js +4 -0
- package/dist/arcgis-map-components/{JBHNDWOY.js → ML4GS2EX.js} +2 -2
- package/dist/arcgis-map-components/{IGOFTZDP.js → MLDSF36Z.js} +2 -2
- package/dist/arcgis-map-components/{GRANY366.js → MOUVG6YL.js} +2 -2
- package/dist/arcgis-map-components/{IXADWFZZ.js → MP2T5UAD.js} +2 -2
- package/dist/arcgis-map-components/{MPV533RM.js → MYHTQ35C.js} +2 -2
- package/dist/arcgis-map-components/{XX5ZW5BR.js → NC56CTYZ.js} +2 -2
- package/dist/arcgis-map-components/{PCFZBI7L.js → NGKWS7CM.js} +2 -2
- package/dist/arcgis-map-components/{SZJB53ZU.js → NHX3UYZI.js} +2 -2
- package/dist/arcgis-map-components/{JZXVBBWN.js → NR5O647R.js} +2 -2
- package/dist/arcgis-map-components/{K4JH3F2E.js → NYG3JBO6.js} +2 -2
- package/dist/arcgis-map-components/{XFLP74F3.js → OAFG4TNU.js} +1 -1
- package/dist/arcgis-map-components/{7EGB7FTU.js → OIO3PH5C.js} +2 -2
- package/dist/arcgis-map-components/{ONPFXIQX.js → OR63CPUN.js} +2 -2
- package/dist/arcgis-map-components/{FMUD4TTV.js → ORIROEP5.js} +2 -2
- package/dist/arcgis-map-components/{COJMQHI3.js → OZ5MBCGT.js} +2 -2
- package/dist/arcgis-map-components/{BVTZYTWZ.js → PFWJQTDQ.js} +2 -2
- package/dist/arcgis-map-components/{BHMX4YNN.js → PHHXPZ3K.js} +2 -2
- package/dist/arcgis-map-components/{4SFRF42D.js → PI7UVNAK.js} +2 -2
- package/dist/arcgis-map-components/{VV4KGPH7.js → Q53IGXXT.js} +2 -2
- package/dist/arcgis-map-components/{VDVRFECB.js → QEEZ4Q6H.js} +2 -2
- package/dist/arcgis-map-components/{BCFPLJ7K.js → QMXRLWFF.js} +2 -2
- package/dist/arcgis-map-components/R3LVNUZX.js +4 -0
- package/dist/arcgis-map-components/{AWYOOT3Y.js → RO2DJZ4L.js} +2 -2
- package/dist/arcgis-map-components/{75O5WJDN.js → RTQL4EQB.js} +2 -2
- package/dist/arcgis-map-components/{NUJBBVVA.js → RXB2ZQ3W.js} +2 -2
- package/dist/arcgis-map-components/{LMY462WI.js → SDL4MTSK.js} +2 -2
- package/dist/arcgis-map-components/{F5MANJYH.js → SEFXBTOQ.js} +2 -2
- package/dist/arcgis-map-components/{H7SKGQ7W.js → SRXBUFCK.js} +2 -2
- package/dist/arcgis-map-components/SUSL675L.js +4 -0
- package/dist/arcgis-map-components/{AMKUE4C5.js → SY46TRCY.js} +2 -2
- package/dist/arcgis-map-components/{UPBEWLLZ.js → TGNEBXQN.js} +2 -2
- package/dist/arcgis-map-components/{HML2J3GT.js → TIY4KMV6.js} +2 -2
- package/dist/arcgis-map-components/{OJE4RYY4.js → TMB3FTNQ.js} +2 -2
- package/dist/arcgis-map-components/{O2LEBTU4.js → U2LVAH2P.js} +2 -2
- package/dist/arcgis-map-components/{VPRCT5JH.js → V4EWL7AV.js} +2 -2
- package/dist/arcgis-map-components/{QPOLGPZI.js → VD52KFUX.js} +2 -2
- package/dist/arcgis-map-components/{ZFUODX3A.js → VVG2C57S.js} +2 -2
- package/dist/arcgis-map-components/{6HBTXJ4D.js → VWDL7CSZ.js} +2 -2
- package/dist/arcgis-map-components/{G45TPKCS.js → W2AMHGHS.js} +2 -2
- package/dist/arcgis-map-components/WSAP2OR6.js +4 -0
- package/dist/arcgis-map-components/WUDKWJ4X.js +4 -0
- package/dist/arcgis-map-components/XDVTLXYO.js +4 -0
- package/dist/arcgis-map-components/XE3VIDR7.js +4 -0
- package/dist/arcgis-map-components/{KLTDL6JC.js → XFH23L4R.js} +2 -2
- package/dist/arcgis-map-components/{DDODXUCF.js → XTW5HDRV.js} +2 -2
- package/dist/arcgis-map-components/{LW4IBOKV.js → XUDVZAXR.js} +2 -2
- package/dist/arcgis-map-components/{327BZNDH.js → YCSDGMQC.js} +2 -2
- package/dist/arcgis-map-components/{6DTEPHQF.js → YTPE7VMZ.js} +2 -2
- package/dist/arcgis-map-components/ZB3HZ4R4.js +4 -0
- package/dist/arcgis-map-components/{KMBFDSOF.js → ZEQMUHND.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useView.js +13 -11
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +47 -18
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -6
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +45 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -4
- package/dist/components/arcgis-attachments/customElement.d.ts +60 -7
- package/dist/components/arcgis-attachments/customElement.js +1 -4
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +28 -14
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -11
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +2 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +154 -8
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +33 -12
- package/dist/components/arcgis-basemap-toggle/customElement.js +3 -11
- package/dist/components/arcgis-bookmarks/customElement.d.ts +85 -8
- package/dist/components/arcgis-bookmarks/customElement.js +1 -4
- package/dist/components/arcgis-building-explorer/customElement.d.ts +63 -17
- package/dist/components/arcgis-building-explorer/customElement.js +1 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -8
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -5
- package/dist/components/arcgis-compass/customElement.d.ts +38 -5
- package/dist/components/arcgis-compass/customElement.js +2 -8
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +95 -9
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +76 -8
- package/dist/components/arcgis-daylight/customElement.js +1 -4
- package/dist/components/arcgis-directional-pad/customElement.d.ts +54 -8
- package/dist/components/arcgis-directional-pad/customElement.js +3 -27
- package/dist/components/arcgis-directions/customElement.d.ts +84 -8
- package/dist/components/arcgis-directions/customElement.js +2 -10
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +45 -8
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +40 -8
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -6
- package/dist/components/arcgis-editor/customElement.d.ts +74 -8
- package/dist/components/arcgis-editor/customElement.js +1 -4
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +94 -8
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -4
- package/dist/components/arcgis-expand/customElement.d.ts +96 -10
- package/dist/components/arcgis-expand/customElement.js +1 -6
- package/dist/components/arcgis-feature/customElement.d.ts +119 -17
- package/dist/components/arcgis-feature/customElement.js +1 -9
- package/dist/components/arcgis-feature-form/customElement.d.ts +61 -7
- package/dist/components/arcgis-feature-form/customElement.js +1 -6
- package/dist/components/arcgis-feature-table/customElement.d.ts +316 -38
- package/dist/components/arcgis-feature-table/customElement.js +1 -6
- package/dist/components/arcgis-feature-templates/customElement.d.ts +72 -7
- package/dist/components/arcgis-feature-templates/customElement.js +1 -4
- package/dist/components/arcgis-features/customElement.d.ts +191 -19
- package/dist/components/arcgis-features/customElement.js +1 -10
- package/dist/components/arcgis-floor-filter/customElement.d.ts +51 -8
- package/dist/components/arcgis-floor-filter/customElement.js +1 -4
- package/dist/components/arcgis-fullscreen/customElement.d.ts +17 -13
- package/dist/components/arcgis-fullscreen/customElement.js +2 -12
- package/dist/components/arcgis-grid-controls/customElement.d.ts +120 -22
- package/dist/components/arcgis-grid-controls/customElement.js +5 -24
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +113 -7
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -8
- package/dist/components/arcgis-home/customElement.d.ts +36 -7
- package/dist/components/arcgis-home/customElement.js +3 -20
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +11 -13
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -8
- package/dist/components/arcgis-layer-list/customElement.d.ts +145 -8
- package/dist/components/arcgis-layer-list/customElement.js +1 -7
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +60 -50
- package/dist/components/arcgis-layer-list-item/customElement.js +41 -58
- package/dist/components/arcgis-legend/customElement.d.ts +87 -9
- package/dist/components/arcgis-legend/customElement.js +1 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +35 -8
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -4
- package/dist/components/arcgis-link-chart/customElement.d.ts +83 -29
- package/dist/components/arcgis-link-chart/customElement.js +1 -71
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +38 -10
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +3 -11
- package/dist/components/arcgis-locate/customElement.d.ts +61 -11
- package/dist/components/arcgis-locate/customElement.js +3 -16
- package/dist/components/arcgis-map/customElement.d.ts +100 -39
- package/dist/components/arcgis-map/customElement.js +1 -83
- package/dist/components/arcgis-measurement/customElement.d.ts +52 -7
- package/dist/components/arcgis-measurement/customElement.js +1 -4
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +7 -16
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +104 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -8
- package/dist/components/arcgis-placement/customElement.d.ts +6 -1
- package/dist/components/arcgis-placement/customElement.js +1 -12
- package/dist/components/arcgis-print/customElement.d.ts +196 -25
- package/dist/components/arcgis-print/customElement.js +3 -12
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -5
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +1 -7
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -5
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-format-select/customElement.js +1 -5
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -5
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -7
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -5
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -5
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -5
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -7
- package/dist/components/arcgis-print-template-select/customElement.js +1 -5
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -0
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -7
- package/dist/components/arcgis-scale-bar/customElement.d.ts +22 -8
- package/dist/components/arcgis-scale-bar/customElement.js +3 -18
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +79 -8
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -4
- package/dist/components/arcgis-scene/customElement.d.ts +199 -107
- package/dist/components/arcgis-scene/customElement.js +1 -195
- package/dist/components/arcgis-search/customElement.d.ts +108 -64
- package/dist/components/arcgis-search/customElement.js +3 -40
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +13 -7
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -10
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +86 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -4
- package/dist/components/arcgis-sketch/customElement.d.ts +147 -8
- package/dist/components/arcgis-sketch/customElement.js +1 -8
- package/dist/components/arcgis-slice/customElement.d.ts +67 -8
- package/dist/components/arcgis-slice/customElement.js +1 -4
- package/dist/components/arcgis-slider/customElement.d.ts +171 -7
- package/dist/components/arcgis-slider/customElement.js +1 -4
- package/dist/components/arcgis-swipe/customElement.d.ts +41 -15
- package/dist/components/arcgis-swipe/customElement.js +3 -12
- package/dist/components/arcgis-table-list/customElement.d.ts +106 -8
- package/dist/components/arcgis-table-list/customElement.js +1 -5
- package/dist/components/arcgis-time-slider/customElement.d.ts +117 -8
- package/dist/components/arcgis-time-slider/customElement.js +1 -4
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +25 -4
- package/dist/components/arcgis-time-zone-label/customElement.js +5 -23
- package/dist/components/arcgis-track/customElement.d.ts +84 -9
- package/dist/components/arcgis-track/customElement.js +3 -10
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +157 -21
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -8
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +79 -11
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -4
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +27 -8
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -8
- package/dist/components/arcgis-value-picker/customElement.d.ts +87 -7
- package/dist/components/arcgis-value-picker/customElement.js +1 -4
- package/dist/components/arcgis-version-management/customElement.d.ts +27 -11
- package/dist/components/arcgis-version-management/customElement.js +3 -16
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -5
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -3
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -8
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -8
- package/dist/components/arcgis-video/customElement.d.ts +17 -1
- package/dist/components/arcgis-video/customElement.js +1 -8
- package/dist/components/arcgis-video-player/customElement.d.ts +84 -16
- package/dist/components/arcgis-video-player/customElement.js +3 -10
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -3
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -5
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -5
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -5
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -5
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -5
- package/dist/components/arcgis-weather/customElement.d.ts +24 -6
- package/dist/components/arcgis-weather/customElement.js +2 -19
- package/dist/components/arcgis-zoom/customElement.d.ts +27 -12
- package/dist/components/arcgis-zoom/customElement.js +6 -19
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1405 -756
- package/dist/docs/docs.json +555 -358
- package/dist/docs/vscode.html-custom-data.json +297 -223
- package/dist/docs/web-types.json +569 -550
- package/dist/geolocation/GeolocationPositioning.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +4 -4
- package/dist/arcgis-map-components/2JBP4ZVS.js +0 -4
- package/dist/arcgis-map-components/3GDHHMCP.js +0 -4
- package/dist/arcgis-map-components/4LPK3K4J.js +0 -4
- package/dist/arcgis-map-components/6MSG5QGN.js +0 -4
- package/dist/arcgis-map-components/BPXSIXTK.js +0 -4
- package/dist/arcgis-map-components/CCNWF5WU.js +0 -4
- package/dist/arcgis-map-components/HM3D2JGC.js +0 -4
- package/dist/arcgis-map-components/JCV4PQ5D.js +0 -4
- package/dist/arcgis-map-components/JY6QXCIS.js +0 -4
- package/dist/arcgis-map-components/M6C7PYAT.js +0 -4
- package/dist/arcgis-map-components/MURFSRQC.js +0 -4
- package/dist/arcgis-map-components/P57UHK6M.js +0 -4
- package/dist/arcgis-map-components/QCW7N6MX.js +0 -4
- package/dist/arcgis-map-components/QX25LAO2.js +0 -4
- package/dist/arcgis-map-components/RETQWO7T.js +0 -4
- package/dist/arcgis-map-components/SFVKLYSR.js +0 -4
- package/dist/arcgis-map-components/T33Z4PH2.js +0 -4
- package/dist/arcgis-map-components/TDTOBDKS.js +0 -4
- package/dist/arcgis-map-components/ULRTIRJV.js +0 -4
- package/dist/arcgis-map-components/WBVJ6VJO.js +0 -4
- package/dist/arcgis-map-components/XL55REDW.js +0 -4
- package/dist/arcgis-map-components/YIENDWPB.js +0 -4
- package/dist/arcgis-map-components/ZK3KZEPV.js +0 -4
- package/dist/chunks/useT9n.js +0 -9
|
@@ -4,7 +4,7 @@ import { usePropertyChange as k } from "@arcgis/lumina/controllers";
|
|
|
4
4
|
import { classes as H } from "@arcgis/components-utils";
|
|
5
5
|
import { watch as v } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
import { LitElement as V, createEvent as b, noShadowRoot as Q, safeClassMap as P, nothing as K } from "@arcgis/lumina";
|
|
7
|
-
import { u as J } from "../../chunks/
|
|
7
|
+
import { u as J } from "../../chunks/useView.js";
|
|
8
8
|
import { m as q } from "../../chunks/useViewModel.js";
|
|
9
9
|
import { g as C } from "../../chunks/globalCss.js";
|
|
10
10
|
import { l as W } from "../../chunks/legacyIcon.js";
|
|
@@ -27,7 +27,7 @@ import { project as ae } from "@arcgis/core/rest/geometryService.js";
|
|
|
27
27
|
import se from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
30
|
-
v4.33.0-next.
|
|
30
|
+
v4.33.0-next.112 */
|
|
31
31
|
const ne = X`@layer{arcgis-locate{display:block}}`;
|
|
32
32
|
var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, m = (e, t, o, r) => {
|
|
33
33
|
for (var i = r > 1 ? void 0 : r ? ce(t, o) : t, a = e.length - 1, s; a >= 0; a--)
|
|
@@ -670,7 +670,7 @@ class ze extends V {
|
|
|
670
670
|
super(...arguments), this.messages = J(), this.viewModel = je(this), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = _, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = b(), this.arcgisPropertyChange = k()("state"), this.arcgisReady = b(), this.arcgisSuccess = b();
|
|
671
671
|
}
|
|
672
672
|
static {
|
|
673
|
-
this.properties = { autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon:
|
|
673
|
+
this.properties = { autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 1, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
|
|
674
674
|
}
|
|
675
675
|
static {
|
|
676
676
|
this.shadowRootOptions = Q;
|
|
@@ -678,24 +678,15 @@ class ze extends V {
|
|
|
678
678
|
static {
|
|
679
679
|
this.styles = ne;
|
|
680
680
|
}
|
|
681
|
-
//#endregion
|
|
682
|
-
//#region Public Methods
|
|
683
|
-
/**
|
|
684
|
-
* This function provides the ability to interrupt and cancel the process of
|
|
685
|
-
* programmatically obtaining the location of the user's device.
|
|
686
|
-
*/
|
|
687
681
|
async cancelLocate() {
|
|
688
682
|
this.viewModel.cancelLocate();
|
|
689
683
|
}
|
|
690
|
-
/** Permanently destroy the component */
|
|
691
684
|
async destroy() {
|
|
692
685
|
await this.manager.destroy();
|
|
693
686
|
}
|
|
694
687
|
async locate() {
|
|
695
688
|
return await this.viewModel.locate();
|
|
696
689
|
}
|
|
697
|
-
//#endregion
|
|
698
|
-
//#region Lifecycle
|
|
699
690
|
loaded() {
|
|
700
691
|
this.viewModel.messages = { ...this.messages, ...this.messageOverrides }, this.manager.onLifecycle(() => [
|
|
701
692
|
v(() => this.viewModel.error, (t) => {
|
|
@@ -706,8 +697,6 @@ class ze extends V {
|
|
|
706
697
|
})
|
|
707
698
|
]);
|
|
708
699
|
}
|
|
709
|
-
//#endregion
|
|
710
|
-
//#region Private Methods
|
|
711
700
|
_localizeError(t) {
|
|
712
701
|
if (t instanceof GeolocationPositionError)
|
|
713
702
|
return t.code === GeolocationPositionError.PERMISSION_DENIED ? this.messages?.permissionError : t.code === GeolocationPositionError.TIMEOUT ? this.messages?.timeoutError : this.messages?.positionUnavailable;
|
|
@@ -719,8 +708,6 @@ class ze extends V {
|
|
|
719
708
|
t.state === "locating" ? t.cancelLocate() : t.locate().catch(() => {
|
|
720
709
|
});
|
|
721
710
|
}
|
|
722
|
-
//#endregion
|
|
723
|
-
//#region Rendering
|
|
724
711
|
render() {
|
|
725
712
|
const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", y = W === void 0 ? _ : void 0, g = this._localizeError(this.viewModel?.error);
|
|
726
713
|
return f`<div class=${P(H(Fe.base, C.widget))}>${!s && f`<calcite-button class=${P(C.widgetButton)} .disabled=${r === "disabled"} .iconStart=${i ? void 0 : o ?? y} kind=neutral .label=${a} @click=${this._locate} title=${a ?? K}>${i ? f`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${g ? f`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${g}</calcite-tooltip>` : null}</div>`;
|
|
@@ -18,7 +18,8 @@ declare const useMapView: (component: LitElement & Pick<MapView, never> & {
|
|
|
18
18
|
}, options?: {
|
|
19
19
|
editConstructorProperties(props: __esri.MapViewProperties | undefined): __esri.MapViewProperties | Promise<__esri.MapViewProperties | undefined> | undefined;
|
|
20
20
|
} | undefined) => MapView;
|
|
21
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* The ArcGIS Map Component is used to add 2D maps to web applications. For 3D maps, use the
|
|
22
23
|
* [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
23
24
|
*
|
|
24
25
|
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).
|
|
@@ -34,11 +35,11 @@ declare const useMapView: (component: LitElement & Pick<MapView, never> & {
|
|
|
34
35
|
* ```
|
|
35
36
|
*
|
|
36
37
|
* Other components can be added and connected to the Map component.
|
|
37
|
-
|
|
38
|
+
*
|
|
38
39
|
* ```html
|
|
39
40
|
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca">
|
|
40
|
-
*
|
|
41
|
-
*
|
|
41
|
+
* <arcgis-zoom position="top-left"></arcgis-zoom>
|
|
42
|
+
* <arcgis-legend position="bottom-left"></arcgis-legend>
|
|
42
43
|
* </arcgis-map>
|
|
43
44
|
* ```
|
|
44
45
|
*
|
|
@@ -47,8 +48,8 @@ declare const useMapView: (component: LitElement & Pick<MapView, never> & {
|
|
|
47
48
|
* ```js
|
|
48
49
|
* const arcgisMap = document.querySelector("arcgis-map");
|
|
49
50
|
* arcgisMap.addEventListener("arcgisViewReadyChange", () => {
|
|
50
|
-
*
|
|
51
|
-
*
|
|
51
|
+
* const layer = new GraphicsLayer({ title: "My Layer" });
|
|
52
|
+
* arcgisMap.map.add(layer);
|
|
52
53
|
* });
|
|
53
54
|
* ```
|
|
54
55
|
*
|
|
@@ -56,9 +57,11 @@ declare const useMapView: (component: LitElement & Pick<MapView, never> & {
|
|
|
56
57
|
* - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
|
|
57
58
|
* - [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)
|
|
58
59
|
* - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
|
|
60
|
+
*
|
|
61
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
59
62
|
*/
|
|
60
63
|
export declare class ArcgisMap extends LitElement {
|
|
61
|
-
/**
|
|
64
|
+
/** The [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) instance created and manged by the component. Accessible once the component is fully loaded. */
|
|
62
65
|
readonly view: MapView;
|
|
63
66
|
/**
|
|
64
67
|
* Collection containing a flat list of all the created LayerViews
|
|
@@ -69,25 +72,29 @@ export declare class ArcgisMap extends LitElement {
|
|
|
69
72
|
* If true, the component will not be destroyed automatically when it is
|
|
70
73
|
* disconnected from the document. This is useful when you want to move the
|
|
71
74
|
* component to a different place on the page, or temporarily hide it. If this
|
|
72
|
-
* is set, make sure to call the
|
|
73
|
-
* memory leaks.
|
|
75
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#destroy) method when you are done to
|
|
76
|
+
* prevent memory leaks.
|
|
77
|
+
*
|
|
78
|
+
* @default false
|
|
74
79
|
*/
|
|
75
80
|
autoDestroyDisabled: boolean;
|
|
76
81
|
/**
|
|
77
82
|
* The background color of the MapView. If the view's map changes, the view's `background` is reset to the map's background,
|
|
78
83
|
* even if the user set it previously.
|
|
84
|
+
*
|
|
85
|
+
* @default null
|
|
79
86
|
*/
|
|
80
87
|
background: nullish | __esri.ColorBackground;
|
|
81
88
|
/**
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
* Specifies a basemap for the map. The basemap is a set of layers that give
|
|
90
|
+
* geographic context to the view and the other operational layers
|
|
91
|
+
* in the map.
|
|
92
|
+
* It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)),
|
|
93
|
+
* [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html)
|
|
94
|
+
* or [BasemapStyle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-BasemapStyle.html).
|
|
95
|
+
*
|
|
96
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)
|
|
97
|
+
*/
|
|
91
98
|
get basemap(): typeof this._map.basemap;
|
|
92
99
|
set basemap(value: __esri.Basemap | nullish | string);
|
|
93
100
|
/** Represents the view for a single basemap after it has been added to the map. */
|
|
@@ -150,20 +157,26 @@ export declare class ArcgisMap extends LitElement {
|
|
|
150
157
|
*/
|
|
151
158
|
highlights: __esri.Collection<__esri.HighlightOptions>;
|
|
152
159
|
/**
|
|
153
|
-
*
|
|
160
|
+
* Options for configuring the highlight.
|
|
161
|
+
*
|
|
162
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#highlightOptions)
|
|
154
163
|
*
|
|
164
|
+
* @deprecated
|
|
155
165
|
* Options for configuring the highlight. Use the highlight method on the
|
|
156
166
|
* appropriate esri/views/layers/LayerView to highlight a feature.
|
|
157
167
|
* The layerView's `highlightOptions` will take precedence over the MapView's `highlightOptions` if both properties are set.
|
|
158
168
|
*/
|
|
159
169
|
highlightOptions: __esri.HighlightOptions;
|
|
160
|
-
/** Indication whether the view is being interacted with (for example when panning or by an interactive tool). */
|
|
161
|
-
get interacting(): boolean;
|
|
162
170
|
/**
|
|
163
|
-
*
|
|
171
|
+
* Indication whether the view is being interacted with (for example when panning or by an interactive tool).
|
|
172
|
+
*
|
|
173
|
+
* @default false
|
|
164
174
|
*/
|
|
175
|
+
get interacting(): boolean;
|
|
176
|
+
/** Contains indoor positioning system information for the map. */
|
|
165
177
|
ipsInfo: nullish | __esri.IPSInfo;
|
|
166
|
-
/**
|
|
178
|
+
/**
|
|
179
|
+
* The ID of a WebMap from ArcGIS Online or ArcGIS Enterprise portal.
|
|
167
180
|
*
|
|
168
181
|
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the `arcgis-map` component loads.
|
|
169
182
|
*/
|
|
@@ -179,11 +192,29 @@ export declare class ArcgisMap extends LitElement {
|
|
|
179
192
|
readonly magnifier: __esri.Magnifier;
|
|
180
193
|
/** An instance of a esri/Map object to display in the view. */
|
|
181
194
|
map: __esri.Map;
|
|
182
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* Indication whether the view is being navigated (for example when panning).
|
|
197
|
+
*
|
|
198
|
+
* @default false
|
|
199
|
+
*/
|
|
183
200
|
get navigating(): boolean;
|
|
184
201
|
/** Options to configure the navigation behavior of the View. */
|
|
185
202
|
navigation: __esri.Navigation;
|
|
203
|
+
/**
|
|
204
|
+
* Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#center),
|
|
205
|
+
* and [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#extent), etc.
|
|
206
|
+
*
|
|
207
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#padding)
|
|
208
|
+
*
|
|
209
|
+
* @default {left: 0, top: 0, right: 0, bottom: 0}
|
|
210
|
+
*/
|
|
186
211
|
padding: __esri.ViewPadding;
|
|
212
|
+
/**
|
|
213
|
+
* A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) object that displays general content or attributes from
|
|
214
|
+
* [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#map).
|
|
215
|
+
*
|
|
216
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popup)
|
|
217
|
+
*/
|
|
187
218
|
popup: nullish | __esri.Popup;
|
|
188
219
|
/**
|
|
189
220
|
* Controls whether the popup opens when users click on the view.
|
|
@@ -194,12 +225,16 @@ export declare class ArcgisMap extends LitElement {
|
|
|
194
225
|
/**
|
|
195
226
|
* When `true`, this property indicates whether the view successfully satisfied all dependencies,
|
|
196
227
|
* signaling that the following conditions are met.
|
|
228
|
+
*
|
|
229
|
+
* @default false
|
|
197
230
|
*/
|
|
198
231
|
readonly ready: boolean;
|
|
199
232
|
/**
|
|
200
233
|
* Defines which anchor stays still while resizing the browser window. The default, `center`,
|
|
201
234
|
* ensures the view's center point remains constantly visible as the window size changes. The other
|
|
202
235
|
* options allow the respective portion of the view to remain visible when the window's size is changed.
|
|
236
|
+
*
|
|
237
|
+
* @default "center"
|
|
203
238
|
*/
|
|
204
239
|
resizeAlign: "center" | "bottom-left" | "bottom-right" | "top-left" | "top-right" | "left" | "right" | "top" | "bottom";
|
|
205
240
|
/**
|
|
@@ -215,6 +250,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
215
250
|
* Map rotation may be disabled by setting the `rotationEnabled` property
|
|
216
251
|
* in [constraints](#constraints) to `false`. See the code snippet below for
|
|
217
252
|
* an example of this.
|
|
253
|
+
*
|
|
254
|
+
* @default 0
|
|
218
255
|
*/
|
|
219
256
|
rotation: number;
|
|
220
257
|
/**
|
|
@@ -227,15 +264,27 @@ export declare class ArcgisMap extends LitElement {
|
|
|
227
264
|
* The spatial reference of the view.
|
|
228
265
|
* This indicates the projected or geographic coordinate system used
|
|
229
266
|
* to locate geographic features in the map.
|
|
267
|
+
*
|
|
268
|
+
* @default null
|
|
230
269
|
*/
|
|
231
270
|
spatialReference: __esri.SpatialReference;
|
|
232
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Indication whether the view is animating, being navigated with or resizing.
|
|
273
|
+
*
|
|
274
|
+
* @default false
|
|
275
|
+
*/
|
|
233
276
|
get stationary(): boolean;
|
|
234
|
-
/**
|
|
277
|
+
/**
|
|
278
|
+
* Indicates if the view is visible on the page.
|
|
279
|
+
*
|
|
280
|
+
* @default true
|
|
281
|
+
*/
|
|
235
282
|
readonly suspended: boolean;
|
|
236
283
|
/**
|
|
237
284
|
* This property specifies the base colors used by some widgets
|
|
238
285
|
* and components to render graphics and labels.
|
|
286
|
+
*
|
|
287
|
+
* @default null
|
|
239
288
|
*/
|
|
240
289
|
theme: nullish | __esri.Theme;
|
|
241
290
|
/**
|
|
@@ -243,17 +292,23 @@ export declare class ArcgisMap extends LitElement {
|
|
|
243
292
|
* the view's time extent. Setting the view's time extent is similar to setting the spatial
|
|
244
293
|
* extent because once the time extent is set, the
|
|
245
294
|
* view updates automatically to conform to the change.
|
|
295
|
+
*
|
|
296
|
+
* @default null
|
|
246
297
|
*/
|
|
247
298
|
timeExtent: nullish | __esri.TimeExtent;
|
|
248
299
|
/**
|
|
249
300
|
* Defines the time zone of the view.
|
|
250
301
|
* The time zone property determines how dates and times are represented to the user,
|
|
251
302
|
* but the underlying data is unchanged.
|
|
303
|
+
*
|
|
304
|
+
* @default "system"
|
|
252
305
|
*/
|
|
253
306
|
timeZone: string;
|
|
254
307
|
/**
|
|
255
308
|
* Indicates whether the view is being updated by additional data requests to the network,
|
|
256
309
|
* or by processing received data.
|
|
310
|
+
*
|
|
311
|
+
* @default false
|
|
257
312
|
*/
|
|
258
313
|
readonly updating: boolean;
|
|
259
314
|
/**
|
|
@@ -263,6 +318,12 @@ export declare class ArcgisMap extends LitElement {
|
|
|
263
318
|
*/
|
|
264
319
|
get viewpoint(): __esri.Viewpoint;
|
|
265
320
|
set viewpoint(newValue: __esri.Viewpoint);
|
|
321
|
+
/**
|
|
322
|
+
* The visibleArea represents the visible portion of a [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) within the view as
|
|
323
|
+
* an instance of a [Polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html).
|
|
324
|
+
*
|
|
325
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#visibleArea)
|
|
326
|
+
*/
|
|
266
327
|
readonly visibleArea: nullish | __esri.Polygon;
|
|
267
328
|
/**
|
|
268
329
|
* Represents the level of detail (LOD) at the center of the view.
|
|
@@ -278,28 +339,32 @@ export declare class ArcgisMap extends LitElement {
|
|
|
278
339
|
get zoom(): number;
|
|
279
340
|
set zoom(newValue: number);
|
|
280
341
|
/**
|
|
281
|
-
* @deprecated
|
|
342
|
+
* @deprecated
|
|
343
|
+
* **Deprecated** since 4.33. Use `element.map.add(layer)` instead.
|
|
282
344
|
*
|
|
283
345
|
* Adds a layer to the map layers collection.
|
|
284
|
-
|
|
346
|
+
*/
|
|
285
347
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
286
348
|
/**
|
|
287
|
-
* @deprecated
|
|
349
|
+
* @deprecated
|
|
350
|
+
* **Deprecated** since 4.33. Use `element.map.addMany([layer])` instead.
|
|
288
351
|
*
|
|
289
352
|
* Adds a layer or array of layers to the map layers collection.
|
|
290
|
-
|
|
353
|
+
*/
|
|
291
354
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
292
355
|
/**
|
|
293
|
-
* @deprecated
|
|
356
|
+
* @deprecated
|
|
357
|
+
* **Deprecated** since 4.33. Use `element.map.tables.add(table)` instead.
|
|
294
358
|
*
|
|
295
359
|
* Adds a table to the map tables collection.
|
|
296
|
-
|
|
360
|
+
*/
|
|
297
361
|
addTable(table: __esri.FeatureLayer): Promise<void>;
|
|
298
362
|
/**
|
|
299
|
-
* @deprecated
|
|
363
|
+
* @deprecated
|
|
364
|
+
* **Deprecated** since 4.33. Use `element.map.tables.addMany([table])` instead.
|
|
300
365
|
*
|
|
301
366
|
* Adds a table or array of tables to the map tables collection.
|
|
302
|
-
|
|
367
|
+
*/
|
|
303
368
|
addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>;
|
|
304
369
|
/** Closes the popup. */
|
|
305
370
|
closePopup(): Promise<void>;
|
|
@@ -371,11 +436,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
371
436
|
* This event will also emit if the `map` property is changed.
|
|
372
437
|
*/
|
|
373
438
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
374
|
-
|
|
375
|
-
* This WebMap will be created only if user did not provide a map. Otherwise,
|
|
376
|
-
* it will be equal to this.view.map
|
|
377
|
-
*/
|
|
378
|
-
private _map;
|
|
439
|
+
private _map: __esri.Map;
|
|
379
440
|
readonly _setterTypes: {
|
|
380
441
|
basemap?: __esri.Basemap | nullish | string;
|
|
381
442
|
center?: __esri.MapView["center"] | Nil | number[] | string;
|
|
@@ -8,7 +8,7 @@ import { c as h, i as g } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.112 */
|
|
12
12
|
const u = y`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = r(
|
|
13
13
|
o,
|
|
14
14
|
/**
|
|
@@ -34,13 +34,6 @@ class b extends l {
|
|
|
34
34
|
static {
|
|
35
35
|
this.styles = u;
|
|
36
36
|
}
|
|
37
|
-
/**
|
|
38
|
-
* Represents the view's center point; when setting the center, you may pass a
|
|
39
|
-
* esri/geometry/Point instance or a string representing
|
|
40
|
-
* a longitude/latitude pair (`"-100.4593, 36.9014"`).
|
|
41
|
-
* Setting the center immediately changes the current view.
|
|
42
|
-
* For animating the view, see this component's goTo() method.
|
|
43
|
-
*/
|
|
44
37
|
get center() {
|
|
45
38
|
return this.view.center ?? this._center;
|
|
46
39
|
}
|
|
@@ -48,30 +41,18 @@ class b extends l {
|
|
|
48
41
|
const t = h(i, this.ready ? this.view : void 0);
|
|
49
42
|
t && (this.ready && (this.view.center = t), this._center = t);
|
|
50
43
|
}
|
|
51
|
-
/**
|
|
52
|
-
* The extent represents the visible portion of a map within the view as an instance of esri/geometry/Extent.
|
|
53
|
-
* Setting the extent immediately changes the view without animation. To animate
|
|
54
|
-
* the view, see this component's goTo() method.
|
|
55
|
-
* When the view is rotated, the extent does not update to include the newly visible portions of the map.
|
|
56
|
-
*/
|
|
57
44
|
get extent() {
|
|
58
45
|
return this.view.extent ?? this._extent;
|
|
59
46
|
}
|
|
60
47
|
set extent(i) {
|
|
61
48
|
this.view.ready || (this._extent = i), i && !this.extent?.equals(i) && (this.view.extent = i);
|
|
62
49
|
}
|
|
63
|
-
/** Gamepad input specific configuration settings. */
|
|
64
50
|
get gamepad() {
|
|
65
51
|
return this.ready ? this.view.input.gamepad : void 0;
|
|
66
52
|
}
|
|
67
|
-
/** Indication whether the view is being interacted with (for example when panning or by an interactive tool). */
|
|
68
53
|
get interacting() {
|
|
69
54
|
return this.view.interacting;
|
|
70
55
|
}
|
|
71
|
-
/** The ID of a WebMap from ArcGIS Online or ArcGIS Enterprise portal.
|
|
72
|
-
*
|
|
73
|
-
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the `arcgis-map` component loads.
|
|
74
|
-
*/
|
|
75
56
|
get itemId() {
|
|
76
57
|
return this._map.portalItem?.id ?? this._itemId;
|
|
77
58
|
}
|
|
@@ -80,110 +61,57 @@ class b extends l {
|
|
|
80
61
|
this.view.map = this._map;
|
|
81
62
|
}).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new o(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
|
|
82
63
|
}
|
|
83
|
-
/** Indication whether the view is being navigated (for example when panning). */
|
|
84
64
|
get navigating() {
|
|
85
65
|
return this.view.navigating;
|
|
86
66
|
}
|
|
87
|
-
/**
|
|
88
|
-
* Represents the map scale at the center of the view. Setting the scale immediately changes the view. For animating
|
|
89
|
-
* the view, see this component's goTo() method.
|
|
90
|
-
*/
|
|
91
67
|
get scale() {
|
|
92
68
|
return this.view.scale ?? this._scale;
|
|
93
69
|
}
|
|
94
70
|
set scale(i) {
|
|
95
71
|
this.ready && (this.view.scale = i), this._scale = i;
|
|
96
72
|
}
|
|
97
|
-
/** Indication whether the view is animating, being navigated with or resizing. */
|
|
98
73
|
get stationary() {
|
|
99
74
|
return this.view.stationary;
|
|
100
75
|
}
|
|
101
|
-
/**
|
|
102
|
-
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
103
|
-
* Setting the viewpoint immediately changes the current view. For animating
|
|
104
|
-
* the view, see this component's goTo() method.
|
|
105
|
-
*/
|
|
106
76
|
get viewpoint() {
|
|
107
77
|
return this.view.viewpoint ?? this._viewpoint;
|
|
108
78
|
}
|
|
109
79
|
set viewpoint(i) {
|
|
110
80
|
this.ready && g(this.viewpoint, i) && (this.view.viewpoint = i), this._viewpoint = i;
|
|
111
81
|
}
|
|
112
|
-
/**
|
|
113
|
-
* Represents the level of detail (LOD) at the center of the view.
|
|
114
|
-
* A zoom level (or scale) is a number that defines how large or small the contents of a map appear in a map view.
|
|
115
|
-
* Zoom level is a number usually between 0 (global view) and 23 (very detailed view) and is used as a shorthand for predetermined scale values.
|
|
116
|
-
* A value of -1 means the view has no LODs.
|
|
117
|
-
* When setting the zoom value, the MapView converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
|
|
118
|
-
* MapView can display maps with different projections at a full range of scales, and so use the scale property on this component rather than zoom level.
|
|
119
|
-
*
|
|
120
|
-
* Setting the zoom immediately changes the current view. For animating the view, see this component's goTo() method.
|
|
121
|
-
* Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
|
|
122
|
-
*/
|
|
123
82
|
get zoom() {
|
|
124
83
|
return this.view.zoom ?? this._zoom;
|
|
125
84
|
}
|
|
126
85
|
set zoom(i) {
|
|
127
86
|
this.ready && (this.view.zoom = i), this._zoom = i;
|
|
128
87
|
}
|
|
129
|
-
//#endregion
|
|
130
|
-
//#region Public Methods
|
|
131
|
-
/**
|
|
132
|
-
* @deprecated **Deprecated** since 4.33. Use `element.map.add(layer)` instead.
|
|
133
|
-
*
|
|
134
|
-
* Adds a layer to the map layers collection.
|
|
135
|
-
* */
|
|
136
88
|
async addLayer(i, t) {
|
|
137
89
|
this.map?.add(i, t);
|
|
138
90
|
}
|
|
139
|
-
/**
|
|
140
|
-
* @deprecated **Deprecated** since 4.33. Use `element.map.addMany([layer])` instead.
|
|
141
|
-
*
|
|
142
|
-
* Adds a layer or array of layers to the map layers collection.
|
|
143
|
-
* */
|
|
144
91
|
async addLayers(i, t) {
|
|
145
92
|
this.map?.addMany(i, t);
|
|
146
93
|
}
|
|
147
|
-
/**
|
|
148
|
-
* @deprecated **Deprecated** since 4.33. Use `element.map.tables.add(table)` instead.
|
|
149
|
-
*
|
|
150
|
-
* Adds a table to the map tables collection.
|
|
151
|
-
* */
|
|
152
94
|
async addTable(i) {
|
|
153
95
|
this.map?.tables.add(i);
|
|
154
96
|
}
|
|
155
|
-
/**
|
|
156
|
-
* @deprecated **Deprecated** since 4.33. Use `element.map.tables.addMany([table])` instead.
|
|
157
|
-
*
|
|
158
|
-
* Adds a table or array of tables to the map tables collection.
|
|
159
|
-
* */
|
|
160
97
|
async addTables(i, t) {
|
|
161
98
|
this.map?.tables.addMany(i, t);
|
|
162
99
|
}
|
|
163
|
-
/** Closes the popup. */
|
|
164
100
|
async closePopup() {
|
|
165
101
|
this.view?.closePopup();
|
|
166
102
|
}
|
|
167
|
-
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
168
103
|
async destroy() {
|
|
169
104
|
await this.manager.destroy();
|
|
170
105
|
}
|
|
171
|
-
/** Sets the view to a given target. */
|
|
172
106
|
async goTo(i, t) {
|
|
173
107
|
return await this.view?.goTo(i, t);
|
|
174
108
|
}
|
|
175
|
-
/** Returns hit test results from each layer that intersects the specified screen coordinates. */
|
|
176
109
|
async hitTest(i, t) {
|
|
177
110
|
return await this.view?.hitTest(i, t);
|
|
178
111
|
}
|
|
179
|
-
/**
|
|
180
|
-
* Opens the popup at the given location with content defined either explicitly with content or driven
|
|
181
|
-
* from the PopupTemplate of input features.
|
|
182
|
-
*/
|
|
183
112
|
async openPopup(i) {
|
|
184
113
|
await this.view?.openPopup(i);
|
|
185
114
|
}
|
|
186
|
-
/** Create a screenshot of the current view. */
|
|
187
115
|
async takeScreenshot(i) {
|
|
188
116
|
return await this.view?.takeScreenshot(i);
|
|
189
117
|
}
|
|
@@ -193,23 +121,15 @@ class b extends l {
|
|
|
193
121
|
toScreen(i, t) {
|
|
194
122
|
return this.view.toScreen(i, t);
|
|
195
123
|
}
|
|
196
|
-
/** Call this method to clear any fatal errors resulting from a lost WebGL context. */
|
|
197
124
|
async tryFatalErrorRecovery() {
|
|
198
125
|
this.view?.tryFatalErrorRecovery();
|
|
199
126
|
}
|
|
200
|
-
/** Gets the LayerView created on the view for the given layer. */
|
|
201
127
|
async whenLayerView(i) {
|
|
202
128
|
return await this.view?.whenLayerView(i);
|
|
203
129
|
}
|
|
204
|
-
/**
|
|
205
|
-
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
206
|
-
* This method takes two input parameters: a `callback` function and an `errback` function.
|
|
207
|
-
*/
|
|
208
130
|
async viewOnReady(i, t) {
|
|
209
131
|
return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
|
|
210
132
|
}
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region Lifecycle
|
|
213
133
|
load() {
|
|
214
134
|
const i = this;
|
|
215
135
|
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container ??= i.el.childElem;
|
|
@@ -222,8 +142,6 @@ class b extends l {
|
|
|
222
142
|
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
|
|
223
143
|
]);
|
|
224
144
|
}
|
|
225
|
-
//#endregion
|
|
226
|
-
//#region Private Methods
|
|
227
145
|
_editMapProperties(i) {
|
|
228
146
|
this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
|
|
229
147
|
const { basemap: t, ...n } = i;
|
|
@@ -29,39 +29,84 @@ declare const useMeasurementWidget: (component: LitElement & Pick<Measurement, n
|
|
|
29
29
|
editConstructorProperties(props: __esri.MeasurementProperties | undefined): __esri.MeasurementProperties | Promise<__esri.MeasurementProperties | undefined> | undefined;
|
|
30
30
|
} | undefined) => Measurement;
|
|
31
31
|
/**
|
|
32
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-measurement/)
|
|
33
|
+
*
|
|
32
34
|
* @internal
|
|
33
35
|
*/
|
|
34
36
|
export declare class ArcgisMeasurement extends LitElement {
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the current measurement tool to display.
|
|
39
|
+
*
|
|
40
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#activeTool)
|
|
41
|
+
*
|
|
42
|
+
* @default null
|
|
43
|
+
*/
|
|
35
44
|
activeTool: "area" | nullish | "distance" | "direct-line";
|
|
45
|
+
/**
|
|
46
|
+
* The measurement widget that is currently being used.
|
|
47
|
+
*
|
|
48
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#activeWidget)
|
|
49
|
+
*
|
|
50
|
+
* @default null
|
|
51
|
+
*/
|
|
36
52
|
readonly activeWidget: nullish | __esri.DistanceMeasurement2D | __esri.DirectLineMeasurement3D | __esri.AreaMeasurement3D | __esri.AreaMeasurement2D;
|
|
53
|
+
/**
|
|
54
|
+
* Unit system (imperial, metric) or specific unit used for displaying the area values.
|
|
55
|
+
*
|
|
56
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#areaUnit)
|
|
57
|
+
*/
|
|
37
58
|
areaUnit: __esri.SystemOrAreaUnit;
|
|
38
59
|
/**
|
|
39
60
|
* If true, the component will not be destroyed automatically when it is
|
|
40
61
|
* disconnected from the document. This is useful when you want to move the
|
|
41
62
|
* component to a different place on the page, or temporarily hide it. If this
|
|
42
|
-
* is set, make sure to call the
|
|
43
|
-
* memory leaks.
|
|
63
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-measurement/#destroy) method when you are done to
|
|
64
|
+
* prevent memory leaks.
|
|
65
|
+
*
|
|
66
|
+
* @default false
|
|
44
67
|
*/
|
|
45
68
|
autoDestroyDisabled: boolean;
|
|
46
69
|
/**
|
|
47
|
-
* Icon which represents the
|
|
48
|
-
*
|
|
49
|
-
*
|
|
70
|
+
* Icon which represents the widget.
|
|
71
|
+
*
|
|
72
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#icon)
|
|
73
|
+
*
|
|
74
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
75
|
+
* @default "measure"
|
|
50
76
|
*/
|
|
51
77
|
icon: string;
|
|
52
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* The widget's default label.
|
|
80
|
+
*
|
|
81
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#label)
|
|
82
|
+
*/
|
|
53
83
|
label: string;
|
|
84
|
+
/**
|
|
85
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
86
|
+
*
|
|
87
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#linearUnit)
|
|
88
|
+
*/
|
|
54
89
|
linearUnit: __esri.SystemOrLengthUnit;
|
|
90
|
+
/** @default "bottom-left" */
|
|
55
91
|
position: __esri.UIPosition;
|
|
56
92
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
93
|
+
/**
|
|
94
|
+
* The ViewModel's state.
|
|
95
|
+
*
|
|
96
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement-MeasurementViewModel.html#state)
|
|
97
|
+
*
|
|
98
|
+
* @default "disabled"
|
|
99
|
+
*/
|
|
57
100
|
readonly state: "ready" | "disabled" | "measuring" | "measured";
|
|
58
101
|
clear(): Promise<void>;
|
|
59
|
-
/** Permanently destroy the component */
|
|
102
|
+
/** Permanently destroy the component. */
|
|
60
103
|
destroy(): Promise<void>;
|
|
61
104
|
startMeasurement(): Promise<void>;
|
|
105
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
62
106
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
63
107
|
name: "state" | "activeTool";
|
|
64
108
|
}>;
|
|
109
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
65
110
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
66
111
|
}
|
|
67
112
|
export {};
|