TopLeft & Bottom right longitude and lattitude value of MapView in Android SDK
<p>I am implementing a map based Android application. In that I am trying to get display the pins at TopLeft and Bottom right. The following is my code that I tried. But I am not able to display it. Can you please suggest a way to get these cordinate.</p>

<pre><code>public GeoPoint topLeft(GeoPoint mapCenter, int latspan, int langspan) {
 int lat = (mapCenter.getLatitudeE6()) + (latspan/2);
 int lang = (mapCenter.getLongitudeE6()) - (langspan/2);
 return new GeoPoint(lat, lang);
}

public GeoPoint bottomRight(GeoPoint mapCenter, int latspan, int langspan) {
 int lat = (mapCenter.getLatitudeE6()) - (latspan/2);
 int lang = (mapCenter.getLongitudeE6()) + (langspan/2);
 return new GeoPoint(lat, lang);
}
</code></pre>
