123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- import {
- i
- } from "./chunk-54V4THCX.js";
- import {
- oe
- } from "./chunk-DTSCAH2R.js";
- import "./chunk-B5WNDDCF.js";
- import "./chunk-DXEPL3XQ.js";
- import "./chunk-E5TKVDJT.js";
- import "./chunk-XYIYXU3I.js";
- import "./chunk-T6DJ6UAT.js";
- import "./chunk-WOGDHLUJ.js";
- import "./chunk-264YGWEE.js";
- import {
- u,
- y
- } from "./chunk-KUAEOLV3.js";
- import "./chunk-ZLQP3WDC.js";
- import "./chunk-JBMHQ5RK.js";
- import "./chunk-WBWQJQK4.js";
- import "./chunk-A22ACVMF.js";
- import "./chunk-TDS6IBMU.js";
- import "./chunk-DBT4KOKX.js";
- import "./chunk-2GP5D74I.js";
- import "./chunk-ZELEU5PN.js";
- import "./chunk-O7E4VYJT.js";
- import "./chunk-AIG57VB7.js";
- import "./chunk-PHAKVYRM.js";
- import "./chunk-IDINBHDV.js";
- import "./chunk-6LE4RPMZ.js";
- import "./chunk-67RFR4NT.js";
- import "./chunk-WPDBODJM.js";
- import "./chunk-5IVP3KUS.js";
- import "./chunk-JXYBFGFY.js";
- import "./chunk-EPMXCACW.js";
- import "./chunk-UCPKJYXN.js";
- import "./chunk-KFLNKWNF.js";
- import "./chunk-R24MO4IV.js";
- import "./chunk-YQBYWPBD.js";
- import "./chunk-UWKVAZQ6.js";
- import "./chunk-XBFCIW4K.js";
- import "./chunk-T2SKWJGU.js";
- import "./chunk-UO3LS2M5.js";
- import "./chunk-H2VOWDMO.js";
- import "./chunk-QISOH77W.js";
- import "./chunk-4HL6BBWO.js";
- import "./chunk-KUO7OCMN.js";
- import "./chunk-XO5VJRK4.js";
- import "./chunk-ST53DRNI.js";
- import "./chunk-3WXSWAUV.js";
- import "./chunk-27YO3FKC.js";
- import "./chunk-EQNT4A7P.js";
- import "./chunk-4OM3EX6P.js";
- import "./chunk-3OFVLRSL.js";
- import "./chunk-DMVKVC5I.js";
- import "./chunk-VEJPYAE4.js";
- import "./chunk-UMUHMVL4.js";
- import "./chunk-FZSI6IGI.js";
- import "./chunk-YFDOPEEZ.js";
- import "./chunk-IQBIGNPU.js";
- import "./chunk-K7B6OWCU.js";
- import "./chunk-LXOC7SMQ.js";
- import "./chunk-QU433TMZ.js";
- import "./chunk-L5DZVCCW.js";
- import "./chunk-WNPL3C7R.js";
- import "./chunk-E7ZLMIQ7.js";
- import "./chunk-JEA4MMTV.js";
- import "./chunk-RG3AHHRL.js";
- import "./chunk-XHRNCFJT.js";
- import "./chunk-UDYHZLTE.js";
- import "./chunk-QC7NCR5N.js";
- import "./chunk-VQXMCZYH.js";
- import "./chunk-JQUWFKNU.js";
- import "./chunk-RWQH5X3O.js";
- import "./chunk-6334AFGG.js";
- import {
- x
- } from "./chunk-NLLFSKB2.js";
- import "./chunk-CC74Y7ET.js";
- import "./chunk-TFHLTN6F.js";
- import "./chunk-O3JQY77G.js";
- import "./chunk-E3G7BRZB.js";
- import "./chunk-JKFWEHNK.js";
- import "./chunk-IIAN3QNN.js";
- import "./chunk-P24XEEHY.js";
- import "./chunk-WOXHUQGM.js";
- import "./chunk-FMPQIGFA.js";
- import "./chunk-EDHROVWI.js";
- import "./chunk-3IRT3YKJ.js";
- import "./chunk-SAJAEMIJ.js";
- import "./chunk-TU7WVKU4.js";
- import "./chunk-JAUFBT5U.js";
- import {
- p,
- t
- } from "./chunk-RHFU6KWO.js";
- import "./chunk-3FNKD2EB.js";
- import "./chunk-ZOO4I2U4.js";
- import "./chunk-JPUFJK2B.js";
- import "./chunk-HZ2WKB3G.js";
- import "./chunk-3HCJD762.js";
- import "./chunk-RVCE264D.js";
- import "./chunk-HKJ7X3BD.js";
- import "./chunk-Y74D3LKQ.js";
- import "./chunk-PK4W65H4.js";
- import "./chunk-7C23ILQ4.js";
- import {
- k
- } from "./chunk-P6VVVEX6.js";
- import "./chunk-3Z755LKF.js";
- import "./chunk-LTZ5XXDV.js";
- import "./chunk-IEU3AM37.js";
- import "./chunk-SKKBVHTF.js";
- import "./chunk-DLMAGHHC.js";
- import "./chunk-JOYXMSKE.js";
- import "./chunk-YZVAB3DF.js";
- import "./chunk-JLYTER4T.js";
- import "./chunk-CRHRHOXH.js";
- import "./chunk-ZSW35JPD.js";
- import "./chunk-JLSNMUQJ.js";
- import "./chunk-ECY35CJI.js";
- import "./chunk-PT62335L.js";
- import "./chunk-JGBXYDGB.js";
- import "./chunk-QEWF7QPH.js";
- import "./chunk-PJNBFKPF.js";
- import "./chunk-C7742RNZ.js";
- import "./chunk-FNA5GLRW.js";
- import "./chunk-MCWCB5IY.js";
- import "./chunk-TV3CFJQR.js";
- import {
- h,
- l
- } from "./chunk-TJV6ODRM.js";
- import "./chunk-3LVSQLWJ.js";
- import "./chunk-4ONPMX2F.js";
- import "./chunk-CRGY2SDS.js";
- import "./chunk-4T5ZGMEN.js";
- import "./chunk-3WQOA5CB.js";
- import "./chunk-FZQZIM7U.js";
- import "./chunk-CZBRZ6SU.js";
- import "./chunk-VGWC3IKZ.js";
- import "./chunk-2H5MD622.js";
- import "./chunk-3RSFVUKZ.js";
- import "./chunk-UVVU4UUO.js";
- import "./chunk-O6VYMEIX.js";
- import "./chunk-X4SA4ELJ.js";
- import "./chunk-5N7JLUJJ.js";
- import "./chunk-ZAY3CMAZ.js";
- import "./chunk-P3XKUGLS.js";
- import "./chunk-LU5IJZB4.js";
- import "./chunk-7IBV2TRE.js";
- import "./chunk-ZLNEXZAN.js";
- import "./chunk-5UVJ64RB.js";
- import "./chunk-SFEFRQCL.js";
- import "./chunk-3GZSQU56.js";
- import "./chunk-ZYRIJWLX.js";
- import "./chunk-RYY6632W.js";
- import "./chunk-DW42UVIT.js";
- import "./chunk-YAEIHDJH.js";
- import "./chunk-TJNOJH33.js";
- import "./chunk-OSHI574D.js";
- import "./chunk-ETGAZ7LF.js";
- import "./chunk-75U5LM2V.js";
- import "./chunk-RMDDCMKS.js";
- import "./chunk-VCH45Q2I.js";
- import {
- j
- } from "./chunk-LBW34VZ2.js";
- import "./chunk-GSSTTHIT.js";
- import "./chunk-YFSLJIO4.js";
- import "./chunk-IM3LVQXV.js";
- import "./chunk-55RWC67C.js";
- import "./chunk-HZRKBTHJ.js";
- import "./chunk-DVUG3KID.js";
- import "./chunk-FWSQEIAR.js";
- import "./chunk-VEGAOVMY.js";
- import "./chunk-6T6G6LCQ.js";
- import "./chunk-YEJL5NEF.js";
- import "./chunk-PQFTYGF5.js";
- import {
- e,
- n5 as n
- } from "./chunk-2Z2TG5CU.js";
- import "./chunk-6KZ2LTDA.js";
- import "./chunk-U2XHEJM7.js";
- import "./chunk-SQOPWYIT.js";
- import "./chunk-V6P2MAQQ.js";
- import "./chunk-E5O6P5I2.js";
- import "./chunk-SPWQ3AWG.js";
- import "./chunk-2TIUKVZN.js";
- import "./chunk-YXWMMD76.js";
- import "./chunk-S5KM4IGW.js";
- // node_modules/@arcgis/core/views/2d/layers/GeoRSSLayerView2D.js
- var y2 = class extends y(u) {
- constructor() {
- super(...arguments), this._graphicsViewMap = {}, this._popupTemplates = /* @__PURE__ */ new Map(), this.graphicsViews = [];
- }
- async hitTest(e2, r) {
- if (!this.graphicsViews.length)
- return null;
- const s = this.layer;
- return this.graphicsViews.reverse().map((r2) => {
- const i2 = this._popupTemplates.get(r2), o = r2.hitTest(e2);
- for (const e3 of o)
- e3.layer = s, e3.sourceLayer = s, e3.popupTemplate = i2;
- return o;
- }).flat().map((r2) => ({ type: "graphic", graphic: r2, layer: s, mapPoint: e2 }));
- }
- update(e2) {
- if (this.graphicsViews)
- for (const r of this.graphicsViews)
- r.processUpdate(e2);
- }
- attach() {
- this.handles.add([l(() => {
- var _a;
- return (_a = this.layer) == null ? void 0 : _a.featureCollections;
- }, (e2) => {
- this._clear();
- for (const { popupInfo: i2, featureSet: o, layerDefinition: t2 } of e2) {
- const e3 = x.fromJSON(o), p2 = new j(e3.features), h2 = t2.drawingInfo, m = i2 ? k.fromJSON(i2) : null, y3 = t(h2.renderer), g2 = new oe({ requestUpdateCallback: () => this.requestUpdate(), view: this.view, graphics: p2, renderer: y3, container: new i(this.view.featuresTilingScheme) });
- this._graphicsViewMap[e3.geometryType] = g2, this._popupTemplates.set(g2, m), "polygon" !== e3.geometryType || this.layer.polygonSymbol ? "polyline" !== e3.geometryType || this.layer.lineSymbol ? "point" !== e3.geometryType || this.layer.pointSymbol || (this.layer.pointSymbol = y3.symbol) : this.layer.lineSymbol = y3.symbol : this.layer.polygonSymbol = y3.symbol, this.graphicsViews.push(g2), this.container.addChild(g2.container);
- }
- }, h), l(() => {
- var _a;
- return (_a = this.layer) == null ? void 0 : _a.polygonSymbol;
- }, (e2) => {
- this._graphicsViewMap.polygon.renderer = new p({ symbol: e2 });
- }, h), l(() => {
- var _a;
- return (_a = this.layer) == null ? void 0 : _a.lineSymbol;
- }, (e2) => {
- this._graphicsViewMap.polyline.renderer = new p({ symbol: e2 });
- }, h), l(() => {
- var _a;
- return (_a = this.layer) == null ? void 0 : _a.pointSymbol;
- }, (e2) => {
- this._graphicsViewMap.point.renderer = new p({ symbol: e2 });
- }, h)], "georsslayerview");
- }
- detach() {
- this.handles.remove("georsslayerview"), this._clear();
- }
- moveStart() {
- }
- moveEnd() {
- }
- viewChange() {
- for (const e2 of this.graphicsViews)
- e2.viewChange();
- }
- _clear() {
- this.container.removeAllChildren();
- for (const e2 of this.graphicsViews)
- e2.destroy();
- this._graphicsViewMap = {}, this._popupTemplates.clear(), this.graphicsViews.length = 0;
- }
- };
- y2 = e([n("esri.views.2d.layers.GeoRSSLayerView2D")], y2);
- var g = y2;
- export {
- g as default
- };
- //# sourceMappingURL=GeoRSSLayerView2D-QWKYU3I4.js.map
|