flekschas/piling.js

pileLabelColor should support a single color

flekschas opened this issue · 0 comments

Current, pileLabelColor can either be an array or a function. To draw labels with a single color one has to do

piling.set('pileLabelColor', () => '#808080');

It'd be great if the user can directly just specify a single color like this:

piling.set('pileLabelColor', '#808080');