erikabruni73 / osmdroid

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

Make the compass overlay a standard osmdroid #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I really love the compass overlay that can be found in the samples part inside 
MyLocationOverlay.

Would it be possible to have that inside the available overlays of osmdroid? I 
think the compass only would be of interest to may apps.

Original issue reported on code.google.com by andrea.a...@gmail.com on 24 Mar 2011 at 11:22

GoogleCodeExporter commented 9 years ago
I think you are asking if you can display an overlay of just the compass. To do 
this, add the MyLocationOverlay overlay and call disableMyLocation() and 
enableCompass(). That will hide your location marker, but keep the compass on 
the screen.

Original comment by kurtzm...@gmail.com on 26 Mar 2011 at 2:18

GoogleCodeExporter commented 9 years ago

Original comment by kurtzm...@gmail.com on 26 Mar 2011 at 2:18

GoogleCodeExporter commented 9 years ago
Yes, that is exactly what I meant. But the class is not in the osmdroid distro 
jar. Obviously it is not problem copy it over. I was just saying that it would 
be nice to have it in the distro. Was just a thought.

Original comment by andrea.a...@gmail.com on 27 Mar 2011 at 8:40

GoogleCodeExporter commented 9 years ago
It should definitely be in there. The full name is

org.osmdroid.views.overlay.MyLocationOverlay

Original comment by kurtzm...@gmail.com on 27 Mar 2011 at 9:16

GoogleCodeExporter commented 9 years ago
Oh my God, I have to apologize, not sure why I was that much confused. Sorry 
for the noise. I would close the issue, but I am not allowed to. Thanks for 
guiding me through this bit of madness :)

Original comment by andrea.a...@gmail.com on 28 Mar 2011 at 6:52

GoogleCodeExporter commented 9 years ago
n/p

Original comment by kurtzm...@gmail.com on 29 Mar 2011 at 12:49