Avoid layers getting rendered above the overlay container

This commit is contained in:
ahocevar
2018-11-17 18:12:43 +01:00
parent d030f092a2
commit 366588d07e

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';