12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import {
- S
- } from "./chunk-RBZL6SRZ.js";
- import {
- n as n2
- } from "./chunk-CYI7KFYB.js";
- import {
- a
- } from "./chunk-5LXROFTA.js";
- import {
- t
- } from "./chunk-W72F6AS3.js";
- import {
- u
- } from "./chunk-N2663GRX.js";
- import {
- b
- } from "./chunk-4DDBH2K5.js";
- import {
- U
- } from "./chunk-VNFRAYHO.js";
- import {
- M2 as M
- } from "./chunk-ECW2QABR.js";
- import {
- k2 as k
- } from "./chunk-MRJEICT6.js";
- import {
- d,
- e,
- n2 as n
- } from "./chunk-Y3WMVFTW.js";
- import {
- s3 as s
- } from "./chunk-EMJ4ZSM2.js";
- // node_modules/@arcgis/core/layers/BaseTileLayer.js
- var u2 = { id: "0/0/0", level: 0, row: 0, col: 0, extent: null };
- var y = class extends a(t(n2(b))) {
- constructor() {
- super(...arguments), this.tileInfo = S.create({ spatialReference: k.WebMercator, size: 256 }), this.type = "base-tile", this.fullExtent = new M(-20037508342787e-6, -2003750834278e-5, 2003750834278e-5, 20037508342787e-6, k.WebMercator), this.spatialReference = k.WebMercator;
- }
- getTileBounds(e2, t2, r, o) {
- const s2 = o || u();
- return u2.level = e2, u2.row = t2, u2.col = r, u2.extent = s2, this.tileInfo.updateTileInfo(u2), u2.extent = null, s2;
- }
- fetchTile(e2, r, o, s2 = {}) {
- const { signal: i } = s2, l = this.getTileUrl(e2, r, o), p = { responseType: "image", signal: i, query: { ...this.refreshParameters } };
- return U(l, p).then((e3) => e3.data);
- }
- getTileUrl() {
- throw new s("basetilelayer:gettileurl-not-implemented", "getTileUrl() is not implemented");
- }
- };
- e([d({ type: S })], y.prototype, "tileInfo", void 0), e([d({ type: ["show", "hide"] })], y.prototype, "listMode", void 0), e([d({ readOnly: true, value: "base-tile" })], y.prototype, "type", void 0), e([d({ nonNullable: true })], y.prototype, "fullExtent", void 0), e([d()], y.prototype, "spatialReference", void 0), y = e([n("esri.layers.BaseTileLayer")], y);
- var d2 = y;
- export {
- d2 as d
- };
- //# sourceMappingURL=chunk-MWBB6M6Y.js.map
|