new YS.ODLineLayer(ys) OD线父类 Name Type Description ys Object YouScene对象 Demo: http://ys.infoearth.com:9090/Sandcastle/index.html#name=ODLineLayer Methods add(odline) → ODLine 添加OD线到球上 Name Type Description odline ODLine odline子类 Returns: 返回添加的odline子类 destroy() 销毁ODLineLayer removeAll() 清空OD线 removeById(id) 根据id删除子类 Name Type Description id String odline子类的id