Mark functions setRotateWithView and setSnapToPixel of ol/style/Image with @api

This commit is contained in:
Иван Агафонов
2018-04-18 14:52:49 +03:00
parent 004f91a020
commit 84a49ec943

View File

@@ -187,6 +187,7 @@ ImageStyle.prototype.setOpacity = function(opacity) {
* Set whether to rotate the style with the view.
*
* @param {boolean} rotateWithView Rotate with map.
* @api
*/
ImageStyle.prototype.setRotateWithView = function(rotateWithView) {
this.rotateWithView_ = rotateWithView;
@@ -219,6 +220,7 @@ ImageStyle.prototype.setScale = function(scale) {
* Set whether to snap the image to the closest pixel.
*
* @param {boolean} snapToPixel Snap to pixel?
* @api
*/
ImageStyle.prototype.setSnapToPixel = function(snapToPixel) {
this.snapToPixel_ = snapToPixel;