@@ -1407,6 +1407,9 @@ <h5 class="subsection-title">Properties:</h5>
14071407
14081408
14091409< span class ="param-type "> number</ span >
1410+ |
1411+
1412+ < span class ="param-type "> Array.<(number|undefined)> </ span >
14101413
14111414
14121415
@@ -1416,10 +1419,12 @@ <h5 class="subsection-title">Properties:</h5>
14161419 </ td >
14171420
14181421 < td class ="description last ">
1419- < p > The minimum source data value. Rendered values are scaled from 0 to 1 based on
1420- the configured min and max. If not provided and raster statistics are available, those will be used instead.
1421- If neither are available, the minimum for the data type will be used. To disable this behavior, set
1422- the < code > normalize</ code > option to < code > false</ code > in the constructor.</ p >
1422+ < p > The minimum source data value. Rendered values are
1423+ scaled from 0 to 1 based on the configured min and max. If not provided and raster statistics are available,
1424+ those will be used instead. If neither are available, the minimum for the data type will be used. To disable
1425+ this behavior, set the < code > normalize</ code > option to < code > false</ code > in the constructor. If an array is provided, values
1426+ correspond to the bands in the file (not the < code > bands</ code > option). Array values can be left < code > undefined</ code > to trigger
1427+ the default behavior.</ p >
14231428
14241429 </ td >
14251430 </ tr >
@@ -1435,17 +1440,22 @@ <h5 class="subsection-title">Properties:</h5>
14351440
14361441
14371442< span class ="param-type "> number</ span >
1443+ |
1444+
1445+ < span class ="param-type "> Array.<(number|undefined)> </ span >
14381446
14391447 | undefined
14401448
14411449
14421450 </ td >
14431451
14441452 < td class ="description last ">
1445- < p > The maximum source data value. Rendered values are scaled from 0 to 1 based on
1446- the configured min and max. If not provided and raster statistics are available, those will be used instead.
1447- If neither are available, the maximum for the data type will be used. To disable this behavior, set
1448- the < code > normalize</ code > option to < code > false</ code > in the constructor.</ p >
1453+ < p > The maximum source data value. Rendered values are
1454+ scaled from 0 to 1 based on the configured min and max. If not provided and raster statistics are available,
1455+ those will be used instead. If neither are available, the maximum for the data type will be used. To disable
1456+ this behavior, set the < code > normalize</ code > option to < code > false</ code > in the constructor. If an array is provided, values
1457+ correspond to the bands in the file (not the < code > bands</ code > option). Array values can be left < code > undefined</ code > to to trigger
1458+ the default behavior.</ p >
14491459
14501460 </ td >
14511461 </ tr >
@@ -1461,17 +1471,21 @@ <h5 class="subsection-title">Properties:</h5>
14611471
14621472
14631473< span class ="param-type "> number</ span >
1474+ |
1475+
1476+ < span class ="param-type "> Array.<(number|undefined)> </ span >
14641477
14651478 | undefined
14661479
14671480
14681481 </ td >
14691482
14701483 < td class ="description last ">
1471- < p > Values to discard (overriding any nodata values in the metadata).
1472- When provided, an additional alpha band will be added to the data. Often the GeoTIFF metadata
1484+ < p > Values to discard (overriding any nodata values in the
1485+ metadata). When provided, an additional alpha band will be added to the data. Often the GeoTIFF metadata
14731486will include information about nodata values, so you should only need to set this property if
1474- you find that it is not already extracted from the metadata.</ p >
1487+ you find that it is not already extracted from the metadata. If an array is provided, values correspond to
1488+ the bands in the file (not the < code > bands</ code > option). Array values can be left < code > undefined</ code > to trigger the default behavior.</ p >
14751489
14761490 </ td >
14771491 </ tr >
0 commit comments