PDA

View Full Version : Hub and Spoke / Visual Display of Routes



Anonymous
02-23-2005, 02:30 PM
Does anyone know if you can display a hub & spoke network in Mappoint by using an Add-in? What I'm trying to do is display an origin with a lot of different destinations.... Basically having lines drawn from the origin pushpin to the destination pushpins. If you've ever seen how the airlines display their flight paths/network of routes, that's basically what I'm trying to accomplish.

Thanks,
Eric B.

Winwaed
02-23-2005, 02:47 PM
You could draw it as a series of lines/shapes. To do this automatically, would require some custom programming.

If you're not upto that, myself and others on these boards could probably do it for you. (see list of developers from the main site index)


Richard

Anonymous
02-23-2005, 03:12 PM
Richard,
I'm new to this site, but would like to find out more about having a programmer develop this capability for me. Where exactly do I need to go on the main page? (saw a link for authors, but didn't see a list of developers).

Thanks,

Winwaed
02-23-2005, 08:27 PM
Here's the link:

http://www.mp2kmag.com/mappoint/companies/


Richard

Newbie_Nick
09-01-2009, 02:56 AM
I have the exact same task but I would like to take care of the programming myself

However, since I'm new to Mappoint (but not to VBA), some tips will be appreciated

Davidb suggested the following

objMap.Shapes.AddLine objLoc1, objLoc2
objMap.Shapes.Item(NRow - 1).Line.Weight = LineWeight
objMap.Shapes.Item(NRow - 1).Line.BeginArrowhead = False
objMap.Shapes.Item(NRow - 1).Line.EndArrowhead = False
objMap.Shapes.Item(NRow - 1).Line.ForeColor = vbRed

However I don't know how to define the object locations (as coordinates, city names, postcodes?)

Thanks
Nick