Remove tile source zDirection getter

The renderer now accesses the zDirection member directly if it exists.
This also has the advantage of not advertising any object methods that
hav no use for most tile sources.
This commit is contained in:
Lutz Helm
2019-03-21 14:47:09 +01:00
parent 2bf217207e
commit 085c60af49
3 changed files with 1 additions and 21 deletions

View File

@@ -258,20 +258,12 @@ class Zoomify extends TileImage {
});
/**
* @protected
* @type {number|undefined}
*/
this.zDirection = options.zDirection;
}
/**
* @inheritDoc
*/
getZDirection() {
return this.zDirection;
}
}
export default Zoomify;