Add center constraint

Depends on https://github.com/openlayers/ol3/pull/1075