Skip to content

Commit 107522f

Browse files
committed
rename to positionInMeters
1 parent a3c2413 commit 107522f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/engine/Source/Scene/GetFeatureInfoFormat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ function geoJsonToFeatureInfo(json, projection) {
9393
if (!defined(projection) || projection instanceof GeographicProjection) {
9494
featureInfo.position = Cartographic.fromDegrees(x, y);
9595
} else {
96-
const mercatorPosition = new Cartesian3(x, y, 0);
96+
const positionInMeters = new Cartesian3(x, y, 0);
9797
const cartographic = new Cartographic();
98-
projection.unproject(mercatorPosition, cartographic);
98+
projection.unproject(positionInMeters, cartographic);
9999
featureInfo.position = cartographic;
100100
}
101101
}

0 commit comments

Comments
 (0)