Composite renderer requires an element.

This commit is contained in:
Tim Schaub
2012-06-21 11:30:53 +02:00
parent f3ab95b051
commit 9cc501caba

View File

@@ -6,15 +6,15 @@ goog.require('ol.Loc');
/**
* @constructor
* @param {string|Element} target
* @param {!Element} target
*/
ol.renderer.Composite = function(target) {
/**
* @type Element
* @type !Element
* @private
*/
this.target_ = goog.dom.getElement(target);
this.target_ = target;
/**
* @type Array.<ol.renderer.LayerRenderer>