[OpenLayers-Trac] Re: [OpenLayers] #3597: OpenLayers.Layer.WMS options - id field

OpenLayers trac-20090302 at openlayers.org
Tue Dec 13 01:31:58 EST 2011


#3597: OpenLayers.Layer.WMS options - id field
------------------------+---------------------------------------------------
  Reporter:  fvigetti   |       Owner:  euzuro      
      Type:  bug        |      Status:  closed      
  Priority:  blocker    |   Milestone:  2.11 Release
 Component:  Layer.WMS  |     Version:  2.11        
Resolution:  invalid    |    Keywords:  options     
     State:  Commit     |  
------------------------+---------------------------------------------------
Changes (by erilem):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Don't rely on id. Give a name to the layer and use map.getLayersByName.
 (When an id is passed the Layer constructor doesn't create a div for the
 layer. I can actually not  make sense of that.)

 Also, please ask questions on the mailing list instead of creating
 tickets. Tickets are for actual bug reports and requests for enhancement.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3597#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list