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:
@@ -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);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user