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 <treking...@gmail.com> wrote:
> On Fri, Jan 14, 2011 at 1:51 PM, Hari Edo <hari....@gmail.com> 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 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