On Thu, Jul 7, 2011 at 1:24 PM, Raghav Sood <raghavs...@gmail.com> wrote:

> I needed a custom graphic and text on the location point and the book I
> used said it was not possible with MyLocationOverlay.


I like this book less and less.

MyLocationOverlay is just another Overlay that handles the drawing of a dot,
radius, and getting location updates. If you need custom drawing, then you
can just override the draw() function, call super() to draw the default
location and radius, and then continue doing your own drawing for the text
and graphics.

Meanwhile you get the location update logic for free.

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