You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the snapshot contains images that require cross origin, the snapshot generation becomes complicated. But the preview is generated at full resolution and with the correct tiles. This can not be used via javascript because of security limitations (the canvas is tainted, see this: https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image)
But there is a trick. The user can right-click on the preview and click "Save Image as". So we can see if the canvas is tainted, and if it is, suggest the user to do the trick. "The Save functionality is limited because of security limitations, for better result please right click on the Preview and select "Save Image as..."
The text was updated successfully, but these errors were encountered:
- Fixgeosolutions-it#1267. Now if the canvas is tainted, a warning suggest the user how to have a better result
- Removed glitch when leaflet try to save snapshot (a box was appearing in top-right corner)
- Simplified the snapshot creation procedure (triggers)
- Error management in case of tainted canvas in the save mode (see geosolutions-it#1269)
- Various Fixes with wrong sizes of snapshot
- Now leaflet snapshot support resized map when the drawer menu do not overlap
- Increased test coverage
- Fix#1267. Now if the canvas is tainted, a warning suggest the user how to have a better result
- Removed glitch when leaflet try to save snapshot (a box was appearing in top-right corner)
- Simplified the snapshot creation procedure (triggers)
- Error management in case of tainted canvas in the save mode (see #1269)
- Various Fixes with wrong sizes of snapshot
- Now leaflet snapshot support resized map when the drawer menu do not overlap
- Increased test coverage
When the snapshot contains images that require cross origin, the snapshot generation becomes complicated. But the preview is generated at full resolution and with the correct tiles. This can not be used via javascript because of security limitations (the canvas is tainted, see this: https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image)
But there is a trick. The user can right-click on the preview and click "Save Image as". So we can see if the canvas is tainted, and if it is, suggest the user to do the trick. "The Save functionality is limited because of security limitations, for better result please right click on the Preview and select "Save Image as..."
The text was updated successfully, but these errors were encountered: