When an image layer URL points to an image hosted on a site without a Cross Origin Resource Sharing policy set or it is set to not allow sharing, the image fails to download.
This is actually correct behavior technically, because were using HTML Dom Images. but it's bloody annoying so maybe the image should be actually downloaded.
XMLHttpRequests are still subject to CORS policy so the only way to get around this is to host a CORS proxy such as https://github.com/shalvah/cors-escape
When an image layer URL points to an image hosted on a site without a
Cross Origin Resource Sharing
policy set or it is set to not allow sharing, the image fails to download.This is actually correct behavior technically, because were using HTML Dom Images. but it's bloody annoying so maybe the image should be actually downloaded.