Constructs a LinearRing from the given source of a line. Will close the line if it's not already closed
An identifier for the LineString
Id of the geometry
Id of the geometry
Readonly
idId of the geometry
Protected
rawSpatial Reference of the geometry
Returns the number of contained points.
Returns the string 'LinearRing'.
Protected
childProtected
geoWill update the n-th contained point with the values of the point parameter. It is assumed the point is in the same spatial reference as the Multipoint
Static
closeWill inspect an array of verticies. If the last vertex is different than the first vertex, will add a copy of the first vertex to the end, thus closing the line. The array parameter will be modified
An array of 2-element arrays of verticies.
Static
fromESRIOptional
id: string | numberStatic
fromOptional
id: string | numberStatic
parse
Baseclass of all geometries. All geometry types must derive from this class. Not intented to be instantiated on its own.