I think you can do it like it's done in v3:

W.maps.setView([lat, lon], zoom);