Don't use a color name in ol.render.canvas.defaultStrokeStyle
This commit is contained in:
@@ -49,7 +49,7 @@ ol.render.canvas.defaultMiterLimit = 10;
|
|||||||
* @const
|
* @const
|
||||||
* @type {ol.Color}
|
* @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