Closed bribar closed 4 years ago
After placing markers and trying to save the image I get this output in console.
The images are from AWS S3, and the CORS policy includes this rule on the bucket
`
<AllowedMethod>GET</AllowedMethod> <AllowedHeader>*</AllowedHeader>
Using latest markerjs library. Chrome Version 84.0.4147.89 (Official Build) (64-bit)
I tried with an image from same domain and it works.
Well, I figured out my own issue after cloning the repository and finding that adding crossorigin="anonymous" attribute to the image fixes the problem.
crossorigin="anonymous"
After placing markers and trying to save the image I get this output in console.
The images are from AWS S3, and the CORS policy includes this rule on the bucket
`
`
Using latest markerjs library. Chrome Version 84.0.4147.89 (Official Build) (64-bit)
I tried with an image from same domain and it works.