Skip to content

Commit b2f0c05

Browse files
author
Maurizio La Mela
committed
fix: cesium container is not initially hidden
1 parent d917879 commit b2f0c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/olcs/OLCesium.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class OLCesium {
139139
*/
140140
this.to4326Transform_ = getTransform(this.map_.getView().getProjection(), 'EPSG:4326');
141141

142-
const fillArea = 'position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none';
142+
const fillArea = 'position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none;';
143143
this.container_ = document.createElement('DIV');
144144
const containerAttribute = document.createAttribute('style');
145145
containerAttribute.value = `${fillArea}visibility:hidden;`;

0 commit comments

Comments
 (0)