123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import {
- r,
- z
- } from "./chunk-VZFBPND4.js";
- import {
- o
- } from "./chunk-ECW2QABR.js";
- import {
- k2 as k
- } from "./chunk-MRJEICT6.js";
- import {
- d,
- e,
- n2 as n
- } from "./chunk-Y3WMVFTW.js";
- // node_modules/@arcgis/core/layers/mixins/ArcGISCachedService.js
- var s = (s2) => {
- let l = class extends s2 {
- constructor() {
- super(...arguments), this.copyright = null, this.minScale = 0, this.maxScale = 0, this.spatialReference = null, this.tileInfo = null, this.tilemapCache = null;
- }
- readMinScale(e2, r2) {
- return r2.minLOD != null && r2.maxLOD != null ? e2 : 0;
- }
- readMaxScale(e2, r2) {
- return r2.minLOD != null && r2.maxLOD != null ? e2 : 0;
- }
- get supportsBlankTile() {
- return this.version >= 10.2;
- }
- readTilemapCache(e2, r2) {
- return r2.capabilities && r2.capabilities.includes("Tilemap") ? new z({ layer: this }) : null;
- }
- };
- return e([d({ json: { read: { source: "copyrightText" } } })], l.prototype, "copyright", void 0), e([d()], l.prototype, "minScale", void 0), e([o("service", "minScale")], l.prototype, "readMinScale", null), e([d()], l.prototype, "maxScale", void 0), e([o("service", "maxScale")], l.prototype, "readMaxScale", null), e([d({ type: k })], l.prototype, "spatialReference", void 0), e([d({ readOnly: true })], l.prototype, "supportsBlankTile", null), e([d(r)], l.prototype, "tileInfo", void 0), e([d()], l.prototype, "tilemapCache", void 0), e([o("service", "tilemapCache", ["capabilities"])], l.prototype, "readTilemapCache", null), e([d()], l.prototype, "version", void 0), l = e([n("esri.layers.mixins.ArcGISCachedService")], l), l;
- };
- export {
- s
- };
- //# sourceMappingURL=chunk-L372ZBYB.js.map
|