Only set LOADED state when all source tiles loaded successfully

This commit is contained in:
Andreas Hocevar
2017-09-11 22:40:12 +02:00
parent b65c6f7e8e
commit 8573a7ba64
2 changed files with 7 additions and 2 deletions

View File

@@ -65,7 +65,6 @@ describe('ol.rendering.layer.VectorTile', function() {
source = new ol.source.VectorTile({
format: new ol.format.MVT(),
tileGrid: ol.tilegrid.createXYZ(),
tilePixelRatio: 16,
url: 'rendering/ol/data/tiles/mvt/{z}-{x}-{y}.vector.pbf'
});
});