Skip to content

Commit c66ac63

Browse files
committed
fix 比例尺算法 UT
1 parent 888b7ce commit c66ac63

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/iclient9-leaflet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65278,7 +65278,7 @@ var TileVectorLayer = exports.TileVectorLayer = _VectorGrid.VectorGrid.extend({
6527865278
mapUnit = code && code >= 4000 && code <= 5000 ? _iclientCommon.Unit.DEGREE : _iclientCommon.Unit.METER;
6527965279
}
6528065280
}
65281-
return Util.resolutionToScale(resolution, 95.89, mapUnit);
65281+
return Util.resolutionToScale(resolution, 96, mapUnit);
6528265282
}
6528365283
},
6528465284

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/leaflet/overlay/TileVectorLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export var TileVectorLayer = VectorGrid.extend({
349349
mapUnit = code && code >= 4000 && code <= 5000 ? Unit.DEGREE : Unit.METER;
350350
}
351351
}
352-
return Util.resolutionToScale(resolution, 95.89, mapUnit);
352+
return Util.resolutionToScale(resolution, 96, mapUnit);
353353
}
354354
},
355355

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy