[OpenLayers-Trac] Re: [OpenLayers] #3449: WMSCapabilities format may fail to correctly read BoundingBox of layers

OpenLayers trac-20090302 at openlayers.org
Fri Aug 5 08:14:18 EDT 2011


#3449: WMSCapabilities format may fail to correctly read BoundingBox of layers
------------------------------------+---------------------------------------
 Reporter:  erilem                  |       Owner:  tschaub     
     Type:  bug                     |      Status:  new         
 Priority:  major                   |   Milestone:  2.12 Release
Component:  Format.WMSCapabilities  |     Version:  SVN         
 Keywords:                          |       State:  Commit      
------------------------------------+---------------------------------------
Changes (by fredj):

  * state:  Review => Commit


Comment:

 while you're tuning the for loop, can you please change:
 {{{
 var key, j;
 for (j=0; j<attributes.length; j++) {
 }}}
 to:
 {{{
 var key, j, len;
 for (j = 0, len = attributes.length; j < len; j++) {
 }}}
 to match our wiki:"CodingStandards"

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


More information about the Trac mailing list