Pass baseOptions to parent constructor

Co-Authored-By: fredj <frederic.junod@camptocamp.com>
This commit is contained in:
Andreas Hocevarandfredj authored and Frederic Junod committed 2018-11-22 10:27:29 +01:00
1 parent e66a84c897
commit d1df9dae0d
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ class VectorImageLayer extends BaseVectorLayer {
const baseOptions = assign({}, options);
delete baseOptions.imageRatio;
super(opt_options);
super(baseOptions);
/**
* @type {number}