diff --git a/src/ol/view2d.js b/src/ol/view2d.js index 68061b2676..4bc7500936 100644 --- a/src/ol/view2d.js +++ b/src/ol/view2d.js @@ -184,8 +184,10 @@ ol.View2D.prototype.calculateCenterZoom = function(resolution, anchor) { /** + * Get the constrained center of this view. * @param {ol.Coordinate|undefined} center Center. * @return {ol.Coordinate|undefined} Constrained center. + * @todo api */ ol.View2D.prototype.constrainCenter = function(center) { return this.constraints_.center(center);