MapNotesLayer-NKIWEKTD.js 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. import {
  2. n as n3
  3. } from "./chunk-V4I7Q273.js";
  4. import {
  5. a,
  6. i
  7. } from "./chunk-BVA3U6FJ.js";
  8. import {
  9. Ze
  10. } from "./chunk-WM52QDLS.js";
  11. import "./chunk-MEZ7BUMM.js";
  12. import "./chunk-7B57NUGF.js";
  13. import "./chunk-AOQ55JXI.js";
  14. import "./chunk-X42TFXOU.js";
  15. import "./chunk-JFSMKLAQ.js";
  16. import "./chunk-LXOC7SMQ.js";
  17. import "./chunk-DN6W4TJU.js";
  18. import "./chunk-OUUXJOLT.js";
  19. import "./chunk-PLQUCCQV.js";
  20. import "./chunk-JZAS4TIG.js";
  21. import "./chunk-VBR5BOXI.js";
  22. import "./chunk-NBKUI76A.js";
  23. import "./chunk-6334AFGG.js";
  24. import "./chunk-NLLFSKB2.js";
  25. import "./chunk-LC3GBQ56.js";
  26. import "./chunk-5GYJGY4C.js";
  27. import "./chunk-OXF7W4BJ.js";
  28. import {
  29. An,
  30. en,
  31. rn,
  32. tn,
  33. un
  34. } from "./chunk-P24XEEHY.js";
  35. import {
  36. v
  37. } from "./chunk-WOXHUQGM.js";
  38. import "./chunk-FMPQIGFA.js";
  39. import "./chunk-SAJAEMIJ.js";
  40. import "./chunk-S6EFEKAU.js";
  41. import "./chunk-2RHPWGZL.js";
  42. import "./chunk-XEQ4FTFC.js";
  43. import "./chunk-JM5OVQAD.js";
  44. import "./chunk-S3GK7VUF.js";
  45. import "./chunk-TU7WVKU4.js";
  46. import "./chunk-WWXZOC2Y.js";
  47. import "./chunk-ZOKNWEG3.js";
  48. import "./chunk-NQA5XJGK.js";
  49. import "./chunk-EKYSPJO6.js";
  50. import "./chunk-JAUFBT5U.js";
  51. import "./chunk-W6U6FKJ3.js";
  52. import "./chunk-7C2KDOAI.js";
  53. import "./chunk-RHFU6KWO.js";
  54. import "./chunk-3FNKD2EB.js";
  55. import "./chunk-ZOO4I2U4.js";
  56. import "./chunk-JPUFJK2B.js";
  57. import "./chunk-HZ2WKB3G.js";
  58. import "./chunk-3HCJD762.js";
  59. import "./chunk-RVCE264D.js";
  60. import "./chunk-HKJ7X3BD.js";
  61. import "./chunk-Y74D3LKQ.js";
  62. import "./chunk-PK4W65H4.js";
  63. import {
  64. g
  65. } from "./chunk-7C23ILQ4.js";
  66. import "./chunk-P6VVVEX6.js";
  67. import {
  68. S2 as S,
  69. m,
  70. m2,
  71. y as y4
  72. } from "./chunk-3Z755LKF.js";
  73. import "./chunk-LTZ5XXDV.js";
  74. import "./chunk-IEU3AM37.js";
  75. import "./chunk-SKKBVHTF.js";
  76. import "./chunk-DLMAGHHC.js";
  77. import "./chunk-WD4J43GZ.js";
  78. import "./chunk-JOYXMSKE.js";
  79. import "./chunk-SZFMKPVM.js";
  80. import "./chunk-YZVAB3DF.js";
  81. import "./chunk-JLYTER4T.js";
  82. import "./chunk-CRHRHOXH.js";
  83. import "./chunk-ZSW35JPD.js";
  84. import "./chunk-JLSNMUQJ.js";
  85. import "./chunk-ECY35CJI.js";
  86. import "./chunk-PT62335L.js";
  87. import {
  88. y as y3
  89. } from "./chunk-JGBXYDGB.js";
  90. import "./chunk-QEWF7QPH.js";
  91. import "./chunk-PJNBFKPF.js";
  92. import "./chunk-C7742RNZ.js";
  93. import "./chunk-FNA5GLRW.js";
  94. import "./chunk-MCWCB5IY.js";
  95. import "./chunk-TV3CFJQR.js";
  96. import "./chunk-TJV6ODRM.js";
  97. import {
  98. v as v2
  99. } from "./chunk-JUWKPBLS.js";
  100. import {
  101. c
  102. } from "./chunk-WLSB4F4I.js";
  103. import "./chunk-GLSWDDR3.js";
  104. import {
  105. O
  106. } from "./chunk-MIQGEDET.js";
  107. import {
  108. x
  109. } from "./chunk-DUEMJ5XS.js";
  110. import "./chunk-VRLXUHP2.js";
  111. import "./chunk-3LVSQLWJ.js";
  112. import "./chunk-4ONPMX2F.js";
  113. import "./chunk-CRGY2SDS.js";
  114. import "./chunk-4T5ZGMEN.js";
  115. import "./chunk-GN35O2ZO.js";
  116. import {
  117. n as n2
  118. } from "./chunk-XTVKPAWY.js";
  119. import "./chunk-3OSQ6GXO.js";
  120. import "./chunk-3WQOA5CB.js";
  121. import {
  122. t as t3
  123. } from "./chunk-PLWDAYK7.js";
  124. import "./chunk-FZQZIM7U.js";
  125. import "./chunk-CZBRZ6SU.js";
  126. import "./chunk-VGWC3IKZ.js";
  127. import {
  128. D,
  129. I,
  130. K,
  131. f,
  132. h
  133. } from "./chunk-2H5MD622.js";
  134. import "./chunk-3RSFVUKZ.js";
  135. import "./chunk-UVVU4UUO.js";
  136. import "./chunk-HWSWTWZD.js";
  137. import "./chunk-O6VYMEIX.js";
  138. import "./chunk-X4SA4ELJ.js";
  139. import "./chunk-5N7JLUJJ.js";
  140. import "./chunk-ZAY3CMAZ.js";
  141. import "./chunk-P3XKUGLS.js";
  142. import "./chunk-2ZSOO377.js";
  143. import "./chunk-YUA3AHKR.js";
  144. import "./chunk-LU5IJZB4.js";
  145. import "./chunk-7IBV2TRE.js";
  146. import "./chunk-ZLNEXZAN.js";
  147. import "./chunk-5UVJ64RB.js";
  148. import "./chunk-SFEFRQCL.js";
  149. import {
  150. b
  151. } from "./chunk-DXVOOCG4.js";
  152. import "./chunk-3GZSQU56.js";
  153. import "./chunk-ZYRIJWLX.js";
  154. import "./chunk-RYY6632W.js";
  155. import "./chunk-DW42UVIT.js";
  156. import "./chunk-YAEIHDJH.js";
  157. import "./chunk-TJNOJH33.js";
  158. import "./chunk-OSHI574D.js";
  159. import "./chunk-ETGAZ7LF.js";
  160. import "./chunk-75U5LM2V.js";
  161. import "./chunk-RMDDCMKS.js";
  162. import "./chunk-VCH45Q2I.js";
  163. import {
  164. j
  165. } from "./chunk-LBW34VZ2.js";
  166. import "./chunk-GSSTTHIT.js";
  167. import "./chunk-YFSLJIO4.js";
  168. import "./chunk-IM3LVQXV.js";
  169. import "./chunk-55RWC67C.js";
  170. import "./chunk-HZRKBTHJ.js";
  171. import "./chunk-DVUG3KID.js";
  172. import "./chunk-FWSQEIAR.js";
  173. import "./chunk-VEGAOVMY.js";
  174. import {
  175. o as o2,
  176. w2 as w
  177. } from "./chunk-6T6G6LCQ.js";
  178. import "./chunk-YEJL5NEF.js";
  179. import {
  180. E,
  181. k2 as k,
  182. r as r2
  183. } from "./chunk-PQFTYGF5.js";
  184. import {
  185. e,
  186. n5 as n,
  187. t5 as t2,
  188. y3 as y2
  189. } from "./chunk-2Z2TG5CU.js";
  190. import "./chunk-6KZ2LTDA.js";
  191. import "./chunk-U2XHEJM7.js";
  192. import "./chunk-SQOPWYIT.js";
  193. import "./chunk-V6P2MAQQ.js";
  194. import {
  195. s3 as s
  196. } from "./chunk-E5O6P5I2.js";
  197. import {
  198. o,
  199. y
  200. } from "./chunk-SPWQ3AWG.js";
  201. import "./chunk-2TIUKVZN.js";
  202. import {
  203. r,
  204. t
  205. } from "./chunk-YXWMMD76.js";
  206. import "./chunk-S5KM4IGW.js";
  207. // node_modules/@arcgis/core/layers/GraphicsLayer.js
  208. var c2 = class extends n2(t3(b)) {
  209. constructor(r3) {
  210. super(r3), this.elevationInfo = null, this.graphics = new i(), this.screenSizePerspectiveEnabled = true, this.type = "graphics", this.internal = false;
  211. }
  212. destroy() {
  213. this.removeAll(), this.graphics.destroy();
  214. }
  215. add(r3) {
  216. return this.graphics.add(r3), this;
  217. }
  218. addMany(r3) {
  219. return this.graphics.addMany(r3), this;
  220. }
  221. removeAll() {
  222. return this.graphics.removeAll(), this;
  223. }
  224. remove(r3) {
  225. this.graphics.remove(r3);
  226. }
  227. removeMany(r3) {
  228. this.graphics.removeMany(r3);
  229. }
  230. on(r3, e2) {
  231. return super.on(r3, e2);
  232. }
  233. graphicChanged(r3) {
  234. this.emit("graphic-update", r3);
  235. }
  236. };
  237. e([y2({ type: x })], c2.prototype, "elevationInfo", void 0), e([y2(a(i, "graphics"))], c2.prototype, "graphics", void 0), e([y2({ type: ["show", "hide"] })], c2.prototype, "listMode", void 0), e([y2()], c2.prototype, "screenSizePerspectiveEnabled", void 0), e([y2({ readOnly: true })], c2.prototype, "type", void 0), e([y2({ constructOnly: true })], c2.prototype, "internal", void 0), c2 = e([n("esri.layers.GraphicsLayer")], c2);
  238. var h2 = c2;
  239. // node_modules/@arcgis/core/layers/MapNotesLayer.js
  240. function z(e2) {
  241. return "markup" === e2.featureCollectionType || e2.layers.some((e3) => null != e3.layerDefinition.visibilityField || !U(e3));
  242. }
  243. function U({ layerDefinition: e2, featureSet: t4 }) {
  244. var _a;
  245. const r3 = (_a = e2.geometryType) != null ? _a : t4.geometryType;
  246. return H.find((t5) => {
  247. var _a2, _b, _c;
  248. return r3 === t5.geometryTypeJSON && ((_c = (_b = (_a2 = e2.drawingInfo) == null ? void 0 : _a2.renderer) == null ? void 0 : _b.symbol) == null ? void 0 : _c.type) === t5.identifyingSymbol.type;
  249. });
  250. }
  251. function W() {
  252. return new w({ xmin: -180, ymin: -90, xmax: 180, ymax: 90 });
  253. }
  254. var A = new y3({ name: "OBJECTID", alias: "OBJECTID", type: "oid", nullable: false, editable: false });
  255. var $ = new y3({ name: "title", alias: "Title", type: "string", nullable: true, editable: true });
  256. var q = class extends h2 {
  257. constructor(e2) {
  258. super(e2), this.visibilityMode = "inherited";
  259. }
  260. initialize() {
  261. for (const e2 of this.graphics)
  262. e2.sourceLayer = this.layer;
  263. this.graphics.on("after-add", (e2) => {
  264. e2.item.sourceLayer = this.layer;
  265. }), this.graphics.on("after-remove", (e2) => {
  266. e2.item.sourceLayer = null;
  267. });
  268. }
  269. get fullExtent() {
  270. var _a;
  271. const e2 = (_a = this.layer) == null ? void 0 : _a.spatialReference, t4 = this.fullBounds;
  272. return e2 ? t(t4) ? un(W(), e2).geometry : f(t4, e2) : null;
  273. }
  274. get fullBounds() {
  275. var _a;
  276. const e2 = (_a = this.layer) == null ? void 0 : _a.spatialReference;
  277. if (!e2)
  278. return null;
  279. const t4 = D();
  280. return this.graphics.forEach((r3) => {
  281. const o3 = r(r3.geometry) ? un(r3.geometry, e2).geometry : null;
  282. r(o3) && h(t4, "point" === o3.type ? o3 : o3.extent, t4);
  283. }), I(t4, K) ? null : t4;
  284. }
  285. get sublayers() {
  286. return this.graphics;
  287. }
  288. };
  289. e([y2({ readOnly: true })], q.prototype, "fullExtent", null), e([y2({ readOnly: true })], q.prototype, "fullBounds", null), e([y2({ readOnly: true })], q.prototype, "sublayers", null), e([y2()], q.prototype, "layer", void 0), e([y2()], q.prototype, "layerId", void 0), e([y2({ readOnly: true })], q.prototype, "visibilityMode", void 0), q = e([n("esri.layers.MapNotesLayer.MapNotesSublayer")], q);
  290. var H = [{ geometryType: "polygon", geometryTypeJSON: "esriGeometryPolygon", id: "polygonLayer", layerId: 0, title: "Polygons", identifyingSymbol: new S().toJSON() }, { geometryType: "polyline", geometryTypeJSON: "esriGeometryPolyline", id: "polylineLayer", layerId: 1, title: "Polylines", identifyingSymbol: new m().toJSON() }, { geometryType: "multipoint", geometryTypeJSON: "esriGeometryMultipoint", id: "multipointLayer", layerId: 2, title: "Multipoints", identifyingSymbol: new y4().toJSON() }, { geometryType: "point", geometryTypeJSON: "esriGeometryPoint", id: "pointLayer", layerId: 3, title: "Points", identifyingSymbol: new y4().toJSON() }, { geometryType: "point", geometryTypeJSON: "esriGeometryPoint", id: "textLayer", layerId: 4, title: "Text", identifyingSymbol: new m2().toJSON() }];
  291. var K2 = class extends n2(t3(c(v2(O(b))))) {
  292. constructor(e2) {
  293. super(e2), this.capabilities = { operations: { supportsMapNotesEditing: true } }, this.featureCollections = null, this.featureCollectionJSON = null, this.featureCollectionType = "notes", this.legendEnabled = false, this.listMode = "hide-children", this.minScale = 0, this.maxScale = 0, this.spatialReference = k.WGS84, this.sublayers = new j(H.map((e3) => new q({ id: e3.id, layerId: e3.layerId, title: e3.title, layer: this }))), this.title = "Map Notes", this.type = "map-notes", this.visibilityMode = "inherited";
  294. }
  295. readCapabilities(e2, t4, r3) {
  296. return { operations: { supportsMapNotesEditing: !z(t4) && "portal-item" !== (r3 == null ? void 0 : r3.origin) } };
  297. }
  298. readFeatureCollections(e2, t4, o3) {
  299. if (!z(t4))
  300. return null;
  301. const i2 = t4.layers.map((e3) => {
  302. const t5 = new Ze();
  303. return t5.read(e3, o3), t5;
  304. });
  305. return new j({ items: i2 });
  306. }
  307. readLegacyfeatureCollectionJSON(e2, t4) {
  308. return z(t4) ? y(t4.featureCollection) : null;
  309. }
  310. get fullExtent() {
  311. var _a;
  312. const e2 = this.spatialReference, t4 = D();
  313. if (r(this.sublayers))
  314. this.sublayers.forEach(({ fullBounds: e3 }) => r(e3) ? h(t4, e3, t4) : t4, t4);
  315. else if ((_a = this.featureCollectionJSON) == null ? void 0 : _a.layers.some((e3) => e3.layerDefinition.extent)) {
  316. this.featureCollectionJSON.layers.forEach((r3) => {
  317. const o3 = un(r3.layerDefinition.extent, e2).geometry;
  318. r(o3) && h(t4, o3, t4);
  319. });
  320. }
  321. return I(t4, K) ? un(W(), e2).geometry : f(t4, e2);
  322. }
  323. readMinScale(e2, t4) {
  324. for (const r3 of t4.layers)
  325. if (null != r3.layerDefinition.minScale)
  326. return r3.layerDefinition.minScale;
  327. return 0;
  328. }
  329. readMaxScale(e2, t4) {
  330. for (const r3 of t4.layers)
  331. if (null != r3.layerDefinition.maxScale)
  332. return r3.layerDefinition.maxScale;
  333. return 0;
  334. }
  335. get multipointLayer() {
  336. return this._findSublayer("multipointLayer");
  337. }
  338. get pointLayer() {
  339. return this._findSublayer("pointLayer");
  340. }
  341. get polygonLayer() {
  342. return this._findSublayer("polygonLayer");
  343. }
  344. get polylineLayer() {
  345. return this._findSublayer("polylineLayer");
  346. }
  347. readSpatialReference(e2, t4) {
  348. return t4.layers.length ? k.fromJSON(t4.layers[0].layerDefinition.spatialReference) : k.WGS84;
  349. }
  350. readSublayers(e2, o3, i2) {
  351. var _a;
  352. if (z(o3))
  353. return null;
  354. const a2 = [];
  355. let n4 = o3.layers.reduce((e3, t4) => {
  356. var _a2;
  357. return Math.max(e3, (_a2 = t4.layerDefinition.id) != null ? _a2 : -1);
  358. }, -1) + 1;
  359. for (const r3 of o3.layers) {
  360. const { layerDefinition: e3, featureSet: o4 } = r3, i3 = (_a = e3.id) != null ? _a : n4++, s2 = U(r3);
  361. if (r(s2)) {
  362. const r4 = new q({ id: s2.id, title: e3.name, layerId: i3, layer: this, graphics: o4.features.map(({ geometry: e4, symbol: r5, attributes: o5, popupInfo: i4 }) => g.fromJSON({ attributes: o5, geometry: e4, symbol: r5, popupTemplate: i4 })) });
  363. a2.push(r4);
  364. }
  365. }
  366. return new j(a2);
  367. }
  368. writeSublayers(e2, t4, r3, i2) {
  369. var _a;
  370. const { minScale: n4, maxScale: p } = this;
  371. if (t(e2))
  372. return;
  373. const y5 = e2.some((e3) => e3.graphics.length > 0);
  374. if (!this.capabilities.operations.supportsMapNotesEditing)
  375. return void (y5 && ((_a = i2 == null ? void 0 : i2.messages) == null ? void 0 : _a.push(new s("map-notes-layer:editing-not-supported", "New map notes cannot be added to this layer"))));
  376. const m3 = [];
  377. let u = this.spatialReference.toJSON();
  378. e:
  379. for (const o3 of e2)
  380. for (const e3 of o3.graphics)
  381. if (r(e3.geometry)) {
  382. u = e3.geometry.spatialReference.toJSON();
  383. break e;
  384. }
  385. for (const o3 of H) {
  386. const t5 = e2.find((e3) => o3.id === e3.id);
  387. this._writeMapNoteSublayer(m3, t5, o3, n4, p, u, i2);
  388. }
  389. o("featureCollection.layers", m3, t4);
  390. }
  391. get textLayer() {
  392. return this._findSublayer("textLayer");
  393. }
  394. load(e2) {
  395. return this.addResolvingPromise(this.loadFromPortal({ supportedTypes: ["Feature Collection"] }, e2)), Promise.resolve(this);
  396. }
  397. read(e2, t4) {
  398. "featureCollection" in e2 && (e2 = y(e2), Object.assign(e2, e2.featureCollection)), super.read(e2, t4);
  399. }
  400. async beforeSave() {
  401. if (t(this.sublayers))
  402. return;
  403. let e2 = null;
  404. const t4 = [];
  405. for (const o3 of this.sublayers)
  406. for (const r4 of o3.graphics)
  407. if (r(r4.geometry)) {
  408. const o4 = r4.geometry;
  409. e2 ? E(o4.spatialReference, e2) || (An(o4.spatialReference, e2) || en() || await tn(), r4.geometry = rn(o4, e2)) : e2 = o4.spatialReference, t4.push(r4);
  410. }
  411. const r3 = await v(t4.map((e3) => e3.geometry));
  412. t4.forEach((e3, t5) => e3.geometry = r3[t5]);
  413. }
  414. _findSublayer(e2) {
  415. var _a, _b;
  416. return t(this.sublayers) ? null : (_b = (_a = this.sublayers) == null ? void 0 : _a.find((t4) => t4.id === e2)) != null ? _b : null;
  417. }
  418. _writeMapNoteSublayer(e2, t4, r3, o3, l, n4, s2) {
  419. const p = [];
  420. if (!t(t4)) {
  421. for (const e3 of t4.graphics)
  422. this._writeMapNote(p, e3, r3.geometryType, s2);
  423. this._normalizeObjectIds(p, A), e2.push({ layerDefinition: { name: t4.title, drawingInfo: { renderer: { type: "simple", symbol: y(r3.identifyingSymbol) } }, id: t4.layerId, geometryType: r3.geometryTypeJSON, minScale: o3, maxScale: l, objectIdField: "OBJECTID", fields: [A.toJSON(), $.toJSON()], spatialReference: n4 }, featureSet: { features: p, geometryType: r3.geometryTypeJSON } });
  424. }
  425. }
  426. _writeMapNote(e2, t4, r3, o3) {
  427. var _a, _b;
  428. if (t(t4))
  429. return;
  430. const { geometry: i2, symbol: n4, popupTemplate: s2 } = t4;
  431. if (t(i2))
  432. return;
  433. if (i2.type !== r3)
  434. return void ((_a = o3 == null ? void 0 : o3.messages) == null ? void 0 : _a.push(new t2("map-notes-layer:invalid-geometry-type", `Geometry "${i2.type}" cannot be saved in "${r3}" layer`, { graphic: t4 })));
  435. if (t(n4))
  436. return void ((_b = o3 == null ? void 0 : o3.messages) == null ? void 0 : _b.push(new t2("map-notes-layer:no-symbol", "Skipping map notes with no symbol", { graphic: t4 })));
  437. const y5 = { attributes: { ...t4.attributes }, geometry: i2.toJSON(), symbol: n4.toJSON() };
  438. r(s2) && (y5.popupInfo = s2.toJSON()), e2.push(y5);
  439. }
  440. _normalizeObjectIds(e2, t4) {
  441. const r3 = t4.name;
  442. let o3 = n3(r3, e2) + 1;
  443. const i2 = /* @__PURE__ */ new Set();
  444. for (const l of e2) {
  445. l.attributes || (l.attributes = {});
  446. const { attributes: e3 } = l;
  447. (null == e3[r3] || i2.has(e3[r3])) && (e3[r3] = o3++), i2.add(e3[r3]);
  448. }
  449. }
  450. };
  451. e([y2({ readOnly: true })], K2.prototype, "capabilities", void 0), e([o2(["portal-item", "web-map"], "capabilities", ["layers"])], K2.prototype, "readCapabilities", null), e([y2({ readOnly: true })], K2.prototype, "featureCollections", void 0), e([o2(["web-map", "portal-item"], "featureCollections", ["layers"])], K2.prototype, "readFeatureCollections", null), e([y2({ readOnly: true, json: { origins: { "web-map": { write: { enabled: true, target: "featureCollection" } } } } })], K2.prototype, "featureCollectionJSON", void 0), e([o2(["web-map", "portal-item"], "featureCollectionJSON", ["featureCollection"])], K2.prototype, "readLegacyfeatureCollectionJSON", null), e([y2({ readOnly: true, json: { read: true, write: { enabled: true, ignoreOrigin: true } } })], K2.prototype, "featureCollectionType", void 0), e([y2({ readOnly: true })], K2.prototype, "fullExtent", null), e([y2({ readOnly: true, json: { origins: { "web-map": { write: { target: "featureCollection.showLegend", overridePolicy() {
  452. return { enabled: null != this.featureCollectionJSON };
  453. } } } } } })], K2.prototype, "legendEnabled", void 0), e([y2({ type: ["show", "hide", "hide-children"] })], K2.prototype, "listMode", void 0), e([y2({ type: Number, nonNullable: true, json: { write: false } })], K2.prototype, "minScale", void 0), e([o2(["web-map", "portal-item"], "minScale", ["layers"])], K2.prototype, "readMinScale", null), e([y2({ type: Number, nonNullable: true, json: { write: false } })], K2.prototype, "maxScale", void 0), e([o2(["web-map", "portal-item"], "maxScale", ["layers"])], K2.prototype, "readMaxScale", null), e([y2({ readOnly: true })], K2.prototype, "multipointLayer", null), e([y2({ value: "ArcGISFeatureLayer", type: ["ArcGISFeatureLayer"] })], K2.prototype, "operationalLayerType", void 0), e([y2({ readOnly: true })], K2.prototype, "pointLayer", null), e([y2({ readOnly: true })], K2.prototype, "polygonLayer", null), e([y2({ readOnly: true })], K2.prototype, "polylineLayer", null), e([y2({ type: k })], K2.prototype, "spatialReference", void 0), e([o2(["web-map", "portal-item"], "spatialReference", ["layers"])], K2.prototype, "readSpatialReference", null), e([y2({ readOnly: true, json: { origins: { "web-map": { write: { ignoreOrigin: true } } } } })], K2.prototype, "sublayers", void 0), e([o2("web-map", "sublayers", ["layers"])], K2.prototype, "readSublayers", null), e([r2("web-map", "sublayers")], K2.prototype, "writeSublayers", null), e([y2({ readOnly: true })], K2.prototype, "textLayer", null), e([y2()], K2.prototype, "title", void 0), e([y2({ readOnly: true, json: { read: false } })], K2.prototype, "type", void 0), K2 = e([n("esri.layers.MapNotesLayer")], K2);
  454. var Q = K2;
  455. export {
  456. Q as default
  457. };
  458. //# sourceMappingURL=MapNotesLayer-NKIWEKTD.js.map