So extend the class and override onDraw to always call drawMyLocation(). You mean override the draw method -- there is no onDraw method. Or is there something I'm missing?
On Thu, Aug 19, 2010 at 12:19, TreKing <[email protected]> wrote: > On Thu, Aug 19, 2010 at 2:04 PM, hwrdprkns <[email protected]> wrote: > >> However, calling disableMyLocation() seems to remove the location dot from >> the center of the map -- which is a huge problem. >> > > The current implementation, for onDraw, says: 'On the non-shadow pass, > calls through to drawMyLocation(android.graphics.Canvas, > com.google.android.maps.MapView, android.location.Location, > com.google.android.maps.GeoPoint, > long)<http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MyLocationOverlay.html#drawMyLocation(android.graphics.Canvas,+com.google.android.maps.MapView,+android.location.Location,+com.google.android.maps.GeoPoint,+long)> > if > we have a location fix" > > Key being "if we have a location fix". > > So extend the class and override onDraw to always call drawMyLocation(). > > > ------------------------------------------------------------------------------------------------- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

