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