Fix reprojectionErrorThreshold property type

This commit is contained in:
Frederic Junod
2018-07-19 11:30:11 +02:00
parent 5d2cf66380
commit 323eb3f251
7 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ import {createXYZ, extentFromProjection} from '../tilegrid.js';
* {@link https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image} for more detail.
* @property {boolean} [jsonp=false] Use JSONP with callback to load the TileJSON.
* Useful when the server does not support CORS..
* @property {boolean} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
* @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
* Higher values can increase reprojection performance, but decrease precision.
* @property {tileJSON} [tileJSON] TileJSON configuration for this source.
* If not provided, `url` must be configured.