On Tue, Oct 26, 2010 at 4:52 PM, Pikoh <[email protected]> wrote: > - I´m loading about 400 overlays in a mapview, but it takes 2-3 minutes. > Is there any way to speed things up? >
Don't load 400 overlays. > - On the other hand, I use another overlay to point device gps position, > but when location point change i need to delete this overlay to put it again > in it's new position. > You don't need to delete and replace - just update the overlay's location and refresh. Or better yet, use MyLocationOverlay. > How can i delete this overlay without deleting all the others? > If you insist, just: mMapView.getOverlays().remove(overlayToRemove); ------------------------------------------------------------------------------------------------- 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

