Add lineDash property to ol.style.Stroke

This commit is contained in:
Frederic Junod
2013-11-28 13:47:31 +01:00
parent bf9cd0a675
commit 0908490385
6 changed files with 49 additions and 2 deletions
+5
View File
@@ -20,6 +20,11 @@ ol.style.Stroke = function(options) {
*/
this.lineCap = options.lineCap;
/**
* @type {Array.<number>}
*/
this.lineDash = goog.isDef(options.lineDash) ? options.lineDash : null;
/**
* @type {string|undefined}
*/