1 | import { __assign, __extends } from "tslib";
|
2 | import { jsx } from '@antv/f-engine';
|
3 | import Geometry from '../geometry';
|
4 | export default (function (View) {
|
5 | return 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 |