add

external fun add(coord: Coordinates, index: Int = -1, part: Int = 0)

Add a new coordinate to the marker

Parameters

coord

The coordinate to be added

index

The position where the coordinate is added, default -1 ( append at the end )

part

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


fun add(latitude: Double, longitude: Double, index: Int = -1, part: Int = 0)

Add a new coordinate to the marker

Parameters

latitude

The coordinate's latitude to be added

longitude

The coordinate's longitude to be added

index

The position where the coordinate is added, default -1 ( append at the end )

part

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