I placed succesfully many marker on the my Map Activity in my Android APP.
The problem is that when zoom is low (i see an entire country on the screen) i see that the marker is not aligned at all to the set position. i mean that the marker, at low zoom level, seems to be placed 50-100km away from that point.
My marker is a simple drawable icon that have an upside TRIANGLE in the center, so the lower corner of the icon (that is placed in the real bottom-center of the icon) should be exactly placed on the GPS coords i set for the marker. Instead it seems that the aligned point is the bottom-left corner of the icon…
how to set marker-icon alignment?
Found the solution myself.
i was using standard Overlay inherited class.
i modified the instruction in the overrided draw function: