Make zDirection configurable on tile source

This commit is contained in:
ahocevar
2019-07-30 16:50:01 +02:00
parent 230205c3fd
commit e07ff9c04e
17 changed files with 65 additions and 26 deletions

View File

@@ -26,6 +26,10 @@ describe('ol.source.VectorTile', function() {
expect(source.format_).to.equal(format);
});
it('sets the default zDirection on the instance', function() {
expect(source.zDirection).to.be(1);
});
it('uses ol.VectorTile as default tileClass', function() {
expect(source.tileClass).to.equal(VectorTile);
});