View Full Version : Stopping the White route properties box from being displayed

11-06-2006, 07:50 AM
Hi, I am currently working on a gps tracking system using mappoint 2006 activex controls. I have been able to setup a route by adding a list of waypoints to the route object, and can display the route. However when i display the route a white box with timing information ect pops up at the top of the screen. I have found that this can be hidden by calling

axMapControl.ItineraryVisible = false;

However this only works once the box is displayed, meaning that the user sees the box appear for a short time before it is hidden. I have looked for a property to disable it from being shown at all, but have had no look.

Any help would be greatly appreciated


11-07-2006, 03:04 AM

Yes you have to set this after calculating. And user see it flicker for a moment depending the machine. If you really want to hide it, then you can hide the map for a moment with a copy of itself.

Create a panel, put and dock it on the mappoint control, put a bitmap image on it, copy the map to clipboard, copy it to the bitmap. After the route calculation destroy it all. But maybe this can flicker too ? I did not tryed it.

11-07-2006, 03:45 AM
Thanks for the quick reply. I will try the idea you suggested and will repost if it works well, thanks