import { __extends } from "tslib";
import { ImageLayer as L7ImageLayer } from '@antv/l7-layers';
import { CoreLayer } from '../../core/core-layer';
/**
 * 图片图层
 * 对应 L7 的 ImageLayer
 **/
var ImageLayer = /** @class */ (function (_super) {
    __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 L7ImageLayer(config);
        return layer;
    };
    return ImageLayer;
}(CoreLayer));
export { ImageLayer };
//# sourceMappingURL=index.js.map