Skip to content Skip to sidebar Skip to footer

What Is Keeping Jquery.print From Working With Leaflet?

When testing a git repo that makes use of jQuery.print (demo here), I got the following error: [Exception... 'The operation is insecure.' code: '18' nsresult: '0x80530012 (Securit

Solution 1:

The reason is the Same Origin Policy - unless images are requested with CORS, they trigger this security issue in browsers. leaflet-image re-requests images to work around this.


Post a Comment for "What Is Keeping Jquery.print From Working With Leaflet?"