0

Android Google Map Drawing Route Issue

view story
linux-howto

http://stackoverflow.com – I am trying to draw route directions in android. Points are added dynamically by users using tap. It is working fine but the problem is: To have smooth map when moving, zooming, or having many points, in the overrided draw method, i draw a path ONLY if there is a new point. BUT, this causes the removal of old lines between old points on map and only the new one is shown.. Is there a way to keep the old lines shown without redrawing, and draw only the new one? Code below.. Thanks.. public void draw(Canvas canvas, MapView mapview, boolean shadow) { if(shadow) return; super.draw( (HowTos)