Constructor
The {@link @link @here/harp-datasource-protocol#MapEnv} used to evaluate technique properties.
To cache instances of {@link @here/harp-text-canvas/TextRenderStyle} and {@link @here/harp-text-canvas/TextLayoutStyle}.
Creates a TextElement with the given properties.
The text to be displayed.
The position(s) for the text element.
The TextElement's tile offset, see Tile.offset.
The name of the data source.
TextElement attribute map.
Precomputed path length squared for path labels.
The created text element.
Sets an icon that will be used to create text elements on subsequent calls to TextElementBuilder.build until the next call to this method.
The name of the icon image.
Index to the shield group.
This builder.
Sets a technique that will be used to create text elements on subsequent calls to TextElementBuilder.build until the next call to this method.
The {@link @here/harp-datasource-protocol/Technique}.
This builder.
Aligns a TextElement's minZoomLevel and maxZoomLevel with values set in PoiInfo.
The TextElement whose zoom level ranges will be aligned.
Combines two render order numbers into a single one.
The most significative part of the render order.
The least significative part of the render order. It must be within the interval (-RENDER_ORDER_UP_BOUND, RENDER_ORDER_UP_BOUND).
The combined render order.
Generated using TypeDoc
Constructs TextElement objects from {@link @here/harp-datasource-protocol/Technique}, text, coordinates and optional icon.