You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -574,6 +574,14 @@ maxDebugDistance = - 1 : Number
574
574
575
575
The distance value that represents white when rendering with `DISTANCE` [colorMode](#colorMode). If `maxDebugDistance` is `-1` then the radius of the tile set is used.
576
576
577
+
### .getDebugColor
578
+
579
+
```js
580
+
getDebugColor : ( val : Number, target : Color ) => void
581
+
```
582
+
583
+
The function used to map a [0, 1] value to a color for debug visualizations. By default the color is mapped from black to white.
584
+
577
585
## PriorityQueue
578
586
579
587
Piority-sorted queue to prioritize file downloads and parsing.
0 commit comments