Claculate the area currently displayed by the Android MapView?

There are a couple ways to do this: One, use MapView.getProjection(), which allows you to convert between screen coordinates and GeoPoints. Two, use a combination of MapView.getMapCenter(), MapView.getLatitudeSpan(), and MapView. GetLongitudeSpan() and do a little bit of math.

The first option sounds better in your case, but your mileage may vary. Either way, the MapView doc is located in full here.

Using mapview.getTop(), mapview.getBottom(), mapview.getLeft(), mapview.getRight() to get position of edge of mapview. Then using mapView.getProjection(). FromPixels(x, y); to get coordinates.

When you got that corrdinates, store it in database, and querry them is simple.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions