I am using OSMdroid to show an offline map with user's current location.
1) PREFERRED - I would like to change the default icon showing current location to a custom icon. Also I need it to change its rotation based on bearing returned from GPS lets say every 5 seconds. The position of the icon should be in the center of the screen.
OR
2) possibility - rotating the map with custom current location icon fixed on the bottom of the screen.
Is there any way to do it in osmdroid?
Thanks.
Seems like I figured out the first possibility. I added a marker to the map which changes its position when onLocationChanged() is called. Also the map moves so the marker is in the center. Then I do marker.setRotation(bearing).