OpenLayers JavaScript Mapping Library |
OpenLayers. Geometry. LineStringA LineString is a Curve which, once two points have been added to it, can never be less than two points long. Inherits from
Summary
OpenLayers. Geometry. LineStringCreate a new LineString geometry Parameters
Return{OpenLayers.Geometry.Point} A new Point geometry removeComponent
Only allows removal of a point if there are three or more points in the linestring. (otherwise the result would be just a single point) Parameters
|
Only allows removal of a point if there are three or more points in the linestring.
removeComponent: function( point )