Function fromLineString
Parameters
- ls: LineString
A GeoJSON LineStriung feature
Optionaloptions: ElevationBatchOptionsOptions
Returns Promise<LineString>
- ls: LineString
Was this helpful?
A GeoJSON LineStriung feature
Optionaloptions: ElevationBatchOptionsOptions
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])