0

I want to get location after I dragged the marker on google map and pop up in toast.Anyone has solution for this?

K.Sopheak
  • 22,904
  • 4
  • 33
  • 78

1 Answers1

3

You can use a GoogleMap.OnMarkerDragListener. From the documentation:

public abstract void onMarkerDragEnd (Marker marker)

Called when a marker has finished being dragged. The marker's location can be accessed via getPosition().

Community
  • 1
  • 1
antonio
  • 18,044
  • 4
  • 45
  • 61