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