XbsjEarthUI icon indicating copy to clipboard operation
XbsjEarthUI copied to clipboard

继承的方式 写了个类 无法保存

Open vtxf opened this issue 4 years ago • 0 comments

@vtxf 老哥 我通过继承的方式 写了个类, 然后实现这个类,但是保存场景加载的时候实例化的是被继承的类 而不是我自己写的这个。有办法解决不。。。 image


自己扩展类,可以使用registerType,参考标会插件的写法:

https://github.com/cesiumlab/PlottingSymbol-EarthSDK/blob/master/src/GeoArc.js

image

vtxf avatar Jan 04 '20 02:01 vtxf