(map, layer, dataSet, options)
| 7991 | inherits(MapVRenderer, _BaseLayer); |
| 7992 | |
| 7993 | function MapVRenderer(map, layer, dataSet, options) { |
| 7994 | classCallCheck(this, MapVRenderer); |
| 7995 | |
| 7996 | var _this = possibleConstructorReturn(this, (MapVRenderer.__proto__ || Object.getPrototypeOf(MapVRenderer)).call(this, map, dataSet, options)); |
| 7997 | |
| 7998 | if (!BaseLayer) { |
| 7999 | return possibleConstructorReturn(_this); |
| 8000 | } |
| 8001 | |
| 8002 | var self = _this; |
| 8003 | options = options || {}; |
| 8004 | |
| 8005 | self.init(options); |
| 8006 | self.argCheck(options); |
| 8007 | _this.canvasLayer = layer; |
| 8008 | _this.clickEvent = _this.clickEvent.bind(_this); |
| 8009 | _this.mousemoveEvent = _this.mousemoveEvent.bind(_this); |
| 8010 | _this._moveStartEvent = _this.moveStartEvent.bind(_this); |
| 8011 | _this._moveEndEvent = _this.moveEndEvent.bind(_this); |
| 8012 | _this._zoomStartEvent = _this.zoomStartEvent.bind(_this); |
| 8013 | _this.bindEvent(); |
| 8014 | return _this; |
| 8015 | } |
| 8016 | |
| 8017 | /** |
| 8018 | * @function MapVRenderer.prototype.clickEvent |
nothing calls this directly
no test coverage detected