lineStringOf

fun lineStringOf(vararg coordinates: Position): LineString(source)

Creates a LineString from multiple Position objects.

Return

A LineString containing the specified positions.

Parameters

coordinates

The positions to include in the line string.

Throws

if fewer than two positions are provided.