OpenLayers OpenLayers

Changeset 1527

Show
Ignore:
Timestamp:
10/02/06 18:00:13 (2 years ago)
Author:
euzuro
Message:

fix for r1478, #190 - need to specify a sort method. thanks to http://www.javascriptkit.com/javatutors/arraysort3.shtml

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Layer.js

    r1511 r1527  
    323323            }     
    324324        } 
     325 
     326        this.resolutions.sort( function ascend(a,b) {  
     327                                   return(b-a); 
     328                               }); 
    325329    }, 
    326330