so if u r usin the google map api, then u cud use the
mapView.getProjection().fromPixels(x, y)...
where mapView is the instance of com.google.android.maps.MapView...


On Fri, Jun 5, 2009 at 5:33 PM, mscwd01 <mscw...@gmail.com> wrote:

>
> Ok that sounds great but how would one do this? ;) What projection
> functions do you speak of?
>
> On Jun 5, 1:00 pm, Saurav Mukherjee <to.saurav.mukher...@gmail.com>
> wrote:
> > if u r using the google api, then jus project the point
> > screenwidth/2,screenHeight/2 using the projection functions.
> > if u r doin a "tile download and display" on screen then do the maths...
> ;)
> >
> > On Fri, Jun 5, 2009 at 5:21 PM, mscwd01 <mscw...@gmail.com> wrote:
> >
> > > Hi
> >
> > > How would one get the latitude/longitude of the point which resides in
> > > the center of a MapView?
> >
> > > I want to obtain the lat/lon each time the user pans/moves the map.
> >
> > > Ideally, I want to find the lat/lon of the points on the map in the
> > > bottom left and top right of the screen.
> >
> > > Thanks for your help!
> >
>

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