MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to build a route

This is a discussion on How to build a route within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi!!!! I have an array of location objects, and I want to do something like a route with those locations(those ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2004
Junior Member
White Belt
 
Join Date: May 2004
Posts: 9
How to build a route

Hi!!!!

I have an array of location objects, and I want to do something like a route with those locations(those locations must be exacts). I achieved to do it with a polyline, but I donīt know if itīs possible do it using an object route adding waypoints. If it were possible, could you tell me how to draw this route.

Thanks to all.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-13-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 899
Blog Entries: 10
You can create a route using your locations as waypoints.

The Route object and waypoint container are described in the documentation that comes with MapPoint. Look under the object model reference in the programming help. There are also some other pages in the help that show you how to use the different parts.

The concept is very similar to a polyline. Once you add the waypoints, you then call a method in the route to "find the best route". There are also options to set road speeds, etc.

Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-14-2004
Junior Member
White Belt
 
Join Date: May 2004
Posts: 9
Thanks Richard for your response.

Please, could you be a little more specific?. I was looking for in the Mappoint object models, and the only method that I have seen to draw the route is objroute.calculate, but it draw only the best route between the start and final points and not consider the intermediate waypoints that I have to respect.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-14-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 899
Blog Entries: 10
I have the 2004 Help up infront of me.

Go to "Programming Information".
Select "Working with the MapPoint Object Model"
Select "About routing in the MapPoint object model"

This page has three expandable sections entitled:
"Modifying the waypoints in a route" (what you want)
"Modifying the route in other ways"
"Getting driving directions"


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-17-2004
Junior Member
White Belt
 
Join Date: May 2004
Posts: 9
Quote:
Originally Posted by winwaed
I have the 2004 Help up infront of me.

Go to "Programming Information".
Select "Working with the MapPoint Object Model"
Select "About routing in the MapPoint object model"

This page has three expandable sections entitled:
"Modifying the waypoints in a route" (what you want)
"Modifying the route in other ways"
"Getting driving directions"


Richard
Thanks you very much for your response. It has been very useful to me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 05-21-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I imported pinpoints using datasets
Now I want to out the pushpins in a route

Can anyone please tell me how to do that
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 05-21-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
Use the Add method. The Pushpins will be your Anchors. With this terminology in mind, see the help file.

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
build, route


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
can anyone help me build gps for 911 coverage in africa Anonymous MapPoint 2006/2009 Discussion 4 05-24-2004 12:41 PM
Anyone who build a Print-Dialog for Mappoint-Control? Syd MapPoint 2006/2009 Discussion 1 12-18-2003 08:22 AM
I am trying to build an application using mappoint.... Anonymous MapPoint 2006/2009 Discussion 1 11-12-2001 11:19 AM
i am using mappoint 2002 objects to build a com. i.... Anonymous MapPoint 2006/2009 Discussion 1 09-20-2001 07:22 AM
I am trying to build an activeX control using Map.... Anonymous MapPoint 2006/2009 Discussion 1 08-24-2001 06:05 PM


All times are GMT -5. The time now is 01:21 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54