We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a12999 commit cd6f50aCopy full SHA for cd6f50a
src/main/java/com/esri/samples/geometry/project/ProjectSample.java
@@ -89,7 +89,7 @@ public void start(Stage stage) {
89
Point originalPoint = mapView.screenToLocation(point2D);
90
inputPointGraphic.setGeometry(originalPoint);
91
// project the web mercator point to WGS84 (WKID 4326)
92
- Point projectedPoint = (Point) GeometryEngine.project(originalPoint, SpatialReference.create(4236));
+ Point projectedPoint = (Point) GeometryEngine.project(originalPoint, SpatialReferences.getWgs84());
93
// show the original and projected point coordinates in a callout from the graphic
94
Callout callout = mapView.getCallout();
95
callout.setTitle("Coordinates");
0 commit comments