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

@@ -31,7 +31,10 @@ var vector = new ol.layer.Vector({
new ol.style.Rule({
symbolizers: [
new ol.style.Polygon({
strokeColor: '#bada55'
strokeColor: '#319FD3',
strokeOpacity: 1,
fillColor: '#ffffff',
fillOpacity: 0.6
})
]
}),
@@ -39,7 +42,7 @@ var vector = new ol.layer.Vector({
filter: 'resolution() < 5000',
symbolizers: [
new ol.style.Text({
color: '#bada55',
color: '#000000',
text: ol.expr.parse('name'),
fontFamily: 'Calibri,sans-serif',
fontSize: 12