Cross-origin mode used when loading tile images.
anonymous omits credentials, use-credentials includes them and null leaves the image without a crossorigin mode. The latter permits loading servers without CORS support but drawing such an image can taint the destination Canvas.
anonymous
use-credentials
null
crossorigin
Cross-origin mode used when loading tile images.
anonymousomits credentials,use-credentialsincludes them andnullleaves the image without acrossoriginmode. The latter permits loading servers without CORS support but drawing such an image can taint the destination Canvas.