Mark Image style constructor properties @api
This commit is contained in:
1 parent
86561e5ef2
commit
ae998a7585
1 file changed
+3
@@ -70,6 +70,7 @@ ol.style.Image = function(options) {
|
||||
|
||||
/**
|
||||
* @return {number} Opacity.
|
||||
* @api
|
||||
*/
|
||||
ol.style.Image.prototype.getOpacity = function() {
|
||||
return this.opacity_;
|
||||
@@ -78,6 +79,7 @@ ol.style.Image.prototype.getOpacity = function() {
|
||||
|
||||
/**
|
||||
* @return {boolean} Rotate with map.
|
||||
* @api
|
||||
*/
|
||||
ol.style.Image.prototype.getRotateWithView = function() {
|
||||
return this.rotateWithView_;
|
||||
@@ -104,6 +106,7 @@ ol.style.Image.prototype.getScale = function() {
|
||||
|
||||
/**
|
||||
* @return {boolean} Snap to pixel?
|
||||
* @api
|
||||
*/
|
||||
ol.style.Image.prototype.getSnapToPixel = function() {
|
||||
return this.snapToPixel_;
|
||||
|
||||
Reference in new issue
Block a user