Hello. I have a problem with MapView and getting bounds of visible map
area (in geographical units).

I am aware that I have to get this value when map is drawn, I am
reading them in a different thread, after map is drawn.

The problem is that at certain zoom point and map position,
getLatitudeSpan() method returns 0. To get this you can try zooiming
map and then srolling it to the top (the half of the screen will be
white then, the rest is an actual map).I thought that I will get
latitudeSpan, longitudeSpan, center point and simply calculate bounds,
but since latitudeSpan is 0 I will get the same top and bottom
coordinates,

I also tried with getProjection.from(x,y) method to get coordinates of
top and bottom of the screen and that substract them. But here is
similiar situation. For (0,0) point it returns latitude 80, for (0,
getHeight()) it also returns latitude 80.In fact there are different
latitudes.

I would appreciate any help.
Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to