Skip to content

Commit

Permalink
[BUGFIX] Print scale order is ASC when no external basemap defined
Browse files Browse the repository at this point in the history
Fixes #111
  • Loading branch information
rldhont committed Feb 10, 2015
1 parent 58c5e55 commit bcbdeba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lizmap/www/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2036,6 +2036,8 @@ var lizMap = function() {
$('#togglePrint').parent().remove();
return false;
}
if ( scales[0] < scales[scales.length-1] )
scales.reverse();

var scaleOptions = '';
for( var i=0, len=scales.length; i<len; i++ ){
Expand Down

0 comments on commit bcbdeba

Please sign in to comment.