I would like to display temperature in label. So how can I write DEGREE SIGN? to be display as ° I was trying write: & # 176; or & deg; or \ & deg; and nothing. Can anybody knows?

I greet.


define the label property in style definition like below

label: "${text} °C"

and done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.