From 9adb12846c4de50ca7c449efeb63aa5679a14da5 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Wed, 3 Sep 2014 15:41:02 +0200 Subject: [PATCH] Add TextStyle offsets getters to API. The other properties getters are in the API already. --- src/ol/style/textstyle.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/style/textstyle.js b/src/ol/style/textstyle.js index 0ea5e73550..6dff406d23 100644 --- a/src/ol/style/textstyle.js +++ b/src/ol/style/textstyle.js @@ -87,6 +87,7 @@ ol.style.Text.prototype.getFont = function() { /** * @return {number} Horizontal text offset. + * @api */ ol.style.Text.prototype.getOffsetX = function() { return this.offsetX_; @@ -95,6 +96,7 @@ ol.style.Text.prototype.getOffsetX = function() { /** * @return {number} Vertical text offset. + * @api */ ol.style.Text.prototype.getOffsetY = function() { return this.offsetY_;