"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UrlTemplateImageryProvider = void 0;
var types_1 = require("src/utils/types");
var UrlTemplateImageryProvider = /** @class */ (function () {
    function UrlTemplateImageryProvider() {
        this._tileWidth = undefined;
        this._tileHeight = undefined;
    }
    Object.defineProperty(UrlTemplateImageryProvider.prototype, "ready", {
        get: function () {
            return (0, types_1.isDefined)(this._resource);
        },
        enumerable: false,
        configurable: true
    });
    UrlTemplateImageryProvider.prototype.requestImage = function (x, y, level, request) {
        if (!this.ready) {
            console.error("requestImage must not be called before the imagery provider is ready.");
        }
        //>>includeEnd('debug');
        // return ImageryProvider.loadImage(
        //     this,
        //     buildImageResource(this, x, y, level, request)
        // );
    };
    return UrlTemplateImageryProvider;
}());
exports.UrlTemplateImageryProvider = UrlTemplateImageryProvider;
