adding Overlay to a MapView in osmdroid

Abdalwhab Bakheet picture Abdalwhab Bakheet · Apr 25, 2012 · Viewed 16.9k times · Source

I am writing a simple android application using osmdroid that work online an offline untill now I am able to display the map (online and offline), and I want to add overlay (markers) on the map, I had search for simple example for using overlay in osmdroid and I tried some of them but they didn't work, so I want any example for adding overlay or marcker using osmdroid

Answer

Martin Pearman picture Martin Pearman · Apr 26, 2012

Look at the ItemizedIconOverlay class.

There's a few examples on the internet if you search, an example has been posted on Stack Overflow here: Adding Overylay to OSMDROID