inter wrote:Thank minus for reply quickly
When i debug the program above .I see that the method draw is called first when the program launch .But when i click the button "Show me the route " i think it will call the method draw ,but it doesn't call .Why that . how to call the method draw when i click the button "Show me the route"
i copied 1-1 your program ,but it's not work .
I had a similar problem and plusminus suggested i make this call
to force the map to redraw. I haven't had time to try it out yet, but give it a try and let us know if it fixed your issue.