import { __extends } from "tslib";
import { RasterLayer as L7RasterLayer } from '@antv/l7-layers';
import { CoreLayer } from '../../core/core-layer';
/**
 * 栅格图层
 * 对应 L7 的 RasterLayer
 **/
var RasterLayer = /** @class */ (function (_super) {
    __extends(RasterLayer, _super);
    function RasterLayer() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.type = 'rasterLayer';
        return _this;
    }
    /**
     * 创建图层
     */
    RasterLayer.prototype.createLayer = function () {
        var config = this.getLayerConfig();
        var layer = new L7RasterLayer(config);
        return layer;
    };
    return RasterLayer;
}(CoreLayer));
export { RasterLayer };
//# sourceMappingURL=index.js.map