If true
, the label will always be rendered on top.
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 icon. 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.
Icon brightness.
Icon color.
Fading time for icons in seconds.
If true
, text will appear even if the icon is blocked by other labels.
Maximum zoomLevel at which to display the label icon. No default.
If false
, the icon may overlap text and other icons of lower priority.
Minimum zoomLevel at which to display the label icon. No default.
If false
, icon will not reserve screen space, other markers will be able to overlap.
Scaling factor of icon.
Horizontal offset (to the right) in screen pixels.
Vertical offset (up) in screen pixels.
The name used to identify materials created from this technique.
The name of either the ImageTexture in Theme.imageTextures or the user image cached in {@link @here/harp-mapview#userImageCache} to be rendered as marker.
Field name to extract imageTexture content from, if imageTexture refers to an ImageTexture definition.
Postfix for imageTexture
if imageTextureField
is used.
Prefix for imageTexture
if imageTextureField
is used.
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.
Minimal distance between markers in screen pixels.
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.
Text label positions relative to the label central position (anchor point).
Fixed name to identify POI options in the POI table.
Name of the field to evaluate to get the name of the POI options in the POI table.
Name of the POI table which should be used for this POI.
Priority of marker, defaults to 0
. Markers with highest priority get placed first.
The render order of the objects created using this technique.
If false
, text will not be rendered during animations. Defaults to true
.
Glyph local rotation (radians).
Vertical height in pixels, controls vertical scaling. Overrides iconScale
.
Horizontal height in pixels, controls horizontal scaling. Overrides iconScale
.
Should be displayed on map or not. Defaults to true
.
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).
Specify stack mode. Defaults to ShowInStack
.
Name of the text style.
Text to be displayed for feature.
Fading time for labels in seconds.
If true
, icon will appear even if the text part is blocked by other labels.
Maximum zoomLevel at which to display the label text. No default.
If false
, text may overlap markers.
Minimum zoomLevel at which to display the label text. No default.
If false
, text will not reserve screen space, other markers will be able to overlap.
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.
The iso_code
field contains the ISO 3166-1 2-letter country code.
Text position inside a line.
World space offset in meters applied to the icon along the ground plane, i.e. tangent to the local space up vector.
Wrapping (line-breaking) mode.
Horizontal offset (to the right) in screen pixels.
Vertical offset (up) in screen pixels.
Generated using TypeDoc
Technique that describes icons with labels. Used in PoiTechnique and LineMarkerTechnique (for road shields).