Export constrainResolution and constrainRotation from ol.View2D