I have a question regarding creating a style object in openlayers 3. If Source of the Icon is given relative path its working fine.
var image = new ol.style.Icon({
src : 'app/images/test.png'
});
var style = new ol.style.Style({
image : image
});
But if i give it absolute path its not taking it even if the image exists in that path.
var image = new ol.style.Icon({
src : 'C:/test.png'
});
var style = new ol.style.Style({
image : image
});
Please tell me am i missing something? Thanks in advance