Summary
Constructor
new FilledCircle(options)
Parameters:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | 设置项。
|
Example
let filledCricle=new hmap.geosolution.cell.FilledCircle({
center:new hmap.basetype.Coordinate(120.235078,30.19345,0),
color:new hmap.style.Color(255,0,0,1),
minSize:0,
maxSize:85,
freq:3000,
threshold:[0.20,0.40,0.60,0.80],//示例效果1
//threshold:[0.2,0.5,0.7,1.0],//示例效果2
});
Methods
-
destroy()
-
销毁对象,如果元素已经添加到其模型,需要先从模型中移除后再销毁
-
getId() → {String}
-
获取对象的唯一标识符
Returns:
String -该对象的唯一标识符