Rename line symbolizer opacity to strokeOpacity for consistency

We already have strokeColor and strokeWidth.  Having strokeOpacity makes sense.
This commit is contained in:
Tim Schaub
2013-07-30 16:32:42 -06:00
parent 1cedea6606
commit f210d6d0e1
7 changed files with 68 additions and 64 deletions

View File

@@ -21,7 +21,7 @@ var style = new ol.style.Style({rules: [
new ol.style.Line({
strokeColor: ol.expr.parse('color'),
strokeWidth: 4,
opacity: 1
strokeOpacity: 1
})
]
}),
@@ -31,12 +31,12 @@ var style = new ol.style.Style({rules: [
new ol.style.Line({
strokeColor: '#013',
strokeWidth: 4,
opacity: 1
strokeOpacity: 1
}),
new ol.style.Line({
strokeColor: ol.expr.parse('color'),
strokeWidth: 2,
opacity: 1
strokeOpacity: 1
})
]
}),