AnsweredAssumed Answered

Unable to map my latitude and longitude to correct location

Question asked by azia341 on Nov 4, 2019
Latest reply on Nov 5, 2019 by azia341

Hello team esri.

I am using arcgis-runtime library 100.4.0 on android and I have tried several ways to map my marker on the points.

Point point = (Point) GeometryEngine.project(new Point(x, y), SpatialReference.create(102739));
Point point = new Point(x, y, SpatialReference.create(102739));
Point point = new Point(x, y);
and finally I am doing this:
graphicsOverlay.getGraphics().add(graphic);
graphicIds.add(position);

The value I am getting from point = Point: [38.915019, -77.009938, 0.000000, NaN] SR: 102739

but all are pointing to invalid coordinates.

Testing on device Samsung S9. Target sdk 28 and min sdk 24.

Thanks.

Outcomes