Friday, June 25, 2010

Re: [android-developers] MapView getLatitudeSpan

PS:  Using this to get the display size

Display display = getWindowManager().getDefaultDisplay(); 
int width = display.getWidth();
int height = display.getHeight();

On Jun 25, 2010, at 7:27 PM, Frank Weiss wrote:

If it returns zero, then either it's a bug or a race condition (you're
calling getLatitudeSpan() before the map view is ready). I recommend
to verify those possibilities before applying a work around.

--
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

Pedro Teixeira


No comments:

Post a Comment