I am currently tasked with converting the Google Android v1 application to the Google Android Maps V2 application. This process is not pleasant (thanks google).
My problem is that in the previous application, they used a small small Google Android Maps v1 method called meterToEquatorPixels , which you could get from the map map.ie projection
int px =(int) (mapProjection.metersToEquatorPixels(radiusInMeters) * (1 / Math.cos(Math.toRadians(latitudeActual))));
However, in Google Android maps V2 there is no such method that I could find. Can someone tell me where it is, or what suitable replacement could be?
source
share