View Full Version : MapPoint 2013 - show two different tours in same OCX

11-11-2014, 05:11 AM
Hello again,
is it possible to show two (or more) different tours in the same OCX?

I tried something like this, but that doesn't work (yet):
Tour A: StartLocation -> Waypoint 1, Waypoint 2 -> DestinationLocation
Tour B: StartLocation -> Waypoint X, Waypoint Y -> DestinationLocation

For tour A i say "routeA = ocxMPControl.ActiveMap.ActiveRoute"
and for tour B "routeB = ocxMPControl.ActiveMap.ActiveRoute"

Then add the waypoints to the route and optimize / calculate routeA and routeB.
But now it shows only the "routeB". Can someone give me an assistance?

11-11-2014, 08:08 AM
MapPoint can only display one route at a time, regardless of whether you are using the app, the control, or the API.

11-11-2014, 08:46 AM
Hey Winwead, thanks again for your help!
I found a video where it seems, that this is possible: Route optimization software TourSolver MapPoint - YouTube (http://www.youtube.com/watch?v=F5oINipDtNA) (0:40)
What do you think about that? Do you think it's "manually drawn"?

11-12-2014, 07:47 AM
TourSolve has its own routing engine and road database, the routes are then "manually drawn" on MapPoint. ie. MapPoint is merely a display tool.

11-20-2014, 01:51 AM
Ah ok, thanks!