2

I am working on one application which is related to Google map. I am a beginner in Google map.

I want to do an application which shows a Pin at my Current location. When I click on that pin it shows the dialog which contain my current address. "Pin is movable". When I move the pin from one location to other on Google map the dialog box show the address of that location.

So please give me idea or reference site.

Bo Persson
  • 90,663
  • 31
  • 146
  • 203
Prashant Kadam
  • 551
  • 1
  • 12
  • 25

1 Answers1

5

Here is a sample project showing one way to drag-and-drop of OverlayItems in an ItemizedOverlay.

You can try to use the Geocoder class to get an address given a latitude and longitude.

Note that your project is more advanced than what I would recommend for "a beginner in Google map".

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • @CommonsWare I am having Map in ScrollView=>LinearLayout=>MapView. Now on setDragImagePosition(x, y) pointer goes away from drop location. – sunil gautam Feb 13 '13 at 09:48