[OpenLayers-Trac] [OpenLayers] #3295: Duplicate layers when adding GML layers

OpenLayers trac-20090302 at openlayers.org
Mon May 9 18:13:04 EDT 2011


#3295: Duplicate layers when adding GML layers
------------------------+---------------------------------------------------
 Reporter:  Scott07     |       Owner:  tschaub     
     Type:  bug         |      Status:  new         
 Priority:  major       |   Milestone:  2.10 Release
Component:  Format.GML  |     Version:  2.10        
 Keywords:              |       State:  Review      
------------------------+---------------------------------------------------
 When you add a GML layer programmatic after the map has been created (in
 this instance from a GPX file loaded from the server) the layer shows
 correctly.  However when you zoom in the original path of the layer
 remains shown on the map and the new path of the layer is also drawn.
 When you zoom in again the path the layer took from both previous times is
 shown, so when you have zoomed in 5/6 times the map is plastered in many
 lines from the GPX file.

 I have tested this in firefox 3 and 4 and its consistently reproducible.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3295>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list