From 817a8feac9becc779cb09afb841db5c9d33b4753 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 30 Sep 2013 23:34:51 +0200 Subject: [PATCH] SetPositioning exposition in the API The method in ol.Overlay is not exposed whereas is equivalent getter getPositioning is visible in API and documentation. The PR add a line of description to the documentation and expose the method --- src/ol/overlay.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ol/overlay.js b/src/ol/overlay.js index 4ae6806930..bb08ca709a 100644 --- a/src/ol/overlay.js +++ b/src/ol/overlay.js @@ -267,11 +267,16 @@ goog.exportProperty( /** + * Set the positioning for this overlay. * @param {ol.OverlayPositioning|undefined} positioning Positioning. */ ol.Overlay.prototype.setPositioning = function(positioning) { this.set(ol.OverlayProperty.POSITIONING, positioning); }; +goog.exportProperty( + ol.Overlay.prototype, + 'setPositioning', + ol.Overlay.prototype.setPositioning); /**