[OpenLayers-Trac] [OpenLayers] #1190: OpenLayers.Geometry.Linestring.removeComponents does'n remove all specified components
OpenLayers
trac at openlayers.org
Wed Dec 5 00:47:07 EST 2007
#1190: OpenLayers.Geometry.Linestring.removeComponents does'n remove all specified
components
---------------------------------+------------------------------------------
Reporter: openlayers | Owner:
Type: bug | Status: new
Priority: minor | Milestone:
Component: Geometry.Collection | Version: 2.5
Keywords: removeComponents |
---------------------------------+------------------------------------------
Trying to delete all Components from a LineString via:
this.geometry.removeComponents(this.geometry.components);
(called from a OpenLayers.Feature.Vector instance. geometry is the
LineString with 75 point components)
doesn't remove all the components, only half of them or so.
Yes, the last two components should not be deleted as in
OpenLayers.Geometry.Linestring.removeComponent
but that doesn't seem to be the problem.
Probably a bug in OpenLayers.Geometry.Collection.removeComponents
using: Firefox 2.0.0.10 on Suse Linux with OL 2.5
--
Ticket URL: <http://trac.openlayers.org/ticket/1190>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list