I have local tile also 20 level. I found out that OSM tile level 20 don't loading.
map code:
map = new ol.Map({ target:'map', renderer:'canvas', view: new ol.View({ projection: 'EPSG:3857', center:[2577400.0, 7007400.0], extent:[2567000.5, 7000400.5, 2588377.0, 7014361.0]...