Re: [android-developers] Re: Display routes dynamically on Map Application

2010-04-24 Thread Kaustubh Padegaonkar
@Adam i have used the code too, and agree that long routes make the app unresponsive. its a nifty piece of code. just that i also cannot get the routes to clean up. It needs to invalidate() or maybe create a new MapView. Kaustubh Padegaonkar, thetuxra...@gmail.com On Sat, Apr 24, 2010 at 6:06

[android-developers] Re: Display routes dynamically on Map Application

2010-04-24 Thread Adam Carruthers
The way I'm trying to implement this feature is by cataloguing the indexes of the start and end of the routes and then using map.getOverlays().remove(index) in a loop to go through and remove all of the overlays created by DrawPoints. I'm going to be working on that today so I'll let you know how

[android-developers] Re: Display routes dynamically on Map Application

2010-04-23 Thread SREEHARI
Thanks for ur reply. I want to display my own routes in my application. I have stored all the geo coordinates I need to draw the roues. But I need to draw the routes dynamically from the current location to a destination. Regards, SREEHARI -- You received this message because you are

Re: [android-developers] Re: Display routes dynamically on Map Application

2010-04-23 Thread ~ TreKing
On Fri, Apr 23, 2010 at 8:05 AM, SREEHARI sreehari.madhusooda...@wipro.comwrote: Thanks for ur reply. You're welcome. I want to display my own routes in my application. OK. I have stored all the geo coordinates I need to draw the roues. OK. But I need to draw the routes

[android-developers] Re: Display routes dynamically on Map Application

2010-04-23 Thread Nathan
On Apr 21, 11:05 pm, SREEHARI sreehari.madhusooda...@wipro.com wrote: Hi All,       I developed a map application with overlays. I am able to show current location also. I want to display dynamic routes from current location  to different points(overlays). I have stored several points(geo

[android-developers] Re: Display routes dynamically on Map Application

2010-04-23 Thread Adam Carruthers
Sreehari: I'm in the process of doing the same thing in my application. A good resource to look at is this post on anddev.org: http://csie-tw.blogspot.com/2009/06/android-driving-direction-route-path.html (specifically the part about the class DrawPath where feeding coordinates in will draw a