Add transition option to OSM and CartoDB sources, document default

This commit is contained in:
Maximilian Krög
2020-11-07 22:31:31 +01:00
parent bdd343e87b
commit 2ebe90f9d3
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ const ProviderConfig = {
* imageTile.getImage().src = src;
* };
* ```
* @property {number} [transition] Duration of the opacity transition for rendering.
* @property {number} [transition=250] Duration of the opacity transition for rendering.
* To disable the opacity transition, pass `transition: 0`.
* @property {string} [url] URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.