Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[Bug] Fix low projection accuracy in higher zoom level (#946)

Shan Hec2f6b5787b24
diff --git a/src/layers/base-layer.js b/src/layers/base-layer.js
index 17a7ee4c1..d0c61b6fb 100644
--- a/src/layers/base-layer.js
+++ b/src/layers/base-layer.js
@@ -1051,7 +1051,7 @@ export default class Layer {
return {
id: this.id,
idx,
- coordinateSystem: COORDINATE_SYSTEM.LNGLAT_DEPRECATED,
+ coordinateSystem: COORDINATE_SYSTEM.LNGLAT,
pickable: true,
wrapLongitude: true,
parameters: {depthTest: Boolean(mapState.dragRotate || this.config.visConfig.enable3d)},
@@ -1069,7 +1069,7 @@ export default class Layer {
id: `${this.id}-hovered`,
pickable: false,
wrapLongitude: true,
- coordinateSystem: COORDINATE_SYSTEM.LNGLAT_DEPRECATED
+ coordinateSystem: COORDINATE_SYSTEM.LNGLAT
}
}
}