new ImageStyle(options)
style/Image.js, line 28
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
||||||||||||||||
Subclasses
Methods
-
Clones the style.
Returns:
The cloned style.
-
getOpacity(){number}
style/Image.js, line 75 -
Get the symbolizer opacity.
Returns:
Opacity.
-
getRotateWithView(){boolean}
style/Image.js, line 84 -
Determine whether the symbolizer rotates with the map.
Returns:
Rotate with map.
-
getRotation(){number}
style/Image.js, line 93 -
Get the symoblizer rotation.
Returns:
Rotation.
-
getScale(){number}
style/Image.js, line 102 -
Get the symbolizer scale.
Returns:
Scale.
-
setOpacity(opacity)
style/Image.js, line 183 -
Set the opacity.
Name Type Description opacitynumber Opacity.
-
setRotateWithView(rotateWithView)
style/Image.js, line 193 -
Set whether to rotate the style with the view.
Name Type Description rotateWithViewboolean Rotate with map.
-
setRotation(rotation)
style/Image.js, line 203 -
Set the rotation.
Name Type Description rotationnumber Rotation.
-
setScale(scale)
style/Image.js, line 212 -
Set the scale.
Name Type Description scalenumber Scale.
OpenLayers