Friday, June 25, 2010

Re: [android-developers] Re: Mapping (x,y) to (latitude,longitude)

I need the top/bottom/left/right bounds in latitude/longitude of the
part of the map a certain screen is seeing at that moment. The screen
can be from any device, I just want to certificate that the
information I'm going to pass through an algorithm that I did on the
server side of my application stays between those bounds, so I don't
send unnecessary information, since the user is not seeing it.

On Jun 25, 2010, at 8:10 PM, Frank Weiss wrote:

> Your results seem to indicate the documentation for Projection is
> incorrect.
>
> If you want the lat/lng bounds, why bother using Projection when you
> can use MapView.getMapCenter() and MapView.getLatitudeSpan(), etc.?
>
> Your original question seemed more general that just getting the
> lat/;lng bounds.
>
> --
> 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

www.pedroteixeira.org

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