"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RasterLayer = void 0;
var tslib_1 = require("tslib");
var l7_layers_1 = require("@antv/l7-layers");
var core_layer_1 = require("../../core/core-layer");
/**
 * 栅格图层
 * 对应 L7 的 RasterLayer
 **/
var RasterLayer = /** @class */ (function (_super) {
    tslib_1.__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 l7_layers_1.RasterLayer(config);
        return layer;
    };
    return RasterLayer;
}(core_layer_1.CoreLayer));
exports.RasterLayer = RasterLayer;
//# sourceMappingURL=index.js.map