H.map.Spatial.Label
Type Definition Summary
This typedef defines data to used in a rendering hint for a label.
[ For full details, see the Type Definition Details ]
Property Summary
Properties |
---|
The x coordinate of the first line's starting point |
The y coordinate of the first line's base line |
The clockwise rotation angle in radians |
The CSS font-family |
The CSS font-size |
The CSS color |
The text content, new line characters (\u000A) are interpreted as line breaks |
Type Definition Description
This typedef defines data to used in a rendering hint for a label.
Property Details
x: {number}
The x coordinate of the first line's starting point
y: {number}
The y coordinate of the first line's base line
angle: {number}
The clockwise rotation angle in radians
font: {string}
The CSS font-family
size: {number}
The CSS font-size
color: {string}
The CSS color
text: {string}
The text content, new line characters (\u000A) are interpreted as line breaks