[Webkit-unassigned] [Bug 154916] WKWebView needs feature to allow file:// subresources
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 8 06:41:08 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=154916
--- Comment #15 from volker.graf at cartech-company.com ---
Ok I tried the Following:
var cpath = cordova.file.applicationDirectory+'www/img/car16.png';
map.loadImage(cpath, (error, image) => {
if (error) {
alert("Car16 image not loaded");
console.error(cpath);
console.error(error);
throw error;
}
map.addImage('car16', image);
});
whereas cpath is
file:///var/containers/Bundle/Application/A08997CA-C292-48AA-AA70-DC7DF987BFC5/CordovaVectorICL.app/www/img/car16.png
but it fails =( .... Any Ideas ?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170608/7bb581f9/attachment-0001.html>
More information about the webkit-unassigned
mailing list