Merge pull request #934 from elemoine/vector-layer
ol.layer.Vector pass original options to parent
This commit is contained in:
@@ -245,11 +245,7 @@ ol.layer.VectorLayerEventObject;
|
|||||||
*/
|
*/
|
||||||
ol.layer.Vector = function(options) {
|
ol.layer.Vector = function(options) {
|
||||||
|
|
||||||
goog.base(this, {
|
goog.base(this, /** @type {ol.layer.LayerOptions} */ (options));
|
||||||
opacity: options.opacity,
|
|
||||||
source: options.source,
|
|
||||||
visible: options.visible
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
|
|||||||
Reference in New Issue
Block a user