Hi Machete, would you share the idea, I just read your post, need similar technique of have a image screen shot of lat/long,,, thanks in advance
On Wednesday, January 26, 2011 6:50:26 PM UTC+5, Machete wrote: > > Hi Hari and Treking, thanks for the msgs, I get the idea, I will try > to do it and post here the code. > > > thanks > > > On Jan 14, 8:03 pm, TreKing <[email protected]> wrote: > > On Fri, Jan 14, 2011 at 1:51 PM, Hari Edo <[email protected]> wrote: > > > (1) there's no way to know the X Y on the screen from the > > > latitude and longitude, > > > > Sure there is - it's whatever you want it to be. > > > > If you have an aerial view picture that's some given size (SX by SY) > then > > the Lat / long of the top lef correspond to [0, 0] and the Lat / long of > the > > bottom right corresponds to [SX, SY]. From there simple math will let > your > > correlate a given lat / long pair to a relative x/y screen location > given > > your min and max lat and long bounds defined by your image. > > > > This of course assumes you're not zooming in and out. > > > > > --------------------------------------------------------------------------- > ---------------------- > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > > transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

