Merge pull request #8930 from fredj/better_export_example
Give the layers container a CSS class name
This commit is contained in:
@@ -37,7 +37,7 @@ class CompositeMapRenderer extends MapRenderer {
|
||||
style.width = '100%';
|
||||
style.height = '100%';
|
||||
|
||||
this.element_.className = CLASS_UNSELECTABLE;
|
||||
this.element_.className = CLASS_UNSELECTABLE + ' ol-layers';
|
||||
|
||||
const container = map.getViewport();
|
||||
container.insertBefore(this.element_, container.firstChild || null);
|
||||
|
||||
Reference in New Issue
Block a user