Summary
Constructor
new WaterReflection(options)
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
|
Example
let coordseq = new hmap.basetype.CoordSeq([c1,c2,c3,c4]);
let waterReflection = new hmap.geosolution.cell.WaterReflection({
coordSeqs: [coordseq]
});
Methods
-
destroy()
-
销毁对象,如果元素已经添加到其模型,需要先从模型中移除后再销毁
-
getId() → {String}
-
获取水面倒影元素的id值
Returns:
String -水面倒影元素的id值