Merge pull request #4144 from elemoine/feature-animation

Set context.fillStyle to a string
This commit is contained in:
Éric Lemoine
2015-09-22 12:13:12 +02:00
2 changed files with 2 additions and 3 deletions

View File

@@ -72,8 +72,7 @@ function flash(feature) {
snapToPixel: false,
stroke: new ol.style.Stroke({
color: 'rgba(255, 0, 0, ' + opacity + ')',
width: 1,
opacity: opacity
width: 1
})
});