Overlays above the renderer.

This commit is contained in:
Tim Schaub
2012-07-08 18:35:23 -06:00
parent 7bf1ffe606
commit ceaba3cdd4
+1 -1
View File
@@ -487,7 +487,7 @@ ol.Map.prototype.createRenderer = function() {
this.mapOverlay_ = goog.dom.createDom('div', 'ol-overlay-map'); this.mapOverlay_ = goog.dom.createDom('div', 'ol-overlay-map');
this.staticOverlay_ = goog.dom.createDom('div', { this.staticOverlay_ = goog.dom.createDom('div', {
'class': staticCls, 'class': staticCls,
'style': 'width:100%;height:100%;top:0;left:0;position:absolute' 'style': 'width:100%;height:100%;top:0;left:0;position:absolute;z-index:1'
}); });
} }
if (!goog.isNull(viewport)) { if (!goog.isNull(viewport)) {