API / geotoolkit / map / features / adapters / AlongPath / AlongPath
Looks for a geometry point that is not overlapping with other labels (NoAnnotationOverlap filter) and applies it to Text as an anchor to render shape along the path
Constructors
Methods
▸ apply(geometry, text, context?): void
Appliess saved point of polyline to Text as an anchor
| Name | Type | Description |
|---|---|---|
geometry | Geometry | Geometry | feature geometry |
text | AnchoredShape | text shape to set the anchor on |
Optional context | Transformation | RenderingContext | rendering context or its transformation |
void
▸ getClassName(): string
string
▸ setOptions(options): AlongPath
Sets feature_geometry-to-text_anchor_position offset options. For the new options to take effect on layer, the layer has to be invalidated.
| Name | Type | Description |
|---|---|---|
options | Offset | options |
this
▸ Static getClassName(): string
string