diff --git a/src/proj4leaflet.js b/src/proj4leaflet.js index 498111d..e19baeb 100644 --- a/src/proj4leaflet.js +++ b/src/proj4leaflet.js @@ -121,7 +121,7 @@ nextScale = this._scales[iZoom + 1]; scaleDiff = nextScale - baseScale; zDiff = (zoom - iZoom); - return baseScale + scaleDiff * Math.pow(zDiff, nextScale / baseScale); + return baseScale + scaleDiff * zDiff; } }, });