"Idea: Use a timer to determine how often you want to update. Enable location updates on the MyLocationOverlay. When you get a fix, disable location updates and start your timer. When your timer goes off, repeat. "
This is a great idea -- and something that I hadn't thought of. However, calling disableMyLocation() seems to remove the location dot from the center of the map -- which is a huge problem. If there was some way to get the dot as an overlay and manually draw it myself -- then this would probably work. Tbh, I think using a TimerTask is the best solution if there is a way to keep the dot at the center of the screen. "This should happen automatically. " You are right it does. On Aug 19, 10:23 am, TreKing <[email protected]> wrote: > On Wed, Aug 18, 2010 at 6:51 PM, hwrdprkns <[email protected]> wrote: > > 1. Change the location update times to whatever I want. > > Idea: Use a timer to determine how often you want to update. Enable location > updates on the MyLocationOverlay. When you get a fix, disable location > updates and start your timer. When your timer goes off, repeat. > > > 2. Draw the "my location" dot with the radius when the onLocationChanged() > > method is called. > > This should happen automatically. > > --------------------------------------------------------------------------- > ---------------------- > 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

