[android-developers] Re: Get latitude longitude of center of MapView
*-- On Mon, 6/7/09, numan numan@gmail.com wrote: hello my friend how are u latest sexy summer fashion hot fashion videos visit my websitehttp://www.fashioninfokit.com/* --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Get latitude longitude of center of MapView
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 -~--~~~~--~~--~--~---
[android-developers] Re: Get latitude longitude of center of MapView
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 -~--~~~~--~~--~--~---
[android-developers] Re: Get latitude longitude of center of MapView
mymap.getProjection().fromPixels(x, y) 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! -- Regards, Sujay H. L. Mencken http://www.brainyquote.com/quotes/authors/h/h_l_mencken.html - Nobody ever went broke underestimating the taste of the American public. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Get latitude longitude of center of MapView
Great, thanks for the help. I'll try it later. On Jun 5, 1:07 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: mymap.getProjection().fromPixels(x, y) 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! -- Regards, Sujay H. L. Mencken http://www.brainyquote.com/quotes/authors/h/h_l_mencken.html - Nobody ever went broke underestimating the taste of the American public. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Get latitude longitude of center of MapView
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 -~--~~~~--~~--~--~---