Merge pull request #8970 from ahocevar/zindex

Fix zIndex positioning
This commit is contained in:
Andreas Hocevar
2018-11-18 17:06:55 +01:00
committed by GitHub

View File

@@ -31,6 +31,8 @@ class CompositeMapRenderer extends MapRenderer {
const style = this.element_.style;
style.width = '100%';
style.height = '100%';
style.position = 'relative';
style.zIndex = '0';
this.element_.className = CLASS_UNSELECTABLE + ' ol-layers';