new CircleStyle(opt_options)
style/Circle.js, line 25
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
Extends
Methods
-
Clones the style.
Returns:
The cloned style.
-
Get the angle used in generating the shape.
Returns:
Shape's rotation in radians.
-
Get the fill style for the shape.
Returns:
Fill style.
-
Get the symbolizer opacity.
Returns:
Opacity.
-
Get the number of points for generating the shape.
Returns:
Number of points for stars and regular polygons.
-
Get the (primary) radius for the shape.
Returns:
Radius.
-
Get the secondary radius for the shape.
Returns:
Radius2.
-
Determine whether the symbolizer rotates with the map.
Returns:
Rotate with map.
-
Get the symoblizer rotation.
Returns:
Rotation.
-
Get the symbolizer scale.
Returns:
Scale.
-
Get the stroke style for the shape.
Returns:
Stroke style.
-
Set the opacity.
Name Type Description opacity
number Opacity.
-
setRadius(radius)
style/Circle.js, line 61 -
Set the circle radius.
Name Type Description radius
number Circle radius.
-
Set whether to rotate the style with the view.
Name Type Description rotateWithView
boolean Rotate with map.
-
Set the rotation.
Name Type Description rotation
number Rotation.
-
Set the scale.
Name Type Description scale
number Scale.