On Sat, Jun 26, 2010 at 4:53 AM, ENSI <nouha.khyari@gmail.com> wrote:
as i'm working on a google map application,i would like to use an arrow as a marker that should be oriented to another marker (destination).
is there any suggestion?
Get an image of an arrow.
Do the math to figure out the orientation from it's location to another.
Rotate the image.
Draw the image.
i've read that i can use a compass and then use its direction,using many markers for each
direction.
That doesn't really make sense.
should i then custum my own compass or is there any pack com.google
that offer a compassView?
There's no need for a compass. This should be fairly trivial math.
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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