????

Your IP : 13.59.252.174


Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/
Upload File :
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/87-es5.js

(function () {
  var absMids = {
    "esri/layers/MapNotesLayer": "./node_modules/arcgis-js-api/layers/MapNotesLayer.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([[87], {
  /***/
  "./node_modules/arcgis-js-api/layers/MapNotesLayer.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/MapNotesLayer.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersMapNotesLayerJs(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__(
    /*! ../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../core/tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/MultiOriginJSONSupport */
    "./node_modules/arcgis-js-api/core/MultiOriginJSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./FeatureLayer */
    "./node_modules/arcgis-js-api/layers/FeatureLayer.js"), __webpack_require__(
    /*! ./Layer */
    "./node_modules/arcgis-js-api/layers/Layer.js"), __webpack_require__(
    /*! ./mixins/OperationalLayer */
    "./node_modules/arcgis-js-api/layers/mixins/OperationalLayer.js"), __webpack_require__(
    /*! ./mixins/PortalLayer */
    "./node_modules/arcgis-js-api/layers/mixins/PortalLayer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, l, a, i, u, p, c, s, f) {
      return function (e) {
        function t() {
          var t = e.call(this) || this;
          return t.title = null, t.type = "map-notes", t;
        }

        return r(t, e), Object.defineProperty(t.prototype, "fullExtent", {
          get: function get() {
            return this.featureCollections ? this.featureCollections.reduce(function (e, t) {
              return e ? e.union(t.fullExtent) : t.fullExtent;
            }, null) : null;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.readFeatureCollectionsFromItem = function (e, t, r) {
          return t.layers.map(function (e) {
            var t = new p();
            return t.read(e, r), t;
          });
        }, t.prototype.readFeatureCollectionsFromWebMap = function (e, t, r) {
          return t.featureCollection.layers.map(function (e) {
            var t = new p();
            return t.read(e, r), t;
          });
        }, Object.defineProperty(t.prototype, "minScale", {
          get: function get() {
            return this.featureCollections ? this.featureCollections.reduce(function (e, t) {
              return null == e ? t.minScale : Math.min(e, t.minScale);
            }, null) : 0;
          },
          set: function set(e) {
            this.featureCollections.forEach(function (t) {
              t.minScale = e;
            }), this._set("minScale", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "maxScale", {
          get: function get() {
            return this.featureCollections ? this.featureCollections.reduce(function (e, t) {
              return null == e ? t.maxScale : Math.min(e, t.maxScale);
            }, null) : 0;
          },
          set: function set(e) {
            this.featureCollections.forEach(function (t) {
              t.maxScale = e;
            }), this._set("maxScale", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.load = function (e) {
          return this.addResolvingPromise(this.loadFromPortal({
            supportedTypes: ["Feature Collection"]
          }, e)), this.when();
        }, o([u.property()], t.prototype, "title", void 0), o([u.property({
          dependsOn: ["featureCollections"],
          readOnly: !0
        })], t.prototype, "fullExtent", null), o([u.property({
          type: ["show", "hide"]
        })], t.prototype, "listMode", void 0), o([u.property({
          type: a.ofType(p)
        })], t.prototype, "featureCollections", void 0), o([u.reader("portal-item", "featureCollections", ["layers"])], t.prototype, "readFeatureCollectionsFromItem", null), o([u.reader("web-map", "featureCollections", ["featureCollection.layers"])], t.prototype, "readFeatureCollectionsFromWebMap", null), o([u.property({
          dependsOn: ["featureCollections"]
        })], t.prototype, "minScale", null), o([u.property({
          dependsOn: ["featureCollections"]
        })], t.prototype, "maxScale", null), o([u.property({
          readOnly: !0,
          json: {
            read: !1
          }
        })], t.prototype, "type", void 0), t = o([u.subclass("esri.layers.MapNotesLayer")], t);
      }(u.declared(s.OperationalLayer(f.PortalLayer(i.MultiOriginJSONMixin(c)))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  }
}]);
//# sourceMappingURL=87-es5.js.map