maptalks.js icon indicating copy to clipboard operation
maptalks.js copied to clipboard

TypeError: Class constructor BaseObject cannot be invoked without 'new'

Open lzshenpan opened this issue 2 years ago • 1 comments

maptalks's version and what browser you use? ----v1.0.0-rc.14

Issue description 14 | class Circle extends maptalks.BaseObject{ 15 |

16 | constructor(coordinate, options, material, layer) { 17 | super(); 18 | options = maptalks.Util.extend({}, OPTIONS, options, { layer, coordinate }); 19 | // super();

Please provide a reproduction URL (on any jsfiddle like site)

lzshenpan avatar Oct 20 '22 09:10 lzshenpan

@lzshenpan

https://github.com/maptalks/maptalks.three/issues/547

deyihu avatar Oct 20 '22 14:10 deyihu