Mark Image style constructor properties @api
This commit is contained in:
@@ -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