????
Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/ |
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/99-es5.js |
(function () { var absMids = { "esri/views/2d/layers/GeoRSSLayerView2D": "./node_modules/arcgis-js-api/views/2d/layers/GeoRSSLayerView2D.js" }; var globalObj = this || window; var jsonpArray = globalObj["webpackJsonp"] = globalObj["webpackJsonp"] || []; if (jsonpArray.registerAbsMids) { jsonpArray.registerAbsMids(absMids); } else { var absMidsWaiting = jsonpArray.absMidsWaiting = jsonpArray.absMidsWaiting || []; absMidsWaiting.push(absMids); } })(), (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[99], { /***/ "./node_modules/arcgis-js-api/views/2d/layers/GeoRSSLayerView2D.js": /*!*************************************************************************!*\ !*** ./node_modules/arcgis-js-api/views/2d/layers/GeoRSSLayerView2D.js ***! \*************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiViews2dLayersGeoRSSLayerView2DJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__( /*! ../../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__( /*! ../../../Graphic */ "./node_modules/arcgis-js-api/Graphic.js"), __webpack_require__( /*! ../../../PopupTemplate */ "./node_modules/arcgis-js-api/PopupTemplate.js"), __webpack_require__( /*! ../../../core/Collection */ "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__( /*! ../../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__( /*! ../../../core/watchUtils */ "./node_modules/arcgis-js-api/core/watchUtils.js"), __webpack_require__( /*! ../../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__( /*! ../../../renderers/SimpleRenderer */ "./node_modules/arcgis-js-api/renderers/SimpleRenderer.js"), __webpack_require__( /*! ../../../renderers/support/jsonUtils */ "./node_modules/arcgis-js-api/renderers/support/jsonUtils.js"), __webpack_require__( /*! ../../../tasks/support/FeatureSet */ "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js"), __webpack_require__( /*! ../engine */ "./node_modules/arcgis-js-api/views/2d/engine.js"), __webpack_require__( /*! ./LayerView2D */ "./node_modules/arcgis-js-api/views/2d/layers/LayerView2D.js"), __webpack_require__( /*! ./graphics/GraphicsView2D */ "./node_modules/arcgis-js-api/views/2d/layers/graphics/GraphicsView2D.js"), __webpack_require__( /*! ../../layers/LayerView */ "./node_modules/arcgis-js-api/views/layers/LayerView.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i, n, o, p, s, a, l, c, y, h, u, f, g, d) { return function (e) { function r() { var r = null !== e && e.apply(this, arguments) || this; return r._graphicsViewMap = {}, r._popupTemplates = new Map(), r.container = new u.Container(), r.graphicsViews = [], r; } return t(r, e), r.prototype.hitTest = function (e, r) { var t = this; if (this.suspended || !this.graphicsViews.length) return s.resolve(); var i = this.graphicsViews.reverse().map(function (t) { return t.hitTest(e, r); }); return s.all(i).then(function (e) { return e.filter(function (e, r) { return e && (e.popupTemplate = t._popupTemplates.get(t.graphicsViews[r]), e.layer = t.layer, e.sourceLayer = t.layer), !!e; })[0] || null; }); }, r.prototype.update = function (e) { if (this.graphicsViews) for (var r = 0, t = this.graphicsViews; r < t.length; r++) { var i = t[r]; i.update(e); } }, r.prototype.attach = function () { var e = this; this.layer.featureCollections.forEach(function (r) { var t, i = h.fromJSON(r.featureSet), s = new (p.ofType(n))(i.features); if (e._graphicsViewMap[i.geometryType]) t = e._graphicsViewMap[i.geometryType], t.graphics.addMany(s);else { var a = r.layerDefinition.drawingInfo, l = r.popupInfo ? o.fromJSON(r.popupInfo) : null, c = y.fromJSON(a.renderer); t = new g["default"]({ view: e.view, graphics: s, renderer: c }), e._graphicsViewMap[i.geometryType] = t, e._popupTemplates.set(t, l), "polygon" !== i.geometryType || e.layer.polygonSymbol ? "polyline" !== i.geometryType || e.layer.lineSymbol ? "point" !== i.geometryType || e.layer.pointSymbol || (e.layer.pointSymbol = c.symbol) : e.layer.lineSymbol = c.symbol : e.layer.polygonSymbol = c.symbol, e.graphicsViews.push(t), e.container.addChild(t.container); } }), this.handles.add([a.init(this.layer, "polygonSymbol", function (r) { e._graphicsViewMap.polygon.renderer = new c({ symbol: r }); }), a.init(this.layer, "lineSymbol", function (r) { e._graphicsViewMap.polyline.renderer = new c({ symbol: r }); }), a.init(this.layer, "pointSymbol", function (r) { e._graphicsViewMap.point.renderer = new c({ symbol: r }); }), this.clips.on("change", function () { return e.graphicsViews.forEach(function (r) { return r.container.setClips(e.clips); }); })]), this.graphicsViews.forEach(function (r) { return r.container.setClips(e.clips); }); }, r.prototype.detach = function () { this.container.removeAllChildren(), this.graphicsViews.forEach(function (e) { e.destroy(), e.view = null, e.renderer = null; }), this.graphicsViews.length = 0; }, r.prototype.moveStart = function () { this.requestUpdate(); }, r.prototype.viewChange = function () { this.requestUpdate(); }, r.prototype.moveEnd = function () { this.requestUpdate(); }, r = i([l.subclass("esri.views.2d.layers.GeoRSSLayerView2D")], r); }(l.declared(f.LayerView2D(d))); }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ } }]); //# sourceMappingURL=99-es5.js.map