How to get screen coordinates from marker in google maps v2 android
Yes, use Projection class. More specifically: Get Projection of the map: Projection projection = map.getProjection(); Get location of your marker: LatLng markerLocation = marker.getPosition(); Pass location to the Projection.toScreenLocation() method: Point screenPosition = projection.toScreenLocation(markerLocation); That’s all. Now screenPosition will contain the position of the marker relative to the top-left corner of the whole Map container … Read more