Set ol.style.Icon opacity
This commit is contained in:
@@ -23,6 +23,7 @@ var iconStyle = new ol.style.Style({
|
||||
anchor: [0.5, 46],
|
||||
anchorXUnits: 'fraction',
|
||||
anchorYUnits: 'pixels',
|
||||
opacity: 0.75,
|
||||
src: 'data/icon.png'
|
||||
}))
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user