update

external fun update(coord: Coordinates, index: Int, part: Int = 0)

Update a coordinate in the marker

Parameters

coord

The new coordinate value

part

The marker part index to which the function applies, default 0 ( first part )


fun update(latitude: Double, longitude: Double, index: Int, part: Int = 0)

Updates a coordinate

Parameters

latitude

The coordinate's latitude to be added

longitude

The coordinate's longitude to be added

index

The position of the updated coordinate

part

The marker part index to which the function applies, default 0 ( first part )