- Preparing search index...
- The search index is not available
xyz:three.js
Methods
createLayoutStyle
- createLayoutStyle(tile, technique): TextLayoutStyle
-
Parameters
-
-
technique: PoiTechnique | LineMarkerTechnique | TextTechnique
Returns TextLayoutStyle
createRenderStyle
- createRenderStyle(tile, technique): TextRenderStyle
-
Parameters
-
-
technique: PoiTechnique | LineMarkerTechnique | TextTechnique
Returns TextRenderStyle
updateTextCanvases
- updateTextCanvases(textCanvases): void
-
Returns void
updateTextStyles
- updateTextStyles(textStyleDefinitions?, defaultTextStyleDefinition?): void
-
Parameters
-
Optional
textStyleDefinitions: TextStyleDefinition[]
-
Optional
defaultTextStyleDefinition: TextStyleDefinition
Returns void
Create the appropriate @xyzmaps/harp-text-canvas#TextLayoutStyle to use for a label. Depends heavily on the label's [[Technique]] and the current zoomLevel.