[OpenLayers-Trac] [OpenLayers] #3288: Adding vector layer to invisible map throw an error

OpenLayers trac-20090302 at openlayers.org
Tue May 3 16:08:26 EDT 2011


#3288: Adding vector layer to invisible map throw an error
----------------------+-----------------------------------------------------
 Reporter:  jlacroix  |       Owner:              
     Type:  feature   |      Status:  new         
 Priority:  minor     |   Milestone:  2.12 Release
Component:  Renderer  |     Version:  2.10        
 Keywords:            |       State:              
----------------------+-----------------------------------------------------
 Adding a vector layer to a map on an undisplayed element fail. I get an
 error in 2.10 and it was working in 2.7.

 After looking at the code it seems related to:
  #2414

 It's working with 2.7 and 2.8 and started to fail at 2.9.

 I'm not sure what's the right way to fix this. Fix getCurrentSize() or fix
 Renderer.js to validate if the size is valid.

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


More information about the Trac mailing list