tawfiqdawod / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

How to create overlayItem by click on map? #371

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello
I'm developing an android program with Osmdroid & custom map. I want that the 
users could click on map to add a point ( overlayItem ) and then forward to an 
other activiy. how can I push a pin on map by clicking on it? thanks.

Original issue reported on code.google.com by abtin.ta...@gmail.com on 27 Sep 2012 at 6:12

GoogleCodeExporter commented 8 years ago
You can have a look here: http://code.google.com/p/osmbonuspack

Implementation is done here:
http://code.google.com/p/osmbonuspack/source/browse/trunk/OSMBonusPack/src/org/o
smdroid/bonuspack/overlays/MapEventsOverlay.java

And this class is used here: 
http://code.google.com/p/osmbonuspack/source/browse/trunk/OSMBonusPackDemo/src/c
om/osmbonuspackdemo/MapActivity.java

Original comment by mathieu....@gmail.com on 8 Oct 2012 at 2:56

GoogleCodeExporter commented 8 years ago

Original comment by kurtzm...@gmail.com on 3 Jan 2013 at 7:53