Text background color in hexadecimal or CSS-style notation, for example: "#e4e9ec"
,
"#fff"
, "rgb(255, 0, 0)"
, or "hsl(35, 11%, 88%)"
.
Background text opacity value.
Size of the text background (pixels).
TextCanvas rotation (radians).
The category of this technique.
Text color in hexadecimal or CSS-style notation, for example: "#e4e9ec"
, "#fff"
,
"rgb(255, 0, 0)"
, or "hsl(35, 11%, 88%)"
.
If true
, geometry height won't be scaled on projection. Enable it for projections with
variable scale factor (e.g. mercator) to avoid distortions in geometry with great heights and
latitude spans. E.g. a large object with even height would look oblique to the ground plane
on mercator unless this property is set to true
.
Scaling factor of the text. Defaults to 0.5, reducing the size ot 50% in the distance.
Runtime filtering of techniques.
Use with ['dynamic-properties']
operator for dynamic feature highlight, highlighig etc.
Distance to the camera (0.0 = camera position, 1.0 = farPlane) at which the object has zero opacity and stops fading out. An undefined value disables fading.
Distance to the camera `(0.0 = camera position, 1.0 = farPlane) at which the object start fading out (opacity decreases).
Name of the preferred Font to be used when rendering.
Glyph style to apply for the currently active Font.
Glyph variant to apply for the currently active Font.
Text position regarding the baseline.
The name used to identify materials created from this technique.
Specified kind of geometry.
Field name of object containing the text to be rendered.
Inter-line spacing (pixels). Scaled by size
.
Line typesetting rotation (radians).
Maximum line width (pixels).
Maximum number of lines for this label.
Maximum zoom level. If the current zoom level is equal to or greater, the technique will not be used.
If true
, icon is allowed to overlap other labels or icons of lower priority.
Minimal zoom level. If the current zoom level is smaller, the technique will not be used.
For transparent text, set a value between 0.0 for totally transparent, to 1.0 for totally opaque.
Priority of text, defaults to 0
. Elements with highest priority get placed first.
The render order of the objects created using this technique.
If true
, element will reserve screen space, other markers of lower priority will not be
able to overlap.
Glyph local rotation (radians).
Defines which side of faces will be rendered - front, back or both. See https://threejs.org/docs/#api/en/materials/Material.side.
Size of the text (pixels).
Name of the text style.
Text to be displayed for feature.
Fading time for labels in seconds.
Inter-glyph spacing (pixels). Scaled by size
.
Optional. If true
or Pickability.transient
, no IDs will be saved for the geometry
this style creates. Default is Pickability.onlyVisible
, which allows all pickable and
visible objects to be picked, Pickability.all, will also allow invisible objects to be
picked.
Set to 'true' if line should appear transparent.
If true
, the abbreviation (field name:short
) of the elements is used as text.
If true
, the iso code (field 'iso_code') of the elements is used as text.
Text position inside a line.
Wrapping (line-breaking) mode.
Horizontal offset (to the right) in screen pixels.
Vertical offset (up) in screen pixels.
Generated using TypeDoc
Render geometry as a text.