From 046b78cca7687508d2ee18e3d742dea5f1e9821d Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Fri, 11 Oct 2019 18:16:19 +0100 Subject: [PATCH] Document the OSM crossOrigin default --- src/ol/source/OSM.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/source/OSM.js b/src/ol/source/OSM.js index 9f66813b46..3996b2bddc 100644 --- a/src/ol/source/OSM.js +++ b/src/ol/source/OSM.js @@ -21,7 +21,7 @@ export const ATTRIBUTION = '© ' + * @typedef {Object} Options * @property {import("./Source.js").AttributionLike} [attributions] Attributions. * @property {number} [cacheSize] Tile cache size. The default depends on the screen size. Will increase if too small. - * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that + * @property {null|string} [crossOrigin='anonymous'] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer. * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail. * @property {number} [maxZoom=19] Max zoom.