Friday, June 25, 2010

[android-developers] MapView getLatitudeSpan

Has anyone figured out how to duplicate the getLatitudeSpan results when
it returns zero?

My assumption is that I can figure out a formula to get the equivalent
result to getLatitudeSpan (and longitude), by testing it for zero, and
if it's zero, use a formula based on mapView.getMapCenter() and using
the Zoom . It can't be that tough a formula, but I was wondering if
anyone else has already done it, and are willing to share the info, or
maybe knows an easier way?

--
Sincerely,

Brad Gies
-----------------------------------------------------------------------
Bistro Bot - Bistro Blurb
http://www.bgies.com
http://www.bistroblurb.com
http://www.ihottonight.com
-----------------------------------------------------------------------

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment