@arcgis/map-components 5.0.0-next.3 → 5.0.0-next.30
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/cdn/22PBEW6E.js +4 -0
- package/dist/cdn/25PCEBHD.js +4 -0
- package/dist/cdn/{PT4SB4F4.js → 27WBIJ7W.js} +2 -2
- package/dist/cdn/{5Y726H3N.js → 2CJC5LPR.js} +2 -2
- package/dist/cdn/2CRWDE5K.js +4 -0
- package/dist/cdn/{2Y7DD43B.js → 2S7NPB67.js} +2 -2
- package/dist/cdn/{XS57JNBV.js → 374IBN5E.js} +2 -2
- package/dist/cdn/{XSHK3IHW.js → 3OVNUSGR.js} +2 -2
- package/dist/cdn/{JMEUEYO3.js → 3PNHYPR5.js} +2 -2
- package/dist/cdn/3Q4TZZN5.js +9 -0
- package/dist/cdn/{V2SEO7LF.js → 3TDUGLWP.js} +2 -2
- package/dist/cdn/3U4M6EMC.js +4 -0
- package/dist/cdn/3ZCQG6W2.js +4 -0
- package/dist/cdn/425YBS5O.js +4 -0
- package/dist/cdn/{U5AQM4PG.js → 42EAA7ZK.js} +2 -2
- package/dist/cdn/{7CNGYGTJ.js → 4EURR2HO.js} +2 -2
- package/dist/cdn/{5KLSEZXC.js → 4I6KXDCS.js} +2 -2
- package/dist/cdn/4KAVQQCL.js +4 -0
- package/dist/cdn/{6NDFRLCI.js → 4S63FYIQ.js} +2 -2
- package/dist/cdn/{FJ2ODCZO.js → 4ZDH3LUI.js} +2 -2
- package/dist/cdn/{WM6PZMMT.js → 5622NXQG.js} +2 -2
- package/dist/cdn/{ZIEJSM2I.js → 56LJCIRJ.js} +2 -2
- package/dist/cdn/5CCZDJS6.js +4 -0
- package/dist/cdn/5I77EKDP.js +4 -0
- package/dist/cdn/{GHJ24W6Y.js → 5MBPCAXE.js} +2 -2
- package/dist/cdn/5RXPN4ZA.js +4 -0
- package/dist/cdn/{E6NGXE4D.js → 5T4NERJA.js} +2 -2
- package/dist/cdn/6264Y6OB.js +4 -0
- package/dist/cdn/{5BGXROFC.js → 63P5OPEW.js} +2 -2
- package/dist/cdn/{NZU4NUKA.js → 66XSUGOO.js} +2 -2
- package/dist/cdn/6JOMTTMO.js +4 -0
- package/dist/cdn/6LLHP446.js +4 -0
- package/dist/cdn/6QMZX7TX.js +4 -0
- package/dist/cdn/6YGA3ZTW.js +4 -0
- package/dist/cdn/74D735ZE.js +4 -0
- package/dist/cdn/{OQ4DWZRX.js → 76PSKS56.js} +2 -2
- package/dist/cdn/7BW7BEKS.js +4 -0
- package/dist/cdn/{SPSIJZKA.js → 7BZ6ZZWG.js} +2 -2
- package/dist/cdn/7LW2MJ34.js +4 -0
- package/dist/cdn/{CAGCLXVW.js → 7N7RFZDC.js} +2 -2
- package/dist/cdn/7R25WXBY.js +4 -0
- package/dist/cdn/{YGN7CXIS.js → A7WF3SII.js} +2 -2
- package/dist/cdn/AJVA5KJZ.js +4 -0
- package/dist/cdn/{4XLFNXAU.js → AUBNL7NN.js} +1 -1
- package/dist/cdn/AYDYS5XP.js +4 -0
- package/dist/cdn/B5J2VO23.js +4 -0
- package/dist/cdn/{KHBODFWE.js → BBF2UUMF.js} +1 -1
- package/dist/cdn/{V7Z2OLGJ.js → BCB3OHT5.js} +1 -1
- package/dist/cdn/BFGOCVTQ.js +4 -0
- package/dist/cdn/{H7M3PSWM.js → BGIPXNCI.js} +2 -2
- package/dist/cdn/BID2IGTA.js +4 -0
- package/dist/cdn/BP3EIAXM.js +4 -0
- package/dist/cdn/BPZWPZSL.js +4 -0
- package/dist/cdn/{QQEDG3FQ.js → BYDZCBXS.js} +1 -1
- package/dist/cdn/CKWHFRUK.js +4 -0
- package/dist/cdn/{OTAT274C.js → CLULAXQD.js} +2 -2
- package/dist/cdn/CNTHUZWZ.js +4 -0
- package/dist/cdn/CUG6PNIA.js +4 -0
- package/dist/cdn/{IFCRROLM.js → CYBCIT4Y.js} +1 -1
- package/dist/cdn/{MJ33XVNW.js → CZJ42KVB.js} +2 -2
- package/dist/cdn/DCVY57UJ.js +4 -0
- package/dist/cdn/DDTFGXJB.js +4 -0
- package/dist/cdn/DGTCJPUJ.js +4 -0
- package/dist/cdn/DKQDFHBQ.js +4 -0
- package/dist/cdn/{QLRG2ZV7.js → DNH555Q6.js} +2 -2
- package/dist/cdn/{VYJLK7NT.js → DVMZQU3S.js} +2 -2
- package/dist/cdn/{JY4X6DI4.js → DX7CIW2P.js} +2 -2
- package/dist/cdn/{2NLU5P6Z.js → DZMHLJTL.js} +2 -2
- package/dist/cdn/E47J5GZF.js +4 -0
- package/dist/cdn/E57VVYYO.js +4 -0
- package/dist/cdn/E6LAZTCZ.js +4 -0
- package/dist/cdn/E7LECLZS.js +4 -0
- package/dist/cdn/{UOB52WH7.js → EANAURQW.js} +2 -2
- package/dist/cdn/EIA2HRVX.js +4 -0
- package/dist/cdn/{ZVMC7KNO.js → EJNPIPYI.js} +2 -2
- package/dist/cdn/{G7HJYLTI.js → EK2C6MIA.js} +2 -2
- package/dist/cdn/EL2VJ6RS.js +4 -0
- package/dist/cdn/{PH5CV2LM.js → EYVOMZXY.js} +1 -1
- package/dist/cdn/EZRA4T3B.js +4 -0
- package/dist/cdn/FDJQS7A5.js +4 -0
- package/dist/cdn/FJSDHTDE.js +4 -0
- package/dist/cdn/FKA23U6F.js +4 -0
- package/dist/cdn/FN2HVGXN.js +4 -0
- package/dist/cdn/{FGL64TB3.js → FN45TY5U.js} +2 -2
- package/dist/cdn/{VUH7USVP.js → FOLKGWCG.js} +2 -2
- package/dist/cdn/FRHKHEQC.js +4 -0
- package/dist/cdn/{TIKIHUXB.js → FWUUE67P.js} +2 -2
- package/dist/cdn/{XOR2JIKE.js → FZ5UYVXE.js} +2 -2
- package/dist/cdn/{E3GEOJL3.js → GHB4S7FZ.js} +2 -2
- package/dist/cdn/GJULE3KX.js +4 -0
- package/dist/cdn/{IRVVFCPI.js → GKBYAVVU.js} +2 -2
- package/dist/cdn/GRCCF7NK.js +4 -0
- package/dist/cdn/{E3PFF3QO.js → GSPGZZIN.js} +2 -2
- package/dist/cdn/GW4QU3CW.js +4 -0
- package/dist/cdn/GX5MB57E.js +4 -0
- package/dist/cdn/HBEKTKXB.js +4 -0
- package/dist/cdn/HKSFUMS2.js +4 -0
- package/dist/cdn/{NSSQHGXK.js → HLYYV5IJ.js} +2 -2
- package/dist/cdn/{O6EPJYM3.js → HT3PGW7M.js} +2 -2
- package/dist/cdn/HWBYBOFO.js +4 -0
- package/dist/cdn/I4VWHCEV.js +4 -0
- package/dist/cdn/{LYJ4UH2R.js → I5KPSSMS.js} +2 -2
- package/dist/cdn/{QEP5NFEU.js → I5OZYAAG.js} +2 -2
- package/dist/cdn/{FKYZEDOJ.js → I656AJFF.js} +2 -2
- package/dist/cdn/{A3762FET.js → I7DVVSQ5.js} +2 -2
- package/dist/cdn/{YTHR4NZ6.js → IAEK5W65.js} +2 -2
- package/dist/cdn/{AYNMHQEJ.js → IDCRXCZH.js} +2 -2
- package/dist/cdn/IRAFVG6N.js +4 -0
- package/dist/cdn/IT3NFXVO.js +4 -0
- package/dist/cdn/{PL6UYYNH.js → IUZBJNIT.js} +2 -2
- package/dist/cdn/IUZRROGZ.js +4 -0
- package/dist/cdn/J3ZLMJL7.js +4 -0
- package/dist/cdn/{OXFFB6Y3.js → J5IGACIV.js} +2 -2
- package/dist/cdn/{X6KL6BYF.js → J5JIUE4E.js} +2 -2
- package/dist/cdn/{UU6DUHJ7.js → J75FAWOX.js} +1 -1
- package/dist/cdn/JC3Y3H2J.js +4 -0
- package/dist/cdn/{D4LXLZZW.js → JC6BPG6L.js} +2 -2
- package/dist/cdn/JD3UYAHR.js +4 -0
- package/dist/cdn/{WLZJRN6C.js → JD6SZBTI.js} +1 -1
- package/dist/cdn/JNHWTLF5.js +4 -0
- package/dist/cdn/{H37YYHYW.js → K4HH7Q7F.js} +2 -2
- package/dist/cdn/KHN4WS5O.js +4 -0
- package/dist/cdn/{T25TCQNP.js → KWO4P6X3.js} +2 -2
- package/dist/cdn/L2S6UPIL.js +4 -0
- package/dist/cdn/LG3E3FEI.js +4 -0
- package/dist/cdn/LG6IQO74.js +4 -0
- package/dist/cdn/LGRVJOKM.js +4 -0
- package/dist/cdn/LHKVE7QW.js +4 -0
- package/dist/cdn/LMHRSVIK.js +4 -0
- package/dist/cdn/{IPSS2ZMH.js → LTRRBRH6.js} +2 -2
- package/dist/cdn/{IHZK6TIX.js → LUPWZHEN.js} +2 -2
- package/dist/cdn/LXMJA6SN.js +4 -0
- package/dist/cdn/{Y4JZGJBR.js → MEK3PSMR.js} +2 -2
- package/dist/cdn/MGSBWHU6.js +4 -0
- package/dist/cdn/{NQG5ZLHV.js → MIWATNX7.js} +2 -2
- package/dist/cdn/{7UZQHGLP.js → MPGBF2CR.js} +2 -2
- package/dist/cdn/MROF6ZLY.js +4 -0
- package/dist/cdn/{L7F3QWKO.js → MW27JFII.js} +2 -2
- package/dist/cdn/MYHT3FNL.js +4 -0
- package/dist/cdn/{36DL5HXP.js → N4IBOVID.js} +2 -2
- package/dist/cdn/{V4QJNRPL.js → NB6FYZSP.js} +1 -1
- package/dist/cdn/{SUC4EKIE.js → NGRN6PRP.js} +2 -2
- package/dist/cdn/NIVNICTN.js +4 -0
- package/dist/cdn/NUWJO552.js +4 -0
- package/dist/cdn/{MY5DKMMJ.js → NVQTDJG4.js} +2 -2
- package/dist/cdn/{HYX7CRNH.js → OCLQXJGF.js} +2 -2
- package/dist/cdn/{HDI3Z2HD.js → OF5TKTLJ.js} +2 -2
- package/dist/cdn/OISWBYPZ.js +4 -0
- package/dist/cdn/OLIVWOUG.js +4 -0
- package/dist/cdn/OLTPA66L.js +4 -0
- package/dist/cdn/ONNIQKMO.js +4 -0
- package/dist/cdn/OP7UWDJC.js +4 -0
- package/dist/cdn/OQPWIH5D.js +4 -0
- package/dist/cdn/PCLAY3FC.js +4 -0
- package/dist/cdn/PDDWIQ7N.js +4 -0
- package/dist/cdn/PP47N6OQ.js +4 -0
- package/dist/cdn/PPG44XNA.js +4 -0
- package/dist/cdn/PSXK4TAG.js +4 -0
- package/dist/cdn/PZJX66WF.js +4 -0
- package/dist/cdn/Q5KRWXQZ.js +4 -0
- package/dist/cdn/Q7MP7GCA.js +4 -0
- package/dist/cdn/QUIRGW73.js +4 -0
- package/dist/cdn/QYWKUYX6.js +4 -0
- package/dist/cdn/{V2J3UBB6.js → R3XM3W55.js} +2 -2
- package/dist/cdn/{SLM4KEUZ.js → R4UWGEKU.js} +2 -2
- package/dist/cdn/{O7JOBF3W.js → RBQBAWXT.js} +2 -2
- package/dist/cdn/REGCZKJO.js +4 -0
- package/dist/cdn/{HQL6HUHP.js → RGDYDUVM.js} +2 -2
- package/dist/cdn/{24FW7BG5.js → RNHHSJBN.js} +2 -2
- package/dist/cdn/RXKG57HU.js +4 -0
- package/dist/cdn/{PAQHYLRL.js → RYEBGC2T.js} +2 -2
- package/dist/cdn/{PHBC5D77.js → S5SBZVDO.js} +2 -2
- package/dist/cdn/S6TGNN5K.js +4 -0
- package/dist/cdn/SBWVZPEI.js +4 -0
- package/dist/cdn/{JIWHI7EW.js → SCZ6FM7D.js} +2 -2
- package/dist/cdn/SGL4GRLW.js +4 -0
- package/dist/cdn/SKUATZL2.js +4 -0
- package/dist/cdn/{ALNZYXRY.js → SNEAUADR.js} +2 -2
- package/dist/cdn/{SK3UKEH4.js → SNFN2BKO.js} +2 -2
- package/dist/cdn/{J74HR7ZS.js → SQ5KXPKM.js} +2 -2
- package/dist/cdn/SSN4WU5P.js +4 -0
- package/dist/cdn/{USMO52IS.js → SZCYMTSH.js} +2 -2
- package/dist/cdn/{TG7X24CK.js → T36L76YW.js} +2 -2
- package/dist/cdn/{7PEEU67P.js → TEGTWZFB.js} +2 -2
- package/dist/cdn/TFZ4RUW2.js +4 -0
- package/dist/cdn/{LTI2QYVU.js → TGAFLU6F.js} +2 -2
- package/dist/cdn/{AQ2NPWC6.js → TI47WRKB.js} +2 -2
- package/dist/cdn/TJXNZQ6E.js +4 -0
- package/dist/cdn/{BL7YER2G.js → TNU7CJYU.js} +2 -2
- package/dist/cdn/U3Y4NEIU.js +4 -0
- package/dist/cdn/UA3NEZD2.js +4 -0
- package/dist/cdn/{XCUKO2A2.js → UHRRVA5A.js} +2 -2
- package/dist/cdn/{T352QWFP.js → UIEHONGS.js} +2 -2
- package/dist/cdn/{4SGPWL6P.js → UNJHMZ3F.js} +2 -2
- package/dist/cdn/UV6BXD7O.js +4 -0
- package/dist/cdn/V2HPTG5E.js +4 -0
- package/dist/cdn/V4GYQU7T.js +4 -0
- package/dist/cdn/VTBJGFMG.js +4 -0
- package/dist/cdn/{UDPPDKXD.js → VVG7FBHC.js} +2 -2
- package/dist/cdn/VWNSIY3Z.js +4 -0
- package/dist/cdn/VX7XHWH3.js +4 -0
- package/dist/cdn/W4OV7AC2.js +4 -0
- package/dist/cdn/W4RATWQC.js +4 -0
- package/dist/cdn/WFFXOIVG.js +4 -0
- package/dist/cdn/{JNRTXRIA.js → WOZWBFU3.js} +2 -2
- package/dist/cdn/{RQGY47DP.js → WSDNUWO4.js} +2 -2
- package/dist/cdn/{SSTOK5YE.js → WXL3L2FD.js} +2 -2
- package/dist/cdn/X2P5ZICY.js +4 -0
- package/dist/cdn/{FJHYJ3NL.js → XCXSBECM.js} +2 -2
- package/dist/cdn/XDXAENM3.js +4 -0
- package/dist/cdn/XGIGLVS7.js +5 -0
- package/dist/cdn/XJZXQDR2.js +4 -0
- package/dist/cdn/XOKCQ5UG.js +4 -0
- package/dist/cdn/Y3U2JDPE.js +4 -0
- package/dist/cdn/Y7H7Z7BU.js +4 -0
- package/dist/cdn/YRSPO3RH.js +4 -0
- package/dist/cdn/YSBP4YU4.js +4 -0
- package/dist/cdn/{NIQUPN4E.js → Z5MMZXMP.js} +2 -2
- package/dist/cdn/{QWNJRMAQ.js → ZI2HBMIO.js} +2 -2
- package/dist/cdn/ZQY6XVS2.js +4 -0
- package/dist/cdn/ZUOJPC77.js +4 -0
- package/dist/cdn/{4UP6FMTP.js → ZWSRYLIE.js} +2 -2
- package/dist/cdn/ZYOD4BBB.js +4 -0
- package/dist/cdn/{HHFFCMML.js → ZZ5AKBHE.js} +1 -1
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -4
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -5
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +16 -6
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -3
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +53 -54
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +116 -57
- package/dist/components/arcgis-daylight/customElement.js +154 -157
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +3 -3
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +14 -6
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +6 -6
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile-next/customElement.js +212 -163
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/customElement.d.ts +10 -9
- package/dist/components/arcgis-expand/customElement.js +33 -39
- package/dist/components/arcgis-feature/customElement.d.ts +18 -22
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +8 -7
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +26 -11
- package/dist/components/arcgis-features/customElement.js +7 -7
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +3 -3
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +18 -3
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +70 -4
- package/dist/components/arcgis-link-chart/customElement.js +20 -22
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +477 -61
- package/dist/components/arcgis-map/customElement.js +29 -31
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +6 -6
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +4 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +48 -18
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +2 -2
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -3
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +46 -6
- package/dist/components/arcgis-scene/customElement.js +27 -29
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +17 -19
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +4 -4
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +16 -8
- package/dist/components/arcgis-sketch/customElement.js +15 -7
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +6 -4
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +4 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +2 -2
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +69 -25
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +5 -3
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +3 -3
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +2 -2
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +2168 -1599
- package/dist/docs/docs.json +1986 -1346
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +208 -290
- package/dist/docs/web-types.json +619 -517
- package/dist/index.d.ts +33 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +23 -20
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +31 -18
- package/dist/types/preact.d.ts +33 -19
- package/dist/types/preact10.d.ts +35 -20
- package/dist/types/react.d.ts +35 -20
- package/dist/types/stencil.d.ts +31 -18
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/2AZHLSAM.js +0 -4
- package/dist/cdn/2QRPRZG7.js +0 -4
- package/dist/cdn/2TIHIEKF.js +0 -4
- package/dist/cdn/34BYMZKN.js +0 -4
- package/dist/cdn/34UFWCNP.js +0 -4
- package/dist/cdn/37KDGILU.js +0 -4
- package/dist/cdn/3R2IE2EP.js +0 -4
- package/dist/cdn/3TNLQA2F.js +0 -4
- package/dist/cdn/44N6D3WC.js +0 -4
- package/dist/cdn/4CPDJQ27.js +0 -4
- package/dist/cdn/53D5QJFX.js +0 -4
- package/dist/cdn/5UJK4YHX.js +0 -4
- package/dist/cdn/63KJYSZ6.js +0 -4
- package/dist/cdn/6G2XDWMZ.js +0 -4
- package/dist/cdn/6VRVCX3L.js +0 -4
- package/dist/cdn/7BGZFWPA.js +0 -4
- package/dist/cdn/7C2OVYAI.js +0 -4
- package/dist/cdn/7CTFDRQC.js +0 -4
- package/dist/cdn/7DC3PGD2.js +0 -4
- package/dist/cdn/7HSMTM2G.js +0 -4
- package/dist/cdn/7KIRVDDY.js +0 -4
- package/dist/cdn/AFYGKVBX.js +0 -4
- package/dist/cdn/AH3BVTCT.js +0 -4
- package/dist/cdn/ALENT5NF.js +0 -4
- package/dist/cdn/ATKMD43D.js +0 -5
- package/dist/cdn/BG77QJIW.js +0 -4
- package/dist/cdn/CKCTJ6CW.js +0 -4
- package/dist/cdn/CNLBDFHY.js +0 -4
- package/dist/cdn/CTZ7P2ON.js +0 -4
- package/dist/cdn/CV57WMBL.js +0 -9
- package/dist/cdn/CVMDCLGB.js +0 -4
- package/dist/cdn/DRLSZQDU.js +0 -4
- package/dist/cdn/DV2N434J.js +0 -4
- package/dist/cdn/EESASTEL.js +0 -4
- package/dist/cdn/EIB4B7NM.js +0 -4
- package/dist/cdn/EJ6NO5NK.js +0 -4
- package/dist/cdn/EQ5LPNFG.js +0 -4
- package/dist/cdn/ESWN44C2.js +0 -4
- package/dist/cdn/FGMLBVRU.js +0 -4
- package/dist/cdn/FMG27I4G.js +0 -4
- package/dist/cdn/G7HMCSFT.js +0 -4
- package/dist/cdn/GF6IWOJL.js +0 -4
- package/dist/cdn/GKKACUDU.js +0 -4
- package/dist/cdn/GNUO5PT5.js +0 -4
- package/dist/cdn/GO3GNQWU.js +0 -4
- package/dist/cdn/GTX63LFG.js +0 -4
- package/dist/cdn/IJ7RAUIP.js +0 -4
- package/dist/cdn/IXQV54AH.js +0 -4
- package/dist/cdn/IYKN5PO5.js +0 -4
- package/dist/cdn/J3J6R74M.js +0 -4
- package/dist/cdn/J775FRFE.js +0 -4
- package/dist/cdn/JCD5KEV5.js +0 -4
- package/dist/cdn/JO6R7FAD.js +0 -4
- package/dist/cdn/JULFSLDD.js +0 -4
- package/dist/cdn/KA2OECP3.js +0 -4
- package/dist/cdn/KQ3JBLDT.js +0 -4
- package/dist/cdn/KT3EUEKF.js +0 -4
- package/dist/cdn/L3AGPAN7.js +0 -4
- package/dist/cdn/LUBY2O7T.js +0 -4
- package/dist/cdn/LWWUKKLM.js +0 -4
- package/dist/cdn/MJIHMPZU.js +0 -4
- package/dist/cdn/MNLAUE2R.js +0 -4
- package/dist/cdn/MSCH74JK.js +0 -4
- package/dist/cdn/N3ZZQIYY.js +0 -4
- package/dist/cdn/NFNK7YME.js +0 -4
- package/dist/cdn/NNJWJUAD.js +0 -4
- package/dist/cdn/NXFS5VZC.js +0 -4
- package/dist/cdn/NYJOUGGN.js +0 -4
- package/dist/cdn/O7ICRTC5.js +0 -4
- package/dist/cdn/OH55X5ST.js +0 -4
- package/dist/cdn/OHXEZHUF.js +0 -4
- package/dist/cdn/OULH6KEN.js +0 -4
- package/dist/cdn/OXCYD67R.js +0 -4
- package/dist/cdn/P4GL7TQJ.js +0 -4
- package/dist/cdn/PK5EPYTE.js +0 -4
- package/dist/cdn/Q26RMW45.js +0 -4
- package/dist/cdn/Q7CX6235.js +0 -4
- package/dist/cdn/QMRZYMIJ.js +0 -4
- package/dist/cdn/QPXLDAZR.js +0 -4
- package/dist/cdn/QREJFC5Z.js +0 -4
- package/dist/cdn/QRPZEJLW.js +0 -4
- package/dist/cdn/QUFHIUYU.js +0 -4
- package/dist/cdn/R35F7LSR.js +0 -4
- package/dist/cdn/RAUOWG2P.js +0 -4
- package/dist/cdn/RBLUJIEM.js +0 -4
- package/dist/cdn/RD4WHUHX.js +0 -4
- package/dist/cdn/RPYAAT7A.js +0 -4
- package/dist/cdn/RQUX2H7R.js +0 -4
- package/dist/cdn/RXHQCPJY.js +0 -4
- package/dist/cdn/RYXSSH5D.js +0 -4
- package/dist/cdn/SBYAAEWD.js +0 -4
- package/dist/cdn/SSEBMECL.js +0 -4
- package/dist/cdn/SZABV557.js +0 -4
- package/dist/cdn/T6XWFHOM.js +0 -4
- package/dist/cdn/TF2524IM.js +0 -4
- package/dist/cdn/TUHJKFNY.js +0 -4
- package/dist/cdn/TWK4M5TM.js +0 -4
- package/dist/cdn/TWZ6WRUM.js +0 -4
- package/dist/cdn/U5HMRSJG.js +0 -4
- package/dist/cdn/UBXMRMPS.js +0 -4
- package/dist/cdn/V25AJNHD.js +0 -4
- package/dist/cdn/V3KSNGDN.js +0 -4
- package/dist/cdn/V54CMZHN.js +0 -4
- package/dist/cdn/V5SM3QEH.js +0 -4
- package/dist/cdn/VLS7CPMI.js +0 -4
- package/dist/cdn/VSIBQFUQ.js +0 -4
- package/dist/cdn/VWFDTLYA.js +0 -4
- package/dist/cdn/X74EKXT7.js +0 -4
- package/dist/cdn/XAPWGYND.js +0 -4
- package/dist/cdn/XCKB43CS.js +0 -4
- package/dist/cdn/YAJHM6HT.js +0 -4
- package/dist/cdn/Z25G3SCO.js +0 -4
- package/dist/cdn/Z4Z7YFNR.js +0 -4
- package/dist/cdn/ZKKZT5GI.js +0 -4
- package/dist/cdn/ZR4UXKJK.js +0 -4
- package/dist/chunks/uiController.js +0 -45
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
|
-
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
4
3
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
5
4
|
import { default as WebMap } from '@arcgis/core/WebMap.js';
|
|
6
5
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
6
|
import { Use } from '@arcgis/lumina/controllers';
|
|
8
7
|
import { nil } from '@arcgis/toolkit/type';
|
|
8
|
+
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
9
|
+
import { LoadErrorSource } from '../../controllers/useArcgisLoadError';
|
|
9
10
|
|
|
10
|
-
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "presentation" | "tables" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "bookmarks" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "
|
|
11
|
+
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "presentation" | "tables" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "bookmarks" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "presentation" | "tables" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "bookmarks" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks"> & {
|
|
11
12
|
autoDestroyDisabled: boolean;
|
|
12
13
|
destroy: () => Promise<void>;
|
|
13
14
|
}) => WebMap;
|
|
14
|
-
declare const useMapView: (component: LitElement & Omit<Pick<MapView, "map" | "
|
|
15
|
+
declare const useMapView: (component: LitElement & Omit<Pick<MapView, "rotation" | "center" | "map" | "aria" | "analyses" | "background" | "basemapView" | "constraints" | "extent" | "fatalError" | "floors" | "graphics" | "highlights" | "highlightOptions" | "navigation" | "padding" | "popup" | "resizeAlign" | "scale" | "spatialReference" | "spatialReferenceLocked" | "theme" | "timeExtent" | "timeZone" | "viewpoint" | "zoom" | "ui" | "breakpoints" | "heightBreakpoint" | "popupEnabled" | "widthBreakpoint" | "animationsEnabled" | "container" | "animation" | "displayFilterEnabled">, "ui" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "breakpoints" | "heightBreakpoint" | "popupEnabled" | "widthBreakpoint" | "animationsEnabled" | "container" | "animation" | "displayFilterEnabled"> & {
|
|
15
16
|
autoDestroyDisabled: boolean;
|
|
16
17
|
destroy: () => Promise<void>;
|
|
17
18
|
}) => MapView;
|
|
@@ -19,18 +20,49 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "map" | "a
|
|
|
19
20
|
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
20
21
|
* [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
21
22
|
*
|
|
22
|
-
*
|
|
23
|
+
* #### Initializing the Map component
|
|
24
|
+
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and
|
|
25
|
+
* and can be initialized in one of three ways:
|
|
26
|
+
*
|
|
27
|
+
* ##### 1. Using a WebMap
|
|
28
|
+
* Load a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html) from [ArcGIS Online](https://www.arcgis.com/home/index.html)
|
|
29
|
+
* or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [item-id](#itemId) attribute.
|
|
23
30
|
*
|
|
24
31
|
* ```html
|
|
25
32
|
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
|
|
26
33
|
* ```
|
|
27
34
|
*
|
|
28
|
-
*
|
|
35
|
+
* ##### 2. Setting Map component attributes directly
|
|
36
|
+
* Define the Map component using attributes like [basemap](#basemap), [center](#center), and [zoom](#zoom) directly.
|
|
29
37
|
*
|
|
30
38
|
* ```html
|
|
31
39
|
* <arcgis-map basemap="satellite" center="-154.88, 19.46" zoom="15"></arcgis-map>
|
|
32
40
|
* ```
|
|
33
41
|
*
|
|
42
|
+
* ##### 3. Providing a Map instance
|
|
43
|
+
* Alternatively, you can provide your own [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) instance to the component.
|
|
44
|
+
* This allows full control over map configuration, including [basemap](#basemap), operational [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers)
|
|
45
|
+
* and [spatial reference](#spatialReference). See the [Select features by rectangle sample](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
46
|
+
* for an example of this approach in action.
|
|
47
|
+
*
|
|
48
|
+
* ```html
|
|
49
|
+
* <arcgis-map></arcgis-map>
|
|
50
|
+
* <script type="module">
|
|
51
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
52
|
+
*
|
|
53
|
+
* // set the basemap of the map to states feature layer
|
|
54
|
+
* // add national parks feature layer and a polygon graphics layer
|
|
55
|
+
* viewElement.map = new Map({
|
|
56
|
+
* basemap: new Basemap({ baseLayers: [states] }),
|
|
57
|
+
* layers: [nationalParksLayer, polygonGraphicsLayer]
|
|
58
|
+
* });
|
|
59
|
+
*
|
|
60
|
+
* // set the spatial reference of the map to NAD 1983 Albers contiguous USA
|
|
61
|
+
* viewElement.spatialReference = { wkid: 102003 };
|
|
62
|
+
* </script>
|
|
63
|
+
* ```
|
|
64
|
+
* #### Adding components and customizing the Map
|
|
65
|
+
*
|
|
34
66
|
* Other components can be added and connected to the Map component.
|
|
35
67
|
*
|
|
36
68
|
* ```html
|
|
@@ -67,10 +99,59 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "map" | "a
|
|
|
67
99
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
68
100
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
69
101
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
102
|
+
* @slot [popup] - Slot for the [Popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/) component to open automatically on click. When using this slot, the [`popup-disabled`](#popupDisabled) attribute must be set to `true`. Only the Popup component can be placed in this slot.
|
|
70
103
|
*/
|
|
71
104
|
export declare class ArcgisMap extends LitElement {
|
|
72
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Fires when a ArcgisMap fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
|
|
107
|
+
*
|
|
108
|
+
* @since 4.34
|
|
109
|
+
* @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#loadErrorSources)
|
|
110
|
+
* @example
|
|
111
|
+
* ```js
|
|
112
|
+
* viewElement.addEventListener("arcgisLoadError", () => {
|
|
113
|
+
* console.log(viewElement.loadErrorSources);
|
|
114
|
+
* });
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
readonly arcgisLoadError: TargetedEvent<this>;
|
|
118
|
+
/**
|
|
119
|
+
* Fires if the view encounters a content or rendering error.
|
|
120
|
+
*
|
|
121
|
+
* @since 4.34
|
|
122
|
+
* @example
|
|
123
|
+
* ```js
|
|
124
|
+
* viewElement.addEventListener("arcgisViewReadyError", () => {
|
|
125
|
+
* // handle error
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
128
|
+
*/
|
|
129
|
+
readonly arcgisViewReadyError: TargetedEvent<this>;
|
|
130
|
+
/** The [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) instance created and managed by the component. Accessible once the component is fully loaded. */
|
|
73
131
|
readonly view: MapView;
|
|
132
|
+
/**
|
|
133
|
+
* Indicates whether animations are disabled in the view. This includes animated symbols (animated
|
|
134
|
+
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html),
|
|
135
|
+
* [PictureMarkerSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html)
|
|
136
|
+
* from a GIF/animated PNG), animated renderers
|
|
137
|
+
* ([FlowRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-rasterRenderers.html#FlowRenderer)),
|
|
138
|
+
* animated layers ([MediaLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html),
|
|
139
|
+
* [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html)), and
|
|
140
|
+
* animations triggered by view navigation (for example,
|
|
141
|
+
* [goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo)).
|
|
142
|
+
* Setting this property to `true` disables all animations in the view.
|
|
143
|
+
*
|
|
144
|
+
* @since 4.34
|
|
145
|
+
* @default false
|
|
146
|
+
*/
|
|
147
|
+
animationsDisabled: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* The ARIA attributes for the view container. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [`label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [`description`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [`describedByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaDescribedByElements), and [`labelledByElements`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaLabelledByElements).
|
|
150
|
+
*
|
|
151
|
+
* @since 4.34
|
|
152
|
+
*/
|
|
153
|
+
get aria(): __esri.MapView["aria"];
|
|
154
|
+
set aria(value: __esri.MapView["aria"]);
|
|
74
155
|
/**
|
|
75
156
|
* Collection containing a flat list of all the created LayerViews
|
|
76
157
|
* related to the basemap, operational layers, and group layers in this view.
|
|
@@ -80,6 +161,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
80
161
|
* A collection of analyses associated with the view.
|
|
81
162
|
*
|
|
82
163
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#analyses)
|
|
164
|
+
*
|
|
165
|
+
* @since 4.34
|
|
83
166
|
*/
|
|
84
167
|
analyses: Collection<__esri.Analysis>;
|
|
85
168
|
/**
|
|
@@ -93,8 +176,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
93
176
|
*/
|
|
94
177
|
autoDestroyDisabled: boolean;
|
|
95
178
|
/**
|
|
96
|
-
* The background color of the
|
|
97
|
-
* even if the user set it previously.
|
|
179
|
+
* The background color of the Map component.
|
|
98
180
|
*
|
|
99
181
|
* @default null
|
|
100
182
|
*/
|
|
@@ -114,27 +196,93 @@ export declare class ArcgisMap extends LitElement {
|
|
|
114
196
|
basemapView: __esri.BasemapView;
|
|
115
197
|
/**
|
|
116
198
|
* Represents the view's center point; when setting the center, you may pass a
|
|
117
|
-
* esri
|
|
118
|
-
* a longitude/latitude pair (`"-100.4593, 36.9014"
|
|
119
|
-
* Setting the center immediately changes the current view.
|
|
120
|
-
*
|
|
199
|
+
* [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) instance, numbers representing
|
|
200
|
+
* a longitude/latitude pair (`[-100.4593, 36.9014]`), or a string attribute representing a longitude/latitude pair ("-100.4593, 36.9014").
|
|
201
|
+
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](#goTo) method.
|
|
202
|
+
*
|
|
203
|
+
* The returned [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) object is always
|
|
204
|
+
* in the spatial reference of the view and may be modified internally.
|
|
205
|
+
* To persist the returned object, create a clone using [clone()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html#clone) method.
|
|
206
|
+
*
|
|
207
|
+
* **Notes**
|
|
208
|
+
*
|
|
209
|
+
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](#spatialReference) of the view, then the
|
|
210
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) will be loaded dynamically.
|
|
211
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) must be
|
|
212
|
+
* [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) when
|
|
213
|
+
* setting the `center` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
214
|
+
* loaded prior to setting the center by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded)
|
|
215
|
+
* method. If it is not yet loaded, you can call [load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* ```html
|
|
219
|
+
* <arcgis-map zoom="4" center="-98, 39"></arcgis-map>
|
|
220
|
+
* ```
|
|
221
|
+
* @example
|
|
222
|
+
* ```js
|
|
223
|
+
* // Sets the initial center point of the map component to lon/lat coordinates
|
|
224
|
+
* // lon/lat will be projected to match the spatial reference of the view
|
|
225
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
226
|
+
* viewElement.center = [-98, 39]; // lon, lat
|
|
227
|
+
* ```
|
|
228
|
+
* @example
|
|
229
|
+
* ```js
|
|
230
|
+
* // Updates the view's center point to a pre-determined Point object
|
|
231
|
+
* let centerPoint = new Point({
|
|
232
|
+
* x: 12804.24,
|
|
233
|
+
* y: -1894032.09,
|
|
234
|
+
* spatialReference: {
|
|
235
|
+
* wkid: view.spatialReference // wkid 2027
|
|
236
|
+
* }
|
|
237
|
+
* });
|
|
238
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
239
|
+
* view.center = centerPoint;
|
|
240
|
+
* ```
|
|
241
|
+
* @example
|
|
242
|
+
* ```js
|
|
243
|
+
* // the point's spatialReference does not match the view's spatialReference
|
|
244
|
+
* // the projectOperator will be used to project the point to match
|
|
245
|
+
* // the view's spatialReference
|
|
246
|
+
* const centerPoint = new Point({
|
|
247
|
+
* x: -8746995,
|
|
248
|
+
* y: 4352308,
|
|
249
|
+
* spatialReference: {
|
|
250
|
+
* wkid: 8857
|
|
251
|
+
* }
|
|
252
|
+
* });
|
|
253
|
+
* if (!projectOperator.isLoaded()) {
|
|
254
|
+
* await projectOperator.load();
|
|
255
|
+
* }
|
|
256
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
257
|
+
* viewElement.center = centerPoint;
|
|
258
|
+
* ```
|
|
121
259
|
*/
|
|
122
260
|
get center(): __esri.MapView["center"];
|
|
123
261
|
set center(newValue: __esri.MapView["center"] | nil | number[] | string);
|
|
124
|
-
/** Specifies constraints to scale, zoom, and rotation that may be applied to the
|
|
262
|
+
/** Specifies constraints to scale, zoom, and rotation that may be applied to the map. */
|
|
125
263
|
constraints: __esri.View2DConstraints;
|
|
126
264
|
/**
|
|
127
|
-
* Indicates whether layer's
|
|
265
|
+
* Indicates whether a layer's `displayFilterInfo` is honored when rendering layers in the view.
|
|
128
266
|
* If `false`, display filters are ignored and all features are rendered.
|
|
129
267
|
*
|
|
130
268
|
* @default false
|
|
131
269
|
*/
|
|
132
270
|
displayFilterDisabled: boolean;
|
|
133
271
|
/**
|
|
134
|
-
* The extent represents the visible portion of a map within the view as an instance of esri
|
|
272
|
+
* The extent represents the visible portion of a map within the view as an instance of [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).
|
|
135
273
|
* Setting the extent immediately changes the view without animation. To animate
|
|
136
|
-
* the view, see this component's goTo() method.
|
|
274
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
137
275
|
* When the view is rotated, the extent does not update to include the newly visible portions of the map.
|
|
276
|
+
*
|
|
277
|
+
* **Notes**
|
|
278
|
+
*
|
|
279
|
+
* * If the spatial reference of `extent` set does not match the [spatialReference](#spatialReference) of the view, then the
|
|
280
|
+
* [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html) will be loaded dynamically.
|
|
281
|
+
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
282
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) when
|
|
283
|
+
* setting the `extent` to a spatial reference that doesn't match the view spatial reference. You can check if the projectOperator is
|
|
284
|
+
* loaded prior to setting the extent by calling [isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded)
|
|
285
|
+
* method. If it is not yet loaded, you can call the [load](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
138
286
|
*/
|
|
139
287
|
get extent(): __esri.MapView["extent"];
|
|
140
288
|
set extent(newValue: __esri.MapView["extent"]);
|
|
@@ -166,8 +314,33 @@ export declare class ArcgisMap extends LitElement {
|
|
|
166
314
|
get ground(): typeof this._map.ground;
|
|
167
315
|
set ground(value: __esri.Ground | string);
|
|
168
316
|
/**
|
|
169
|
-
*
|
|
170
|
-
*
|
|
317
|
+
* Represents a collection of [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
318
|
+
* objects which can be used to highlight features throughout an application. Highlighting works by applying highlight options to one or
|
|
319
|
+
* more features. You can configure these options (such as color or opacity) to define how a feature will be visually
|
|
320
|
+
* emphasized.
|
|
321
|
+
*
|
|
322
|
+
* A maximum of six [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
323
|
+
* 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
|
|
324
|
+
* object having the highest priority. If you apply more than one highlight to a feature, the one that is last within
|
|
325
|
+
* the collection will be applied. The [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html)
|
|
326
|
+
* object must be part of this collection in order to be applied to features.
|
|
327
|
+
*
|
|
328
|
+
* To highlight a feature, use the [highlight()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight)
|
|
329
|
+
* method on the relevant [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) instance. To apply specific
|
|
330
|
+
* [HighlightOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html), include the
|
|
331
|
+
* [name](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-support-HighlightOptions.html#name) in the `highlight()` method's `options` parameter.
|
|
332
|
+
* If no `name` is provided, the feature will use the `default` highlight options.
|
|
333
|
+
*
|
|
334
|
+
* The table below shows the default highlight options in the View's highlights collection if the collection has not
|
|
335
|
+
* been modified:
|
|
336
|
+
*
|
|
337
|
+
* | Highlight options name | Description | Default settings |
|
|
338
|
+
* | ---------------------- | ----------- | ---------------- |
|
|
339
|
+
* | default | The default highlight options. Used when `layerView.highlight()` is called without specifying any particular highlight options. | ` { name: "default", color: "cyan", haloOpacity: 1, fillOpacity: 0.25, shadowColor: "black", shadowOpacity: 0.4, shadowDifference: 0.2}` |
|
|
340
|
+
* | temporary | The temporary highlight options, pre-configured for common use cases such as hovering over a feature in the view. | `{ name: "temporary", color: "yellow", haloOpacity: 1, fillOpacity: 0.25, shadowColor: "black", shadowOpacity: 0.4, shadowDifference: 0.2 }` |
|
|
341
|
+
*
|
|
342
|
+
* @see [Sample: Highlight features by geometry](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
343
|
+
* @see [Sample: Highlight point features](https://developers.arcgis.com/javascript/latest/sample-code/highlight-point-features/)
|
|
171
344
|
*/
|
|
172
345
|
highlights: Collection<__esri.HighlightOptions>;
|
|
173
346
|
/**
|
|
@@ -177,7 +350,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
177
350
|
*/
|
|
178
351
|
highlightOptions: __esri.HighlightOptions;
|
|
179
352
|
/**
|
|
180
|
-
*
|
|
353
|
+
* Indicates whether the view is being interacted with (for example, when panning or via an interactive tool).
|
|
181
354
|
*
|
|
182
355
|
* @default false
|
|
183
356
|
*/
|
|
@@ -193,14 +366,14 @@ export declare class ArcgisMap extends LitElement {
|
|
|
193
366
|
set itemId(newValue: nil | string);
|
|
194
367
|
/**
|
|
195
368
|
* A collection containing a hierarchical list of all the created
|
|
196
|
-
* esri
|
|
197
|
-
* esri
|
|
369
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)s of the
|
|
370
|
+
* [operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the map.
|
|
198
371
|
*/
|
|
199
372
|
readonly layerViews: Collection<__esri.LayerView>;
|
|
200
373
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
201
374
|
readonly magnifier: __esri.Magnifier;
|
|
202
|
-
/** An instance of a esri
|
|
203
|
-
map: __esri.Map
|
|
375
|
+
/** An instance of a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) object to display in the view. */
|
|
376
|
+
map: nullish | __esri.Map;
|
|
204
377
|
/**
|
|
205
378
|
* Indication whether the view is being navigated (for example when panning).
|
|
206
379
|
*
|
|
@@ -226,14 +399,22 @@ export declare class ArcgisMap extends LitElement {
|
|
|
226
399
|
*/
|
|
227
400
|
popup: nullish | __esri.Popup;
|
|
228
401
|
/**
|
|
229
|
-
* Controls whether the popup opens when users click on the view.
|
|
402
|
+
* Controls whether the popup opens automatically when users click on the view.
|
|
230
403
|
*
|
|
231
404
|
* @default false
|
|
232
405
|
*/
|
|
233
406
|
popupDisabled: boolean;
|
|
234
407
|
/**
|
|
235
|
-
* When `true`, this property indicates whether the view successfully satisfied all dependencies,
|
|
236
|
-
*
|
|
408
|
+
* When `true`, this property indicates whether the [view](#view) has successfully satisfied all dependencies, signaling that the following conditions are met:
|
|
409
|
+
*
|
|
410
|
+
* * The view has a [map](#map). If [map](#map)
|
|
411
|
+
* is a [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html), then the map
|
|
412
|
+
* must be [loaded](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#loaded).
|
|
413
|
+
* * The view has a [spatialReference](#spatialReference), a [center](#center), and a [scale](#scale).
|
|
414
|
+
* These also can be inferred by setting an [extent](#extent).
|
|
415
|
+
*
|
|
416
|
+
* When a view becomes ready it will resolve itself and invoke
|
|
417
|
+
* the callback defined in [viewOnReady()](#viewOnReady) where code can execute on a working view.
|
|
237
418
|
*
|
|
238
419
|
* @default false
|
|
239
420
|
*/
|
|
@@ -245,7 +426,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
245
426
|
*
|
|
246
427
|
* @default "center"
|
|
247
428
|
*/
|
|
248
|
-
resizeAlign: "
|
|
429
|
+
resizeAlign: "center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left" | "right" | "top" | "bottom";
|
|
249
430
|
/**
|
|
250
431
|
* Represents the current value of one pixel in the unit of the view's spatialReference.
|
|
251
432
|
* The value of resolution is calculated by dividing the view's extent width
|
|
@@ -265,20 +446,67 @@ export declare class ArcgisMap extends LitElement {
|
|
|
265
446
|
rotation: number;
|
|
266
447
|
/**
|
|
267
448
|
* Represents the map scale at the center of the view. Setting the scale immediately changes the view. For animating
|
|
268
|
-
* the view, see this component's goTo() method.
|
|
449
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
269
450
|
*/
|
|
270
451
|
get scale(): number;
|
|
271
452
|
set scale(newValue: number);
|
|
272
453
|
/**
|
|
273
|
-
* The spatial reference of the view.
|
|
274
|
-
*
|
|
275
|
-
*
|
|
276
|
-
*
|
|
454
|
+
* The spatial reference of the view. This indicates the projected or geographic coordinate system used to locate geographic features in the map.
|
|
455
|
+
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
456
|
+
* this property, or by changing the basemap from the [Basemap Gallery](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/)
|
|
457
|
+
* and [Basemap Toggle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/) components.
|
|
458
|
+
* Set [spatialReferenceLocked](#spatialReferenceLocked) property to `true` to prevent users from changing the view's spatial reference at runtime.
|
|
459
|
+
*
|
|
460
|
+
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html)
|
|
461
|
+
* is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#isLoaded) method.
|
|
462
|
+
* If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-projectOperator.html#load) method.
|
|
463
|
+
* If the `projectOperator` is not loaded, the view's [center](#center) will default to `[0, 0]` in the new spatial reference of the view and a console error will be thrown.
|
|
464
|
+
*
|
|
465
|
+
* **Notes**
|
|
466
|
+
*
|
|
467
|
+
* * [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) not compatible with the view's spatial reference
|
|
468
|
+
* are not displayed. In such case, the layer view's [suspended](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html#suspended)
|
|
469
|
+
* property is `true` and [spatialReferenceSupported](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html#spatialReferenceSupported)
|
|
470
|
+
* property is `false`.
|
|
471
|
+
* * When setting view's spatial reference, the [center](#center), [extent](#extent) or [viewpoint.targetGeometry](#viewpoint) properties are projected to the new spatial
|
|
472
|
+
* reference. The [scale](#scale) and [rotation](#rotation) properties are adjusted to keep the content of the map at the same size and orientation on screen.
|
|
473
|
+
* * To ensure [TileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html) and
|
|
474
|
+
* [VectorTileLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html)
|
|
475
|
+
* are displayed in a [basemap](#basemap) correctly, the spatialReference of the view must be set match their
|
|
476
|
+
* [tileInfo's](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TileInfo.html) spatial reference.
|
|
477
|
+
* * Switching spatial reference with an [imageCoordinateSystem](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html#imageCoordinateSystem)
|
|
478
|
+
* is not supported.
|
|
479
|
+
*
|
|
480
|
+
* @name spatialReference
|
|
481
|
+
* @instance
|
|
482
|
+
* @type {module:esri/geometry/SpatialReference}
|
|
483
|
+
* @autocast
|
|
484
|
+
* @see [spatialReferenceLocked](#spatialReferenceLocked)
|
|
485
|
+
* @example
|
|
486
|
+
* ```js
|
|
487
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
488
|
+
* // check if the projectOperator is loaded
|
|
489
|
+
* if (!projectOperator.isLoaded()) {
|
|
490
|
+
* // load the projectOperator if it is not loaded
|
|
491
|
+
* projectOperator.load().then(() => {
|
|
492
|
+
* // change the spatial reference of the map component to equal earth projection
|
|
493
|
+
* viewElement.spatialReference = new SpatialReference({
|
|
494
|
+
* wkid: 54035 //equal earth projection
|
|
495
|
+
* });
|
|
496
|
+
* });
|
|
497
|
+
* } else {
|
|
498
|
+
* // the projectOperator is already loaded.
|
|
499
|
+
* // change the spatial reference of the view to equal earth projection
|
|
500
|
+
* viewElement.spatialReference = new SpatialReference({
|
|
501
|
+
* wkid: 54035 //equal earth projection
|
|
502
|
+
* });
|
|
503
|
+
* }
|
|
504
|
+
* ```
|
|
277
505
|
* @default null
|
|
278
506
|
*/
|
|
279
507
|
spatialReference: __esri.SpatialReference;
|
|
280
508
|
/**
|
|
281
|
-
* Indicates if the map's spatialReference can be changed after it is ready.
|
|
509
|
+
* Indicates if the map's [spatialReference](#spatialReference) can be changed after it is ready.
|
|
282
510
|
* The default is `false`, indicating the map's spatialReference can be changed at runtime.
|
|
283
511
|
* When true, basemaps with spatial references that do not match the map's spatial reference
|
|
284
512
|
* will be disabled in [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/) and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/) components and the map's spatialReference cannot be changed at runtime.
|
|
@@ -300,8 +528,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
300
528
|
*/
|
|
301
529
|
readonly suspended: boolean;
|
|
302
530
|
/**
|
|
303
|
-
* This property specifies the base colors used by some
|
|
304
|
-
* and components to render graphics and labels.
|
|
531
|
+
* This property specifies the base colors used by some components to render graphics and labels.
|
|
305
532
|
*
|
|
306
533
|
* @default null
|
|
307
534
|
*/
|
|
@@ -333,7 +560,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
333
560
|
/**
|
|
334
561
|
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
335
562
|
* Setting the viewpoint immediately changes the current view. For animating
|
|
336
|
-
* the view, see this component's goTo() method.
|
|
563
|
+
* the view, see this component's [goTo()](#goTo) method.
|
|
337
564
|
*/
|
|
338
565
|
get viewpoint(): __esri.Viewpoint;
|
|
339
566
|
set viewpoint(newValue: __esri.Viewpoint);
|
|
@@ -343,20 +570,25 @@ export declare class ArcgisMap extends LitElement {
|
|
|
343
570
|
*
|
|
344
571
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#visibleArea)
|
|
345
572
|
*/
|
|
346
|
-
readonly visibleArea:
|
|
573
|
+
readonly visibleArea: __esri.Polygon | nullish;
|
|
347
574
|
/**
|
|
348
|
-
* Represents the level of detail (LOD) at the center of the
|
|
349
|
-
* A zoom level (or scale) is a number that defines how large or small the contents of a map appear in a
|
|
575
|
+
* Represents the level of detail (LOD) at the center of the map.
|
|
576
|
+
* A zoom level (or scale) is a number that defines how large or small the contents of a map appear in a Map component.
|
|
350
577
|
* 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.
|
|
351
|
-
* A value of -1 means the
|
|
352
|
-
* When setting the zoom value, the
|
|
353
|
-
* 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.
|
|
578
|
+
* A value of -1 means the map has no LODs.
|
|
579
|
+
* When setting the zoom value, the component converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
|
|
354
580
|
*
|
|
355
|
-
* Setting the zoom immediately changes the current view. For animating the view, see this component's goTo() method.
|
|
581
|
+
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](#goTo) method.
|
|
356
582
|
* Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
|
|
357
583
|
*/
|
|
358
584
|
get zoom(): number;
|
|
359
585
|
set zoom(newValue: number);
|
|
586
|
+
/**
|
|
587
|
+
* An array of objects that encountered an error while loading the component or any of its dependencies (e.g., basemap, ground, layers, tables). You may inspect the errors by accessing each object's `loadError` property.
|
|
588
|
+
*
|
|
589
|
+
* @since 4.34
|
|
590
|
+
*/
|
|
591
|
+
loadErrorSources?: LoadErrorSource[];
|
|
360
592
|
/**
|
|
361
593
|
* @deprecated
|
|
362
594
|
* since 4.33, use `element.map.add(layer)` instead.
|
|
@@ -391,7 +623,74 @@ export declare class ArcgisMap extends LitElement {
|
|
|
391
623
|
destroy(): Promise<void>;
|
|
392
624
|
/** Sets the view to a given target. */
|
|
393
625
|
goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>;
|
|
394
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#HitTestResult)
|
|
628
|
+
* from each layer that intersects the specified screen coordinates. The results are
|
|
629
|
+
* organized as an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#HitTestResult).
|
|
630
|
+
*
|
|
631
|
+
* The following layer types will return all [features](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#GraphicHit) if a hit is
|
|
632
|
+
* made on intersecting features: [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
633
|
+
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CatalogLayer.html),
|
|
634
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
635
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
636
|
+
* [GeoRSSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html),
|
|
637
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html),
|
|
638
|
+
* [KMLLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html),
|
|
639
|
+
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapNotesLayer.html),
|
|
640
|
+
* [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html),
|
|
641
|
+
* [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html),
|
|
642
|
+
* [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html),
|
|
643
|
+
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html), and
|
|
644
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html).
|
|
645
|
+
*
|
|
646
|
+
* The [ParquetLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html) hit result returns only the topmost feature
|
|
647
|
+
* when the hit occurs on overlapping features in a ParquetLayer.
|
|
648
|
+
*
|
|
649
|
+
* The [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html) hit test result contains an array of objects containing
|
|
650
|
+
* a [graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#GraphicHit).
|
|
651
|
+
* The graphic returns attributes of a style layer. In addition, the graphic's [origin](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#origin)
|
|
652
|
+
* 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).
|
|
653
|
+
* 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).
|
|
654
|
+
* Otherwise, the graphic's geometry is `null`.
|
|
655
|
+
*
|
|
656
|
+
* The [MediaLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html) hit test result contains all media elements if the hit is made on intersecting elements.
|
|
657
|
+
* The [RouteLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html) hit test result contains all route elements if the hit is made on intersecting elements.
|
|
658
|
+
*
|
|
659
|
+
* If the [polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html) feature's symbol
|
|
660
|
+
* [style](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#style) is set to `none`, the hitTest method will not
|
|
661
|
+
* 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
|
|
662
|
+
* [color](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#color) to a transparent color instead.
|
|
663
|
+
*
|
|
664
|
+
* @example
|
|
665
|
+
* ```js
|
|
666
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
667
|
+
* viewElement.hitTest(event.detail).then((response) => {
|
|
668
|
+
* const result = response.results[0];
|
|
669
|
+
* if (result?.type === "graphic") {
|
|
670
|
+
* const { longitude, latitude } = result.mapPoint;
|
|
671
|
+
* console.log(`Hit graphic at (${longitude}, ${latitude})`, result.graphic);
|
|
672
|
+
* } else {
|
|
673
|
+
* console.log("Did not hit any graphic");
|
|
674
|
+
* }
|
|
675
|
+
* });
|
|
676
|
+
* });
|
|
677
|
+
* ```
|
|
678
|
+
* @example
|
|
679
|
+
* ```js
|
|
680
|
+
* // get screenpoint from view's click event
|
|
681
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
682
|
+
* // Search for all media elements only on included mediaLayer at the clicked location
|
|
683
|
+
* const response = await viewElement.hitTest(event.detail, {
|
|
684
|
+
* include: {mediaLayer}
|
|
685
|
+
* });
|
|
686
|
+
* // if media elements are returned from the mediaLayer, do something with results
|
|
687
|
+
* if (response.results.length){
|
|
688
|
+
* // do something
|
|
689
|
+
* console.log(response.results.length, "elements returned");
|
|
690
|
+
* }
|
|
691
|
+
* });
|
|
692
|
+
* ```
|
|
693
|
+
*/
|
|
395
694
|
hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>;
|
|
396
695
|
/**
|
|
397
696
|
* Opens the popup at the given location with content defined either explicitly with content or driven
|
|
@@ -423,6 +722,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
423
722
|
* Gets the analysis view created for the given analysis object.
|
|
424
723
|
*
|
|
425
724
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#whenAnalysisView)
|
|
725
|
+
*
|
|
726
|
+
* @since 4.34
|
|
426
727
|
*/
|
|
427
728
|
whenAnalysisView(analysis: __esri.ElevationProfileAnalysis): Promise<__esri.ElevationProfileAnalysisView2D>;
|
|
428
729
|
/**
|
|
@@ -531,62 +832,177 @@ export declare class ArcgisMap extends LitElement {
|
|
|
531
832
|
* Fires when the view for an analysis is created.
|
|
532
833
|
*
|
|
533
834
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-create)
|
|
835
|
+
*
|
|
836
|
+
* @since 4.34
|
|
534
837
|
*/
|
|
535
838
|
readonly arcgisViewAnalysisViewCreate: TargetedEvent<this, __esri.ViewAnalysisViewCreateEvent>;
|
|
536
839
|
/**
|
|
537
840
|
* Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.
|
|
538
841
|
*
|
|
539
842
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-create-error)
|
|
843
|
+
*
|
|
844
|
+
* @since 4.34
|
|
540
845
|
*/
|
|
541
846
|
readonly arcgisViewAnalysisViewCreateError: TargetedEvent<this, __esri.ViewAnalysisViewCreateErrorEvent>;
|
|
542
847
|
/**
|
|
543
848
|
* Fires after an analysis view is destroyed.
|
|
544
849
|
*
|
|
545
850
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#event-analysis-view-destroy)
|
|
851
|
+
*
|
|
852
|
+
* @since 4.34
|
|
546
853
|
*/
|
|
547
854
|
readonly arcgisViewAnalysisViewDestroy: TargetedEvent<this, __esri.ViewAnalysisViewDestroyEvent>;
|
|
548
855
|
/**
|
|
549
|
-
* This event is
|
|
550
|
-
*
|
|
856
|
+
* This event is triggered when view-related properties change, such as [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),
|
|
857
|
+
* [viewpoint](#viewpoint), or [stationary](#stationary).
|
|
858
|
+
* It reflects user interactions (e.g. panning or zooming) or programmatic updates to the view.
|
|
859
|
+
*
|
|
860
|
+
* @example
|
|
861
|
+
* ```js
|
|
862
|
+
* // get the number of features in a layer view whenever the view becomes stationary
|
|
863
|
+
* viewElement.addEventListener("arcgisViewChange", async (event) =>{
|
|
864
|
+
* if (viewElement.stationary) {
|
|
865
|
+
* // Returns number of features available for drawing in a given layer view
|
|
866
|
+
* const count = await layerView.queryFeatureCount({
|
|
867
|
+
* geometry: viewElement.extent
|
|
868
|
+
* });
|
|
869
|
+
* // use the features count
|
|
870
|
+
* }
|
|
871
|
+
* });
|
|
872
|
+
* ```
|
|
551
873
|
*/
|
|
552
874
|
readonly arcgisViewChange: TargetedEvent<this, void>;
|
|
553
|
-
/**
|
|
875
|
+
/**
|
|
876
|
+
* Fires after a user clicks on the view. This event emits slightly slower than an [arcgisViewImmediateClick](#arcgisViewImmediateClick)
|
|
877
|
+
* event to make sure that an [arcgisViewDoubleClick](#arcgisViewDoubleClick) event isn't triggered instead. The `arcgisViewImmediateClick`
|
|
878
|
+
* event can be used for responding to an `arcgisViewClick` event without delay.
|
|
879
|
+
*
|
|
880
|
+
* @example
|
|
881
|
+
* ```js
|
|
882
|
+
* // Listen for clicks on the view and perform a hit test on a feature layer
|
|
883
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
884
|
+
* // Return hit test results from the feature layer
|
|
885
|
+
* // where it intersects the screen coordinates from the click event.
|
|
886
|
+
* // The result is a polygon representing the state that was clicked.
|
|
887
|
+
* viewElement.hitTest(event.detail).then((response) => {
|
|
888
|
+
* if (response.results.length) {
|
|
889
|
+
* const stateBoundaryPolygon = response.results.find((result) => {
|
|
890
|
+
* return result.graphic.layer === stateBoundaryFeatureLayer;
|
|
891
|
+
* }).graphic.geometry;
|
|
892
|
+
*
|
|
893
|
+
* getPolygonCentroid(stateBoundaryPolygon);
|
|
894
|
+
* }
|
|
895
|
+
* });
|
|
896
|
+
* });
|
|
897
|
+
* ```
|
|
898
|
+
*/
|
|
554
899
|
readonly arcgisViewClick: TargetedEvent<this, __esri.ViewClickEvent>;
|
|
555
|
-
/**
|
|
900
|
+
/**
|
|
901
|
+
* Fires after double-clicking on the view.
|
|
902
|
+
*
|
|
903
|
+
* @example
|
|
904
|
+
* ```js
|
|
905
|
+
* viewElement.addEventListener("arcgisViewDoubleClick", async (event) => {
|
|
906
|
+
* // Prevent the default zoom-in behavior on double-click
|
|
907
|
+
* event.detail.stopPropagation();
|
|
908
|
+
* });
|
|
909
|
+
* ```
|
|
910
|
+
*/
|
|
556
911
|
readonly arcgisViewDoubleClick: TargetedEvent<this, __esri.ViewDoubleClickEvent>;
|
|
557
912
|
/** Fires during a pointer drag on the view. */
|
|
558
913
|
readonly arcgisViewDrag: TargetedEvent<this, __esri.ViewDragEvent>;
|
|
559
|
-
/** Fires
|
|
914
|
+
/** Fires after holding either a mouse button or a single finger on the view for a short amount of time. */
|
|
560
915
|
readonly arcgisViewHold: TargetedEvent<this, __esri.ViewHoldEvent>;
|
|
561
|
-
/**
|
|
916
|
+
/**
|
|
917
|
+
* Fires right after a user clicks on the view. In contrast to the [arcgisViewClick](#arcgisViewClick) event, the `arcgisViewImmediateClick`
|
|
918
|
+
* is emitted as soon as the user clicks on the view, and is not inhibited by a [arcgisViewDoubleClick](#arcgisViewDoubleClick) event.
|
|
919
|
+
* This event is useful for interactive experiences that require feedback without delay.
|
|
920
|
+
*
|
|
921
|
+
* @example
|
|
922
|
+
* ```js
|
|
923
|
+
* viewElement.addEventListener("arcgisViewImmediateClick", async (event) => {
|
|
924
|
+
* // Prevent the default zoom-in behavior on arcgisViewImmediateClick
|
|
925
|
+
* event.detail.stopPropagation();
|
|
926
|
+
* });
|
|
927
|
+
* ```
|
|
928
|
+
*/
|
|
562
929
|
readonly arcgisViewImmediateClick: TargetedEvent<this, __esri.ViewImmediateClickEvent>;
|
|
563
|
-
/**
|
|
930
|
+
/**
|
|
931
|
+
* Fires after after two consecutive [arcgisViewImmediateClick](#arcgisViewImmediateClick) events. In contrast to [arcgisViewDoubleClick](#arcgisViewDoubleClick),
|
|
932
|
+
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [arcgisViewImmediateClick](#arcgisViewImmediateClick)
|
|
933
|
+
* event and can therefore be used to react to double-clicking independently of usage of the [arcgisViewImmediateClick](#arcgisViewImmediateClick) event.
|
|
934
|
+
*/
|
|
564
935
|
readonly arcgisViewImmediateDoubleClick: TargetedEvent<this, __esri.ViewImmediateDoubleClickEvent>;
|
|
565
|
-
/**
|
|
936
|
+
/**
|
|
937
|
+
* Fires after a keyboard key is pressed.
|
|
938
|
+
*
|
|
939
|
+
* @example
|
|
940
|
+
* ```js
|
|
941
|
+
* // Disable zooming with the keyboard
|
|
942
|
+
* // Stop event propagation when `+` and `-` keys are pressed.
|
|
943
|
+
* viewElement.addEventListener("arcgisViewKeyDown", function(event){
|
|
944
|
+
* console.log("key-down", event);
|
|
945
|
+
*
|
|
946
|
+
* const prohibitedKeys = ["+", "-"];
|
|
947
|
+
* const keyPressed = event.detail.key;
|
|
948
|
+
* if (prohibitedKeys.indexOf(keyPressed) !== -1) {
|
|
949
|
+
* event.detail.stopPropagation();
|
|
950
|
+
* }
|
|
951
|
+
* });
|
|
952
|
+
* ```
|
|
953
|
+
*/
|
|
566
954
|
readonly arcgisViewKeyDown: TargetedEvent<this, __esri.ViewKeyDownEvent>;
|
|
567
|
-
/** Fires after a keyboard key is
|
|
955
|
+
/** Fires after a keyboard key is released. */
|
|
568
956
|
readonly arcgisViewKeyUp: TargetedEvent<this, __esri.ViewKeyUpEvent>;
|
|
569
|
-
/**
|
|
957
|
+
/**
|
|
958
|
+
* Fires after each layer in the map has a corresponding
|
|
959
|
+
* [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
960
|
+
* created and rendered in the view.
|
|
961
|
+
*/
|
|
570
962
|
readonly arcgisViewLayerviewCreate: TargetedEvent<this, __esri.ViewLayerviewCreateEvent>;
|
|
571
|
-
/**
|
|
963
|
+
/**
|
|
964
|
+
* Fires when an error occurs during the creation of a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
965
|
+
* after a layer has been added to the map.
|
|
966
|
+
*/
|
|
572
967
|
readonly arcgisViewLayerviewCreateError: TargetedEvent<this, __esri.ViewLayerviewCreateErrorEvent>;
|
|
573
|
-
/**
|
|
968
|
+
/**
|
|
969
|
+
* Fires after a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
970
|
+
* is destroyed and is no longer rendered in the view.
|
|
971
|
+
*/
|
|
574
972
|
readonly arcgisViewLayerviewDestroy: TargetedEvent<this, __esri.ViewLayerviewDestroyEvent>;
|
|
575
|
-
/**
|
|
973
|
+
/**
|
|
974
|
+
* Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
|
|
975
|
+
*
|
|
976
|
+
* @example
|
|
977
|
+
* ```js
|
|
978
|
+
* viewElement.addEventListener("arcgisViewMouseWheel", async (event) => {
|
|
979
|
+
* // Prevent the default zoom-in and zoom-out behavior on arcgisViewMouseWheel
|
|
980
|
+
* event.detail.stopPropagation();
|
|
981
|
+
* });
|
|
982
|
+
* ```
|
|
983
|
+
*/
|
|
576
984
|
readonly arcgisViewMouseWheel: TargetedEvent<this, __esri.ViewMouseWheelEvent>;
|
|
577
|
-
/**
|
|
985
|
+
/**
|
|
986
|
+
* Fires after a mouse button is pressed, or a finger touches the display.
|
|
987
|
+
*
|
|
988
|
+
* @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
|
|
989
|
+
*/
|
|
578
990
|
readonly arcgisViewPointerDown: TargetedEvent<this, __esri.ViewPointerDownEvent>;
|
|
579
991
|
/** Fires after a mouse cursor enters the view, or a display touch begins. */
|
|
580
992
|
readonly arcgisViewPointerEnter: TargetedEvent<this, __esri.ViewPointerEnterEvent>;
|
|
581
993
|
/** Fires after a mouse cursor leaves the view, or a display touch ends. */
|
|
582
994
|
readonly arcgisViewPointerLeave: TargetedEvent<this, __esri.ViewPointerLeaveEvent>;
|
|
583
|
-
/**
|
|
995
|
+
/**
|
|
996
|
+
* Fires after the mouse or a finger on the display moves.
|
|
997
|
+
*
|
|
998
|
+
* @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
|
|
999
|
+
*/
|
|
584
1000
|
readonly arcgisViewPointerMove: TargetedEvent<this, __esri.ViewPointerMoveEvent>;
|
|
585
1001
|
/** Fires after a mouse button is released, or a display touch ends. */
|
|
586
1002
|
readonly arcgisViewPointerUp: TargetedEvent<this, __esri.ViewPointerUpEvent>;
|
|
587
1003
|
/**
|
|
588
|
-
* This event is for the `ready` property and
|
|
589
|
-
*
|
|
1004
|
+
* This event is for the `ready` property and is emitted when the view is ready.
|
|
1005
|
+
* Fires also when the [map](#map) is updated.
|
|
590
1006
|
*/
|
|
591
1007
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
592
1008
|
private _map: __esri.Map;
|