AnsweredAssumed Answered

Converting coordinates to map point

Question asked by rsahukar on Feb 17, 2018
Latest reply on Feb 17, 2018 by ebader-esristaff

I am trying to build an android app which tracks the device movement and draws the track on the map. I am using the ARCGIS server as my base map. Now I want to convert the coordinates received from location update on my device to map point. I am using the following code to do it. But the converted point is showing someplace else.

Point point = GeometryEngine.project(location.getLatitude(),location.getLongitude(), mapView.getSpatialReference());

Can someone help?