Transform origin top left

This commit is contained in:
Tim Schaub
2018-11-15 17:07:42 +01:00
parent 5bb110f157
commit 32495388b9
5 changed files with 26 additions and 29 deletions

View File

@@ -31,9 +31,6 @@ class CompositeMapRenderer extends MapRenderer {
*/
this.element_ = document.createElement('div');
const style = this.element_.style;
style.display = 'flex';
style.alignItems = 'center';
style.justifyContent = 'center';
style.width = '100%';
style.height = '100%';