123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import {
- j
- } from "./chunk-YLEVJ6UV.js";
- import {
- t as t2
- } from "./chunk-U2WD23Z5.js";
- import {
- p
- } from "./chunk-GN35O2ZO.js";
- import {
- n as n2
- } from "./chunk-XTVKPAWY.js";
- import {
- t
- } from "./chunk-PLWDAYK7.js";
- import {
- u
- } from "./chunk-2H5MD622.js";
- import {
- b
- } from "./chunk-DXVOOCG4.js";
- import {
- U
- } from "./chunk-DVUG3KID.js";
- import {
- w2 as w
- } from "./chunk-6T6G6LCQ.js";
- import {
- k2 as k
- } from "./chunk-PQFTYGF5.js";
- import {
- e,
- n5 as n,
- y3 as y
- } from "./chunk-2Z2TG5CU.js";
- import {
- s3 as s
- } from "./chunk-E5O6P5I2.js";
- // node_modules/@arcgis/core/layers/BaseTileLayer.js
- var u2;
- var h = new t2("0/0/0", 0, 0, 0, void 0);
- var d = u2 = class extends n2(t(p(b))) {
- constructor() {
- super(...arguments), this.tileInfo = j.create({ spatialReference: k.WebMercator, size: 256 }), this.type = "base-tile", this.fullExtent = new w(-20037508342787e-6, -2003750834278e-5, 2003750834278e-5, 20037508342787e-6, k.WebMercator), this.spatialReference = k.WebMercator;
- }
- getTileBounds(e2, t3, r, o) {
- const s2 = o || u();
- return h.level = e2, h.row = t3, h.col = r, h.extent = s2, this.tileInfo.updateTileInfo(h), h.extent = void 0, s2;
- }
- fetchTile(e2, r, o, s2 = {}) {
- const { signal: i } = s2, a = this.getTileUrl(e2, r, o), p2 = { responseType: "image", signal: i, query: { ...this.refreshParameters } };
- return U(a != null ? a : "", p2).then((e3) => e3.data);
- }
- async fetchImageBitmapTile(e2, r, o, s2 = {}) {
- const { signal: i } = s2;
- if (this.fetchTile !== u2.prototype.fetchTile)
- return createImageBitmap(await this.fetchTile(e2, r, o, s2));
- const a = this.getTileUrl(e2, r, o), p2 = { responseType: "blob", signal: i, query: { ...this.refreshParameters } }, { data: l } = await U(a != null ? a : "", p2);
- return createImageBitmap(l);
- }
- getTileUrl() {
- throw new s("basetilelayer:gettileurl-not-implemented", "getTileUrl() is not implemented");
- }
- };
- e([y({ type: j })], d.prototype, "tileInfo", void 0), e([y({ type: ["show", "hide"] })], d.prototype, "listMode", void 0), e([y({ readOnly: true, value: "base-tile" })], d.prototype, "type", void 0), e([y({ nonNullable: true })], d.prototype, "fullExtent", void 0), e([y()], d.prototype, "spatialReference", void 0), d = u2 = e([n("esri.layers.BaseTileLayer")], d);
- var g = d;
- export {
- g
- };
- //# sourceMappingURL=chunk-Z2FNPC7X.js.map
|