Home > @magiclane/maps-sdk > Marker > update

Marker.update() method

Update a coordinate in the marker.

Signature:

update(coord: Coordinates, index: number, input?: {
        part?: number;
    }): void;

Parameters

Parameter

Type

Description

coord

Coordinates

The new coordinate value

index

number

The position of the updated coordinate

{ part }

(not declared)

(Optional)

input

{ part?: number; }

(Optional)

Returns:

void