We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50a5397 commit 35dbf0aCopy full SHA for 35dbf0a
src/openlayers/mapping/TileSuperMapRest.js
@@ -229,7 +229,8 @@ export class TileSuperMapRest extends ol.source.TileImage {
229
var resolution = me.tileGrid.getResolution(z);
230
var dpi = 96;
231
var unit = projection.getUnits() || Unit.DEGREE;
232
- if (unit === 'degrees') {
+ // OGC WKT 解析出单位是 degree
233
+ if (unit === 'degrees' || unit === 'degree') {
234
unit = Unit.DEGREE;
235
}
236
//通过wkt方式自定义坐标系的时候,是meter
0 commit comments