For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Function fromLineString
-
Parameters
- ls: LineString
A GeoJSON LineStriung feature
Optionaloptions: ElevationBatchOptionsOptions
Returns Promise<LineString>
- ls: LineString
Creates a clone of a GeoJSON LineString (deep copy with structuredClone) that contains the computed elevation as the third element of each position array ([lng, lat, alt])