UNPKG

771 BJavaScriptView Raw
1import { __assign, __extends } from "tslib";
2import { jsx } from '@antv/f-engine';
3import Geometry from '../geometry';
4export default (function (View) {
5 return /** @class */function (_super) {
6 __extends(Point, _super);
7 function Point() {
8 return _super !== null && _super.apply(this, arguments) || this;
9 }
10 Point.prototype.getDefaultCfg = function () {
11 return {
12 geomType: 'point'
13 };
14 };
15 Point.prototype.render = function () {
16 var props = this.props;
17 var coord = props.coord;
18 var records = this.mapping();
19 var clip = this.getClip();
20 return jsx(View, __assign({}, props, {
21 coord: coord,
22 records: records,
23 clip: clip
24 }));
25 };
26 return Point;
27 }(Geometry);
28});
\No newline at end of file