[OpenLayers-Users] OpenLayers2 and [destroy|remove]Features problem
TomS - OSGeoUser
topm-osgeo at tomsaul.com
Thu Aug 20 17:44:35 PDT 2020
We have been using OL2 in a project (no, we can't update), and I just
noticed a problem. The overall environmet is fairly complex, so there
might be other components/libraries contributing. I suspect this is the
result of changes in the platform (browser/OS), but I'm not certain - it
used to work (long ago), and therehave been very few relevant changes to
the application code/libraries. The issue is in altering a Vector
layer. Our application allows features (points, lines, polygons) to be
added to a base map. In the past the user has been able to then select
and delete the features. What is happening now is that they can do the
selection and delete once, but at that point the coordinates on the map
stop updating, and no other selection actions can occur (I suspect it is
triggering, but the cursor coordinates never change). I have tested now
using both removeFeatures and destroyFeatures (and removeAllFeatures)
with the same result. The problem exists on Windows using FireFox and
Chrome.
Before I spend any more time trying to create a simplified test case,
can anyone else confirm this behavior, or do you have any ideas on what
might be happening?
PS. The Nabble search of this mailing list is not working.
More information about the Users
mailing list