Let the composite renderer manage containers.

This commit is contained in:
Tim Schaub
2012-07-04 22:17:56 -06:00
parent d8e8e55b44
commit 0650d93d17
3 changed files with 26 additions and 23 deletions
-12
View File
@@ -21,18 +21,6 @@ ol.renderer.LayerRenderer = function(container, layer) {
*/
this.layer_ = layer;
var target = goog.dom.createDom('div', {
'class': 'ol-renderer-layer',
'style': 'position:absolute;height:1px:width:1px'
});
goog.dom.appendChild(container, target);
/**
* @type Element
* @protected
*/
this.target_ = target;
};
/**