Also add documentation for tileRetryDelay

This commit is contained in:
Dragos Daian 2023-01-23 22:16:05 +01:00
parent f0f12c459e
commit b4700d28bd

View File

@ -498,6 +498,9 @@
* @property {Number} [tileRetryMax=0] * @property {Number} [tileRetryMax=0]
* The max number of retries when a tile download fails. By default it's 0, so retries are disabled. * The max number of retries when a tile download fails. By default it's 0, so retries are disabled.
* *
* @property {Number} [tileRetryDelay=2500]
* Milliseconds to wait after each tile retry if tileRetryMax is set.
*
* @property {Boolean} [useCanvas=true] * @property {Boolean} [useCanvas=true]
* Set to false to not use an HTML canvas element for image rendering even if canvas is supported. * Set to false to not use an HTML canvas element for image rendering even if canvas is supported.
* *