Select to view content in your preferred language

ArcGIS Android - Get LatLon position of the graphic

7079
10
Jump to solution
04-24-2014 01:38 PM
UmaraniPandian
Occasional Contributor
I'm adding marker to my map using the following code:

mvHelper.addMarkerGraphic(Double.parseDouble(friendData.getLatitude()), Double.parseDouble(friendData.getLongitude()), friendData.getFriendName(), friendData.getStatus(), null, icon, false,                 0);

This is my listener:
mvHelper.setOnGraphicClickListener(new OnGraphicClickListener() {         @Override         public void onGraphicClick(Graphic graphic) {             Log.d("MVHELPER GRAPHIC LISTENER TAG",graphic.toString());         }     });

I'm trying to get the lat long position of the clicked marker. But the listener doesn't provide it. How can I get the position?
0 Kudos
10 Replies
UmaraniPandian
Occasional Contributor
Hi Dan,

    Thanks for the reply. The issue is solved now. I have accepted the answer.
0 Kudos