Dan - Trackyou.co.uk


Hi all

I'm hoping someone can help me out here. I have this weird issue with the routing function of Virtual Earth. I can plot a route, and route after route everything is ok. However, when I want to clear the map using my functions and reset it back the default view for the page, I issue various commands behind the map, one of which (and the first to run) is DeleteRoute().

When DeleteRoute() runs, it removes all the pins representing the instruction points on the route, it removes the start and end flags, but I'm left with a blue line on the map, and without refreshing the mapping pane, I can't for the life of me get rid of it. I've had a look on both the interactive and reference SDK, and they work a treat in my browser, and my own pages, but I copy the code letter for letter from the reference to my own code, and the blue line still remains.

Has anyone had this problem before Or know what would cause this not to go away My manager's on my back to try and sort this out, so all help's muchly appreciated.

Thanks,

Dan




Re: DeleteRoute() not completely deleting route

Derek Chan


I'd have to see your code or require some sample code that duplicates it