Change new ol.View2D to new ol.View