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

View File

@@ -49,6 +49,7 @@ var styles = {
'Polygon': [new ol.style.Style({
stroke: new ol.style.Stroke({
color: 'blue',
lineDash: [4],
width: 3
}),
fill: new ol.style.Fill({