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

@@ -26,10 +26,11 @@ var vector = new ol.layer.Vector({
new ol.style.Rule({
symbolizers: [
new ol.style.Polygon({
strokeColor: '#FFF',
fillColor: '#BADA55',
strokeWidth: 1.5,
opacity: 0.5
fillOpacity: 0.5,
strokeColor: '#FFF',
strokeOpacity: 1,
strokeWidth: 1.5
})
]
})