Home > @magiclane/maps-sdk > Path > cloneStartEnd
Path.cloneStartEnd() method
Clone path from the given coordinates.
Set start = end to create a circuit track.
Signature:
cloneStartEnd(start: Coordinates, end: Coordinates): Path;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
start |
The start coordinates | |
|
end |
Field coordinates |
Returns:
The cloned path