您好
我在判断里面该怎么清除addLine()画的线??谢谢了
您可以对entityCollection进行移除,详情API参考:
http://support.supermap.com.cn:8090/webgl/Build/Documentation/EntityCollection.html?classFilter=entityCollection
里面的removeAll或者removeById都可以移除