alidiepuit / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

Use new JAR library of osmdroid instead of including source code #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since now osmdroid can be used as a library by other project without having to 
copy osmdroid source code into the target project (see 
http://code.google.com/p/osmdroid/issues/detail?id=43 ).

It would be nice to switch the current osmtracker part that uses osmdroid code 
(OSM as background of the track) to use this library and remove any copied code 
from osmdroid.

Original issue reported on code.google.com by nguillau...@gmail.com on 10 Jul 2010 at 8:25

GoogleCodeExporter commented 9 years ago
Done in rev262.

I'm not sure, if we should use the "person" as marker or if we should switch 
back to the cross.
I didn't find any possibility to get the cross again without implementing our 
own MapOverlay.

best regrads
Matthias

Original comment by matthias...@gmail.com on 14 Dec 2010 at 8:57

GoogleCodeExporter commented 9 years ago
The person icon is a resource, so you can use whatever image you like.  There 
are also various possibilities for extending MyLocationOverlay or providing 
your own ResourceProxy.

Original comment by neilboyd on 15 Dec 2010 at 9:10

GoogleCodeExporter commented 9 years ago
Nice work ! I'm happy with the person icon for that matter, and it even have a 
nice shadow ;-)

Original comment by nicolas@guillaumin.me on 15 Dec 2010 at 10:04

GoogleCodeExporter commented 9 years ago
Ok, then I will mark this one as fixed.

If there will be the need to change something regarding layout, we'll need to 
open a new issue then.

@neilboyd:
thank you for the hint but the ResourceProxy won't help here, because it does 
not allow me to set an "image offset" and will then display the icon with a 
wrong offset. (the icon will be some pixel away from the real gps point)
Extending the MyLocationOverlay could do the trick but it's IMHO too much for 
just changing the icon to a cross. (and the person really is a nice icon :-) )

best regards
Matthias

Original comment by matthias...@gmail.com on 15 Dec 2010 at 6:40