hi , thank you for the response, i tried the above mentioned method but it dint find much changes in the drawing on the maps .
if u can fwd any worked example project , it would be more helpful .. we are drawing the tracks/routes on the map after the completion of the track . Problem exists when their is large amount of data collected ( atleast after 10mi data drawn on map) and on every zoom this is re-drawn and hence takes time to display . thank u again , regards Sheik On Feb 15, 6:43 pm, TreKing <treking...@gmail.com> wrote: > One easy thing you could do is early out on the shadow pass. Draw gets > called twice, one for the shadow layer and then again for the "real" > drawing. So unless you're doing something with the shadow pass you can exit > early: > > draw(...., boolean shadow) > { > super.draw(..., shadow); > > if (shadow) > return; > > .... > > } > > mapView.postInvalidateDelayed(6000); > > Also, why are you doing this? Invalidate is used to force a re-draw ... why > would you do this in the draw method? > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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