On Mon, Sep 13, 2010 at 9:51 AM, dadada <[email protected]> wrote:

> i mean some graphical arrow that i can draw on top of the map.
> it will stay on top irregardless of zoom level.
> the direction arrow will show the bearing to my destination.
> then should it be the Overlay class?
>

You could add an Overlay (not MyLocationOverlay), and do custom drawing to
draw an arrow bitmap oriented as necessary (the rotation is simple trig math
given two points).

You could also add an ImageView to the MapView, again rotating it as
necessary.

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

Reply via email to