On Thu, Jul 7, 2011 at 1:11 PM, Raghav Sood <raghavs...@gmail.com> 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 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