[OpenLayers-Trac] [OpenLayers] #2927: unnecessary requests when multiple layers added on map initialization

OpenLayers trac-20090302 at openlayers.org
Thu Nov 11 16:58:13 EST 2010


#2927: unnecessary requests when multiple layers added on map initialization
---------------------+------------------------------------------------------
 Reporter:  tschaub  |       Owner:              
     Type:  feature  |      Status:  new         
 Priority:  minor    |   Milestone:  2.11 Release
Component:  Map      |     Version:  2.10        
 Keywords:           |       State:              
---------------------+------------------------------------------------------
 Currently, when you create a map and add a batch of layers, if multiple
 layers have {{{isBaseLayer: true}}}, but only one has {{{visibility:
 true}}}, requests will go out for tiles in the first layer of the list
 even if {{{visibility: false}}}.

 We should better handle map initialization with multiple layers where the
 first layer is not intended to be visible.

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


More information about the Trac mailing list