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 fromSummary
OpenLayers. Geometry. LineStringCreate a new LineString geometry Parameters
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 )