Separate opacity in examples

This commit is contained in:
Tim Schaub
2013-08-05 11:27:03 -06:00
parent 5d0b4563a8
commit c2cc1af2ac
3 changed files with 11 additions and 7 deletions

View File

@@ -44,9 +44,9 @@ var style = new ol.style.Style({rules: [
new ol.style.Rule({
symbolizers: [
new ol.style.Polygon({
fillColor: '#ffff33',
strokeColor: '#ffffff',
opacity: ol.expr.parse('getOpacity()')
fillColor: '#ffff33',
fillOpacity: ol.expr.parse('getOpacity()')
})
]
})