MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Creates a line string from a collection of coordinates.

.NET Syntax
virtual MgLineString CreateLineString(MgCoordinateCollection coordinates);
Java Syntax
virtual MgLineString CreateLineString(MgCoordinateCollection coordinates);
PHP Syntax
virtual MgLineString CreateLineString(MgCoordinateCollection coordinates);
Parameters:
coordinates(MgCoordinateCollection) An MgCoordinateCollection that specifies the coordinates of the line string. The collection must contain at least two coordinates.
Returns:
An instance of MgLineString.