Summary
Constructor
new Snow(area, options)
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
area |
module:geom~Polygon | 下雪的地理区域,面状几何体,必填项 |
||||||||||||||||||
options |
Object |
|
Example
snow = new hmap.geosolution.cell.Snow(polygon);
Methods
-
destroy()
-
销毁对象,如果元素已经添加到其模型,需要先从模型中移除后再销毁
-
getId() → {String}
-
获取对象的id值。
Returns:
String -对象的id值