Add crossOrigin to examples using ol.style.Icon

This commit is contained in:
Frederic Junod
2017-03-31 13:38:28 +02:00
parent ce088d5919
commit a9adaf2052
3 changed files with 5 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ for (i = 0; i < iconCount; ++i) {
rotation: info.rotation,
scale: info.scale,
size: info.size,
crossOrigin: 'anonymous',
src: 'data/Butterfly.png'
});
}