Open wizz- opened 6 years ago
The plug-in text option has no option for the label within the dataset. It is possible to do this by script, but using labels inside the dataset is very common and could have an option of its own.
I'm sorry. I can't do script for text:
outlabels: { text: function(){ return "test"; }, }
Because i get this error:
TypeError: text.replace is not a function text = text.replace(/%l/gi, label);
The plug-in text option has no option for the label within the dataset. It is possible to do this by script, but using labels inside the dataset is very common and could have an option of its own.