[OpenLayers-Trac] [OpenLayers] #797: Make Layer's getExtent() Safer

OpenLayers trac at openlayers.org
Tue Jul 3 16:09:47 EDT 2007


#797: Make Layer's getExtent() Safer
---------------------+------------------------------------------------------
 Reporter:  euzuro   |       Owner:             
     Type:  feature  |      Status:  new        
 Priority:  minor    |   Milestone:  2.5 Release
Component:  Layer    |     Version:  2.4        
 Keywords:           |  
---------------------+------------------------------------------------------
 If layer has not yet been added to the map, then getExtent() will cause a
 script error.

 This seems like something we can avoid.

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


More information about the Trac mailing list