圆形类.
| SuperMap. |
圆形类. |
| Constructor | |
| SuperMap. |
圆形 |
| Functions | |
| destroy | 销毁该类,释放相关资源 |
圆形
var circle = new SuperMap.Style.Circle(
6,
new SuperMap.Style.Fill({
color: "rgba(238, 153, 0, 0.4)"
}),
new SuperMap.Style.Stroke({
color: "#ff0000",
width: 1
})
);
var graphic = new SuperMap.Graphic(new SuperMap.Geometry.Point(0,0));
graphic.style = { image: circle}
| opt_options | {Object} Object.radius 半径 Object.fill 图形填充样式 Object.stroke 图形边框样式 |
销毁该类,释放相关资源
destroy: function()