[OpenLayers-Trac] [OpenLayers] #3332: BBOX upload on zoom resets
feature.state
OpenLayers
trac-20090302 at openlayers.org
Mon May 30 12:00:27 EDT 2011
#3332: BBOX upload on zoom resets feature.state
---------------------------+------------------------------------------------
Reporter: mno | Owner: tschaub
Type: bug | Status: new
Priority: minor | Milestone:
Component: Strategy.BBOX | Version: 2.10
Keywords: | State:
---------------------------+------------------------------------------------
After changing zoom level (which triggers uploading additional features)
features with state UPDATE or DELETE have their state reset to null.
If I understand correctly Styles/BBOX.js has function merge. Comment to
this function says "Given a list of features, determine which ones to add
to the layer.", but in the first line We got this code:
this.layer.destroyFeatures();
which cuts all features from layer (including items with UPDATE/DELETE
state).
--
Ticket URL: <http://trac.openlayers.org/ticket/3332>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list