static/main.js
function bracketDevicePixelRatio() {
      var i, scale,
        brackets = [ 1, 1.3, 1.5, 2, 2.6, 3 ],
        baseRatio = window.devicePixelRatio || 1;

      for ( i = 0; i < brackets.length; i++ ) {
        scale = brackets[ i ];

        if ( scale >= baseRatio || ( baseRatio - scale ) < 0.1 ) {
          return scale;
        }
      }
      return brackets[ brackets.length - 1 ];
    }
function bracketDevicePixelRatio() {
      var i, scale,
        brackets = [ 1, 1.3, 1.5, 2, 2.6, 3 ],
        baseRatio = window.devicePixelRatio || 1;

      for ( i = 0; i < brackets.length; i++ ) {
        scale = brackets[ i ];

        if ( scale >= baseRatio || ( baseRatio - scale ) < 0.1 ) {
          return scale;
        }
      }
      return brackets[ brackets.length - 1 ];
    }
function bracketDevicePixelRatio ( ) { var i , scale , brackets = [ 1 , 1.3 , 1.5 , 2 , 2.6 , 3 ] , baseRatio = window . devicePixelRatio || 1 ; for ( i = 0 ; i < brackets . length ; i ++ ) { scale = brackets [ i ] ; if ( scale >= baseRatio || ( baseRatio - scale ) < 0.1 ) { return scale ; } } return brackets [ brackets . length - 1 ] ; }
eslint-disable-line func-names Allow user to change style via the ?s=xxx URL parameter Uses "osm-intl" as the default style
eslint - disable - line func - names Allow user to change style via the ?s = xxx URL parameter Uses osm - intl as the default style