Set ol.style.Icon opacity

This commit is contained in:
Frederic Junod
2014-02-13 15:20:41 +01:00
parent a445e81115
commit 0e73ffa9d9

View File

@@ -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'
}))
});