"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImageLayer = void 0;
var tslib_1 = require("tslib");
var l7_layers_1 = require("@antv/l7-layers");
var core_layer_1 = require("../../core/core-layer");
/**
 * 图片图层
 * 对应 L7 的 ImageLayer
 **/
var ImageLayer = /** @class */ (function (_super) {
    tslib_1.__extends(ImageLayer, _super);
    function ImageLayer() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.type = 'imageLayer';
        return _this;
    }
    /**
     * 创建图层
     */
    ImageLayer.prototype.createLayer = function () {
        var config = this.getLayerConfig();
        var layer = new l7_layers_1.ImageLayer(config);
        return layer;
    };
    return ImageLayer;
}(core_layer_1.CoreLayer));
exports.ImageLayer = ImageLayer;
//# sourceMappingURL=index.js.map