Skip to content

Commit

Permalink
[BUGFIX] cherry-picking
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Dec 31, 2014
1 parent 4c84904 commit c55fe39
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lizmap/www/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -1898,14 +1898,6 @@ var lizMap = function() {
}

function getPrintScale( aScales ) {
<<<<<<< HEAD
var scale = map.getScale();
var scaleIdx = aScales.indexOf( scale );
if ( scaleIdx == -1 ) {
var s=0, slen=aScales.length;
while ( scaleIdx == -1 && s<slen ) {
if ( scale > aScales[s] )
=======
var newScales = [];
for ( var i=0, len = aScales.length; i<len; i++ ) {
newScales.push( parseFloat(aScales[i]) );
Expand Down

0 comments on commit c55fe39

Please sign in to comment.