On Fri, Jun 25, 2010 at 11:57 AM, Pedro Teixeira
<[email protected]> wrote:
>
> So what you're saying is that:
>
> from getLatitudeSpan() and getLongitudeSpan() I have the distance from
> top/bottom left/right of the part of the map being displayed in
> latitude/longitude values?
> So if I get a reference point, let's say the center. I can actually
> get the values from each corner right?

Yes, though there is a built-in Projection class in the Maps add-on
that can handle GeoPoint<->pixel conversions for you for the
currently-displayed map.

http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/Projection.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6
Available!

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

Reply via email to