Home > @magiclane/maps-sdk > Path
Path class
Represents a path object.
Core
Signature:
export declare class Path Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
Get path rectangle. | ||
|
|
Get read-only access to the internal coordinates list. | ||
|
string |
Get path name. | ||
|
|
number | bigint | ||
|
|
number[] |
Get read-only access to the internal waypoint list. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Clone reverse order path. Does not change the original path. | ||
|
Clone path from the given coordinates. Set start = end to create a circuit track. | ||
|
|
Create a path from a data buffer of a given format. | |
|
Export path coordinates in the requested data format. | ||
|
|
Create a path from a list of coordinates. | |
|
|
Create a path from list of coordinates and waypoints. | |
|
|
Get a coordinate along the path given by a fraction of the path length between 0.0 (departure point) and 1.0 (destination). | |
|
Create a new landmark list from a path. |