Adds a path to the map.
Array of coordinates (Coordinate) to form the path.
Optional
options: TAddPathOptionsOptional additional option
// Add a red path to the map
map.Paths.add(coordinate, { color: '#ff0000' });
Removes a specific path from the map.
The path to be removed.
map.Paths.remove(path);
Removes all paths from the map.
map.Paths.removeAll();
Interface defining the controls and actions for paths (Path) on the map.