Export ol.View2D.prototype.constrainCenter function
Add an extent constraint to the device-orientation example
Add constrainCenter documentation
Merge pull request #2019 from fredj/device-orientation-example

Add an extent constraint to the device-orientation example