File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,13 +147,13 @@ export var CRS = L.Class.extend({
147147 this . _scales = this . _toProj4Scales ( this . options . scales ) ;
148148 } else if ( this . options . scaleDenominators && this . options . scaleDenominators . length > 0 ) {
149149 var scales = [ ] ;
150- for ( var i = 0 ; i < this . options . scaleDenominators . length ; i ++ ) {
150+ for ( let i = 0 ; i < this . options . scaleDenominators . length ; i ++ ) {
151151 scales [ i ] = 1 / this . options . scaleDenominators [ i ] ;
152152 }
153153 this . _scales = this . _toProj4Scales ( scales ) ;
154154 } else if ( this . options . resolutions && this . options . resolutions . length > 0 ) {
155155 this . _scales = [ ] ;
156- for ( var i = this . options . resolutions . length - 1 ; i >= 0 ; i -- ) {
156+ for ( let i = this . options . resolutions . length - 1 ; i >= 0 ; i -- ) {
157157 if ( this . options . resolutions [ i ] ) {
158158 this . _scales [ i ] = 1 / this . options . resolutions [ i ] ;
159159 }
You can’t perform that action at this time.
0 commit comments