ol.style.Stroke has no "opacity" option
This commit is contained in:
@@ -72,8 +72,7 @@ function flash(feature) {
|
|||||||
snapToPixel: false,
|
snapToPixel: false,
|
||||||
stroke: new ol.style.Stroke({
|
stroke: new ol.style.Stroke({
|
||||||
color: 'rgba(255, 0, 0, ' + opacity + ')',
|
color: 'rgba(255, 0, 0, ' + opacity + ')',
|
||||||
width: 1,
|
width: 1
|
||||||
opacity: opacity
|
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user