fix bug with setView

map.setView([55.017493, 82.921526], 13, {animate: true});
map.setView([55.017493, 82.121526], 13, {animate: true});

TypeError: Cannot read property code of undefined