Skip to content

Commit db57a24

Browse files
committed
[bug] 修复ol webmap 京津WMTS偏移问题
review yuzhiy
1 parent 9a7406e commit db57a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ export class WebMap extends Observable {
15181518
getReslutionsFromScales(scales, dpi, unit, datumAxis) {
15191519
unit = (unit && unit.toLowerCase()) || 'degrees';
15201520
dpi = dpi || dpiConfig.iServerWMTS;
1521-
datumAxis = datumAxis || 6370997;
1521+
datumAxis = datumAxis || 6378137;
15221522
let res = [],
15231523
matrixIds = [];
15241524
//给个默认的

0 commit comments

Comments
 (0)