Don't use a color name in ol.render.canvas.defaultStrokeStyle
This commit is contained in:
1 parent
0137987015
commit
131f22efa5
1 file changed
+1
-1
@@ -49,7 +49,7 @@ ol.render.canvas.defaultMiterLimit = 10;
|
||||
* @const
|
||||
* @type {ol.Color}
|
||||
*/
|
||||
ol.render.canvas.defaultStrokeStyle = ol.color.fromString('black');
|
||||
ol.render.canvas.defaultStrokeStyle = [0, 0, 0, 1];
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user