View / remove constrainCenter method
This commit is contained in:
@@ -665,16 +665,6 @@ class View extends BaseObject {
|
||||
return size;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the constrained center of this view.
|
||||
* @param {import("./coordinate.js").Coordinate|undefined} center Center.
|
||||
* @return {import("./coordinate.js").Coordinate|undefined} Constrained center.
|
||||
* @api
|
||||
*/
|
||||
constrainCenter(center) {
|
||||
return this.constraints_.center(center);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the constrained resolution of this view.
|
||||
* @param {number|undefined} resolution Resolution.
|
||||
|
||||
Reference in New Issue
Block a user