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