Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

CreateArcSegment
CreateCoordinateXY
CreateCoordinateXYM
CreateCoordinateXYZ
CreateCoordinateXYZM
CreateCurvePolygon
CreateCurveRing
CreateCurveString
CreateLinearRing
CreateLinearSegment
CreateLineString
CreateMultiCurvePolygon
CreateMultiCurveString
CreateMultiGeometry
CreateMultiLineString
CreateMultiPoint
CreateMultiPolygon
CreatePoint
CreatePolygon
MgGeometryFactory
virtual MgLineString* MgGeometryFactory::CreateLineString | ( | MgCoordinateCollection * | coordinates | ) | `[virtual]`
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.

Comments or suggestions? Send us feedback.