-
Name Type Description opacity
number Opacity.
rotateWithView
boolean If the image should get rotated with the view.
rotation
number Rotation.
scale
number | Size Scale.
displacement
Array.<number> Displacement.
declutterMode
"declutter" | "obstacle" | "none" | undefined Declutter mode:
declutter
,obstacle
, 'none
Subclasses
Methods
-
Clones the style.
Returns:
The cloned style.
-
Get the declutter mode of the shape
Returns:
Shape's declutter mode
-
Get the displacement of the shape
Returns:
Shape's center displacement
-
Get the symbolizer opacity.
Returns:
Opacity.
-
Determine whether the symbolizer rotates with the map.
Returns:
Rotate with map.
-
Get the symoblizer rotation.
Returns:
Rotation.
-
Get the symbolizer scale.
Returns:
Scale.
-
Set the displacement.
Name Type Description displacement
Array.<number> Displacement.
-
Set the opacity.
Name Type Description opacity
number Opacity.
-
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 | Size Scale.