🐛 [BUG] 官网行政区域图打开codesandbox报错
zhushibo opened this issue · comments
wonderzhu commented
🐛 Bug description [Please make everyone to understand it]
📷 Step
打开世界地图的行政区域图
🏞 Expected result
正确显示
🚑 Any additional [like screenshots]
"@antv/l7": "^2.21.3",
"@antv/l7-composite-layers": "^0.16.4",
"@antv/l7-maps": "^2.21.3",
"@antv/l7plot": "^0.5.9",
lvisei commented
我这边看是没有问题的,升级 "@antv/l7" 至 "^2.22.0" 试试
wisonic-s commented
降级 @antv/l7 到 2.21.1 就行了,原因是 L7Plot 编译的 target 是 ES5,L7 是 ES6,ES5 的类没法继承 ES6,可以看我的 PR 本地编译一个替换就没问题了。