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
This commit is contained in:
Thomas
2013-09-30 23:34:51 +02:00
parent 221a56a411
commit 817a8feac9

View File

@@ -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);
/**