The Richtext feature allows you to display multiple lines of formatted text. Unlike signs, though, they can't be used as a hyperlink.
The text you want to display, in markdown format.
It is possible to style text using css by placing something like this after your text:
{:style="color:red;background:green;font-size:18px"}
This is used to determine how the text is blended with whatever is behind it. The available options are Combine
, Multiply
, and Screen
.
When ticked, the text will be white on a black background, rather than the other way around.
String
;
feature.get('text')
// returns: "https://..."
feature.set({'text':"my paragraph"})
""
String
feature.get('blendMode')
// returns: 'Combine'
feature.set({'blendMode': 'Combine'})
"Multiply"