I’m working on osmdroid, and trying to do something very simple, that i used to do on another map framework, but i can’t find how to do it on OSMdroid.
I want to put a marker somewhere on the map, on a GeoPoint. Up to this, it’s easy. But i also want the center of the marker pic to be on the susmentioned geopoint.
With my code, right now, the geopoint is at the left bottom corner of the image.
How to do that?
OK, I found it. So I’m answering my question in case somebody has the same problem.
I tried first your idea woodstock, but i failed to find a boundCenter Method.
So in order to make the GeoPoint the center of the drawable, you just need to do that: