Constructs a LineString from the given source of a line
An identifier for the LineString
ReadonlyidId of the geometry
ProtectedrawSpatial Reference of the geometry
Returns the flavour of the geometry object. Useful for things like determining a valid symbology definition for the geometry.
Returns the number of contained points.
Returns an array of the contained lines formatted as API Point objects. A new array is returned each time this is called.
Returns the type of the geometry object.
ProtectedchildProtectedgeoReturns an array of point arrays (e.g. [[x1, y1], [x2, y2]] )
Will 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
StaticfromOptionalid: string | numberStaticfromOptionalid: string | numberStaticparse
Baseclass of all geometries. All geometry types must derive from this class. Not intented to be instantiated on its own.