Export ol.View2D.prototype.constrainCenter function
Add an extent constraint to the device-orientation example
Add constrainCenter documentation