I needed a custom graphic and text on the location point and the book I used said it was not possible with MyLocationOverlay. Also later on I plan on adding a few more things that would not work with MyLocationOverlay.
Thanks P.S. If I have a method in my Activity to display a toast can I safely call it from the Overlay class? On Thu, Jul 7, 2011 at 11:48 PM, TreKing <[email protected]> wrote: > On Thu, Jul 7, 2011 at 1:11 PM, Raghav Sood <[email protected]> wrote: > >> Okay. Maybe I am missing something here but AFAIK the if statement check >> to see that location is not equal to null and if that is true (location not >> being null) >> it passes it on to the Overlay. >> >> Did I get that right? >> > > What I do for the user's location on the map is get their location first, > then, when a valid location is obtained, create the marker and add it to the > map. > > Sidenote: is there some reason you're not using MyLocationOverlay? > > > > ------------------------------------------------------------------------------------------------- > 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 > -- Raghav Sood http://www.raghavsood.com/ http://wiki.androidappcheck.com/ http://www.telstop.tel/ https://market.android.com/developer?pub=Raghav+Sood -- 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

