Change 'cacheSize' description in typedef

This commit is contained in:
Frederic Junod
2019-01-25 14:26:04 +01:00
committed by ahocevar
parent 59cf0c31b6
commit 1ba85a11e9
11 changed files with 11 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ import {appendParams} from '../uri.js';
/**
* @typedef {Object} Options
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
* @property {number} [cacheSize] Tile cache size. Default is twice as many tiles as a fullscreen map needs.
* @property {number} [cacheSize] Tile cache size. Default is four times as many tiles as a fullscreen map needs.
* @property {null|string} [crossOrigin] 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.