Home > @magiclane/maps-sdk > Marker > add
Marker.add() method
Add a new coordinate to the marker.
Signature:
add(coord: Coordinates, input?: {
index?: number;
part?: number;
}): void;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
coord |
The coordinate to be added | |
|
{ index, part } |
(not declared) |
(Optional) |
|
input |
{ index?: number; part?: number; } |
(Optional) |
input properties:
- Optional index?: number
- Optional part?: number
Returns:
void